/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(254 254 254);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 55, 76, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #00374c;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00374c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #00374c;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00374c;
    margin: 3px 0;
    transition: 0.3s;
}

/* ===== HERO SECTION - SPLIT SCREEN ===== */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.split-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-side {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-left {
    background: linear-gradient(135deg, rgba(0, 55, 76, 0.9) 0%, rgba(0, 55, 76, 0.7) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover, 50px 50px;
    background-position: center, center;
}

.split-right {
    background: linear-gradient(135deg, rgba(0, 55, 76, 0.8) 0%, rgba(0, 55, 76, 0.6) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="250" cy="250" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="750" cy="250" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="250" cy="750" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="750" cy="750" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="500" cy="500" r="3" fill="rgba(255,255,255,0.15)"/></svg>');
    background-size: cover, 100px 100px;
    background-position: center, center;
}

.split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 55, 76, 0.1);
    transition: all 0.6s ease;
}

.split-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
}

.split-inner {
    text-align: center;
    color: white;
    max-width: 500px;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.6s ease;
}

.vertical-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.label-line {
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}

.label-text {
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.split-title {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.split-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.split-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.split-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    font-size: 1.2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.button-arrow {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

/* Split Screen Hover Effects */
.split-container.hover-infra .split-left {
    flex: 1.2;
}

.split-container.hover-infra .split-right {
    flex: 0.8;
}

.split-container.hover-institute .split-right {
    flex: 1.2;
}

.split-container.hover-institute .split-left {
    flex: 0.8;
}

.split-side:hover .split-overlay {
    background: rgba(0, 55, 76, 0.05);
}

.split-side:hover .split-inner {
    transform: translateY(0);
    opacity: 1;
}

/* ===== CENTER DIVIDER ===== */
.center-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 55, 76, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.company-logo {
    margin-bottom: 2rem;
}

.main-title {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 0.5rem;
}

.main-tagline {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.scroll-arrow {
    font-size: 1.5rem;
    color: #00374c;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 5rem 0;
    background: white;
    border-top: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
    background: #00374c;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-title {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile Split Screen */
    .split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .split-side {
        min-height: 50vh;
        flex: none;
    }

    .center-divider {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: 2rem;
        padding: 1.5rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .split-title {
        font-size: 2.5rem;
    }

    .split-content {
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .split-title {
        font-size: 2rem;
    }

    .split-subtitle {
        font-size: 1.1rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .center-divider {
        margin: 1rem;
        padding: 1rem;
    }
}

/* ===== INFRA PAGE STYLES ===== */

/* Active Navigation Link */
.nav-link.active {
    color: #00374c;
}

.nav-link.active::after {
    width: 100%;
}

/* Infra Hero Section */
.infra-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,55,76,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge,
.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.badge-line {
    width: 40px;
    height: 1px;
    background: #00374c;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00374c;
}

.hero-title {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #00374c;
}

.feature-icon {
    color: #00374c;
    font-weight: bold;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: #00374c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #00374c;
}

.btn-primary:hover {
    background: transparent;
    color: #00374c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 55, 76, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    color: #00374c;
    text-decoration: none;
    border: 2px solid #00374c;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #00374c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 55, 76, 0.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 55, 76, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 55, 76, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.featured {
    border: 2px solid #00374c;
    transform: scale(1.02);
}

.service-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: #00374c;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 55, 76, 0.15);
}

.service-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00374c, #005a7a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 55, 76, 0.2);
}

.service-title {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: #555;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00374c;
    font-weight: bold;
}

.service-cta {
    text-align: center;
}

.service-link {
    color: #00374c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #005a7a;
}

/* Highlights Section */
.highlights-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 55, 76, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 55, 76, 0.15);
}

.highlight-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.highlight-title {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 0.5rem;
}

.highlight-text {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Projects Section */
.projects-section {
    padding: 6rem 0;
    background: white;
}

.projects-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Lora', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 2rem;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 55, 76, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 55, 76, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    overflow: hidden;
}

.project-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00374c, #005a7a);
}

.placeholder-icon {
    font-size: 4rem;
    color: white;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-status.completed {
    background: #28a745;
    color: white;
}

.project-status.ongoing {
    background: #ffc107;
    color: #000;
}

.project-content {
    padding: 2rem;
}

.project-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 1rem;
}

.project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    font-size: 0.9rem;
    color: #555;
    background: #f8f9fa;
    padding: 5px 10px;
    border-radius: 10px;
}

.project-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00374c, #005a7a);
    border-radius: 4px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #00374c;
    font-weight: 600;
}

/* Contact CTA Section */
.contact-cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #00374c, #005a7a);
    color: white;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-title {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.contact-cta-section .btn-primary {
    background: white;
    color: #00374c;
    border-color: white;
}

.contact-cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.contact-cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.contact-cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Animations */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ===== RESPONSIVE DESIGN FOR INFRA PAGE ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

    .service-card.featured:hover {
        transform: translateY(-10px);
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .service-card,
    .project-card {
        margin: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.split-side,
.cta-button,
.nav-link,
.service-card,
.project-card,
.highlight-item {
    will-change: transform;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* Focus indicators for accessibility */
.nav-link:focus,
.cta-button:focus,
.btn-primary:focus,
.btn-secondary:focus,
.service-link:focus {
    outline: 2px solid #00374c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .split-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .center-divider {
        background: white;
        border: 2px solid #00374c;
    }
    
    .service-card,
    .project-card,
    .highlight-item {
        border: 2px solid #00374c;
    }
}

/* ===== INSTITUTE PAGE STYLES ===== */

/* Institute Hero Section */
.institute-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.institute-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 55, 76, 0.05), rgba(0, 55, 76, 0.02));
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 55, 76, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(0, 55, 76, 0.1) 2px, transparent 2px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.institute-hero .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.institute-hero .hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #00374c;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    z-index: 1;
}

.medical-icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    opacity: 0.6;
}

.medical-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 55, 76, 0.1);
    animation: float 3s ease-in-out infinite;
}

.medical-icon:nth-child(even) {
    animation-direction: reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Institute Services Section */
.institute-services-section {
    padding: 6rem 0;
    background: white;
}

.institute-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.institute-service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 55, 76, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 55, 76, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.institute-service-card.featured {
    border: 2px solid #00374c;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: #00374c;
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    letter-spacing: 1px;
    z-index: 3;
}

.institute-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 55, 76, 0.15);
}

.institute-service-card.featured:hover {
    transform: translateY(-10px) scale(1.02);
}

.service-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.service-header .service-icon {
    margin-bottom: 1rem;
}

.service-header .icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00374c, #005a7a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 55, 76, 0.2);
}

.service-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
    margin-top: 0.5rem;
}

.service-body {
    padding: 0 2rem 1rem;
}

.service-body .service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-body .service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-body .service-features li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.5rem;
    color: #555;
    font-size: 0.9rem;
}

.service-body .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00374c;
    font-weight: bold;
}

.service-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-badge {
    background: #f8f9fa;
    color: #00374c;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 55, 76, 0.1);
}

.service-footer {
    padding: 1rem 2rem 2rem;
    text-align: center;
}

.service-footer .service-cta {
    color: #00374c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-footer .service-cta:hover {
    color: #005a7a;
}

/* Institute Highlights Section */
.institute-highlights-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.highlights-showcase {
    margin-top: 3rem;
}

.highlight-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #00374c;
    text-align: center;
    margin-bottom: 2rem;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 55, 76, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 55, 76, 0.1);
    opacity: 0;
    transform: translateY(20px);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 55, 76, 0.15);
}

.highlight-card .highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.highlight-card .highlight-title {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00374c;
    margin-bottom: 1rem;
}

.highlight-card .highlight-text {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Collaborations Section */
.collaborations-section {
    padding: 6rem 0;
    background: white;
}

.collaborations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.collaboration-card {
    background: white;
    border: 1px solid rgba(0, 55, 76, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.collaboration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 55, 76, 0.1);
    border-color: #00374c;
}

.collaboration-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.collaboration-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00374c, #005a7a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.collaboration-title {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00374c;
}

.collaboration-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.collaboration-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.collaboration-list li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.5rem;
    color: #555;
    font-size: 0.9rem;
}

.collaboration-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00374c;
    font-weight: bold;
}

.collaboration-status {
    text-align: center;
}

.status-badge {
    background: #00374c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.status-badge.active {
    background: linear-gradient(135deg, #00374c, #005a7a);
}

/* Institute CTA Section */
.institute-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #00374c, #005a7a);
    color: white;
}

.institute-cta-section .cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.institute-cta-section .cta-text {
    flex: 1;
    min-width: 300px;
}

.institute-cta-section .cta-title {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.institute-cta-section .cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.cta-feature .feature-icon {
    color: white;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.institute-cta-section .cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.institute-cta-section .btn-primary {
    background: white;
    color: #00374c;
    border-color: white;
}

.institute-cta-section .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.institute-cta-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.institute-cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ===== RESPONSIVE DESIGN FOR INSTITUTE PAGE ===== */
@media (max-width: 768px) {
    .institute-hero .hero-visual {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-stat .stat-number {
        font-size: 2rem;
    }

    .institute-services-grid {
        grid-template-columns: 1fr;
    }

    .institute-service-card.featured {
        transform: none;
    }

    .institute-service-card.featured:hover {
        transform: translateY(-10px);
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .collaborations-grid {
        grid-template-columns: 1fr;
    }

    .institute-cta-section .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .institute-cta-section .cta-title {
        font-size: 2rem;
    }

    .collaboration-header {
        flex-direction: column;
        text-align: center;
    }

    .cta-features {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stat .stat-number {
        font-size: 1.8rem;
    }

    .institute-service-card,
    .collaboration-card {
        margin: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .institute-cta-section .cta-title {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .medical-icon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .medical-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}