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

:root {
    --primary-blue: #1B3F7F;
    --accent-cyan: #00D4FF;
    --dark-navy: #0A1929;
    --light-gray: #F5F7FA;
    --white: #FFFFFF;
    --text-dark: #1A2332;
    --text-light: #64748B;
    --gradient-primary: linear-gradient(135deg, #1B3F7F 0%, #2563B8 100%);
    --gradient-accent: linear-gradient(135deg, #00D4FF 0%, #0EA5E9 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 50px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 63, 127, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--white);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0A1929 0%, #1B3F7F 100%);
    color: var(--white);
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.brand-name {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mascot-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.3));
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: var(--white);
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

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

.feature-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(27, 63, 127, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* Career Support Section */
.career-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.career-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.career-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.career-stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(27, 63, 127, 0.15);
}

.career-stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.career-stat-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.career-stat-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.career-features {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.career-features-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.career-features-list {
    list-style: none;
}

.career-features-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.career-check {
    width: 28px;
    height: 28px;
    background: var(--gradient-accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1rem;
}

.career-features-list strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.career-features-list p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Programs Section */
.programs-section {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.program-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(27, 63, 127, 0.12);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.program-badge {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.program-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    margin-bottom: 2rem;
}

.program-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.program-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.05em;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.language-toggle:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.lang-icon {
    font-size: 1.2rem;
}

/* RTL Support */
body.rtl {
    font-family: 'Noto Nastaliq Urdu', 'Inter', sans-serif;
    direction: rtl;
    line-height: 2;
}

body.rtl p,
body.rtl li,
body.rtl .hero-description,
body.rtl .section-subtitle,
body.rtl .feature-description,
body.rtl .program-description,
body.rtl .career-stat-desc,
body.rtl .footer-description {
    line-height: 2.2;
}

body.rtl .navbar {
    direction: rtl;
}

body.rtl .nav-container {
    flex-direction: row;
}

body.rtl .nav-links {
    flex-direction: row;
}

body.rtl .logo-section {
    flex-direction: row;
}

body.rtl .hero-cta {
    flex-direction: row;
    margin-left: auto;
    margin-right: 0;
    width: fit-content;
}

body.rtl .hero-content {
    text-align: right;
}

body.rtl .features-grid,
body.rtl .programs-grid {
    direction: rtl;
}

body.rtl .feature-card,
body.rtl .program-card {
    text-align: right;
}

body.rtl .career-features-list {
    text-align: right;
}

body.rtl .career-features-list div {
    text-align: right;
}

body.rtl .footer-content {
    direction: rtl;
}

body.rtl .footer-column {
    text-align: right;
}

body.rtl .social-links {
    flex-direction: column;
}

body.rtl .program-features li {
    padding-left: 0;
    padding-right: 1.5rem;
}

body.rtl .program-features li::before {
    left: auto;
    right: 0;
}

body.rtl .career-features-title {
    text-align: right;
}

body.rtl .career-features {
    text-align: right;
}

body.rtl .program-header {
    flex-direction: row-reverse;
}

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

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


/* Responsive Design */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

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

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

    .features-grid,
    .programs-grid {
        grid-template-columns: 1fr;
    }

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

    .career-stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        align-items: center;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .logo {
        height: 40px;
        max-width: 200px;
    }
}

@media (max-width: 640px) {
    .brand-name {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

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

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

    .mascot-container {
        max-width: 300px;
    }
}
