@font-face {
    font-family: 'OPPO Sans';
    src: url('../assets/OPPO Sans 4.0-subset.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

:root {
    /* Blue Color Palette */
    --primary-blue: #2563eb;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --dark-blue: #1e40af;
    --navy-blue: #1e3a8a;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
    
    /* Typography */
    --font-family: 'OPPO Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-logo h1 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
}

.nav-logo span {
    color: var(--secondary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
    padding: 140px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    filter: blur(4px);
    opacity: 0.4;
    transition: var(--transition);
}

.floating-element:hover {
    filter: blur(2px);
    opacity: 0.6;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 20;
}

.hero-content {
    position: relative;
    z-index: 25;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: var(--font-weight-normal);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
}

.hero-image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-screen {
    width: 211%;
    height: 211%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(37, 99, 235, 0.2));
    transition: var(--transition);
}

.floating-screen:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 35px rgba(37, 99, 235, 0.3));
}

/* Connecting lines between elements with hexagon data transfer effects */
.element-1::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), var(--primary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(25deg);
    opacity: 0.7;
    animation: dataFlow 3s ease-in-out infinite;
}

.element-1::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    top: 50%;
    left: calc(50% + 175px);
    transform: translate(-50%, -50%) rotate(25deg);
    opacity: 0.8;
    animation: hexagonPulse 2s ease-in-out infinite;
}

.element-2::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue), var(--secondary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(-145deg);
    opacity: 0.6;
    animation: dataFlow 3.5s ease-in-out infinite;
}

.element-2::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-blue);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    top: 50%;
    left: calc(50% + 140px);
    transform: translate(-50%, -50%) rotate(-145deg);
    opacity: 0.9;
    animation: hexagonPulse 2.2s ease-in-out infinite;
}

.element-3::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), #60a5fa, var(--primary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(-75deg);
    opacity: 0.8;
    animation: dataFlow 4s ease-in-out infinite;
}

.element-3::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background: #60a5fa;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    top: 50%;
    left: calc(50% + 160px);
    transform: translate(-50%, -50%) rotate(-75deg);
    opacity: 0.8;
    animation: hexagonPulse 1.8s ease-in-out infinite;
}

.element-4::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue), var(--secondary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(120deg);
    opacity: 0.5;
    animation: dataFlow 2.8s ease-in-out infinite;
}

.element-5::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(155deg);
    opacity: 0.7;
    animation: dataFlow 3.2s ease-in-out infinite;
}

.element-5::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--secondary-blue);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    top: 50%;
    left: calc(50% + 125px);
    transform: translate(-50%, -50%) rotate(155deg);
    opacity: 0.9;
    animation: hexagonPulse 2.5s ease-in-out infinite;
}

.element-6::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), #4f90ff, var(--primary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(-135deg);
    opacity: 0.6;
    animation: dataFlow 3.8s ease-in-out infinite;
}

.element-7::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue), #60a5fa);
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(35deg);
    opacity: 0.8;
    animation: dataFlow 2.5s ease-in-out infinite;
}

.element-7::after {
    content: '';
    position: absolute;
    width: 9px;
    height: 9px;
    background: var(--primary-blue);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    top: 50%;
    left: calc(50% + 190px);
    transform: translate(-50%, -50%) rotate(35deg);
    opacity: 0.7;
    animation: hexagonPulse 1.5s ease-in-out infinite;
}

.element-8::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--primary-blue));
    top: 50%;
    left: 50%;
    transform-origin: left center;
    transform: translateY(-50%) rotate(-165deg);
    opacity: 0.9;
    animation: dataFlow 4.2s ease-in-out infinite;
}

@keyframes dataFlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.4;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.9;
    }
}

@keyframes hexagonPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

.element-1 {
    width: 66px;
    height: 66px;
    background: linear-gradient(145deg, var(--primary-blue), var(--secondary-blue));
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.element-2 {
    width: 65px;
    height: 65px;
    background: linear-gradient(225deg, var(--secondary-blue), #4f90ff);
    top: 70%;
    right: 8%;
    animation-delay: 2s;
}

.element-3 {
    width: 45px;
    height: 45px;
    background: linear-gradient(315deg, #1d4ed8, var(--primary-blue));
    bottom: 15%;
    left: 25%;
    animation-delay: 4s;
}

.element-4 {
    width: 72px;
    height: 72px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.8), var(--secondary-blue));
    top: 10%;
    right: 15%;
    animation-delay: 1s;
}

.element-5 {
    width: 35px;
    height: 35px;
    background: linear-gradient(90deg, var(--secondary-blue), #5b9cff);
    top: 75%;
    left: 70%;
    animation-delay: 3s;
}

.element-6 {
    width: 75px;
    height: 75px;
    background: linear-gradient(270deg, #2563eb, rgba(59, 130, 246, 0.7));
    bottom: 25%;
    right: 25%;
    animation-delay: 5s;
}

.element-7 {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #1e40af, var(--primary-blue));
    top: 45%;
    left: 2%;
    animation-delay: 2.5s;
}

.element-8 {
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, var(--primary-blue), #60a5fa);
    top: 30%;
    right: 45%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--black);
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--primary-blue);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), rgba(37, 99, 235, 0.1));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-blue);
    background-size: 90px 90px;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-circle svg {
    width: 32px;
    height: 32px;
    display: none;
}

/* Service Icon Specific Images */
.service-card:nth-child(1) .icon-circle {
    background-image: url('../images/service1.png');
}

.service-card:nth-child(2) .icon-circle {
    background-image: url('../images/service2.png');
}

.service-card:nth-child(3) .icon-circle {
    background-image: url('../images/service3.png');
}

.service-card:nth-child(4) .icon-circle {
    background-image: url('../images/service4.png');
}

.service-card:nth-child(5) .icon-circle {
    background-image: url('../images/service5.png');
}

.service-card:nth-child(6) .icon-circle {
    background-image: url('../images/service6.png');
}

.service-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--black);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--gray);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.about-content {
    /*
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    */
    align-items: center;
}

.about-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    display: block;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.2);
}

.about-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-overlay {
    text-align: center;
    color: var(--white);
}

.image-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-semibold);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    /* background: var(--black); */
    color: var(--white);
    padding: 0 0 1rem;
}

.footer-content {
    display: none; /* Hide brand and links sections */
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: none; /* Hidden for now */
}

.footer-links {
    display: none; /* Hidden for now */
}

.footer-bottom {
    border-top: 1px solid rgba(100, 116, 139, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--gray);
}

.icp-link {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.icp-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 1.5rem;
    }

    .study-path-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .study-path-card {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
    }

    .hero-image-overlay {
        width: 200px;
        height: 200px;
    }

    .element-1 {
        width: 80px;
        height: 80px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 1.5rem;
    }

    .study-path-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .study-path-card {
        padding: 1.5rem;
    }

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

    .stats {
        justify-content: center;
        gap: 1.5rem;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Additional mobile breakpoint for study-path */
@media (max-width: 600px) {
    .study-path-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 1.5rem;
    }

    .study-path-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-graphic {
        width: 250px;
        height: 250px;
    }

    .hero-image-overlay {
        width: 200px;
        height: 200px;
    }

    .element-1 {
        width: 80px;
        height: 80px;
    }

    .element-2 {
        width: 60px;
        height: 60px;
    }

    .element-3 {
        width: 40px;
        height: 40px;
    }

    .element-4 {
        width: 70px;
        height: 70px;
    }

    .element-5 {
        width: 30px;
        height: 30px;
    }

    .element-6 {
        width: 50px;
        height: 50px;
    }

    .element-7 {
        width: 35px;
        height: 35px;
    }

    .element-8 {
        width: 25px;
        height: 25px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .study-path-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        gap: 1.25rem;
    }

    .study-path-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .image-placeholder {
        width: 100px;
        height: 100px;
    }

    .image-placeholder svg {
        width: 40px;
        height: 40px;
    }

    .path-title {
        font-size: 1.2rem;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for elements */
.service-card,
.about-content > *,
.contact-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Scale down connecting lines on mobile */
.element-1::before { width: 250px; }
.element-1::after { left: calc(50% + 125px); width: 6px; height: 6px; }
.element-2::before { width: 200px; }
.element-2::after { left: calc(50% + 100px); width: 5px; height: 5px; }
.element-3::before { width: 230px; }
.element-3::after { left: calc(50% + 115px); width: 5px; height: 5px; }
.element-4::before { width: 280px; }
.element-5::before { width: 180px; }
.element-5::after { left: calc(50% + 90px); width: 4px; height: 4px; }
.element-6::before { width: 220px; }
.element-7::before { width: 270px; }
.element-7::after { left: calc(50% + 135px); width: 7px; height: 7px; }
.element-8::before { width: 160px; }

/* Study Path Planning Section */
.study-path {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.study-path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.study-path-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    text-align: center;
}

.study-path-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-blue);
}

.path-image {
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--light-blue), rgba(37, 99, 235, 0.2));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-blue);
    position: relative;
    overflow: hidden;
    background-size: 120px 120px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Path Image Specific Images */
.study-path-card:nth-child(1) .image-placeholder {
    background-image: url('../images/path1.png');
}

.study-path-card:nth-child(2) .image-placeholder {
    background-image: url('../images/path2.png');
}

.study-path-card:nth-child(3) .image-placeholder {
    background-image: url('../images/path3.png');
}

.study-path-card:nth-child(4) .image-placeholder {
    background-image: url('../images/path4.png');
}

.study-path-card:nth-child(5) .image-placeholder {
    background-image: url('../images/path5.png');
}

.study-path-card:nth-child(6) .image-placeholder {
    background-image: url('../images/path6.png');
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.study-path-card:hover .image-placeholder::before {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.image-placeholder svg {
    width: 48px;
    height: 48px;
    z-index: 1;
    position: relative;
    display: none;
}

.path-title {
    font-size: 1.4rem;
    font-weight: var(--font-weight-semibold);
    color: var(--black);
    margin-bottom: 1rem;
}

.path-description {
    color: var(--gray);
    line-height: 1.7;
    font-size: 1rem;
}

.path-title {
    font-size: 1.2rem;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 0 32px 0;
    gap: 1rem;
}

/* QR Code Modal Styles */
.qr-modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0s linear 0.3s,
                backdrop-filter 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-modal.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0s linear 0s,
                backdrop-filter 0.3s ease;
}

.qr-modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow: visible;
    transform: translate3d(0, 30px, 0) scale(0.8);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.2s ease;
    will-change: transform, opacity;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.qr-modal.show .qr-modal-content {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.2s ease 0.1s;
}

/* Closing state - immediate hide with minimal movement */
.qr-modal.closing .qr-modal-content {
    transform: translate3d(0, -10px, 0) scale(0.95);
    opacity: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 1, 1), 
                opacity 0.15s ease;
}

.qr-close {
    color: var(--gray);
    float: right;
    font-size: 2rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-close:hover,
.qr-close:focus {
    color: var(--primary-blue);
    background-color: rgba(37, 99, 235, 0.1);
    transform: scale(1.1) rotate(90deg);
}

.qr-image-container {
    text-align: center;
    padding: 1rem 2rem;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qr-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--border-radius);
    /* box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2); */
    margin: 0 auto 1.5rem auto;
    opacity: 0;
    transform: translate3d(0, 15px, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    display: block;
}

.qr-modal.show .qr-image {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.2s;
}

/* Immediate hide on closing */
.qr-modal.closing .qr-image {
    opacity: 0;
    transform: translate3d(0, -5px, 0);
    transition: opacity 0.1s ease, transform 0.1s ease;
    transition-delay: 0s;
}

.qr-image:hover {
    transform: translate3d(0, 0, 0) scale(1.02);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.3);
}

.qr-text {
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translate3d(0, 15px, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
    position: relative;
}

.qr-modal.show .qr-text {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.35s;
}

/* Immediate hide on closing */
.qr-modal.closing .qr-text {
    opacity: 0;
    transform: translate3d(0, -5px, 0);
    transition: opacity 0.1s ease, transform 0.1s ease;
    transition-delay: 0s;
}

/* Enhanced button hover effect for QR trigger */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
    left: 100%;
}

/* Add subtle glow effect on hover */
.btn-primary:hover {
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4), 0 0 20px rgba(37, 99, 235, 0.2);
}

@media (max-width: 480px) {
    .qr-modal-content {
        padding: 1.5rem;
        margin: 1rem;
        transform: scale(0.9) translateY(30px);
    }
    
    .qr-modal.show .qr-modal-content {
        transform: scale(1) translateY(0);
    }
    
    .qr-image {
        max-width: 250px;
    }
    
    .qr-text {
        font-size: 1.1rem;
    }
    
    .qr-close {
        font-size: 1.5rem;
        top: 0.5rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* Contact Images Section */
.contact-images {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.contact-qr {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-qr:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-blue);
}

.contact-qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.contact-qr-image:hover {
    transform: scale(1.05);
}

.contact-qr-label {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-gray);
    margin: 0;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .contact-images {
        gap: 1.5rem;
    }
    
    .contact-qr {
        padding: 1rem;
    }
    
    .contact-qr-image {
        width: 160px;
        height: 160px;
    }
    
    .contact-qr-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-qr-image {
        width: 140px;
        height: 140px;
    }
} 