/* ========== ROOT VARIABLES ========== */
:root {
    --primary-color: #0066cc;
    --secondary-color: #ff6b35;
    --accent-color: #004aad;
    --dark-teal: #0b3c49;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ========== COOL ANIMATIONS ========== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 102, 204, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 102, 204, 0.8), 0 0 30px rgba(255, 107, 53, 0.6); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(0, 102, 204, 0); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
/* Enable Smooth Scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Specific Section Padding to ensure the header doesn't cover the content when jumping */
#departments-section {
    padding: 100px 0; /* Extra top padding for better spacing after scroll */
    background-color: #f8f9fa;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.dept-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 50px;
    padding: 0 20px;
}

.action-card {
    background: #ffffff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.action-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #ff6a3d; /* Matches your orange button color */
}

.action-card i {
    font-size: 40px;
    color: #ff6a3d; /* Orange Icons */
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 18px;
    color: #004aad; /* Blue text */
    margin-bottom: 10px;
}

.action-card p {
    font-size: 14px;
    color: #666;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HELPLINE BAR ========== */
.helpline-bar {
    background-color: var(--primary-color);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.helpline-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.helpline-link {
    color: var(--bg-white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.helpline-link:hover {
    color: var(--secondary-color);
}

.helpline-link i {
    font-size: 16px;
}

/* ========== NAVIGATION ========== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 48px;
    z-index: 1500;
}

.nav-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
     position: relative; 
}

.logo a {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo a strong {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.nav-menu li a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-color);
    padding: 8px 0;
    justify-content: center;
    display: block;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    position: relative;
}

.dropdown-menu > a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    border: solid var(--text-color);
    border-width: 0 2px 2px 0;
    padding: 2px;
    transform: rotate(45deg);
    transition: var(--transition);
    flex-shrink: 0; /* Prevents the arrow from squeezing */
    vertical-align: middle;
    
}

.dropdown-menu:hover > a::after {
    transform: rotate(-135deg);
    color: var(--primary-color);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
}

.dropdown-menu:hover .dropdown-content {
    max-height: 300px;
}

.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 1010;
    pointer-events: auto;
}

.btn-primary {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--bg-white);
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    pointer-events: auto;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* ==========SECTION ========== */
.hero-section {
    background:
        linear-gradient(
            rgba(0, 102, 204, 0.45),
            rgba(0, 102, 204, 0.5)
        ),
        url("/images/home.png") center center / cover no-repeat;

    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}




.hero-overlay {
    position: absolute;
    inset: 0;

    /* soft blue overlay, image still visible */
    background: linear-gradient(
        rgba(19, 88, 179, 0.22),
        rgba(15, 39, 70, 0.22)
    );

    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: slideInUp 1s ease-out, glow 3s ease-in-out infinite;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
    padding: 14px 35px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    animation: slideInUp 1.4s ease-out;
}

.btn-hero-primary {
    background-color: var(--secondary-color);
    color: var(--bg-white);
}

.btn-hero-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.6), var(--shadow-lg);
}

.btn-hero-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-hero-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ========== DEPARTMENTS SECTION ========== */
.departments-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--bg-white);
}

.departments-section .section-header {
    color: var(--bg-white);
}

.departments-section .section-header h2 {
    color: var(--bg-white);
}

.departments-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dept-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    cursor: pointer;
}

.dept-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.dept-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
}

.dept-card:hover .dept-icon {
    transform: scale(1.15) rotate(-5deg);
}

.dept-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--bg-white);
}

.dept-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* ========== QUICK LINKS SECTION ========== */
.quick-links-section {
    padding: 50px 0;
    background-color: var(--bg-light);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.quick-link-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.quick-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary-color);
}

.quick-link-card i {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: block;
}

.quick-link-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.quick-link-card p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== ABOUT SECTION ========== */
.about-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.about-left {
    text-align: center;
}

.profile-circle {
    width: 280px;
    height: 280px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid var(--dark-teal);
    padding: 6px;
    overflow: hidden;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.about-left h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark-teal);
    margin: 20px 0 5px;
}

.about-left .designation {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-left .experience {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 5px;
}

.about-right h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-color);
}

.section-title-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.title-bar {
    width: 8px;
    height: 25px;
    display: block;
}

.title-bar.orange {
    background: var(--secondary-color);
}

.title-bar.green {
    background: #1ca65b;
}

.about-right p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    color: var(--text-color);
}

.highlight i {
    color: var(--secondary-color);
    font-size: 18px;
}

/* ========== TEAM SECTION ========== */
.team-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    margin-bottom: 20px;
}

.team-image img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.team-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark-teal);
    margin-bottom: 8px;
}

.team-card .role {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.team-card .designation-sub {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

/* ========== MISSION & VISION SECTION ========== */
.mission-vision-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #ffffff 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.mv-column {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.mv-column:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color);
}

.mv-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.mv-column:hover::before {
    transform: scaleX(1);
}

.mv-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.mv-icon {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.mv-column:hover .mv-icon {
    transform: scale(1.2) rotate(15deg);
    color: var(--primary-color);
}

.mv-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark-teal);
    margin: 0;
    transition: color 0.3s ease;
}

.mv-column:hover .mv-header h2 {
    color: var(--primary-color);
}

.mv-list {
    list-style: none;
    padding: 0;
}

.mv-list li {
    position: relative;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-light);
    padding-left: 20px;
}

.mv-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.mv-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ========== SERVICES SECTION ========== */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.service-item:hover {
    background-color: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 50px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.service-item:hover .service-icon {
    color: var(--secondary-color);
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.service-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-item:hover h3 {
    color: var(--bg-white);
}

.service-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-item:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== WHY CHOOSE SECTION ========== */
.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--secondary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.why-card:hover::before {
    transform: scaleY(1);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.why-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.contact-card p {
    font-size: 15px;
    color: var(--text-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* ========== FOOTER ========== */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 70px 0 0;
}

.footer-content {
    background-color: #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #999;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

/* Tilts the phone icon specifically */
.social-links a.phone-orange i {
    transform: rotate(-45deg); /* Adjust the degrees until it looks right to you */
    display: inline-block;
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 30px 0;
    border-top: 1px solid #333;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .about-grid, .mv-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Add these to your existing 1024px block */
    .team-grid, .services-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns instead of 4 */
        gap: 20px;
    }

    .hero-content h1 {
        font-size: 42px;
    }
}

/* For Mobile Phones (768px and down) */
@media (max-width: 768px) {
    .logo-img {
    height: 60px;
    }
    .navbar {
    top: 0;
    }

    .helpline-bar {
    position: relative;
    }


    /* 1. Fix the Header and Nav */
    .nav-wrapper {
        padding: 10px 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        z-index: 1000;
    }

    .menu-toggle {
        display: block;
    }

    .nav-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
        z-index: 1005;
        pointer-events: auto;/* Ensure button is clickable */
    }

    /* 2. Scale the Hero Section */
    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 28px; /* Prevents text from overflowing screen */
    }

    /* 3. Force ALL grids to 1 column for clean vertical scrolling */
    .action-grid,
    .team-grid,
    .services-list,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* 4. Center the About Profile */
    .profile-circle {
        width: 200px;
        height: 200px;
    }

    .about-right h2 {
        font-size: 24px;
        text-align: center;
    }

    .section-title-bar {
        justify-content: center;
    }
    /* Mobile dropdown fix */
    .dropdown-content {
    position: static;
    max-height: none;
    box-shadow: none;
    display: none;
    }   

    .dropdown-menu.active .dropdown-content {
    display: block;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-header p {
        font-size: 14px;
    }

    .about-right h2 {
        font-size: 20px;
    }

    .mv-header h2 {
        font-size: 24px;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .about-grid {
        padding: 20px;
    }
}

/* ========== APPOINTMENT MODAL ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    position:relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 25px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 28px;
}

.close {
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--secondary-color);
}

.appointment-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h3 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.important-notes {
    background-color: var(--bg-light);
    padding: 15px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 13px;
    margin-top: 20px;
}

.important-notes p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: var(--text-color);
}

.important-notes ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-light);
}

.important-notes li {
    margin-bottom: 5px;
}

.success-message {
    text-align: center;
    padding: 40px 30px;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.success-content i {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}

.success-content h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.success-content p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}
/* ================= FIX CLICK ISSUE ================= */

/* Allow clicks to pass through hero overlay */
.hero-overlay {
  pointer-events: none;
}

/* ================= NAVBAR CLICK FIX ================= */

/* Prevent nav menu from covering the button */
.nav-menu {
  position: relative;
  z-index: 1;
}

/* Ensure appointment button is ABOVE nav menu */
.nav-buttons {
  position: relative;
  z-index: 1600;

}
