/* =========================================
   CSS Reset & Variables (Edunova Identity)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&family=Ubuntu:wght@400;500;700&display=swap');

:root {
    /* Edunova Color Palette */
    --color-primary-dark: #1A1B41;    /* Very Dark Blue for text */
    --color-primary: #31336c;         /* Dark Blue from shield */
    --color-primary-light: #4766f5;   /* Light Blue from shield */
    --color-accent: #DC6B30;          /* Orange from shield */
    --color-secondary: #146C43;       /* Green from shield */
    --color-bg-light: #f8fafc;
    
    --text-main: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 24px; /* rounded-3xl equivalent */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Gradients */
    --bg-gradient: linear-gradient(135deg, #31336c 0%, #4766f5 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--color-bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
    color: var(--color-primary-dark);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* =========================================
   Typography & Utilities
   ========================================= */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #f1f5f9;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mt-4 { margin-top: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 50px; /* Fully rounded buttons */
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    font-family: 'Ubuntu', sans-serif;
}

.btn-primary {
    background-color: var(--color-accent); /* Amber */
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.39);
}

.btn-primary:hover {
    background-color: #d97706; /* Darker Amber */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    color: var(--white);
}

.btn-cyan {
    background-color: var(--color-primary-light);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.39);
}

.btn-cyan:hover {
    background-color: #0891b2;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--color-primary);
}

/* =========================================
   Header (Glassmorphism)
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    padding: 0.25rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    font-family: 'Ubuntu', sans-serif;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary-light);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary-dark);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary-dark);
    left: 0;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 700px;
    background: var(--bg-gradient);
    position: relative;
    display: flex;
    align-items: center;
}

/* Optional geometric shapes in background */
.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: var(--white);
    padding-top: 80px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeUp 0.8s ease forwards;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeUp 1s ease forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeUp 1.2s ease forwards;
}

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

/* =========================================
   Cards / Reasons Section
   ========================================= */
.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    text-align: center;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: #e0f2fe; /* Light cyan background */
    color: var(--color-primary-light);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-inline: auto;
}

.card-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* =========================================
   Academic Offer Section
   ========================================= */
.offer-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

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

.offer-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.offer-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary));
    color: white;
}

.offer-content {
    padding: 2rem;
    text-align: center;
}

.offer-content h3 {
    margin: 0;
    font-size: 1.3rem;
}

/* =========================================
   Integration Section (Glassmorphism)
   ========================================= */
.integration {
    background: var(--bg-gradient);
    color: var(--white);
    overflow: hidden;
    position: relative;
    padding: 8rem 0;
}

.integration-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.integration-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.integration-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.integration-list {
    margin-bottom: 2rem;
}

.integration-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
}

.integration-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--color-primary-light);
    border-radius: 50%;
    font-size: 14px;
}

/* Glass Card UI */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-header {
    background: rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.glass-body {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-bottom-left-radius: 23px;
    border-bottom-right-radius: 23px;
}

.mock-ui .mock-nav {
    height: 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    margin-bottom: 2rem;
    width: 60%;
}

.mock-ui .mock-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mock-block {
    height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
}
.mock-block.large {
    height: 140px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--white);
    padding-top: 5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    font-family: 'Ubuntu', sans-serif;
}

.footer-logo img {
    height: 50px;
}

.footer-col h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--color-primary-light);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 2rem 0;
    background-color: var(--color-bg-light);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-light);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: var(--text-light);
}

.legal-links a:hover {
    color: var(--color-primary-light);
}

/* =========================================
   Modal & PDF Viewer
   ========================================= */
.text-center {
    text-align: center;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 27, 65, 0.85); /* Very Dark Blue with opacity */
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    width: 95vw;
    height: 95vh;
    background-color: var(--white);
    border-radius: var(--border-radius);
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: var(--color-accent);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #b55422; /* Darker Orange */
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .integration-container {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        transition: var(--transition);
        padding: 2rem;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        text-align: center;
    }

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

    .hero-actions {
        flex-direction: column;
    }

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

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================
   Floating Social Media
   ========================================= */
.floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1050;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.social-icon svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    color: var(--white);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.whatsapp {
    background-color: #25D366;
}

@media (max-width: 768px) {
    .floating-social {
        right: 15px;
        top: auto;
        bottom: 20px;
        transform: none;
        flex-direction: row;
        gap: 10px;
    }
    .social-icon {
        width: 45px;
        height: 45px;
    }
    .social-icon:hover {
        transform: translateY(-5px) scale(1.05); /* Move up instead of left on mobile */
    }
}

