:root {
    /* Brand Colors derived from Logo */
    --primary-color: #1E3A8A;
    /* Deep Blue (Person icon) */
    --secondary-color: #0EA5E9;
    /* Cyan/Sky Blue (Outer circle/Book) */
    --accent-color: #DC2626;
    /* Red (Laxmi Text/Swoosh) */
    --bg-color: #F8FAFC;
    --text-color: #334155;
    --light-text: #94A3B8;
    --white: #FFFFFF;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center badge under logo */
    line-height: 1;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo .highlight {
    color: var(--secondary-color);
}

.since-badge {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Header height */
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.text-gradient {
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.primary-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.primary-btn:hover {
    background: #0284C7;
    transform: translateY(-3px);
}

.secondary-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.secondary-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}


/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--white);
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 2;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: #eff6ff;
    border-radius: 50%;
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}


/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
}

.service-card.medical::before {
    background: #EF4444;
}

.service-card.engineering::before {
    background: #0EA5E9;
}

.service-card.management::before {
    background: #F59E0B;
}

.service-card.abroad::before {
    background: #10B981;
}

.card-content {
    padding: 2.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.service-card ul li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}


/* Locations Section */
.locations {
    padding: 6rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.locations .section-title {
    color: var(--white);
}

.locations-wrapper {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.location-item {
    flex: 1;
    min-width: 200px;
}

.location-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.locations .divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    display: none;
}

@media (min-width: 768px) {
    .locations .divider {
        display: block;
    }
}


/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.contact-box {
    background: var(--secondary-color);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.4);
    max-width: 800px;
    margin: 0 auto;
}

.contact-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-box p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.contact-btn {
    background: var(--white);
    color: var(--secondary-color);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.05);
}


/* ============ STATS STRIP ============ */
.stats-strip {
    background: var(--primary-color);
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============ CARD ICON ============ */
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ============ ABOUT SECTION ============ */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

.highlight-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -1.65rem;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--secondary-color);
    transition: var(--transition);
}

.timeline-item.active .timeline-dot {
    background: var(--accent-color);
    box-shadow: 0 0 0 2px var(--accent-color);
    transform: scale(1.3);
}

.timeline-content {
    background: #f8fafc;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--secondary-color);
    transition: var(--transition);
}

.timeline-item.active .timeline-content {
    border-left-color: var(--accent-color);
    background: #fff5f5;
}

.timeline-content strong {
    color: var(--primary-color);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

/* ============ LOCATION ICON ============ */
.location-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* ============ CONTACT SECTION ============ */
.contact-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
}

/* Contact Info Only Layout */
.contact-info-only {
    max-width: 800px;
    margin: 0 auto;
    background: var(--primary-color);
    border-radius: 1.5rem;
    padding: 3rem;
    color: var(--white);
    text-align: center;
}

.contact-info-only h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

/* Contact Form Card */
.contact-form-card {
    background: var(--white);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: var(--card-hover-shadow);
}

.contact-form-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.6rem;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-color);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0.6rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.form-submit-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 0.6rem;
    color: #15803d;
    font-weight: 500;
    text-align: center;
}

/* Contact Info Card */
.contact-info-card {
    background: var(--primary-color);
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-block strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.info-block p,
.info-block a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.info-block a:hover {
    color: var(--white);
}

.office-addresses {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.office-addresses h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.address-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.city-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.address-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    margin: 0;
}

/* ============ FOOTER ============ */
footer {
    background: #0f1e45;
    color: var(--light-text);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.iso-text {
    font-size: 0.8rem !important;
    color: var(--secondary-color) !important;
    margin-top: 0.25rem;
}

.footer-nav h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

/* Mobile Responsive for new sections */
@media (max-width: 900px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-only {
        padding: 2rem;
        margin: 0 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Animations using plain CSS */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Utilities */
.hidden-initial {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Animation Target */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Header Scrolled State */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;

        /* Ensure specific items are styled nicely in mobile */
        padding: 2rem;
        gap: 2.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hamburger Animation */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero p {
        padding: 0 1rem;
    }

    .contact-box {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
}