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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* CSSA Brand Color Variables */
:root {
    --primary-color: #1E3A8A;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --primary-lighter: #60a5fa;
    --accent-color: #F97316;
    --accent-dark: #ea580c;
    --accent-light: #fb923c;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --background-light: #F8FAFC;
    --background-white: #ffffff;
    --background-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #FF6B35;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #e85a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #FF6B35;
    border: 2px solid #FF6B35;
}

.btn-outline:hover {
    background: #FF6B35;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn i {
    margin-right: 8px;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: inline;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo {
    transform: scale(1.05);
}

.logo-text h2 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.logo-text p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-light);
    font-weight: 500;
    margin-top: -2px;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(30, 58, 138, 0.05);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(30, 58, 138, 0.1);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
}

.cta-nav {
    background: linear-gradient(135deg, #FF6B35 0%, #e85a2b 100%);
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
    border: none;
}

.cta-nav:hover {
    background: linear-gradient(135deg, #e85a2b 0%, #d14d1f 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* CSSA Hero Section with Blue Gradient */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.1);
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.value-item i {
    color: #FF6B35;
    font-size: 1.5rem;
}

.value-item span {
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(43, 90, 160, 0.15);
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    max-width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(43, 90, 160, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

/* Loading state for carousel */
.carousel-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
}

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

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-nav i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    font-size: 2.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.feature {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Programs Section */
/* Programs & Services Section with Toggle */
.programs-services {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--background-white) 0%, var(--background-light) 100%);
    position: relative;
    overflow: hidden;
}

.programs-services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle, rgba(30, 58, 138, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotate(45deg);
    z-index: 0;
}

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

/* Toggle Container */
.toggle-container {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 3rem auto 0;
    background: white;
    padding: 0.5rem;
    border-radius: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 450px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2.5rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.toggle-btn i {
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    color: var(--text-dark);
}

.toggle-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.toggle-btn.active i {
    color: white;
    transform: scale(1.1);
}

/* Toggle Content */
.toggle-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.toggle-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease;
}

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

/* Card entrance animations */
.programs-grid .program-card,
.services-grid .service-card {
    animation: cardEntrance 0.6s ease backwards;
}

.programs-grid .program-card:nth-child(1),
.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.programs-grid .program-card:nth-child(2),
.services-grid .service-card:nth-child(2) { animation-delay: 0.2s; }
.programs-grid .program-card:nth-child(3),
.services-grid .service-card:nth-child(3) { animation-delay: 0.3s; }
.programs-grid .program-card:nth-child(4),
.services-grid .service-card:nth-child(4) { animation-delay: 0.4s; }
.programs-grid .program-card:nth-child(5),
.services-grid .service-card:nth-child(5) { animation-delay: 0.5s; }
.programs-grid .program-card:nth-child(6),
.services-grid .service-card:nth-child(6) { animation-delay: 0.6s; }
.programs-grid .program-card:nth-child(7),
.services-grid .service-card:nth-child(7) { animation-delay: 0.7s; }
.programs-grid .program-card:nth-child(8),
.services-grid .service-card:nth-child(8) { animation-delay: 0.8s; }
.programs-grid .program-card:nth-child(9),
.services-grid .service-card:nth-child(9) { animation-delay: 0.9s; }

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

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Flip Card Container */
.program-card {
    position: relative;
    width: 100%;
    height: 320px;
    perspective: 1000px;
    max-width: 380px;
    margin: 0 auto;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.program-card:hover .card-inner {
    transform: translateZ(10px);
}

.program-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-front {
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.card-back {
    transform: rotateY(180deg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}


.program-content {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.program-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.program-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    flex: 1;
}

/* Card buttons */
.card-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.card-buttons .btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.card-buttons .btn-outline {
    background: #FF6B35;
    color: white;
    border: none;
}

.card-buttons .btn-outline:hover {
    background: #e85a2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-learn-more {
    background: #FF6B35;
    color: white;
    border: none;
}

.btn-learn-more:hover {
    background: #e85a2b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* Card back content */
.card-back-header {
    text-align: left;
}

.card-back-header h3 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.card-back-content {
    text-align: left;
    flex: 1;
    overflow-y: auto;
}

.card-back-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.card-back-content h4 {
    color: white;
    margin: 1rem 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.card-back-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.card-back-content li {
    padding: 0.25rem 0;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.75rem;
    line-height: 1.4;
}

.card-back-content li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
}

.card-back-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.card-back-buttons .btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.card-back-buttons .btn-primary {
    background: white;
    color: #FF6B35;
}

.card-back-buttons .btn-primary:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

.card-back-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-back-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Services Grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Card Flip Structure */
.service-card {
    position: relative;
    width: 100%;
    height: 280px;
    perspective: 1000px;
    max-width: 350px;
    margin: 0 auto;
}

.service-card .card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card:hover .card-inner {
    transform: translateZ(10px);
}

.service-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.service-card .card-front,
.service-card .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover .card-front {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card .card-front {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    background: linear-gradient(135deg, white 0%, var(--background-light) 100%);
}

.service-card .card-back {
    transform: rotateY(180deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: rgba(30, 58, 138, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-item i {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.service-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--background-light);
}

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

.testimonial {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    max-width: 380px;
    margin: 0 auto;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    margin-bottom: 1.25rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: serif;
}

.testimonial-content p {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.testimonial-author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial-author-info p {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.3;
}

.google-review-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.google-review-badge .stars {
    color: #ffa500;
    font-size: 0.8rem;
}

.google-review-badge .review-source {
    font-size: 0.7rem;
    color: var(--text-light);
    text-decoration: none;
}

.google-review-badge .review-source:hover {
    color: var(--primary-color);
}

/* Application Section */
.application {
    padding: 80px 0;
    background: var(--background-white);
}

.application-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Multi-Step Form Styles */
.multi-step-form {
    position: relative;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--background-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 10%;
}

.progress-text {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.form-step.prev {
    transform: translateX(-30px);
}

/* Step Headers */
.step-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.step-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Step Content */
.step-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Program Selection Cards */
.program-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.program-selection .program-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    height: auto;
    perspective: none;
}

.program-selection .program-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.15);
}

.program-selection .program-card.selected {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(249, 115, 22, 0.02) 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
}

.program-selection .program-card.selected .program-icon {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.program-selection .program-icon {
    width: 60px;
    height: 60px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.program-selection .program-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.program-selection .program-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.program-selection .program-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.program-selection .program-card input[type="checkbox"] {
    display: none;
}

/* Large Select Styling */
.large-select {
    background: var(--background-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    transition: all 0.3s ease;
}

.large-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Consent Group */
.consent-group {
    background: var(--background-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    line-height: 1.6;
}

.consent-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    position: relative;
    appearance: none;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-label input[type="checkbox"]:checked {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.consent-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.consent-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Submit Group */
.submit-group {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.submit-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-prev,
.btn-next {
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-prev {
    margin-right: auto;
}

.btn-next {
    margin-left: auto;
}

/* Enhanced Form Groups for Multi-Step */
.multi-step-form .form-group {
    margin-bottom: 1.5rem;
}

.multi-step-form .form-group label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.multi-step-form .form-group input,
.multi-step-form .form-group textarea,
.multi-step-form .form-group select {
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.multi-step-form .form-group input:focus,
.multi-step-form .form-group textarea:focus,
.multi-step-form .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    transform: translateY(-1px);
}

.multi-step-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Mobile Responsive for Multi-Step Form */
@media (max-width: 768px) {
    .application-form-container {
        padding: 2rem 1.5rem;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    
    .step-header h3 {
        font-size: 1.5rem;
    }
    
    .step-header p {
        font-size: 1rem;
    }
    
    .program-selection {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .program-selection .program-card {
        padding: 1.25rem 1rem;
    }
    
    .multi-step-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-navigation {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .btn-prev,
    .btn-next {
        min-width: 100px;
        font-size: 0.9rem;
        padding: 0.875rem 1.25rem;
    }
}

/* Form Styles */
.application-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--background-white);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    transform: translateY(-1px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background: var(--background-light);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-consent {
    margin-top: 1rem;
}

/* Simplified Application Form Styles */
.simple-application-form {
    max-width: 600px;
    margin: 0 auto;
}

.simple-application-form .form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--background-light);
}

.simple-application-form .form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.simple-application-form .form-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.simple-application-form .form-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

.simple-application-form .form-content {
    display: grid;
    gap: 1.5rem;
}

.simple-application-form .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
}

.simple-application-form .form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.simple-application-form .form-group input,
.simple-application-form .form-group select,
.simple-application-form .form-group textarea {
    padding: 0.875rem 3rem 0.875rem 1rem;
    border: 2px solid var(--background-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.simple-application-form .form-group input:focus,
.simple-application-form .form-group select:focus,
.simple-application-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    transform: translateY(-1px);
}

.simple-application-form .field-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
    margin-top: 0.75rem;
}

.simple-application-form .form-group textarea + .field-icon {
    top: 3rem;
    transform: none;
}

.simple-application-form .checkbox-group {
    margin: 1rem 0;
}

.simple-application-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 1rem;
    border: 2px solid var(--background-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
}

.simple-application-form .checkbox-label:hover {
    border-color: var(--primary-color);
    background: rgba(30, 58, 138, 0.05);
}

.simple-application-form .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--background-gray);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.simple-application-form input[type="checkbox"] {
    display: none;
}

.simple-application-form input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.simple-application-form input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.simple-application-form .form-actions {
    margin-top: 1rem;
}

.simple-application-form .btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.simple-application-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.simple-application-form .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.simple-application-form .btn-submit.loading {
    background: linear-gradient(135deg, #6b7280, #9ca3af);
    cursor: not-allowed;
}

.simple-application-form .btn-submit.loading:hover {
    transform: none;
    box-shadow: none;
}

/* Enhanced Field Focus States */
.simple-application-form .form-group input:focus + .field-icon,
.simple-application-form .form-group select:focus + .field-icon,
.simple-application-form .form-group textarea:focus + .field-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.simple-application-form .form-group textarea:focus + .field-icon {
    transform: scale(1.1);
}

/* Label Animation */
.simple-application-form .form-group label {
    transition: all 0.3s ease;
}

.simple-application-form .form-group:focus-within label {
    color: var(--primary-color);
}

/* Form Group Hover Effects */
.simple-application-form .form-group:hover input,
.simple-application-form .form-group:hover select,
.simple-application-form .form-group:hover textarea {
    border-color: rgba(30, 58, 138, 0.3);
}

/* Error State Styles */
.simple-application-form .form-group.error input,
.simple-application-form .form-group.error select,
.simple-application-form .form-group.error textarea {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.simple-application-form .form-group.error label {
    color: #dc2626;
}

.simple-application-form .form-group.error .field-icon {
    color: #dc2626;
}

/* Success State Styles */
.simple-application-form .form-group.success input,
.simple-application-form .form-group.success select,
.simple-application-form .form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.simple-application-form .form-group.success .field-icon {
    color: #10b981;
}

/* Form Animation on Load */
.simple-application-form {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Progressive Enhancement */
.simple-application-form .form-group {
    animation: slideInForm 0.5s ease-out forwards;
    opacity: 0;
}

.simple-application-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.simple-application-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.simple-application-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.simple-application-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.simple-application-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.simple-application-form .form-group:nth-child(6) { animation-delay: 0.6s; }
.simple-application-form .form-actions { animation-delay: 0.7s; }

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 50px;
    }
}

/* Success Modal Styles */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.success-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.success-modal-content {
    position: relative;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    margin: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-modal .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.success-modal .success-text h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.success-modal .success-text p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.success-modal .success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.success-modal .success-actions .btn {
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.success-modal .success-actions .btn:hover {
    transform: translateY(-2px);
}

.success-modal .success-actions .btn-primary:hover {
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.3);
}

.success-modal .success-actions .btn-outline:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.success-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.success-modal .close-modal:hover {
    background: var(--background-light);
    color: var(--text-dark);
}

/* Mobile Responsive for Simplified Form */
@media (max-width: 768px) {
    .simple-application-form .form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .simple-application-form .form-header h3 {
        font-size: 1.5rem;
    }
    
    .simple-application-form .form-content {
        gap: 1.25rem;
    }
    
    .success-modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .success-modal .success-actions {
        flex-direction: column;
    }
    
    .success-modal .success-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 140px 0 80px;
    margin-top: 80px;
    color: white;
    text-align: center;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero-contact-item i {
    font-size: 2rem;
    color: #FF6B35;
    flex-shrink: 0;
}

.hero-contact-item h4 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hero-contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.hero-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.hero-contact-item a:hover {
    color: white;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item small {
    color: var(--text-light);
    font-size: 0.875rem;
}

.contact-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Quick Links */
.contact-quick-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-quick-links h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--background-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

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

.quick-link i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.quick-link:hover i {
    color: white;
}

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

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Contact CTA Section */
.contact-cta {
    background: var(--background-light);
    padding: 60px 0;
    text-align: center;
}

.cta-content h3 {
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a1a1a 100%);
    color: white;
    padding: 50px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

/* Desktop Footer Layout - 4 columns side by side */
@media (min-width: 769px) {
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 2rem;
        margin-bottom: 2rem;
        align-items: start;
        width: 100%;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
    width: 100%;
}

/* Company Info Section */
.footer-section.company-info {
    max-width: none;
}

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

.footer-logo img {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.footer-logo h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.footer-logo .tagline {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0;
    font-style: italic;
}

.company-description {
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* Remove service areas and business hours from company info */
.service-areas,
.business-hours {
    display: none;
}

/* Footer Sections */
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
}

/* Remove hover arrows */
.footer-section ul li a::before {
    display: none;
}

/* Contact & Social Section */
.footer-section.contact-social .contact-info {
    margin-bottom: 1rem;
}

.footer-section.contact-social .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0;
    background: none;
    border-radius: 0;
}

.footer-section.contact-social .contact-item:hover {
    background: none;
    transform: none;
}

.footer-section.contact-social .contact-item i {
    color: #FF6B35;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer-section.contact-social .contact-item div {
    line-height: 1.3;
}

.footer-section.contact-social .contact-item strong {
    display: block;
    font-size: 0.85rem;
}

.footer-section.contact-social .contact-item strong a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.footer-section.contact-social .contact-item strong a:hover {
    color: #FF6B35;
}

.footer-section.contact-social .contact-item small {
    color: #94a3b8;
    font-size: 0.75rem;
    display: block;
    margin-top: 0.1rem;
}

/* Compact Social Media */
.social-media {
    margin-top: 1rem;
}

.social-media h5 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    color: white;
    transform: translateY(-2px);
}

.social-link.instagram:hover {
    background: #e4405f;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.email:hover {
    background: #FF6B35;
}

.social-link i {
    font-size: 0.9rem;
}

.social-link span {
    display: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.footer-bottom-content .copyright {
    margin: 0;
    color: #94a3b8;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link:not(:last-child)::after {
    content: '|';
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.2);
}


/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

/* Success Message */
.success-message {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.success-content {
    background-color: white;
    margin: 10% auto;
    padding: 3rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

.success-content i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.success-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.success-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Responsive Design */
/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Footer Mobile Layout */
    .footer {
        padding: 40px 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-section.company-info {
        max-width: 100%;
        text-align: center;
        order: 1;
    }

    .footer-logo {
        justify-content: center;
        text-align: center;
    }

    .footer-logo h3 {
        font-size: 1rem;
    }

    .footer-section h4 {
        text-align: center;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }

    .footer-section ul {
        text-align: center;
    }

    .footer-section ul li {
        margin-bottom: 0.4rem;
    }

    .footer-section ul li a {
        font-size: 0.8rem;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .footer-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .footer-section.contact-social .contact-info {
        text-align: center;
    }

    .footer-section.contact-social .contact-item {
        justify-content: center;
        max-width: 250px;
        margin: 0 auto 0.5rem;
    }
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 2rem 1.5rem;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        gap: 1rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
        animation: slideInFromTop 0.3s ease-out;
    }

    .nav-link {
        padding: 1rem;
        border-radius: 12px;
        font-size: 1rem;
        text-align: center;
        border: 1px solid var(--border-color);
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 58, 138, 0.2);
    }

    .nav-link.active {
        background: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
    }

    .cta-nav {
        margin-top: 1rem;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }

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

    /* Hero Section Mobile */
    .hero {
        padding: 80px 0 60px;
        margin-top: 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        order: 2;
        padding: 0 1rem;
    }

    .hero-image {
        order: 1;
        padding: 0 1rem;
    }

    .hero-carousel {
        order: 1;
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-values {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .value-item {
        padding: 0.75rem;
        text-align: left;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        justify-content: center;
    }

    /* Images Mobile */
    .hero-image img {
        height: 300px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* Carousel responsive styles */
    .carousel-container {
        height: 300px;
        border-radius: 12px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-nav i {
        font-size: 1rem;
    }

    .carousel-dots {
        bottom: 15px;
        gap: 8px;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
    }

    /* Sections Mobile */
    .container {
        padding: 0 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .programs-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .program-card {
        height: auto;
        min-height: 280px;
        max-width: 100%;
    }
    
    .service-card {
        height: auto;
        min-height: 240px;
        max-width: 100%;
    }
    
    .toggle-container {
        flex-direction: row;
        max-width: 100%;
        border-radius: 50px;
        padding: 0.375rem;
    }
    
    .toggle-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .program-content h3 {
        font-size: 1.1rem;
    }
    
    .program-content p {
        font-size: 0.85rem;
    }
    
    .card-buttons .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .service-card .card-front,
    .service-card .card-back {
        padding: 1rem;
    }
    
    .service-item h4 {
        font-size: 1rem;
    }
    
    .service-item p {
        font-size: 0.8rem;
    }

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

    .contact-info {
        order: 2;
    }

    .contact-form {
        order: 1;
    }

    .contact-hero {
        padding: 100px 0 60px;
        margin-top: 70px;
    }

    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-hero-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-contact-item {
        padding: 1rem;
    }

    .hero-contact-item h4 {
        font-size: 1rem;
    }

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

    /* Typography Mobile */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Form Mobile */
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .application-form {
        padding: 1.5rem;
    }

    /* Toggle Mobile */
    .toggle-container {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .toggle-btn {
        width: 100%;
        justify-content: center;
    }
}

    .programs-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .testimonial {
        padding: 1.25rem;
        max-width: 100%;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
    }
    
    .testimonial-author-info h4 {
        font-size: 0.9rem;
    }

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

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


    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .application-form-container {
        padding: 2rem 1rem;
    }

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

    .hero {
        padding: 100px 0 60px;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .program-content,
    .service-item {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 1rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
    }
}

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

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Smooth Transitions */
* {
    transition: all 0.3s ease;
}

input, select, textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus States for Accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
    .program-card:hover .card-inner,
    .service-card:hover .card-inner {
        transform: none;
    }
    
    .service-card:hover .service-item i {
        transform: none;
    }
    
    .card-buttons .btn,
    .card-back-buttons .btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 800px;
    }

    /* Carousel tablet styles */
    .carousel-container {
        height: 380px;
    }

    .hero-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 700px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .program-card {
        height: 300px;
        max-width: none;
    }
    
    .service-card {
        height: 260px;
        max-width: none;
    }
    
    .program-content {
        padding: 1rem;
    }
    
    .service-card .card-front,
    .service-card .card-back {
        padding: 1.25rem;
    }

    /* Footer tablet layout */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .footer-section.company-info {
        grid-column: span 2;
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Large desktop optimization */
@media (min-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    .modal,
    .success-message {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}