:root {
    --primary-color: #1a2a3a;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #f5f6fa;
    --dark-gray: #1a2a3a;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #1a2a3a, #34495e);
    --gradient-secondary: linear-gradient(135deg, #e74c3c, #ff7675);
    --gradient-accent: linear-gradient(135deg, #3498db, #00a8ff);
    --box-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(52, 152, 219, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(231, 76, 60, 0.03) 0%, transparent 20%);
    background-attachment: fixed;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Add a fade-in animation to the hero section */
.hero {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Add a slide-in animation to the features section */
.features {
    transform: translateX(-100%);
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Add a smooth transition to the hover state of buttons */
.primary-button,
.secondary-button,
.cta-button {
    transition: all 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--box-shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
    transition: transform var(--transition-fast);
}

.logo a:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
    align-items: center;
}

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

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 16px;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    border-radius: 10px;
}

.nav-links a:hover {
    color: #10B981;
    background: rgba(16, 185, 129, 0.08);
}

/* Contact CTA Button */
.nav-links a.nav-cta-button {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    margin-left: 8px;
}

.nav-links a.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
    color: white !important;
}

/* Login Button */
.nav-links a.nav-login-button {
    color: #10B981 !important;
    border: 2px solid #10B981;
    background: transparent;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-links a.nav-login-button:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #059669 !important;
}

/* Signup Button */
.nav-links a.nav-signup-button {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-links a.nav-signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: white !important;
}

/* Logout Button - Vibrant Style */
.nav-links a.nav-logout-button {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    margin-left: 8px;
}

.nav-links a.nav-logout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white !important;
}

.nav-links a.nav-logout-button i {
    font-size: 0.9rem;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 5rem;
    background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.95)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.15), transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(231, 76, 60, 0.15), transparent 40%);
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.95;
    }
}

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

/* Buttons */
.primary-button, .secondary-button, .cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--box-shadow-sm);
    text-align: center;
}

.primary-button {
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
}

.primary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
    transform: scaleX(-1);
}

.secondary-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5); /* Lighter border */
    backdrop-filter: blur(5px);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2)); /* Subtle gradient */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 3D effect */
    transition: all 0.3s ease; /* Smooth transition */
}

.secondary-button:hover {
    transform: scale(1.05); /* Scaling animation on hover */
}

.cta-button {
    background-color: var(--primary-color);
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
}

.navbar .cta-button {
    padding: 10px 20px !important;
    margin-left: 10px;
    border-radius: 4px;
}

.primary-button:hover, .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-md);
}

.primary-button:hover::before, .cta-button:hover::before {
    opacity: 1;
}

.secondary-button:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--box-shadow-md);
}

.primary-button:active, .secondary-button:active, .cta-button:active {
    transform: translateY(1px);
    box-shadow: var(--box-shadow-sm);
}

/* Features Section */
.features {
    padding: 7rem 0;
    margin-top: 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.features::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 1rem auto 3rem;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

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

.feature-card i {
    font-size: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.feature-card:hover i {
    transform: scale(1.1);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Programs Preview */
.programs-preview {
    padding: 7rem 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.programs-preview::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(52, 152, 219, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(231, 76, 60, 0.03) 0%, transparent 30%);
    z-index: 0;
}

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

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.program-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
}

.program-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.program-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.learn-more {
    display: inline-block;
    margin-top: auto;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    align-self: flex-start;
    transition: all var(--transition-normal);
}

.learn-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-secondary);
    transform: scaleX(0.3);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.learn-more:hover {
    color: #c0392b;
}

.learn-more:hover::after {
    transform: scaleX(1);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.95)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(231, 76, 60, 0.15), transparent 40%);
    z-index: 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.cta-content p {
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .primary-button,
    .cta-buttons .secondary-button {
        width: 80%;
    }
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 5rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(52, 152, 219, 0.1), transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(231, 76, 60, 0.1), transparent 30%);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-info {
    padding-right: 2rem;
}

.footer-info h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-nav h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.footer-nav h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    padding-left: 15px;
    font-weight: 400;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

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

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-info {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-info {
        grid-column: span 1;
    }
}

/* Header Section */
.header {
    background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.95)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 140px 0 80px;
    min-height: 45vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(231, 76, 60, 0.15), transparent 40%);
    z-index: 0;
}

.header.inner-page {
    min-height: auto;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(26, 42, 58, 0.9), rgba(231, 76, 60, 0.8));
    margin-bottom: 3rem;
    position: relative;
}

.header.inner-page::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    z-index: 1;
}

.header.inner-page h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header.inner-page .hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.header .container {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.3s forwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.header-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.header-shape svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.header-shape .shape-fill {
    fill: var(--white);
}

/* Ensure main content starts below navbar */
main {
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.main-content {
    padding: 5rem 0;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(52, 152, 219, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(231, 76, 60, 0.03) 0%, transparent 30%);
    z-index: -1;
}

.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.page-intro p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--box-shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform var(--transition-normal);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
}

.service-item a {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    transition: color var(--transition-normal);
    position: relative;
}

.service-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.service-item a:hover {
    color: var(--secondary-color);
}

.service-item a:hover::after {
    width: 50px;
}

.service-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 1.5rem;
    }
}

/* Transformations Page Styles */
.transformations-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.transformation-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transformation-card h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.transformation-images {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.image-container {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.image-container h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.transformation-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transformation-description {
    color: #666;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.no-transformations {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .transformation-images {
        flex-direction: column;
        align-items: center;
    }
    
    .image-container {
        max-width: 100%;
    }
    
    .transformation-card {
        padding: 1.5rem;
    }
    
    .transformation-card h2 {
        font-size: 1.5rem;
    }
}

/* Training Programs Page Styles */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.course-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.course-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.course-price {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.course-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.course-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.course-details {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.detail-label {
    color: #666;
    font-weight: 500;
}

.detail-value {
    color: var(--primary-color);
    font-weight: 600;
}

.course-footer {
    padding: 1.5rem;
    background: #f8f9fa;
    text-align: center;
}

.enroll-button {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.enroll-button:hover {
    background: #c0392b;
    transform: scale(1.05);
}

.no-courses {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-header h2 {
        font-size: 1.3rem;
    }
    
    .course-price {
        font-size: 1.8rem;
    }
}

/* Contact Page Styles */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.trainer-profile {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.trainer-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1.5rem;
}

.trainer-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.trainer-info {
    text-align: center;
}

.trainer-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.trainer-title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.trainer-details p {
    color: #666;
    line-height: 1.6;
}

.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

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

.form-group label {
    color: var(--primary-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.1);
}

.form-control::placeholder {
    color: #999;
}

.submit-button {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: #c0392b;
    transform: scale(1.05);
}

/* Messages styles */
.messages {
    list-style: none;
    padding: 1rem;
    margin: 0 0 1rem 0;
    border-radius: 6px;
}

.messages .success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .trainer-image {
        max-width: 250px;
    }
    
    .contact-form-container,
    .trainer-profile {
        padding: 1.5rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 7rem 0;
    background-color: var(--white);
    overflow: hidden;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(52, 152, 219, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(231, 76, 60, 0.03) 0%, transparent 30%);
    z-index: 0;
}

.testimonials-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.testimonials-intro p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-top: 1rem;
}

.testimonials-grid {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    justify-content: space-around;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 0px;
    margin-top: 0px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--gradient-secondary);
    transition: height 0.5s ease;
    border-radius: 0 0 5px 0;
}

.testimonial-card:hover {
    transform: translateY(-10px) rotate(0.5deg);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-card:hover::before {
    height: 100%;
}

.testimonial-image {
    width: 350px;
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 5px solid white;
    box-shadow: var(--box-shadow-sm);
    z-index: 2;
    transition: all var(--transition-normal);
}

.sazzadul-testimonial .testimonial-image {
    width: 300px;
    height: 300px;
}

.testimonial-card:hover .testimonial-image {
    transform: scale(1.05);
    box-shadow: var(--box-shadow-md);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.1);
}

.testimonial-content {
    padding: 0 2.5rem 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 20px;
    font-size: 120px;
    color: rgba(231, 76, 60, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 1;
}

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.testimonial-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    margin-top: auto;
    text-align: center;
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-author::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.testimonial-author h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.testimonial-author p {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 5rem 2rem;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 7rem;
    }
}

/* Success Metrics */
.success-metrics-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.success-metrics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 10%, rgba(52, 152, 219, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 90% 90%, rgba(231, 76, 60, 0.05) 0%, transparent 30%);
    z-index: 0;
}

.success-metrics-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.success-metrics-intro p {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.7;
    margin-top: 1rem;
}

.success-metrics {
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 0;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.metric {
    flex: 1;
    min-width: 220px;
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    background: var(--white);
    margin: 1rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.metric:nth-child(1) { animation-delay: 0.1s; }
.metric:nth-child(2) { animation-delay: 0.3s; }
.metric:nth-child(3) { animation-delay: 0.5s; }
.metric:nth-child(4) { animation-delay: 0.7s; }

.metric::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.metric:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-md);
}

.metric:hover::before {
    transform: scaleX(1);
}

.metric-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(52, 152, 219, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all var(--transition-normal);
}

.metric-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(231, 76, 60, 0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.metric:hover .metric-icon-wrapper {
    transform: scale(1.1);
}

.metric i {
    font-size: 2.5rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    transition: transform var(--transition-normal);
}

.metric:hover i {
    transform: rotateY(180deg);
}

.metric h3 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
    font-weight: 800;
    transform: scale(1);
    transition: transform var(--transition-normal);
    line-height: 1;
}

.metric:hover h3 {
    transform: scale(1.1);
}

.metric p {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    padding-bottom: 1rem;
}

.metric p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.metric:hover p::after {
    opacity: 1;
}

@media (max-width: 992px) {
    .success-metrics {
        flex-wrap: wrap;
    }

    .metric {
        flex: 1 0 calc(50% - 2rem);
    }
}

@media (max-width: 768px) {
    .success-metrics {
        flex-direction: column;
    }

    .metric {
        width: 100%;
        margin: 1rem 0;
    }

    .metric h3 {
        font-size: 2.5rem;
    }
}

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

/* Payment Form Styles */
.sandbox-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.sandbox-notice p {
    color: #856404;
    margin-bottom: 0.5rem;
}

.sandbox-notice ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #856404;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar {
        height: auto;
        padding: 1rem 0;
    }

    .header {
        padding: 100px 0 40px;
    }

    .header h1 {
        font-size: 2.5rem;
    }

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

    .testimonial-image {
        height: 200px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

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

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

    .container {
        padding: 0 15px;
    }
}

/* Mobile navigation toggle */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--secondary-color);
    height: 2px;
    width: 28px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* Social links in footer */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.social-links a {
    color: var(--white);
    font-size: 20px;
    transition: color 0.3s ease;
}

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

/* Improved mobile responsiveness */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-toggle-label {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        background: var(--primary-color);
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links a {
        color: var(--white);
        font-size: 1.2rem;
    }
    
    .nav-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
        background: var(--white);
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
        background: var(--white);
    }
    
    .header {
        padding: 6rem 0 4rem;
    }
    
    .header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .features-grid, 
    .programs-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .success-metrics .container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Better spacing for mobile */
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Small phone screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .feature-card, 
    .program-card, 
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .success-metrics .container {
        grid-template-columns: 1fr;
    }
    
    .metric {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .nav-links {
        height: -webkit-fill-available;
    }
    
    body, 
    html {
        height: -webkit-fill-available;
    }
}

/* Improved accessibility */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 3px;
}

.cta-button:focus, 
.primary-button:focus,
.secondary-button:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.4);
}

/* Add smooth appearance animations */
.feature-card, .program-card, .testimonial-card, .metric {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.program-card:nth-child(1) { animation-delay: 0.2s; }
.program-card:nth-child(2) { animation-delay: 0.3s; }
.program-card:nth-child(3) { animation-delay: 0.4s; }

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

/* Programs Hero */
.programs-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(rgba(26, 42, 58, 0.85), rgba(26, 42, 58, 0.95)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}
