:root {
    /* Color Palette */
    --primary-color: #f72585; /* Pink */
    --secondary-color: #7209b7; /* Purple */
    --accent-color: #4cc9f0; /* Light Blue */
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    
    /* Layout Constants */
    --header-height: 80px;
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: #fce7f3; /* Light pink */
    padding: 8px 0;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-top-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 4px 15px;
    border-radius: 5px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(247, 37, 133, 0.3);
}

/* Header & Navigation */
.main-header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo-text span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-color);
}

.mobile-login-item {
    display: none;
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.nav-item-dropdown > a i {
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover > a i {
    transform: rotate(180deg);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 100px 0;
}

/* Footer Styles (Preview) */
.main-footer {
    background: #0f172a;
    color: var(--white);
    padding: 80px 0 20px;
}

/* ── Global Responsive Overrides ────────────────────────────────────────── */

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none !important;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--secondary-color);
    }

    .header-cta {
        display: none;
    }

    .mobile-login-item {
        display: block;
        margin-top: 20px;
        width: 100%;
        text-align: center;
    }

    .mobile-login-item a {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white !important;
        padding: 12px 30px;
        border-radius: 50px;
        display: inline-block;
        width: 80%;
    }

    /* Mobile Dropdown Specifics */
    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        display: none;
        transform: none;
        width: 100%;
        box-shadow: none;
        background: transparent;
        border: none;
        padding-left: 20px;
    }

    .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-item-dropdown > a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 35px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }

    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 8px;
        padding: 5px 15px;
    }
    
    .top-bar p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 15px;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    h1 { font-size: 2.2rem !important; }
    h2 { font-size: 1.75rem !important; }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    /* Component specific overrides for centralized control */
    .title-with-underline { font-size: 1.8rem !important; }
    .title-with-underline span { display: block; }
    .infra-title { font-size: 1.5rem !important; margin-bottom: 25px !important; }
    .infra-grid, .programs-grid, .team-grid, .stories-grid { gap: 20px !important; }
}

/* ── Floating Action Buttons (FAB) ────────────────────────────── */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.fab-btn {
    width: auto;
    height: 50px;
    border-radius: 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
    color: var(--white);
    text-decoration: none !important;
}

.fab-btn span {
    margin-left: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.fab-inquiry {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.fab-call {
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}


.fab-top {
    background: var(--secondary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.fab-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    .fab-btn span {
        display: none;
    }
    .fab-btn {
        width: 50px;
        padding: 0;
        border-radius: 50%;
    }
}
