/* ========================
   CSS RESET & BASE STYLES
   ======================== */

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

:root {
    /* Colors */
    --primary-color: #347ffe; /* #347ffe */
    --secondary-color: #1a1a2e;
    --dark-bg: #0f0f1e;
    --darker-bg: #0a0a15;
    --light-text: #ffffff;
    --gray-text: #a0a0b0;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.08);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================
   NAVIGATION
   ======================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 21, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 400;
    text-decoration: none;
    color: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    display: block;
}

.nav-menu a:hover {
    background: rgba(52, 127, 254, 0.15);
    color: var(--primary-color);
}

.nav-menu a.active {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

.nav-buttons .btn-secondary,
.nav-buttons .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* ========================
   HAMBURGER MENU (Hidden on desktop)
   ======================== */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light-text);
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 3px 0;
}

/* Hamburger animation when open */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile Dropdown Menu (Hidden by default) */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1400px;
    background: rgba(10, 10, 21, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    margin-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mobile-menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-list li a {
    display: block;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.mobile-menu-list li a:hover {
    background: rgba(52, 127, 254, 0.15);
    color: var(--primary-color);
}

.mobile-menu-list li a.mobile-cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
    margin-top: 0.75rem;
    font-weight: 500;
}

.mobile-menu-list li a.mobile-cta:hover {
    background: #2a6ce0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 127, 254, 0.4);
}

/* Overlay when menu is open */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



/* ========================
   BUTTONS
   ======================== */

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 0.4rem 1.5rem;
    border-radius: 8px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    vertical-align: middle;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(52,127,254);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    vertical-align: middle;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-transparent {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    vertical-align: middle;
}

.btn-transparent:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--light-text);
}

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 400;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-family);
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    vertical-align: middle;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.btn-primary.large,
.btn-transparent.large {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-primary.full-width {
    width: 100%;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero .section-tag {
    background: var(--card-bg);
}

.hero .section-description {
    color: var(--gray-text);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(10, 10, 21, 0.85) 0%, rgba(26, 26, 46, 0.9) 50%, rgba(15, 32, 39, 0.85) 100%),
        url('../Table Tennis landing page.jpg') center/cover no-repeat;
    transform: scaleX(-1);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(52, 127, 254, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 150, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.hero-content {
    padding-top: 2rem;
    text-align: center;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* Testimonial Card in Hero */
.testimonial-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto 0;
    align-self: flex-start;
    overflow: hidden;
}

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

.testimonial-header span {
    font-size: 0.9rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.arrow-btn {
    background: var(--card-bg-hover);
    border: none;
    color: var(--light-text);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

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

.testimonial-author {
    font-weight: 400;
}

.testimonial-date {
    color: var(--gray-text);
    font-size: 0.9rem;
}


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

.form-group label {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-family);
    transition: var(--transition);
    background: white;
    color: var(--secondary-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ========================
   SECTION HEADERS
   ======================== */

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    background: rgba(52, 127, 254, 0.15);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.15rem;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================
   ABOUT SECTION
   ======================== */

.about {
    padding: 120px 0;
    background: #ffffff;
    color: #000000;
}

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

.about-image {
    position: relative;
}

.coach-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.image-placeholder {
    background: linear-gradient(135deg, rgba(52, 127, 254, 0.1) 0%, rgba(0, 150, 255, 0.1) 100%);
    border-radius: 20px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
}

.image-icon {
    font-size: 8rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000000;
}

.about-text p {
    font-size: 1.05rem;
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-highlights {
    list-style: none;
    margin-top: 2rem;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    font-size: 1.05rem;
    color: #000000;
}

.highlight-icon {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 400;
    flex-shrink: 0;
}

/* ========================
   SERVICES SECTION
   ======================== */

.services {
    padding: 120px 0;
    background: #ffffff;
    color: #000000;
}

.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin: 0 auto;
}

.service-card {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 0;
    transition: var(--transition);
    position: relative;
    flex: 1 1 calc(50% - 1.25rem);
    max-width: calc(50% - 1.25rem);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card.featured {
    border: none;
    background: transparent;
}


.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.service-card.featured .service-image {
    object-position: 50% 40%;
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #000000;
    padding: 0 0.5rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem !important;
    padding: 0 0.5rem;
}

.service-card p {
    color: #333333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    padding: 0 0.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #333333;
    position: relative;
    padding-left: 2rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: 400;
}


.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*
   ACHIEVEMENTS SECTION
   ======================== */

.achievements {
    padding: 120px 0;
    background: #ffffff;
    color: #000000;
}

.achievements-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-card {
    
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 5rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 1.1rem;
    color: black;
}



.training-video-title {
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: #000000;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* ========================
   TESTIMONIALS SECTION
   ======================== */

.testimonials-section {
    padding: 120px 0;
    background: #ffffff;
    color: #000000;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.testimonials-track {
    overflow: hidden;
}

.testimonial-item {
    display: none;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

.stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #000000;
}

.testimonial-author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 1.25rem;
}

.author-name {
    font-weight: 400;
    font-size: 1.1rem;
    color: #000000;
}

.author-title {
    color: #666666;
    font-size: 0.95rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: #d0d0d0;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ========================
   FAQ SECTION
   ======================== */

.faq {
    padding: 120px 0;
    background: #ffffff;
    color: #000000;
}

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

.faq-item {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(52, 127, 254, 0.5);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: var(--font-family);
    text-align: left;
    transition: var(--transition);
}

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

.faq-icon {
    font-size: 1.5rem;
    font-weight: 400;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: #333333;
    line-height: 1.8;
}

/* ========================
   CONTACT SECTION
   ======================== */

.contact {
    padding: 120px 0;
    background: #ffffff;
    color: #000000;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-details {
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #000000;
}

.contact-item p {
    color: #333333;
    line-height: 1.7;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
}

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

.contact-form-wrapper {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 3rem;
}

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

.form-success-message {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    animation: slideDown 0.3s ease-out;
}

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

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

/* ========================
   TERMS OF SERVICE PAGE
   ======================== */

.terms-section {
    padding: 120px 0 80px;
    background: #ffffff;
    min-height: 100vh;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.terms-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #000000;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.terms-content .intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.terms-section-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 8px;
}

.terms-section-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.terms-section-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-section-block p {
    color: #333333;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.terms-section-block p:last-child {
    margin-bottom: 0;
}

.terms-section-block ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #333333;
}

.terms-section-block ul li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.terms-section-block .contact-info {
    padding: 1rem;
    background: #f8f8f8;
    border-radius: 6px;
    margin-top: 1rem;
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

/* ========================
   FOOTER
   ======================== */

.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}
  .logo-icon-footer {
    width: 150px;
    height: 150px;
    object-fit:cover;
  }
   


.footer-description {
    color: var(--gray-text);
    line-height: 1.7;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: 0.9rem;
}

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

.footer-legal a {
    color: var(--gray-text);
    text-decoration: none;
    transition: var(--transition);
}

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

/* ========================
   RESPONSIVE DESIGN
   ======================== */

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

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

    .service-image {
        height: 400px;
    }
}

/* Large devices (laptops/desktops, 992px and down) */
@media (max-width: 992px) {
    /* Hide desktop navigation, show hamburger */
    .nav-menu,
    .nav-buttons {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0.75rem 1.5rem;
    }

    .logo {
        font-size: 1.15rem;
    }

    .logo-icon {
        width: 70px;
        height: 70px;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 2.75rem;
    }

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

    /* About section - stack vertically */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Services - stack vertically */
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .service-image {
        height: 350px;
    }

    /* Achievements stats */
    .achievements-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    /* Contact section - stack vertically */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-header.left {
        text-align: center;
    }

    /* Footer - 2 columns */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

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

    /* Section padding adjustments */
    .about,
    .achievements,
    .services,
    .testimonials-section,
    .faq,
    .contact {
        padding: 80px 0;
    }
}

/* Medium devices (landscape tablets, 768px and down) */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 300px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-transparent {
        width: 100%;
        text-align: center;
    }

    .testimonial-card {
        padding: 1.5rem;
        max-width: 100%;
    }

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

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

    .section-header {
        margin-bottom: 3rem;
    }

    /* About text adjustments */
    .about-text h3 {
        font-size: 1.75rem;
    }

    /* Achievements - stack stats */
    .achievements-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

    .stat-number {
        font-size: 4rem;
    }

    .training-video-title {
        font-size: 1.5rem;
    }

    /* Service cards */
    .service-card h3 {
        font-size: 1.5rem;
    }

    .service-price {
        font-size: 1.25rem;
    }

    .service-image {
        height: 280px;
    }

    /* Testimonials */
    .testimonials-slider {
        padding: 0 50px;
    }

    .testimonial-item {
        padding: 2rem;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 1.5rem 1.25rem;
    }

    /* Contact form */
    .contact-form-wrapper {
        padding: 2rem;
    }

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

    /* Footer - single column */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .footer-description {
        max-width: 100%;
        margin: 0 auto;
    }

    .logo-icon-footer {
        width: 120px;
        height: 120px;
    }

    /* Section padding */
    .about,
    .achievements,
    .services,
    .testimonials-section,
    .faq,
    .contact {
        padding: 60px 0;
    }
}

/* Extra small devices (phones, 600px and down) */
@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.5rem 1.25rem;
        height: 65px;
        border-radius: 40px;
    }

    .logo {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .logo-icon {
        width: 55px;
        height: 55px;
    }

    .hero {
        padding-top: 90px;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }

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

    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .testimonial-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

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

    .section-description {
        font-size: 0.95rem;
    }

    /* About section */
    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-highlights li {
        font-size: 0.95rem;
        padding: 0.75rem 0;
    }

    .highlight-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }

    /* Stats */
    .stat-number {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .training-video-title {
        font-size: 1.25rem;
    }

    /* Services */
    .service-card h3 {
        font-size: 1.35rem;
    }

    .service-price {
        font-size: 1.15rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .service-image {
        height: 220px;
    }

    /* Testimonials slider */
    .testimonials-slider {
        padding: 0;
    }

    .slider-btn {
        position: relative;
        top: auto;
        transform: none;
    }

    .testimonials-slider {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .testimonials-track {
        order: 1;
    }

    .slider-btn.prev,
    .slider-btn.next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .slider-btn.prev {
        left: -5px;
    }

    .slider-btn.next {
        right: -5px;
    }

    .testimonials-slider {
        position: relative;
        padding: 0 45px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .testimonial-item {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .author-name {
        font-size: 1rem;
    }

    .author-title {
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-icon {
        font-size: 1.25rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1rem;
        font-size: 0.95rem;
    }

    /* Contact */
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 16px;
    }

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

    .contact-item p {
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.85rem;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

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

    .footer-links a {
        font-size: 0.9rem;
    }

    .logo-icon-footer {
        width: 100px;
        height: 100px;
    }

    .footer-logo .logo-text {
        font-size: 1.1rem;
    }

    .footer-bottom {
        font-size: 0.8rem;
        padding-top: 1.5rem;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Section padding */
    .about,
    .achievements,
    .services,
    .testimonials-section,
    .faq,
    .contact {
        padding: 50px 0;
    }

    /* Terms/Privacy pages */
    .terms-content {
        padding: 1.5rem;
    }

    .terms-content h1 {
        font-size: 1.75rem;
    }

    .terms-section-block {
        padding: 1rem;
    }

    .terms-section-block h2 {
        font-size: 1.25rem;
    }
}
