/* Variables */
:root {
    --primary: #4A90E2;
    --primary-dark: #2D5CAC;
    --primary-light: #6DD5ED;
    --text-dark: #0A1F44;
    --text-light: #FFFFFF;
    --bg-dark: rgba(10, 31, 68, 0.95);
    --bg-light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--text-light) 0%, var(--bg-light) 100%);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.2);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --gradient-exam: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);
    --gradient-course: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-feature: linear-gradient(135deg, #8E2DE2 0%, #4A00E0 100%);
    --card-hover-transform: translateY(-10px) scale(1.02);
    --container-width-xl: 1140px;
    --container-width-lg: 960px;
    --container-width-md: 720px;
    --container-width-sm: 540px;
    --section-spacing-xl: 6rem;
    --section-spacing-lg: 5rem;
    --section-spacing-md: 4rem;
    --section-spacing-sm: 3rem;
    --container-padding: 1.5rem;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-light);
    overflow-x: hidden;
}

/* Layout System */
.container {
    width: 100%;
    max-width: var(--container-width-xl);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    position: relative;
}

.section {
    padding: var(--section-spacing-lg) 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
    color: var(--text-dark);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.8;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-dark);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    max-width: var(--container-width-xl);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-links li {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.85), rgba(21, 44, 107, 0.85)),
                url('images/nystreets-new.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-light);
    padding: calc(80px + var(--section-spacing-lg)) 0 var(--section-spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.1) 0%, rgba(10, 31, 68, 0) 70%);
    animation: pulse-bg 3s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    max-width: var(--container-width-lg);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: rgba(10, 31, 68, 0.4);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2),
                inset 0 0 100px rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-logo {
    margin-bottom: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.main-logo {
    width: 100%;
    height: auto;
    max-width: 280px;
    display: block;
    margin: 0 auto;
}

/* Promotional Images */
.promo-image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.promo-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.promo-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                inset 0 0 120px rgba(74, 144, 226, 0.15);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease, gradientText 8s ease infinite;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    background: linear-gradient(45deg, var(--text-light), var(--primary), var(--primary-dark), var(--text-light));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    line-height: 1.8;
    color: var(--text-light);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--section-spacing-lg) 0 var(--section-spacing-md);
    position: relative;
    overflow: hidden;
    margin-top: 4rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(74, 144, 226, 0.95) 0%,
        rgba(45, 92, 172, 0.95) 50%,
        rgba(10, 31, 68, 0.95) 100%);
    opacity: 0.98;
    z-index: 1;
    animation: gradientFlow 15s ease infinite;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.footer-section {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.footer-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-section:hover h3::after {
    width: 100px;
}

/* Contact Info Styles */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.contact-icon {
    color: var(--primary-light);
    font-size: 1.2rem;
}

.contact-item:hover .contact-icon-wrapper {
    background: rgba(74, 144, 226, 0.2);
    transform: rotate(360deg);
}

.email-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.email-link:hover {
    color: var(--primary-light);
}

/* Social Content Styles */
.social-content {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.social-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #833AB4 0%, #E1306C 50%, #F77737 100%);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-links:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #E1306C 0%, #F77737 50%, #833AB4 100%);
}

.social-links i {
    font-size: 1.8rem;
    color: var(--text-light);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.social-links:hover i {
    transform: scale(1.1) rotate(5deg);
}

.social-links span {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-section .section-title {
        font-size: 2rem;
    }
    
    .cta-section .section-description {
        font-size: 1.1rem;
    }
    
    .cta-section .highlight {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .footer-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-section .section-title {
        font-size: 1.75rem;
    }
    
    .cta-section .section-description {
        font-size: 1rem;
    }
    
    .hero-button {
        padding: 0.875rem 1.75rem;
        font-size: 1.1rem;
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .contact-item {
        padding: 0.875rem;
    }
}

/* Section Separators */
.section-separator {
    height: 100px;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

.section-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Media Queries */
@media (max-width: 1200px) {
    :root {
        --container-width-xl: var(--container-width-lg);
        --section-spacing-xl: var(--section-spacing-lg);
    }

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

    .promo-image-container {
        max-width: 700px;
    }
    
    .hero-logo {
        max-width: 260px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width-lg: var(--container-width-md);
        --section-spacing-lg: var(--section-spacing-md);
        --container-padding: 1.25rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }
    
    .hero p {
        font-size: 1.15rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-image-container {
        max-width: 600px;
    }
    
    .hero-logo {
        max-width: 240px;
    }
    
    .main-logo {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width-md: var(--container-width-sm);
        --section-spacing-md: var(--section-spacing-sm);
        --container-padding: 1rem;
    }

    .section {
        padding: var(--section-spacing-md) 0;
    }

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

    .section-description {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .exam-grid,
    .courses-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

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

    .hero-content {
        padding: 2rem;
    }

    .promo-image-container {
        max-width: 500px;
        padding: 0.75rem;
    }
    
    .hero-logo {
        max-width: 220px;
        margin-bottom: 1.5rem;
    }
    
    .main-logo {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .promo-image-container {
        max-width: 100%;
        padding: 0.5rem;
    }
    
    .hero-logo {
        max-width: 200px;
        margin-bottom: 1rem;
    }
    
    .main-logo {
        max-width: 200px;
    }
}

/* Utility Classes */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Exam Preparation Section */
.exam-prep {
    padding: 6rem 2rem;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.exam-prep::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.exam-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-exam);
    transition: var(--transition-smooth);
}

.exam-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--shadow-lg);
}

.exam-card:hover::before {
    height: 6px;
}

.exam-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.exam-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* Courses Section */
.courses {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(17, 153, 142, 0.05) 0%, rgba(56, 239, 125, 0.05) 100%);
    position: relative;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-course);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.course-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--shadow-lg);
}

.course-card:hover::before {
    opacity: 0.05;
}

.course-level {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: var(--border-radius-sm);
}

.course-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.course-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(142, 45, 226, 0.05) 0%, rgba(74, 0, 224, 0.05) 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: var(--gradient-feature);
    opacity: 0;
    transition: var(--transition-smooth);
    transform: rotate(45deg);
    z-index: 1;
}

.feature-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.05;
    top: -50%;
    left: -50%;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

.feature-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.feature-card p {
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulse-bg {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

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

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 0, 224, 0.05) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 4rem 0;
}

.cta-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-section .section-title {
    font-size: 2.5rem;
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
    font-weight: 800;
}

.cta-section .section-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    text-align: center;
}

.cta-section .highlight {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 1rem 0;
    display: block;
    text-align: center;
    position: relative;
}

.cta-section .highlight::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.cta-section .highlight:hover::after {
    width: 150px;
}

.star-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.star {
    color: #FFD700;
    font-size: 1.5rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.5));
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s ease;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.hero-button:hover::before {
    left: 100%;
}

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

.button-text {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-section .mt-3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientText 3s ease infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

/* Media Queries for CTA Section */
@media (max-width: 768px) {
    .cta-section .section-title {
        font-size: 2.5rem;
    }

    .cta-section .section-description {
        font-size: 1.1rem;
    }

    .cta-section .highlight {
        font-size: 1.3rem;
    }

    .hero-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }

    .star {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-section .section-title {
        font-size: 2rem;
    }

    .cta-section .section-description {
        font-size: 1rem;
    }

    .cta-section .highlight {
        font-size: 1.1rem;
    }

    .hero-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    .star {
        font-size: 1.2rem;
        margin: 0 0.2rem;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
}

@media screen and (max-width: 768px) {
    .header {
        height: 70px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background: var(--bg-dark);
        z-index: 1000;
    }

    .header-content {
        height: 70px;
        display: flex;
        align-items: center;
        padding: 0;
    }

    .nav {
        width: 100%;
        height: 70px;
        display: flex;
        align-items: center;
        padding-left: 20px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        width: 24px;
        height: 16px;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        padding: 0;
        margin: 0;
    }

    .hamburger-line {
        width: 24px;
        height: 2px;
        background-color: #fff;
        transition: 0.3s;
        border-radius: 2px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        background: rgba(10, 31, 68, 0.98);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 85px 25px 25px;
        transition: 0.3s ease-in-out;
        z-index: 1000;
    }

    .mobile-menu-open .nav-links {
        left: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .nav-links li {
        width: 100%;
        margin: 8px 0;
    }

    .nav-links a {
        color: #fff;
        font-size: 20px;
        text-decoration: none;
        padding: 12px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    /* Ensure proper spacing below fixed header */
    .hero {
        padding-top: 70px;
    }
}

/* Promotional Image Responsive Adjustments */
.promo-image-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.promo-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

/* Footer Mobile Enhancements */
@media (max-width: 768px) {
    /* Header Mobile Fix */
    .header {
        height: 70px;
        padding: 0;
    }
    
    .header-bg-overlay {
        opacity: 0.98;
    }
    
    /* Promo Image Mobile Enhancement */
    .promo-image-container {
        padding: 0.5rem;
        max-width: 100%;
    }
    
    .promo-image {
        width: 100%;
        max-width: none;
        margin: 0;
    }
    
    /* Footer Mobile Fixes */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
        margin: 0 0.5rem;
        width: auto;
    }
    
    .footer-section {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
    }
    
    .contact-info {
        width: 100%;
    }
    
    .contact-item {
        width: 100%;
        max-width: none;
        margin: 0.5rem 0;
        padding: 1rem;
    }
    
    .social-content {
        width: 100%;
        padding: 1rem;
    }
    
    .social-links {
        width: 100%;
        margin: 0.5rem 0;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    /* Header Extra Small Device Fix */
    .header-bg-overlay {
        opacity: 1;
    }
    
    /* Promo Image Extra Small Enhancement */
    .promo-image-container {
        padding: 0;
        margin: 1rem 0;
    }
    
    .promo-image {
        border-radius: 0;
    }
    
    /* Footer Extra Small Device Fixes */
    .footer-content {
        padding: 1rem;
        margin: 0;
        border-radius: var(--border-radius-sm);
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .contact-item,
    .social-links {
        padding: 0.875rem;
    }
    
    .footer-section h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* Ensure Desktop Styles Remain Unchanged */
@media (min-width: 769px) {
    .header-bg-overlay {
        opacity: 0.95;
    }
    
    .promo-image-container {
        max-width: 800px;
        padding: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding: 3rem;
    }
}

/* Contact Form Styles - Modular and Isolated */
.contact-form {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.form-submit:hover::before {
    left: 100%;
}

.form-submit i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.form-submit:hover i {
    transform: translateX(3px);
}

/* Form Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.25rem;
        margin-top: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-input {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .form-submit {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1rem;
        margin-top: 1rem;
    }

    .form-textarea {
        min-height: 100px;
    }

    .form-submit {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@keyframes gradientFlow {
    0% {
        background: linear-gradient(135deg, 
            rgba(74, 144, 226, 0.92) 0%,
            rgba(45, 92, 172, 0.88) 50%,
            rgba(10, 31, 68, 0.92) 100%
        );
    }
    50% {
        background: linear-gradient(135deg, 
            rgba(10, 31, 68, 0.92) 0%,
            rgba(74, 144, 226, 0.88) 50%,
            rgba(45, 92, 172, 0.92) 100%
        );
    }
    100% {
        background: linear-gradient(135deg, 
            rgba(74, 144, 226, 0.92) 0%,
            rgba(45, 92, 172, 0.88) 50%,
            rgba(10, 31, 68, 0.92) 100%
        );
    }
}

.cta-limited-spots {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: var(--border-radius-md);
    display: inline-block;
    position: relative;
    overflow: hidden;
    animation: pulse-attention 2s infinite;
}

.cta-limited-spots::before {
    content: '🔥';
    margin-right: 8px;
    animation: flame-dance 1.5s infinite;
    display: inline-block;
}

.cta-limited-spots::after {
    content: '⚡';
    margin-left: 8px;
    animation: spark-dance 1.5s infinite;
    display: inline-block;
}

@keyframes pulse-attention {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
}

@keyframes flame-dance {
    0%, 100% {
        transform: rotate(-10deg) scale(1.1);
    }
    50% {
        transform: rotate(10deg) scale(1);
    }
}

@keyframes spark-dance {
    0%, 100% {
        transform: rotate(10deg) scale(1.1);
    }
    50% {
        transform: rotate(-10deg) scale(1);
    }
} 