/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --primary-color: #25A4D4;
    --primary-hover: #288BCC;
    --text-color: #424242;
    --bg-color: #ECF0F1;
    --border-color: #F2F2F2;
    
    /* Cyan-blue accent variables */
    --cyan-color: #06b6d4;
    --cyan-hover: #0891b2;
    --cyan-light: #f0f9ff;
}

/* ============================================
   BODY & BASE STYLES
   ============================================ */
body {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 30%, #a5f3fc 60%, #cffafe 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text-color);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    position: relative;
}

/* Decorative gradient overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(37, 164, 212, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Ensure all content sits above the decorative layer */
.container, .container-fluid, .navbar, .hero, section, footer {
    position: relative;
    z-index: 1;
}

p {
    color: var(--text-color);
    font-weight: 300;
    line-height: 1.5;
}

a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

a.dropdown-item:hover {
    color: var(--primary-hover);
    background-color: var(--bg-color);
}

h1, .h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0.5rem 1rem;
    color: var(--primary-color) !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.navbar-brand i {
    color: var(--cyan-color);
    font-size: 1.6rem;
}

.navbar-brand:hover, 
.navbar-brand:focus {
    color: var(--primary-hover) !important;
}

.nav-link {
    color: var(--text-color);
    padding: 1rem;
    transition: all 0.2s ease;
}

.nav-link:hover, 
.nav-link:focus {
    color: var(--primary-hover) !important;
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 3px solid var(--primary-hover);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

/* Primary button */
.btn-primary {
    color: black;
    background-color: white;
    border-color: white;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: black;
    background-color: #355c68;
    border-color: white;
}

/* Cyan-blue filled button */
.btn-cyan {
    background: var(--cyan-color);
    border-color: var(--cyan-color);
    color: #ffffff;
    border-radius: 60px;
    padding: 0.85rem 2.8rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px -8px rgba(6, 182, 212, 0.30);
}

.btn-cyan i {
    color: white;
    font-size: 1.2rem;
}

.btn-cyan:hover,
.btn-cyan:focus,
.btn-cyan:active {
    background: var(--cyan-hover);
    border-color: var(--cyan-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(6, 182, 212, 0.40);
}

/* Cyan-blue outline button (glass effect) */
.btn-cyan-outline {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1.5px solid var(--cyan-color);
    color: #0b2b3d;
    border-radius: 60px;
    padding: 0.85rem 2.8rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.btn-cyan-outline i {
    color: var(--cyan-color);
    font-size: 1.2rem;
}

.btn-cyan-outline:hover,
.btn-cyan-outline:focus,
.btn-cyan-outline:active {
    background: var(--cyan-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(6, 182, 212, 0.25);
}

.btn-cyan-outline:hover i,
.btn-cyan-outline:focus i,
.btn-cyan-outline:active i {
    color: white;
}

/* Info button (legacy support) */
.btn-info {
    color: white;
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-info:hover,
.btn-info:focus,
.btn-info:active {
    color: white;
    background-color: #046A81;
    border-color: #046A81;
}

/* ============================================
   DROPDOWN
   ============================================ */
.dropdown-item:hover,
.dropdown-item:focus {
    color: black;
    background-color: #355c68;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.EmptyBox5 { height: 0.3125rem; }
.EmptyBox10 { height: 0.625rem; }
.EmptyBox20 { height: 1.25rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.hero-section {
    padding: 5rem 0;
    background: transparent;
    text-align: center;
}

.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6 {
    line-height: 1.4;
}

.hero-section p {
    font-size: 1rem;
    margin: 1.3125rem 0 0.65625rem;
    line-height: 1.4;
}

/* Hero tagline text */
.hero-tagline {
    font-size: 1.15rem;
    color: #1e3a4f;
    max-width: 500px;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2.4rem;
}

/* Button group container */
.action-group {
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================
   IMAGE STYLES
   ============================================ */
.hero-image {
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 90%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    padding: 8px;
}

.hero-image:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ============================================
   FEATURES CARDS (Glassmorphism)
   ============================================ */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* ============================================
   FOOTER (Glass effect)
   ============================================ */
footer {
    background: rgba(11, 43, 61, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Mobile devices */
@media (max-width: 768px) {
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .navbar-brand {
        padding: 0.5rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero {
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-group {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2.5rem;
        max-width: 70%;
    }
}

/* Tablets and smaller laptops */
@media (max-width: 992px) {
    .hero {
        text-align: center;
        padding-top: 7rem;
    }
    
    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }
    
    .action-group {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2.5rem;
        max-width: 70%;
    }
}