/* Core Design Tokens */
:root {
    --bg-color: #080c16;
    --card-bg: rgba(15, 23, 42, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    
    --emea-primary: #10b981;
    --emea-glow: rgba(16, 185, 129, 0.15);
    --emea-hover: #059669;
    
    --ptm-primary: #3b82f6;
    --ptm-glow: rgba(59, 130, 246, 0.15);
    --ptm-hover: #2563eb;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Background Gradients & Effects */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 40px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 30px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 40px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
    animation: pulse 8s infinite alternate;
}

.orb-1 {
    top: -10%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--emea-primary) 0%, transparent 70%);
}

.orb-2 {
    bottom: -10%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--ptm-primary) 0%, transparent 70%);
    animation-delay: -3s;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.15) translate(3%, 5%);
    }
}

/* Layout Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 10;
    flex-grow: 1;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.main-title {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Section Common Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--emea-primary), var(--ptm-primary));
    border-radius: 2px;
}

/* Schools Grid */
.schools-section {
    margin-bottom: 5rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Glassmorphic School Cards */
.school-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.emea-card .card-accent-line {
    background: linear-gradient(90deg, var(--emea-primary), transparent);
}

.ptm-card .card-accent-line {
    background: linear-gradient(90deg, var(--ptm-primary), transparent);
}

.school-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.emea-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px var(--emea-glow);
}

.ptm-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 30px var(--ptm-glow);
}

/* Card Content */
.school-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
}

.logo-emea {
    background: linear-gradient(135deg, var(--emea-primary), #065f46);
    color: white;
}

.logo-ptm {
    background: linear-gradient(135deg, var(--ptm-primary), #1e3a8a);
    color: white;
}

.school-name {
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.school-location {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.school-location::before {
    content: '📍';
    font-size: 0.9rem;
}

.school-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1.1rem;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
}

.btn-emea {
    background-color: var(--emea-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-emea:hover {
    background-color: var(--emea-hover);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.btn-ptm {
    background-color: var(--ptm-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-ptm:hover {
    background-color: var(--ptm-hover);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Process Timeline Section */
.process-section {
    margin-bottom: 5rem;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.timeline-item {
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(15, 23, 42, 0.5);
    transform: translateY(-4px);
}

.timeline-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emea-primary), var(--ptm-primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    margin-top: 0.5rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Support Section */
.support-section {
    max-width: 650px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.support-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.support-icon {
    width: 32px;
    height: 32px;
    color: #ef4444;
    flex-shrink: 0;
}

.support-text h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fca5a5;
    margin-bottom: 0.2rem;
}

.support-text p {
    font-size: 0.88rem;
    color: #cbd5e1;
}

.support-email {
    color: var(--ptm-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.support-email:hover {
    text-decoration: underline;
    opacity: 0.85;
}

/* Footer Section */
.main-footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.main-footer p {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.3rem;
        letter-spacing: -1px;
    }
    
    .subtitle {
        font-size: 1.05rem;
    }
    
    .container {
        padding: 2rem 1rem;
    }
    
    .schools-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    .school-card {
        padding: 2rem;
    }
    
    .timeline {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    
    .timeline-item {
        padding: 1.5rem;
    }
    
    .support-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .notice-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.75rem;
        gap: 1.5rem;
    }
    
    .notice-image-container {
        height: 280px;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .btn-notice {
        margin: 0 auto;
    }
}

/* Notice Section styles */
.notice-section {
    margin-bottom: 5rem;
    animation: fadeInUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.notice-container {
    max-width: 850px;
    margin: 0 auto;
}

.notice-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: center;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.notice-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.notice-image-container {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.notice-image-container:hover {
    transform: scale(1.03);
}

.notice-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.notice-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.notice-info p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.btn-notice {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    max-width: 280px;
    transition: var(--transition-smooth);
}

.btn-notice:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.05);
}

/* Lightbox Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(8, 12, 22, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 90%;
    max-height: 90%;
}

.modal-content {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f3f4f6;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10000;
}

.modal-close:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.btn-download-notice {
    background: linear-gradient(135deg, var(--emea-primary) 0%, var(--emea-hover) 100%);
    color: #ffffff;
    max-width: 250px;
    padding: 0.9rem 1.8rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-download-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
