/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* @import url(index.css); */
/* Color Variables */
:root {
    --primary-dark-blue: #1d305f;
    /* (29,48,95) */
    /* --secondary-blue: #5d8aaf;         (93,138,175) */
    --secondary-blue: #1E2A6A;
    --neutral-gray: #bfbebf;
    /* (191,190,191) */
    /* --accent-yellow: #f8cc24;          (248,204,36) */
    --accent-yellow: #ffff;
    --accent-green: #497945;
    /* (73,121,69) */
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --white: #fff;
    --light-gray: #f8f9fa;
    --border-color: #ddd;
    --shadow: rgba(0, 0, 0, 0.1);
    --hover-blue: #2980b9;
    --accent: #1E2A6A;
    --accent-dark: #141d4a;
    --glass: rgba(30, 42, 106, 0.18);
    --glass-border: rgba(255, 255, 255, 0.14);
    --blur: 18px;
    --text: #0f172a;
    /* darker text for white bg */
    --text-soft: #334155;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
        --accent: #1E2A6A;
    --accent-dark: #141d4a;
    --glass: rgba(30, 42, 106, 0.16);
    --glass-border: rgba(255, 255, 255, 0.13);
    --blur: 16px;
    --text: #f8fafc;
    --text-soft: #e2e8f0;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    /* --head-font: "Poppins", sans-serif; */
    --head-font: "Noto Serif", serif;
    --para-font:   "Poppins", sans-serif;
    --head-color: #ffd966;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure proper width handling without scaling issues */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    width: 100%; /* Use percentage instead of vw to prevent scaling issues */
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll */
    scroll-behavior: smooth; /* Enable smooth scrolling for all anchor links */
}

.container {
    max-width: 100%; /* Changed from 80% */
    width: 100%;
    margin: 0 auto;
    padding: 0 15px; /* Consistent padding */
    box-sizing: border-box; /* Ensure padding is included in width */
}

/* Container responsive breakpoints */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Header and Navigation - Only structural styles, detailed styles in index.css */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    z-index: 1002;
    position: relative;
    margin-right: 15px; /* Add breathing space from right edge */
}

.hamburger:hover {
    color: #f8cc24;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 20px;
        margin-right: 12px; /* Slightly less space on mobile */
    }
}

@media screen and (max-width: 360px) {
    .hamburger {
        display: block;
        font-size: 18px;
        margin-right: 10px; /* Even less space on very small screens */
        margin-top: 15px;
    }
}
header {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    /* border-bottom: 3px solid var(--accent-yellow); */
    padding: 0.5rem 0;
}

.navbar .logo h1 {
    color: var(--accent-yellow);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.8rem;
    margin: 0;
}

.navbar .nav-menu a {
    color: var(--light-gray);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

/* Professional underline effect */
.navbar .nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-menu a:hover::before,
.navbar .nav-menu a.active::before {
    width: 80%;
}

.navbar .nav-menu a:hover,
.navbar .nav-menu a.active {
    color: var(--accent-yellow);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown styling */
.navbar .dropdown-content {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    overflow: hidden;
    min-width: 220px;
    margin-top: 0.5rem;
}

.navbar .dropdown-content a {
    color: var(--text-dark);
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    font-size: 1rem;
}

.navbar .dropdown-content a:last-child {
    border-bottom: none;
}

.navbar .dropdown-content a:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
}

/* Mobile menu */
.navbar .nav-menu.active {
    background-color: var(--white);
}

@media (max-width: 768px) {
    .navbar .nav-menu {
        background-color: var(--white);
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        margin-top: 1rem;
    }
    
    .navbar .nav-menu a {
        color: var(--text-dark);
    }
    
    .navbar .nav-menu a:hover,
    .navbar .nav-menu a.active {
        color: var(--secondary-blue);
        background-color: rgba(93, 138, 175, 0.1);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 250px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/slider3.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
    animation: fadeInUp 1s ease-out 0.3s both;
}



/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Intro Section */
/* About Intro Section */

.about-intro {
    padding: 30px 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem; /* Increased gap for better separation */
    align-items: center;
    width: 100%;
    max-width: 1300px; /* Slightly reduced for better proportion */
    margin: 0 auto;
    padding: 0 40px; /* Increased padding for breathing room */
    opacity: 1 !important;
    transform: translateX(0) !important;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-intro .about-image {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-intro.animate-in-view .about-image {
    opacity: 1;
    transform: translateX(0);
}

.about-intro .about-text {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-intro.animate-in-view .about-text {
    opacity: 1;
    transform: translateX(0);
}

.about-intro-content.animate-on-scroll {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.about-intro .about-image.animate-on-scroll {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.about-intro .about-text.animate-on-scroll {
    opacity: 1 !important;
    transform: translateX(0) !important;
}


.about-image {
    height: 600px; /* Increased height for better proportion */
    border-radius: 16px; /* Slightly more rounded corners */
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}


.about-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.1)
    );
    transition: opacity 0.3s ease;
}

.about-image:hover::after {
    opacity: 0.7;
}


.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.about-text h2 {
    color: var(--primary-dark-blue);
    font-size: 2.0rem; /* Reduced from 2.4rem */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    position: relative;
    white-space: nowrap;
    display: inline-block;
    
}


.about-text p {
    font-size: 0.95rem; /* Reduced from 1.1rem */
    line-height: 1.6; /* Reduced from 1.7 */
    color: #131111;
    margin-bottom: 1.2rem;
    text-align: justify;
    text-justify: inter-word;
    
}

/* About Us Attributes Section */
.about-attributes {
    margin-top: 1.5rem;
}

.about-attributes h3 {
    color: var(--primary-dark-blue);
    font-size: 1.3rem; /* Reduced from 1.5rem */
    font-weight: 700;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.about-attributes h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-yellow);
    margin-top: 0.5rem;
}

.attribute-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attribute-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed rgba(93, 138, 175, 0.2);
}

.attribute-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.attribute-icon {
    display: inline-block;
    width: 24px; /* Reduced from 28px */
    height: 24px; /* Reduced from 28px */
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px; /* Adjusted for new height */
    font-size: 0.8rem; /* Reduced from 0.9rem */
    font-weight: bold;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.attribute-text {
    color: var(--text-dark);
    font-size: 0.9rem; /* Reduced from 1.05rem */
    line-height: 1.5; /* Reduced from 1.6 */
    flex-grow: 1;
}


/* Speciality Section */
.speciality-section {
    padding: 100px 0;
    /* background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%); */
    width: 80% !important;
    margin: 0 auto;
    max-width: 80% !important;
}

.speciality-section h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
    font-family: var(--head-font);
    font-style: italic;
}

.speciality-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 15px auto 0;
    border-radius: 2px;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.speciality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.speciality-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(29, 48, 95, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.speciality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow), #5d8aaf, var(--accent-yellow));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.speciality-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 204, 36, 0.05) 0%, rgba(93, 138, 175, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.speciality-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(29, 48, 95, 0.15);
    border-color: var(--accent-yellow);
}

.speciality-card:hover::before {
    transform: scaleX(1);
}

.speciality-card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(248, 204, 36, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.speciality-card:hover .card-icon img {
    transform: scale(1.1);
}

/* Special adjustment for speciality3 image (End-to-End Services card) */
.speciality-grid > .speciality-card:nth-child(3) .card-icon {
    margin-top: -10px;
}

.speciality-card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(248, 204, 36, 0.4);
}

.speciality-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    font-family: var(--head-font);
    font-style: italic;
}

.speciality-card:hover h3 {
    color: var(--secondary-blue);
}



/* Values & Commitments Section - List Style */
.values-section {
    /* padding: 100px 0; */
    /* background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%); */
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.values-section h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
    font-family: var(--head-font);
    font-style: italic;
}

.values-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 15px auto 0;
    border-radius: 2px;
}

.values-content .intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(29, 48, 95, 0.08);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(248, 204, 36, 0.03) 0%, rgba(93, 138, 175, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.value-item:hover {
    transform: translateX(15px) translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(29, 48, 95, 0.15);
    border-left-color: var(--accent-yellow);
}

.value-item:hover::before {
    opacity: 1;
}

.value-item:hover .value-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(248, 204, 36, 0.4);
}

.value-item:hover .value-header h3 {
    color: var(--secondary-blue);
    transform: translateX(5px);
}

.value-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #e6b800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-blue);
    font-size: 1.8rem;
    box-shadow: 0 6px 15px rgba(248, 204, 36, 0.3);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    flex-shrink: 0;
}

.value-header h3 {
    color: var(--primary-dark-blue);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.3s ease;
    font-family: var(--head-font);
    font-style: italic;
}

.value-description {
    position: relative;
    z-index: 2;
    margin-left: 85px;
}

.value-description p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1.1rem;
    opacity: 0.9;
    font-family: var(--para-font);
    font-style: italic;
}

/* Staggered Animation for List Items */
.value-item:nth-child(1) {
    animation-delay: 0.1s;
}

.value-item:nth-child(2) {
    animation-delay: 0.2s;
}

.value-item:nth-child(3) {
    animation-delay: 0.3s;
}

.value-item:nth-child(4) {
    animation-delay: 0.4s;
}

.value-item:nth-child(5) {
    animation-delay: 0.5s;
}

.value-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* Responsive Design for Values Section */
@media (max-width: 1024px) {
    .value-item {
        padding: 1.8rem;
    }
    
    .value-header {
        gap: 1.2rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .value-description {
        margin-left: 72px;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 80px 0;
    }
    
    .values-section h2 {
        font-size: 2.2rem;
    }
    
    .values-content .intro-text {
        font-size: 1.1rem;
    }
    
    .values-list {
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .value-item {
        padding: 1.5rem;
    }
    
    .value-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .value-icon {
        width: 65px;
        height: 65px;
        font-size: 1.7rem;
    }
    
    .value-description {
        margin-left: 0;
        text-align: center;
    }
    
    .value-item:hover {
        transform: translateY(-10px) scale(1.02);
    }
}

@media (max-width: 480px) {
    .values-section {
        padding: 60px 0;
    }
    
    .values-section h2 {
        font-size: 2rem;
    }
    
    .value-item {
        padding: 1.2rem;
    }
    
    .value-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .value-header h3 {
        font-size: 1.4rem;
    }
    
    .value-description p {
        font-size: 1rem;
    }
}
/* 
Vision & Mission Section
.vision-mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vision-box, .mission-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.vision-box h2, .mission-box h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.vision-box h2::after, .mission-box h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.vision-statement, .mission-statement {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.vision-box p, .mission-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

Vision Section (keeping for compatibility with index page)
.vision-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.vision-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/slider2.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.vision-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.vision-text {
    padding: 0 2rem 0 0;
}

.mission-text {
    padding: 0 0 0 2rem;
}

.vision-content h2, .mission-content h2 {
    font-size: 2.6rem;
    color: #fff;
    margin: 0 0 1.5rem 0;
    position: relative;
    display: inline-block;
}

.vision-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    border-radius: 2px;
}

.vision-statement, .mission-statement {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.vision-content p, .mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.vision-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
} */

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--accent-yellow);
    min-width: 50px;
}

.feature-content h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Why Choose Us Section */
.choose-us-section {
    /* padding: 100px 0; */
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
}

.choose-us-section h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    font-family: var(--head-font);
    font-style: italic;
}

.choose-us-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-yellow);
    margin: 15px auto 0;
    border-radius: 2px;
}

.choose-us-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
    perspective: 1000px;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 1200px) {
    .choose-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .choose-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .choose-us-grid {
        grid-template-columns: 1fr;
    }
}

.choose-card {
    background: white;
    padding: 1.8rem 1.2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark-blue), var(--secondary-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}

.choose-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.choose-card:hover::before {
    transform: scaleX(1);
}

.choose-icon {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.choose-card:hover .choose-icon {
    transform: scale(1.1);
}

.choose-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
}

.choose-card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.card-stats {
    background: linear-gradient(135deg, var(--primary-dark-blue), var(--secondary-blue));
    color: white;
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* Flip Card Styles for Why Choose Us - Override existing styles */
.choose-card {
    perspective: 1000px;
    height: 250px;
    padding: 0;
    display: block;
    /* box-shadow: none; */
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
    
}

.choose-card:hover {
    transform: none;
    box-shadow: none;
}

.choose-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
    border-radius: 12px;
}

.choose-card:hover .choose-card-inner {
    transform: rotateY(180deg);
}

.choose-card-front, 
.choose-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #fff;
}

.choose-card-back {
    transform: rotateY(180deg);
    text-align: center;
    justify-content: center;
    padding: 1.5rem;
}

.choose-icon {
    font-size: 5.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark-blue);
    flex: 1;
}

.choose-card-front h3 {
    color: var(--primary-dark-blue);
    margin: 0.5rem 0 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    align-self: flex-end;
    width: 100%;
    font-family: var(--head-font);
    font-style: italic;
}

.choose-card-back p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
    text-align: center;
}

/* Ensure content is centered properly */
.choose-card-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

.choose-card-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    text-align: center;
}

/* Testimonial Section */
.testimonial-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.testimonial-section h3 {
    color: var(--primary-dark-blue);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.testimonial-slider {
    position: relative;
    margin-bottom: 2rem;
}

.testimonial {
    display: none;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial.active {
    display: block;
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    color: var(--secondary-blue);
    font-weight: 600;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--secondary-blue);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Content Section */
.content-section {
    padding: 60px 0;
}



/* Footer */
footer .company-info {
    margin-top: 1.5rem;
    margin-right: 1.5rem;
}

footer {
    /* background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #fff 100%); */
    background-color: #f5f5f5;
    color: var(--white);
    /* padding: 2.5rem 0 1rem; */
    /* margin-top: 4rem; */
    position: relative;
}

.footer-bottom p {
    font-size: 16px;
    font-family: var(--para-font);
    font-style: italic;
    /* increase size */
}

@media (min-width: 992px) {
    .footer-bottom p {
        font-size: 18px;
        font-family: var(--para-font);
        font-style: italic;
    }
}


footer .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Company Info Section */
.company-info .footer-logo {
    display: flex;
    align-items: center;
    /* gap: 4px; */
    margin-bottom: 0.8rem;
    margin-left: -20px;
}

.company-info .footer-logo img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.company-info .footer-logo img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transform: scale(1.05);
}

.company-info .footer-logo h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0 10px;
}

.company-description {
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 0.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 119, 189, 0.4);
}


/* Quick Links Section */
.quick-links h4 {
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--secondary-blue);
    font-size: 1rem;
    position: relative;
}

.quick-links h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 1.5px;
    background: var(--secondary-blue);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    font-size: 0.9rem;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-size: 0.6rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 16px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 4px;
}

/* Contact Info Section */
.contact-info h4 {
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--secondary-blue);
    font-size: 1rem;
}

.contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 0.8rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.1rem;
    min-width: 20px;
    color: var(--white);
}

.contact-label {
    margin: 0 0 0.2rem 0;
    font-weight: 600;
    color: var(--white);
    font-size: 0.85rem;
}

.contact-value {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.5;
    font-size: 0.85rem;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 1.2rem 0 1rem 0;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

/* Responsive Design */
/* Responsive Design for Values and Speciality Sections */
@media (max-width: 1200px) {
    .speciality-section,
    .values-section {
        width: 90%;
        max-width: none;
    }
    
    .speciality-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .speciality-section,
    .values-section {
        width: 95%;
    }
    
    .speciality-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem; /* Reduced gap for better responsiveness */
    }
    
    .about-image {
        height: 400px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        align-items: start;
    }
    
    .vision-text,
    .mission-text {
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    

}

@media (max-width: 768px) {
    .speciality-section,
    .values-section {
        width: 100%;
        padding: 80px 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Hero Section */
    .hero-section {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    

    
    /* About Section */
    .about-intro {
        padding: 80px 0;
    }
    
    .about-image {
        height: 350px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Speciality Section */
    .speciality-section {
        padding: 80px 0;
    }
    
    .speciality-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    /* Vision Section */
    .vision-section {
        padding: 80px 0;
    }
    
    .vision-content {
        text-align: center;
        align-items: start;
    }
    
    .vision-text,
    .mission-text {
        padding: 0;
        text-align: center;
    }
    
    .vision-content h2 {
        font-size: 2.2rem;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .vision-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Why Choose Us */
    .choose-us-section {
        padding: 80px 0;
    }
    
    .choose-us-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .speciality-section,
    .values-section {
        width: 100%;
        padding: 60px 15px;
    }
    
    /* Hero Section */
    .hero-section {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* About Section */
    .about-intro {
        padding: 60px 0;
    }
    
    .about-image {
        height: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    /* Speciality Section */
    .speciality-section {
        padding: 60px 0;
    }
    
    .speciality-grid {
        grid-template-columns: 1fr;
    }
    
    .speciality-card {
        padding: 1.5rem;
    }
    
    /* Vision Section */
    .vision-section {
        padding: 60px 0;
    }
    
    .feature-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Why Choose Us */
    .choose-us-section {
        padding: 60px 0;
    }
    
    .choose-card {
        padding: 2rem 1.5rem;
    }
    
    .choose-icon {
        font-size: 2.8rem;
    }
    
    .card-stats {
        font-size: 0.8rem;
    }
    
    /* Critical fix for very small screens */
    .container {
        padding: 0 10px;
        width: 100vw;
        max-width: 100vw;
    }
    
    .hero-section {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* About Section */
    .about-intro {
        padding: 60px 0;
    }
    
    .about-image {
        height: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    /* Speciality Section */
    .speciality-section {
        padding: 60px 0;
    }
    
    .speciality-grid {
        grid-template-columns: 1fr;
    }
    
    .speciality-card {
        padding: 1.5rem;
    }
    
    /* Vision Section */
    .vision-section {
        padding: 60px 0;
    }
    
    .vision-content {
        text-align: center;
        align-items: start;
    }
    
    .vision-text,
    .mission-text {
        padding: 0;
        text-align: center;
    }
    
    .vision-content h2 {
        font-size: 2rem;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .vision-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Ultra-small screens (under 500px) - Fixed scaling issues */
@media (max-width: 500px) {
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 10px;
    }
    
    main {
        overflow-x: hidden;
    }
    
    /* Enhanced navbar for very small screens */
    .navbar .container {
        padding: 0 8px;
        width: 100vw;
        max-width: 100vw;
    }
    
    .navbar .logo {
        flex-shrink: 1;
        min-width: 0;
    }
    
    /* .navbar .logo img {
        max-height: 35px;
        max-width: 100px;
    } */
    
    .navbar .logo h1 {
        font-size: 1.2rem;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
        margin: 2px 0;
        background-color: #ffffff;
    }
    
    .nav-menu {
        top: 45px;
        padding: 1.5rem 0;
    }
    
    .nav-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
    }
    
    .hero-section {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Prevent horizontal scrolling */
    .navbar, header {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
}
/* Whatsapp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;  
}

/* Whatsapp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    text-decoration: none;  
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Critical mobile-first optimizations for tiny screens */
@media screen and (max-width: 360px) {
    /* Very small phone optimizations */
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 8px;
    }
    
    /* Enhanced navbar for tiny screens */
    .navbar .container {
        padding: 0 6px;
    }
/*     
    .navbar .logo img {
        max-height: 30px;
        max-width: 80px;
    } */
    
    .navbar .logo h1 {
        font-size: 1.1rem;
    }
    
    .hamburger span {
        width: 18px;
        height: 2px;
        background-color: #ffffff;
    }
    
    .nav-menu {
        top: 40px;
        padding: 1rem 0;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Hero section */
    .hero-section {
        height: 350px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* About sections */
    .about-intro {
        padding: 30px 0;
    }
    
    .about-intro-content {
        padding: 0 10px;
        gap: 1rem;
    }
    
    .about-image {
        height: 180px;
        max-width: 220px;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.85rem;
    }
    
    .about-text .btn {
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    /* Footer for tiny screens */
    footer {
        padding: 1.5rem 0 0.8rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .company-info .footer-logo img {
        height: 30px;
    }
    
    .company-info .footer-logo h3 {
        font-size: 1.1rem;
    }
    
    .company-description {
        font-size: 0.85rem;
    }
    
    .social-links a {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .quick-links h4, .contact-info h4 {
        font-size: 0.95rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .contact-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.8rem;
    }
    
    .footer-bottom-content {
        font-size: 0.8rem;
    }
    
    /* Prevent any horizontal overflow */
    *, *::before, *::after {
        box-sizing: border-box;
    }
    
    body, html {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar .container {
        justify-content: space-between;
        padding: 0 15px;
        /* Consistent padding */
        flex-wrap: nowrap;
        /* Prevent wrapping */
        width: 100vw;
        /* Full viewport width */
        max-width: 100vw;
        overflow-x: hidden;
    }

    .navbar .logo {
        margin-right: 0;
        min-width: 0;
        /* Allow shrinking */
        flex-shrink: 1;
    }

    /* Logo adjustments */
    /* .navbar .logo img {
        max-height: 40px;
       
        max-width: 140px;
        
    } */

    .navbar .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        /* Reduced from 70px for better positioning */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        margin-left: 0;
        max-height: calc(100vh - 60px);
        /* Prevent overflow */
        overflow-y: auto;
        /* Enable scrolling if needed */
    }

    .navbar .nav-menu.active {
        left: 0;
    }

    .carousel-section {
        height: 400px;
    }

    .carousel-overlay h2 {
        font-size: 1.8rem;
    }

    .carousel-overlay p {
        font-size: 1rem;
    }

    .carousel-overlay {
        padding: 2rem 1rem;
    }

    .carousel-btn {
        padding: 10px 15px;
        font-size: 1.5rem;
    }

    .about-intro {
        padding: 60px 0;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        /* Adjusted padding for mobile */
        gap: 2rem;
        /* Reduced gap for mobile */
        max-width: 100%;
        /* Full width on mobile */
        margin: 0 auto;
    }

    .about-image {
        height: 300px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text h2 {
        font-size: 2rem;
        text-align: center;
        white-space: normal;
        display: block;
    }

    .about-text p {
        font-size: 1rem;
        text-align: left;
    }

    .about-text .btn {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .speciality h2,
    .vision h2,
    .vision-mission h2,
    .expertise h2,
    .home-products h2 {
        font-size: 2rem;
    }

    .vision-mission-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertise-grid {
        flex-direction: column;
    }

    .expertise-card {
        flex: 1 1 100%;
        min-width: unset;
        width: 100%;
        margin-bottom: 1.5rem;
        height: 250px;
    }

    .expertise-card-front,
    .expertise-card-back {
        padding: 1.5rem;
    }

    .expertise-icon {
        font-size: 3.5rem;
        /* Increased for mobile */
        margin: 0;
    }

    .expertise-card-front h3,
    .expertise-card-back h3 {
        font-size: 1.3rem;
    }

    .expertise-card-back p {
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }



    .products-grid {
        display: flex;
        flex-wrap: nowrap;
        /* keep sliding */
    }

    .product-card {
        flex: 0 0 100%;
        /* 🔥 full-width slide */
        max-width: 100%;
        min-width: 100%;
        margin: 0;
    }

    .product-image {
        height: 220px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center;
    }

    .company-info .footer-logo {
        justify-content: center;
    }

    .company-info .footer-logo h3 {
        font-size: 1.3rem;
    }

    .social-links {
        justify-content: center;
        gap: 10px;
    }

    .quick-links h4,
    .contact-info h4 {
        text-align: center;
        margin-bottom: 0.6rem;
    }

    .quick-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section .footer-links {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        margin-bottom: 0.6rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }
}
/* Tiny screen optimizations (360px and below) */
@media screen and (max-width: 360px) {
    header {
        padding: 0.15rem 0;
    }

    .navbar {
        padding: 0.3rem 0;
    }

    /* .navbar .logo img {
        max-height: 250px;
        max-width: 100px;
    } */

    .navbar .logo h1 {
        font-size: 1.4rem;
    }

    .navbar .nav-menu a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    .navbar .nav-menu {
        top: 35px;
        padding: 1.5rem 0;
        max-height: calc(100vh - 35px);
    }

    .hamburger {
        font-size: 18px;
    }
}

/* Mobile optimization for contact popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        max-width: 95%;
        max-height: 95vh;
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .popup-left {
        border-radius: 15px 15px 0 0;
        padding: 25px 20px;
    }

    .popup-right {
        padding: 25px 20px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        z-index: 2001;
        /* Higher than popup content */
        font-size: 24px;
        width: 35px;
        height: 35px;
    }
        .logo-img {
        width: 260px !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        filter: brightness(0) invert(1) !important;
    }
}

@media (max-width: 480px) {
    .popup-content {
        width: 98%;
        max-width: 98%;
        max-height: 98vh;
        margin: 1vh auto;
    }

    .popup-left,
    .popup-right {
        padding: 20px 15px;
    }

    .popup-right h3 {
        font-size: 1.4rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }

    .close-btn {
        top: 8px;
        right: 8px;
        z-index: 2001;
        font-size: 30px;
        width: 30px;
        height: 30px;
        color: #fff;
    }
}


.vision-mission {
    position: relative;
    padding: 6rem 1rem;
    color: var(--text);
    overflow: hidden;
}

/* Background */
.vision-mission-bg,
.vision-mission-bg2 {
    position: absolute;
    inset: 0;
    z-index: -2;
}

/* .vision-mission-bg {
    background: linear-gradient(135deg, #0f172a 0%, #0e1a3f 50%, #0f172a 100%);
}

.vision-mission-bg2 {
    background: radial-gradient(circle at 20% 30%, rgba(30, 42, 106, 0.18) 0%, transparent 60%);
    opacity: 0.7;
} */

.vision-mission-bg,
.vision-mission-bg2 {
    background: transparent;
}

.vision-mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* .glass-card {
    border-radius: 1.6rem;
    padding: 2.5rem 2rem;
    background: var(--glass);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow), inset 0 0 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
} */
 .glass-card {
    border-radius: 1.6rem;
    padding: 2.5rem 2rem;

    /* LOCKED glass background */
    /* background: rgba(17, 17, 17, 0.671); */
    background: linear-gradient(135deg, #0f172a 0%, #0e1a3f 50%, #0f172a 100%);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow), inset 0 0 20px rgba(0, 0, 0, 0.3);

    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}


.glass-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

/* Shine effect on hover */
.glass-card::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(135deg,
            transparent 40%,
            rgba(199, 210, 254, 0.12) 50%,
            transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.glass-card:hover::before {
    transform: translateX(200%);
}

.glass-card h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #e0f2fe, #c7d2fe, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    font-family: var(--head-font);
    font-style: italic;
}

.glass-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-soft);
    margin: 0;
    font-family: var(--para-font);

}

/* ────────────────────────────────────────────────
     RESPONSIVE DESIGN
  ──────────────────────────────────────────────── */

/* Large screens - side by side */
@media (min-width: 992px) {
    .vision-mission-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .glass-card {
        padding: 3rem 2.5rem;
    }

    .glass-card h2 {
        font-size: 2.8rem;
    }
}

/* Medium screens (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .vision-mission {
        padding: 5rem 1.5rem;
    }

    .vision-mission-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .glass-card {
        padding: 2.5rem 2rem;
    }

    .glass-card h2 {
        font-size: 2.3rem;
    }

    .glass-card p {
        font-size: 1.05rem;
    }
}

/* Small screens (mobile) */
@media (max-width: 767px) {
    .vision-mission {
        padding: 4rem 1rem;
    }

    .glass-card {
        padding: 2rem 1.6rem;
    }

    .glass-card h2 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .glass-card p {
        font-size: 1rem;
        line-height: 1.65;
    }
}

/* Very small phones */
@media (max-width: 480px) {
    .vision-mission {
        padding: 3.5rem 0.9rem;
    }

    .glass-card {
        border-radius: 1.2rem;
        padding: 1.8rem 1.4rem;
    }

    .glass-card h2 {
        font-size: 1.8rem;
    }

    .glass-card p {
        font-size: 0.98rem;
    }
}

.head-text{
    font-family: var(--head-font);
    font-style: italic;
}


/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 90px; /* Increased from 30px to avoid WhatsApp button */
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1d305f 0%, #5d8aaf 100%);
    color: #f8cc24;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(29, 48, 95, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #5d8aaf 0%, #1d305f 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(29, 48, 95, 0.4);
    color: #ffffff;
}

.back-to-top.show {
    display: flex;
}

/* Mobile responsive for back-to-top button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
