/* O2 Kids Landing Page Styles */

:root {
    --primary-color: #cf3552;
    --secondary-color: #FF6633;
    --accent-color: #FFE66D;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --blue: #5DADE2;
}

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

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    overflow-x: hidden;
    width: 100%;
}

/* Header Styles */
.header {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

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

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

.logo-container img {
    height: 35px;
    width: auto;
}

.header-contact {
    display: flex;
    gap: 20px;
    align-items: center;
}

.phone {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

.phone:hover {
    color: var(--primary-color);
}

.header-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.header-instagram i {
    font-size: 20px;
    font-family: 'Material-Design-Iconic-Font';
}

.header-instagram:hover {
    background: #b82d45;
    transform: scale(1.1);
}

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.cta-button:hover {
    background: #b82d45;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207, 53, 82, 0.3);
}

/* Hero Section */
.hero {
    margin-top: 65px;
    padding: 100px 0 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 700px;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text .highlight {
    color: #FFE66D;
}

.hero-text p {
    font-size: 20px;
    color: white;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 18px;
}

.btn-primary:hover {
    background: #b82d45;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(207, 53, 82, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid white;
    font-size: 18px;
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.4);
}

/* Hero image styles removed - using banner background */

/* Features Section */
.features {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(207, 53, 82, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 102, 51, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 45px 35px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

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

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

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

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(207, 53, 82, 0.2);
    border-color: rgba(207, 53, 82, 0.3);
    background: rgba(255, 255, 255, 1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(207, 53, 82, 0.15);
    position: relative;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 38px;
    height: 38px;
    display: block;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(12px);
    z-index: -1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(207, 53, 82, 0.25);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.6;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.feature-card:hover p {
    color: #495057;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: url('../images/pattern-white.svg') no-repeat center;
    background-size: contain;
    opacity: 0.08;
    transform: rotate(-15deg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    list-style: none;
    margin-top: 30px;
}

.about-features li {
    padding: 15px 0;
    padding-left: 35px;
    position: relative;
    font-size: 18px;
    color: var(--text-dark);
}

.about-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.about-image {
    position: relative;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
    margin-top: 10px;
}

/* Locations Section */
.locations {
    padding: 100px 0;
    background: var(--white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
}

.location-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(207, 53, 82, 0.1);
    position: relative;
    overflow: hidden;
}

.location-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.location-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(1.1);
    opacity: 0.2;
    transition: all 0.4s ease;
    z-index: 0;
}

.location-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Map-style SVG backgrounds for each location */
.location-card[data-location="lemkivska"] .location-map-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23cf3552' stroke-width='0.5' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='%23f0f0f0'/%3E%3Crect width='400' height='400' fill='url(%23grid)'/%3E%3Cpath d='M 50 200 Q 150 180 250 200 T 400 200' stroke='%23cf3552' stroke-width='3' fill='none' opacity='0.4'/%3E%3Cpath d='M 200 50 L 200 400' stroke='%23cf3552' stroke-width='2.5' opacity='0.3'/%3E%3Ccircle cx='200' cy='200' r='12' fill='%23cf3552' opacity='0.8'/%3E%3Ccircle cx='200' cy='200' r='8' fill='white'/%3E%3C/svg%3E");
}

.location-card[data-location="navrotskogo"] .location-map-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid2' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23FF6633' stroke-width='0.5' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='%23f0f0f0'/%3E%3Crect width='400' height='400' fill='url(%23grid2)'/%3E%3Cpath d='M 100 50 L 100 350' stroke='%23FF6633' stroke-width='2.5' opacity='0.3'/%3E%3Cpath d='M 50 180 L 350 180' stroke='%23FF6633' stroke-width='3' opacity='0.4'/%3E%3Cpath d='M 300 100 L 300 300' stroke='%23FF6633' stroke-width='2' opacity='0.3'/%3E%3Ccircle cx='180' cy='220' r='12' fill='%23FF6633' opacity='0.8'/%3E%3Ccircle cx='180' cy='220' r='8' fill='white'/%3E%3C/svg%3E");
}

.location-card[data-location="kvitky"] .location-map-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid3' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23cf3552' stroke-width='0.5' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='%23f0f0f0'/%3E%3Crect width='400' height='400' fill='url(%23grid3)'/%3E%3Cpath d='M 50 100 Q 200 80 350 150' stroke='%23cf3552' stroke-width='3' fill='none' opacity='0.4'/%3E%3Cpath d='M 150 50 L 150 350' stroke='%23cf3552' stroke-width='2.5' opacity='0.3'/%3E%3Cpath d='M 50 250 L 350 250' stroke='%23cf3552' stroke-width='2' opacity='0.3'/%3E%3Ccircle cx='220' cy='180' r='12' fill='%23cf3552' opacity='0.8'/%3E%3Ccircle cx='220' cy='180' r='8' fill='white'/%3E%3C/svg%3E");
}

.location-card[data-location="vynnyky"] .location-map-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid4' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 40 0 L 0 0 0 40' fill='none' stroke='%23FF6633' stroke-width='0.5' opacity='0.3'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='400' fill='%23f0f0f0'/%3E%3Crect width='400' height='400' fill='url(%23grid4)'/%3E%3Cpath d='M 80 50 L 80 350' stroke='%23FF6633' stroke-width='2.5' opacity='0.3'/%3E%3Cpath d='M 250 100 L 250 320' stroke='%23FF6633' stroke-width='2' opacity='0.3'/%3E%3Cpath d='M 50 200 Q 150 220 350 200' stroke='%23FF6633' stroke-width='3' fill='none' opacity='0.4'/%3E%3Ccircle cx='160' cy='210' r='12' fill='%23FF6633' opacity='0.8'/%3E%3Ccircle cx='160' cy='210' r='8' fill='white'/%3E%3C/svg%3E");
}

.location-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(207, 53, 82, 0.2);
    border-color: rgba(207, 53, 82, 0.3);
}

.location-card:hover::after {
    transform: scaleX(1);
}

.location-card:hover .location-map-bg {
    opacity: 0.3;
    filter: brightness(1.05);
    transform: scale(1.1);
}

.location-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    color: var(--primary-color);
}

.location-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.location-card:hover .location-icon {
    transform: scale(1.2) translateY(-5px);
    filter: drop-shadow(0 4px 8px rgba(207, 53, 82, 0.3));
}

.location-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.location-card:hover h3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.location-address {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.location-phone {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s;
}

.location-phone:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Daily Schedule Section */
.daily-schedule {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.schedule-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 50px;
}

.timeline-row {
    position: relative;
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.timeline-row-left {
    justify-content: flex-start;
}

.timeline-row-right {
    justify-content: flex-end;
    padding-top: 20px;
}

.timeline-row::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    z-index: 1;
}

.timeline-row-left::before {
    top: 0;
}

.timeline-row-right::before {
    bottom: 0;
}

.timeline-row-left::after {
    content: '';
    position: absolute;
    right: -12px;
    top: -10px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 15px solid var(--primary-color);
    z-index: 2;
}

.timeline-row-right::after {
    content: '';
    position: absolute;
    right: -12px;
    bottom: -10px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 15px solid var(--primary-color);
    z-index: 2;
}

.timeline-item {
    position: relative;
    flex: 0 0 calc(16.666% - 10px);
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(207, 53, 82, 0.3);
}

.timeline-row-left .timeline-dot {
    top: -9px;
}

.timeline-row-right .timeline-dot {
    bottom: -9px;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-row-left .timeline-dot::before {
    top: 100%;
    height: 60px;
}

.timeline-row-right .timeline-dot::before {
    bottom: 100%;
    height: 60px;
}

.timeline-item:hover .timeline-dot {
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(207, 53, 82, 0.2);
}

.timeline-content {
    background: white;
    padding: 15px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.timeline-row-left .timeline-content {
    margin-top: 60px;
}

.timeline-row-right .timeline-content {
    margin-bottom: 60px;
}

.timeline-row-left .timeline-item:hover .timeline-content {
    transform: translateY(5px);
    box-shadow: 0 8px 25px rgba(207, 53, 82, 0.15);
    border-color: var(--primary-color);
}

.timeline-row-right .timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(207, 53, 82, 0.15);
    border-color: var(--primary-color);
}

.timeline-time {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding: 5px 10px;
    background: rgba(207, 53, 82, 0.08);
    border-radius: 6px;
    display: inline-block;
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.schedule-note {
    background: white;
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    max-width: 1100px;
    margin: 0 auto;
}

.schedule-note p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.schedule-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Programs Section */
.programs {
    padding: 100px 0;
    background: #f8f9fa;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

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

.program-header {
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.program-card:nth-child(1) .program-header,
.program-card:nth-child(2) .program-header,
.program-card:nth-child(3) .program-header,
.program-card:nth-child(4) .program-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.program-header h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.program-age {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.program-body {
    padding: 30px;
}

.program-body ul {
    list-style: none;
}

.program-body li {
    padding: 12px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
}

.program-body li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
}

.program-note {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(207, 53, 82, 0.1);
}

.program-note p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.program-note a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.program-note a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.program-note strong {
    font-weight: 700;
}

/* Photo Carousel */
.photo-carousel {
    padding: 80px 0;
    background: var(--white);
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    margin-top: 40px;
}

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

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s ease;
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(207, 53, 82, 0.2);
}

.carousel-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Instagram CTA */
.instagram-cta {
    text-align: center;
    margin-top: 40px;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(188, 24, 136, 0.3);
    transition: all 0.3s ease;
}

.instagram-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(188, 24, 136, 0.4);
}

.instagram-link svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Mobile styles for carousel */
@media (max-width: 768px) {
    .carousel-wrapper {
        margin-left: -20px;
        margin-right: -20px;
    }

    .carousel-container {
        overflow: hidden;
        width: 100%;
    }

    .carousel-slide {
        flex: 0 0 100%;
    }

    .carousel-track {
        gap: 0;
    }

    .carousel-slide img {
        height: 500px;
    }

    .instagram-link {
        font-size: 16px;
        padding: 14px 24px;
        gap: 10px;
    }

    .instagram-link svg {
        width: 24px;
        height: 24px;
    }

    .instagram-link span {
        font-size: 15px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: url('../images/pattern-white.svg') no-repeat center;
    background-size: contain;
    opacity: 0.1;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.submit-button {
    background: var(--secondary-color);
    color: white;
    padding: 15px 50px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #ff5219;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 102, 51, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-section p:not(.footer-location):not(.footer-contact),
.footer-section a:not(.footer-location a):not(.footer-contact a) {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    text-align: center;
    padding-top: 4px;
}

.social-link i {
    line-height: 1;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: var(--white);
}

.social-link:hover i {
    color: var(--white);
}

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

.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.footer-location svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
}

.footer-location span {
    flex: 1;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
}

.footer-contact span {
    flex: 1;
}

.footer-contact a {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.2;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/* Team Cards */
.team-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(207, 53, 82, 0.15);
    border-color: var(--primary-color);
}

.team-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
    transition: transform 0.3s ease;
}

.team-card:hover .team-card-image img {
    transform: scale(1.05);
}

.team-card-content {
    padding: 25px 20px;
    text-align: center;
}

.team-card-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
}

.team-card-content p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {

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

    .timeline-item {
        flex: 0 0 calc(33.333% - 10px);
    }

    .timeline-content h4 {
        font-size: 15px;
    }

    .timeline-content p {
        font-size: 12px;
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 60px 0;
        min-height: 500px;
    }

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .section-title h2 {
        font-size: 36px;
    }

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

    .header-contact {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-end;
    }

    .header-contact .cta-button {
        flex-basis: 100%;
        padding: 10px 20px;
        font-size: 14px;
        max-width: 180px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 230px 0 30px;
        min-height: 580px;
        align-items: flex-end;
    }

    .hero-content {
        margin-top: auto;
        padding-bottom: 30px;
    }

    .hero-text h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-text p {
        font-size: 16px;
        margin-bottom: 0;
    }

    .hero-buttons {
        display: none;
    }

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

@media (max-width: 640px) {

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

    .section-title h2 {
        font-size: 32px;
    }

    .section-title p {
        font-size: 16px;
    }

    .feature-card {
        padding: 35px 25px;
    }

    .schedule-timeline {
        overflow: visible;
        width: 100%;
        padding: 0 15px;
    }

    .timeline-row {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .timeline-row::before {
        width: 3px;
        height: 100%;
        left: 20px;
        top: 0;
        transform: none;
    }

    .timeline-row::after {
        display: none;
    }

    .timeline-item {
        flex: 1;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
        top: 30px;
        transform: translate(-50%, 0);
    }

    .timeline-row-left .timeline-content,
    .timeline-row-right .timeline-content {
        margin: 0;
    }

    .schedule-note {
        padding: 20px;
    }

    .location-card {
        padding: 35px 25px;
    }

    .location-map-bg {
        opacity: 0.15;
    }

    .location-card:hover .location-map-bg {
        opacity: 0.2;
    }

    .contact h2 {
        font-size: 36px;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Quick Apply Form */
.quick-apply {
    position: relative;
    overflow: hidden;
}

.quick-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

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

#quickApplyForm input {
    transition: all 0.3s;
}

#quickApplyForm input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

#quickApplyForm button:hover {
    background: transparent !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#quickApplyForm button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    #quickApplyForm {
        flex-direction: column;
    }

    #quickApplyForm input,
    #quickApplyForm button {
        width: 100%;
        min-width: 100%;
    }

    .quick-apply h2 {
        font-size: 24px !important;
    }
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover .faq-question::before,
.faq-item.active .faq-question::before {
    opacity: 1;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    flex: 1;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    transition: all 0.3s ease;
    flex-shrink: 0;
    padding-bottom: 1px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 16px;
}

@media (max-width: 768px) {
    .faq {
        padding: 60px 0;
    }

    .faq-question {
        padding: 15px 18px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-toggle {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 18px 18px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .team-card-image {
        height: 250px;
    }

    .team-card-content h3 {
        font-size: 20px;
    }

    .team-card-content p {
        font-size: 14px;
    }
}