/* ========================================
   University Theme - Modern Design
   ======================================== */

:root {
    /* University Color Palette */
    --university-primary: #1e3a8a;      /* Deep Blue */
    --university-secondary: #f59e0b;    /* Amber/Gold */
    --university-accent: #0ea5e9;       /* Sky Blue */
    --university-dark: #0f172a;         /* Slate Dark */
    --university-light: #f1f5f9;        /* Slate Light */

    /* Gradient Overlays */
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(59, 130, 246, 0.9) 100%);

    /* Updated Shadows */
    --shadow-card: 0 4px 20px rgba(30, 58, 138, 0.08);
    --shadow-card-hover: 0 12px 40px rgba(30, 58, 138, 0.15);
    --shadow-hero: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Global Overrides
   ======================================== */

body {
    background: var(--white);
    color: var(--university-dark);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--university-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Header - University Style
   ======================================== */

.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.05);
    border-bottom: 2px solid var(--university-light);
}

.nav-logo {
    color: var(--university-primary);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.nav-logo i {
    color: var(--university-secondary);
}

.nav-link {
    color: var(--university-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.nav-link::after {
    background: var(--gradient-accent);
    height: 3px;
}

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

/* ========================================
   Hero Section - University Banner
   ======================================== */

.hero {
    background: var(--gradient-hero);
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.05) 35px, rgba(255,255,255,.05) 70px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, white 0%, transparent 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    background: var(--gradient-accent);
    color: var(--university-dark);
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.hero-badge i {
    color: var(--university-dark);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

.hero-features {
    margin: 2rem 0;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: 600;
}

.hero-feature i {
    color: var(--university-secondary);
    font-size: 1.25rem;
}

/* ========================================
   Hero Form - Glass Morphism
   ======================================== */

.hero-form-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-hero);
}

.form-tab-button {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.form-tab-button.active {
    background: var(--gradient-hero);
    color: var(--white);
}

.form-header h3 {
    color: var(--university-primary);
    font-size: 1.75rem;
    font-weight: 800;
}

.form-input-field {
    border: 2px solid var(--university-light);
    font-size: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.form-input-field:focus {
    border-color: var(--university-primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.btn-primary {
    background: var(--gradient-hero);
    padding: 1.125rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 58, 138, 0.4);
}

/* ========================================
   Section Headers
   ======================================== */

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--university-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ========================================
   Programs Section - University Cards
   ======================================== */

.programs {
    background: linear-gradient(to bottom, white 0%, var(--university-light) 100%);
}

.program-card {
    background: var(--white);
    border: 2px solid var(--university-light);
    box-shadow: var(--shadow-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--university-secondary);
}

.program-icon {
    width: 5rem;
    height: 5rem;
    font-size: 2.5rem;
    border-radius: 16px;
}

.program-icon-purple {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.program-icon-blue {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.program-icon-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.program-icon-red {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
}

.program-icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.program-title {
    font-size: 1.625rem;
    color: var(--university-primary);
    font-weight: 800;
    margin: 1.5rem 0 1rem;
}

.program-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-weight: 500;
}

.program-link {
    color: var(--university-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9375rem;
}

.program-link:hover {
    color: var(--university-secondary);
}

/* ========================================
   Schools Section - Academic Grid
   ======================================== */

.schools {
    background: var(--white);
}

.school-card {
    background: linear-gradient(to bottom, var(--white) 0%, var(--university-light) 100%);
    border: 2px solid transparent;
    box-shadow: var(--shadow-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.school-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--university-primary);
    background: var(--white);
}

.school-icon {
    width: 5rem;
    height: 5rem;
    font-size: 2.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.school-icon-business {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.school-icon-tech {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.school-icon-health {
    background: linear-gradient(135deg, #dc2626 0%, #f87171 100%);
}

.school-icon-education {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.school-icon-psychology {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.school-icon-engineering {
    background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
}

.school-title {
    font-size: 1.5rem;
    color: var(--university-primary);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.school-majors {
    margin-bottom: 1.5rem;
}

.school-majors li {
    padding: 0.625rem 0;
    font-weight: 600;
    color: var(--gray-700);
}

.school-majors li i {
    color: var(--university-secondary);
    font-size: 1rem;
}

.btn-link {
    color: var(--university-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9375rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--university-primary);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    background: var(--university-primary);
    color: var(--white);
    transform: translateX(5px);
}

/* ========================================
   Study Flex Section - Feature Blocks
   ======================================== */

.study-flex {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
}

.study-flex::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px);
    pointer-events: none;
}

.study-flex .section-title {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.study-flex .section-title::after {
    background: var(--gradient-accent);
}

.study-flex .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.study-flex-feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
}

.study-flex-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    background: var(--gradient-accent);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.feature-content h3 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ========================================
   Scholarship Section
   ======================================== */

.scholarship {
    background: var(--university-light);
}

.scholarship-highlight {
    background: var(--gradient-hero);
    color: var(--white);
    border: none;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.scholarship-highlight h3 {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 800;
}

.scholarship-highlight p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.benefit-card {
    background: var(--white);
    border: 2px solid var(--university-light);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    border-radius: 16px;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--university-secondary);
}

.benefit-icon {
    background: var(--gradient-accent);
}

.benefit-card h4 {
    color: var(--university-primary);
    font-weight: 700;
}

/* ========================================
   Recognition & Companies
   ======================================== */

.embassy-item,
.company-item {
    background: var(--white);
    border: 2px solid var(--university-light);
    box-shadow: var(--shadow-card);
    border-radius: 16px;
}

.embassy-item:hover,
.company-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--university-primary);
}

/* ========================================
   CTA Section
   ======================================== */

.cta {
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(0,0,0,.05) 35px, rgba(0,0,0,.05) 70px);
    pointer-events: none;
}

.cta-title,
.cta-description {
    color: var(--university-dark);
    text-shadow: none;
}

.btn-light {
    background: var(--white);
    color: var(--university-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========================================
   Testimonials - Academic Style
   ======================================== */

.testimonial-card {
    background: var(--white);
    border: 2px solid var(--university-light);
    box-shadow: var(--shadow-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
}

.testimonial-card:hover {
    border-color: var(--university-primary);
    box-shadow: var(--shadow-card-hover);
}

.testimonial-img {
    border: 4px solid var(--university-secondary);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15);
}

.testimonial-stars {
    color: var(--university-secondary);
}

.testimonial-name {
    color: var(--university-primary);
    font-weight: 800;
}

.testimonial-role {
    color: var(--university-secondary);
    font-weight: 600;
}

/* ========================================
   Footer - University Style
   ======================================== */

.footer {
    background: var(--university-dark);
    border-top: 4px solid var(--university-secondary);
}

.footer-title {
    color: var(--university-secondary);
}

.footer-subtitle {
    color: var(--university-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--university-secondary);
}

/* ========================================
   Scroll Button
   ======================================== */

.scrollup {
    background: var(--gradient-hero);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

/* ========================================
   Majors Modal - University Theme
   ======================================== */

.majors-modal-title {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.major-item {
    border: 2px solid var(--university-light);
}

.major-item:hover {
    border-color: var(--university-primary);
    background: var(--university-light);
}

.major-item i {
    color: var(--university-secondary);
}

/* ========================================
   Responsive Adjustments
   ======================================== */

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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