/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --primary-color: #1e3a8a;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    
    /* Secondary Colors */
    --secondary-color: #06b6d4;
    --secondary-light: #22d3ee;
    --secondary-dark: #0891b2;
    
    /* Accent Colors */
    --accent-cyan: #00d4ff;
    --accent-purple: #4338ca;
    
    /* Neutral Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 40px -10px rgba(30, 58, 138, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
    
    /* Header Height */
    --header-height: 4.5rem;
}

/* ===== Base Styles ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== Focus States for Accessibility ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__link:focus-visible,
.footer__link:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.nav__toggle:focus-visible,
.nav__close:focus-visible,
.back-to-top:focus-visible,
.contact__social-link:focus-visible,
.footer__social-link:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* ===== Utility Classes ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-4xl) 0;
}

.section--alt {
    background-color: var(--gray-50);
}

.highlight {
    color: var(--primary-light);
}

/* ===== Button Styles ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.btn--primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px -10px rgba(30, 58, 138, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: var(--fs-base);
}

/* ===== Header / Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background: transparent;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    min-height: var(--header-height);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header.scrolled .nav__link {
    color: var(--gray-700);
}

.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active {
    color: var(--primary-color);
}

.header.scrolled .nav__logo-text {
    color: var(--gray-900);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.nav__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav__logo-text {
    font-family: var(--font-primary);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.02em;
}

.nav__menu {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav__link {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--white);
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: var(--fs-xl);
    color: var(--white);
    cursor: pointer;
}

/* Hidden on desktop, shown on mobile */
.nav__menu-header {
    display: none;
}

.header.scrolled .nav__toggle {
    color: var(--gray-900);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e40af 100%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.2), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(255,255,255,0.1), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.15), transparent),
        radial-gradient(2px 2px at 90% 10%, rgba(255,255,255,0.1), transparent);
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.2) 0%, transparent 50%);
}

.hero__content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding-top: var(--header-height);
}

.hero__data {
    color: var(--white);
}

.hero__logo-animation {
    margin-bottom: var(--spacing-lg);
}

.hero__logo-img {
    width: 100px;
    height: 100px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero__title .highlight {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(10px);
}

.hero__badge i {
    color: var(--accent-cyan);
    font-size: var(--fs-lg);
}

.hero__badge span {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--white);
}

.hero__description {
    font-size: var(--fs-lg);
    color: var(--gray-300);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
}

.hero__buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero__image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero__floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    animation: floatCard 4s ease-in-out infinite;
}

.hero__floating-card i {
    font-size: var(--fs-xl);
    color: var(--primary-color);
}

.hero__floating-card span {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--gray-800);
}

.hero__floating-card--1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    top: 40%;
    right: 5%;
    animation-delay: 1s;
}

.hero__floating-card--3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.hero__scroll {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--white);
    font-size: var(--fs-sm);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== Section Header ===== */
.section__header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section__subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-light);
    margin-bottom: var(--spacing-sm);
}

.section__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-md);
}

.section__description {
    font-size: var(--fs-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: stretch;
}

.about__overview-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.1);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.about__overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(30, 58, 138, 0.15);
}

.about__overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.about__overview-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.about__logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    height: 120px;
}

.about__logo-container::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
    border-radius: var(--radius-full);
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about__logo {
    width: 80px;
    height: 80px;
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about__text {
    font-size: var(--fs-base);
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
    text-align: justify;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

.about__text:first-of-type {
    padding-left: var(--spacing-md);
    border-left: 3px solid var(--primary-light);
}

.about__text:last-of-type {
    margin-bottom: 0;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.04) 0%, rgba(59, 130, 246, 0.04) 100%);
    border-radius: var(--radius-lg);
    border-left: none;
    color: var(--gray-600);
    font-style: italic;
}

.about__keyword {
    color: var(--primary-color);
    font-weight: 600;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--gray-200);
}

.about__stat {
    text-align: center;
}

.about__stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.about__stat-label {
    font-size: var(--fs-xs);
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about__cards {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    justify-content: center;
    height: 100%;
}

.about__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid transparent;
    border-image: var(--primary-gradient) 1;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.about__card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about__card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    box-shadow: 0 0 30px rgba(30, 58, 138, 0);
    transition: box-shadow 0.3s ease;
    pointer-events: none;
}

.about__card:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.15);
}

.about__card:hover::after {
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.1);
}

.about__card-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.25);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.about__card:hover .about__card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.about__card-icon i {
    font-size: var(--fs-xl);
    color: var(--white);
}

.about__card-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
    text-align: center;
}

.about__card-text {
    font-size: var(--fs-base);
    color: var(--gray-600);
    line-height: 1.7;
    text-align: center;
}

/* ===== Courses Section ===== */
.courses__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
    max-width: 1300px;
    margin: 0 auto;
}

.course__card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    overflow: hidden;
    flex: 0 1 calc(33.333% - var(--spacing-xl));
    max-width: 380px;
    min-width: 300px;
}

@media screen and (max-width: 992px) {
    .course__card {
        flex: 0 1 calc(50% - var(--spacing-xl));
    }
}

@media screen and (max-width: 768px) {
    .course__card {
        flex: 0 1 100%;
        max-width: 100%;
        min-width: auto;
    }
}

.course__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

.course__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.course__card:hover::before {
    transform: scaleX(1);
}

/* Course Card Hover Image Overlay */
.course__hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    transform: scale(1.05);
    border-radius: var(--radius-xl);
}

.course__hover-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        transparent 100%
    );
    z-index: 1;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.course__hover-image::after {
    content: attr(data-title);
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    color: var(--white);
    font-size: var(--fs-lg);
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.course__card:hover .course__hover-image {
    opacity: 1;
    transform: scale(1);
}

.course__content {
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course__card:hover .course__content {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
}

.course__card--highlight {
    border: 2px solid var(--primary-light);
}

.course__badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--primary-gradient);
    color: var(--white);
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.course__icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    transition: var(--transition-base);
}

.course__card:hover .course__icon {
    background: var(--primary-gradient);
}

.course__icon i {
    font-size: var(--fs-2xl);
    color: var(--primary-color);
    transition: var(--transition-base);
}

.course__card:hover .course__icon i {
    color: var(--white);
}

.course__title {
    font-size: var(--fs-lg);
    margin-bottom: var(--spacing-sm);
}

.course__description {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.course__features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.course__features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--fs-sm);
    color: var(--gray-600);
}

.course__features i {
    color: var(--secondary-color);
    font-size: var(--fs-xs);
}

.courses__cta {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.courses__cta .btn {
    animation: floatButton 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.courses__cta .btn:hover {
    animation-play-state: paused;
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

@keyframes floatButton {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* ===== Why Choose Us Section ===== */
.why-us__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: var(--spacing-xl);
}

.why-us__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}

.why-us__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.why-us__card:hover::before {
    left: 100%;
}

.why-us__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-light);
}

.why-us__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition-base);
}

.why-us__card:hover .why-us__icon {
    background: var(--primary-gradient);
}

.why-us__icon i {
    font-size: var(--fs-2xl);
    color: var(--primary-color);
    transition: var(--transition-base);
}

.why-us__card:hover .why-us__icon i {
    color: var(--white);
}

.why-us__title {
    font-size: var(--fs-lg);
    margin-bottom: var(--spacing-sm);
}

.why-us__text {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Trainers Section ===== */
.trainers__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.trainers__image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    max-width: 380px;
    justify-self: end;
}

.trainers__office-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-2xl);
    transition: var(--transition-base);
}

.trainers__image:hover .trainers__office-img {
    transform: scale(1.02);
}

.trainers__text {
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.trainers__quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--fs-base);
    box-shadow: var(--shadow-md);
}

.trainers__description {
    font-size: var(--fs-base);
    color: var(--gray-700);
    line-height: 1.9;
    text-align: justify;
    letter-spacing: 0.01em;
    margin-bottom: var(--spacing-md);
}

.trainers__description:last-child {
    margin-bottom: 0;
}

.trainers__keyword {
    color: var(--primary-color);
    font-weight: 600;
}

.trainers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

.trainer__card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.trainer__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.trainer__image {
    position: relative;
    height: 200px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trainer__placeholder {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.trainer__placeholder i {
    font-size: 3rem;
    color: var(--white);
}

.trainer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.trainer__card:hover .trainer__overlay {
    opacity: 1;
}

.trainer__social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--primary-color);
    font-size: var(--fs-xl);
    transition: var(--transition-base);
}

.trainer__social-link:hover {
    background: var(--accent-cyan);
    color: var(--white);
    transform: scale(1.1);
}

.trainer__info {
    padding: var(--spacing-xl);
}

.trainer__name {
    font-size: var(--fs-xl);
    margin-bottom: var(--spacing-xs);
}

.trainer__role {
    display: block;
    font-size: var(--fs-sm);
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.trainer__details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.trainer__detail {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.trainer__detail i {
    color: var(--primary-color);
    font-size: var(--fs-base);
    margin-top: 3px;
}

.trainer__detail span {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    line-height: 1.5;
}

/* ===== Services Section ===== */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.service__card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
}

.service__card:hover {
    box-shadow: var(--shadow-lg);
}

.service__header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: var(--transition-base);
}

.service__header:hover {
    background: var(--gray-50);
}

.service__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.service__icon i {
    font-size: var(--fs-xl);
    color: var(--white);
}

.service__title {
    flex-grow: 1;
    font-size: var(--fs-base);
    font-weight: 600;
}

.service__toggle {
    color: var(--gray-400);
    transition: var(--transition-base);
}

.service__card.active .service__toggle {
    transform: rotate(180deg);
}

.service__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.service__card.active .service__content {
    max-height: 300px;
}

.service__list {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    padding-left: calc(var(--spacing-lg) + 50px + var(--spacing-md));
}

.service__list li {
    position: relative;
    font-size: var(--fs-sm);
    color: var(--gray-600);
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
}

.service__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: var(--radius-full);
}

.services__note {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.services__note i {
    color: var(--primary-light);
    font-size: var(--fs-xl);
    flex-shrink: 0;
}

.services__note p {
    font-size: var(--fs-sm);
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.contact__card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-xl);
    color: var(--white);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.3), 0 10px 20px rgba(30, 58, 138, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatCard 4s ease-in-out infinite;
}

.contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(30, 58, 138, 0.35), 0 15px 30px rgba(30, 58, 138, 0.25);
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.contact__card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact__logo {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 8px;
}

.contact__card-header h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--white);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.contact__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.contact__icon i {
    font-size: var(--fs-base);
    color: var(--white);
}

.contact__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact__label {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.contact__value {
    font-size: var(--fs-sm);
    color: var(--white);
    line-height: 1.5;
}

.contact__link {
    color: var(--white);
    transition: var(--transition-base);
}

.contact__link:hover {
    color: var(--accent-cyan);
}

.contact__social {
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact__social-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.contact__social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.contact__social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    color: var(--white);
    font-size: var(--fs-base);
    transition: var(--transition-base);
}

.contact__social-link:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.contact__social-note {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

.contact__map {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.contact__map-wrapper {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.contact__map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.contact__map-overlay {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    bottom: auto;
    left: auto;
}

.contact__map-pin {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.contact__map-pin i {
    color: var(--primary-color);
}

.contact__map-pin span {
    font-family: var(--font-primary);
    font-size: var(--fs-sm);
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, var(--gray-900) 0%, #0f172a 100%);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
}

.footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--gray-800);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer__logo {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.footer__brand:hover .footer__logo {
    transform: rotate(-5deg) scale(1.1);
}

.footer__brand-text {
    font-family: var(--font-primary);
    font-size: var(--fs-lg);
    font-weight: 700;
    color: var(--white);
}

.footer__nav {
    display: flex;
    gap: var(--spacing-xl);
}

.footer__link {
    font-size: var(--fs-sm);
    color: var(--gray-400);
    transition: var(--transition-base);
    position: relative;
}

.footer__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

.footer__link:hover::after {
    width: 100%;
}

.footer__link:hover {
    color: var(--white);
}

.footer__social {
    display: flex;
    gap: var(--spacing-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer__social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.footer__social-link i {
    position: relative;
    z-index: 1;
}

.footer__social-link:hover {
    color: var(--white);
    transform: translateY(-3px);
}

.footer__social-link:hover::before {
    transform: translateY(0);
}

.footer__bottom {
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer__copyright {
    font-size: var(--fs-sm);
    color: var(--gray-500);
}

.footer__copyright span {
    color: var(--primary-light);
    font-weight: 500;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: var(--fs-lg);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.45);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== Responsive Styles ===== */

/* Tablet Landscape */
@media screen and (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero__data {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero__logo-animation {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .hero__image {
        display: none;
    }
    
    .hero__description {
        margin: 0 auto var(--spacing-xl);
        text-align: center;
    }
    
    .hero__buttons {
        justify-content: center;
    }
    
    .about__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .about__overview-card::after {
        display: none;
    }
    
    .trainers__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .trainers__image {
        max-width: 100%;
        justify-self: center;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .contact__card {
        animation: none;
    }
    
    .trainers__grid {
        grid-template-columns: 1fr;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet Portrait */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 3.5rem;
    }
    
    .section {
        padding: var(--spacing-3xl) 0;
    }
    
    /* Header Mobile - minimal style */
    .header {
        background: transparent;
    }
    
    .header.scrolled {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .nav {
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    /* Hide logo text on mobile - only show icon */
    .nav__logo-text {
        display: none;
    }
    
    .nav__logo-img {
        width: 36px;
        height: 36px;
    }
    
    .nav__logo {
        gap: 0;
    }
    
    /* Mobile Navigation Toggle - clean hamburger */
    .nav__toggle,
    .nav__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: var(--fs-lg);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        border-radius: var(--radius-md);
        transition: var(--transition-fast);
    }
    
    .nav__toggle {
        color: var(--white);
        background: rgba(255, 255, 255, 0.15);
    }
    
    .nav__toggle:active {
        transform: scale(0.95);
    }
    
    .header.scrolled .nav__toggle {
        color: var(--primary-color);
        background: var(--gray-100);
    }
    
    /* Mobile Menu Drawer - Professional Look */
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        padding: 0;
        flex-direction: column;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: var(--z-fixed);
        overflow-y: auto;
    }
    
    .nav__menu.show {
        right: 0;
    }
    
    /* Mobile Menu Header */
    .nav__menu-header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: var(--spacing-md) var(--spacing-md);
        background: transparent;
        border-bottom: none;
    }
    
    .nav__menu-header-left {
        display: none;
    }
    
    .nav__menu-logo {
        display: none;
    }
    
    .nav__menu-brand {
        display: none;
    }
    
    .nav__menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--gray-100);
        border-radius: var(--radius-full);
        color: var(--gray-600);
        font-size: var(--fs-base);
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .nav__menu-close:hover {
        background: var(--gray-200);
        color: var(--gray-800);
    }
    
    .nav__menu-close:active {
        transform: scale(0.95);
    }
    
    .nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        display: flex;
        align-items: center;
        color: var(--gray-700);
        font-size: var(--fs-base);
        font-weight: 500;
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--radius-md);
        margin-bottom: 2px;
        border-bottom: none;
        width: 100%;
        transition: all 0.2s ease;
    }
    
    .nav__link:hover {
        color: var(--primary-color);
        background: rgba(30, 58, 138, 0.05);
    }
    
    .nav__link.active {
        color: var(--primary-color);
        font-weight: 600;
        background: transparent;
    }
    
    .nav__link::after {
        display: none;
    }
    
    /* Close button - Hide old one on mobile, use header close */
    .nav__close {
        display: none;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding-top: var(--header-height);
        padding-bottom: var(--spacing-xl);
    }
    
    .hero__content {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-md);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero__data {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero__logo-animation {
        margin-bottom: var(--spacing-md);
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .hero__logo-img {
        width: 80px;
        height: 80px;
        animation: none;
        filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
    }
    
    .hero__title {
        text-align: center;
        width: 100%;
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
        letter-spacing: 0.02em;
    }
    
    .hero__subtitle {
        text-align: center;
        width: 100%;
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
        opacity: 0.9;
    }
    
    .hero__description {
        text-align: center;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: var(--fs-sm);
        margin-bottom: var(--spacing-md);
        line-height: 1.7;
        padding: 0 var(--spacing-sm);
    }
    
    .hero__badge {
        flex-direction: row;
        text-align: center;
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-sm);
        border-radius: var(--radius-lg);
        margin-bottom: var(--spacing-md);
        justify-content: center;
        align-self: center;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
    }
    
    .hero__badge i {
        font-size: var(--fs-sm);
    }
    
    .hero__badge span {
        font-size: var(--fs-xs);
        line-height: 1.4;
    }
    
    .hero__buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
        width: 100%;
        padding: 0 var(--spacing-md);
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.75rem 1.25rem;
        font-size: var(--fs-sm);
        min-height: 44px;
        text-align: center;
        justify-content: center;
    }
    
    .hero__scroll {
        display: none;
    }
    
    /* Section Headers Mobile */
    .section__header {
        margin-bottom: var(--spacing-xl);
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .section__description {
        font-size: var(--fs-base);
        padding: 0 var(--spacing-sm);
    }
    
    /* About Mobile */
    .about__overview-card {
        padding: var(--spacing-lg);
    }
    
    .about__logo-container {
        height: 100px;
    }
    
    .about__logo-container::before {
        width: 100px;
        height: 100px;
    }
    
    .about__logo {
        width: 60px;
        height: 60px;
        animation: none;
    }
    
    .about__text {
        text-align: left;
        font-size: var(--fs-sm);
        line-height: 1.8;
    }
    
    .about__text:first-of-type {
        padding-left: var(--spacing-sm);
        border-left-width: 2px;
    }
    
    .about__text:last-of-type {
        padding: var(--spacing-sm);
    }
    
    .about__cards {
        gap: var(--spacing-md);
    }
    
    .about__card {
        padding: var(--spacing-lg);
    }
    
    .about__card::before {
        display: none;
    }
    
    .about__card-icon {
        width: 45px;
        height: 45px;
    }
    
    .about__card-title {
        font-size: var(--fs-lg);
    }
    
    .about__card-text {
        font-size: var(--fs-sm);
    }
    
    .about__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
    
    .about__stat-number {
        font-size: var(--fs-2xl);
    }
    
    .about__stat-label {
        font-size: 0.65rem;
    }
    
    /* Courses Grid Mobile */
    .course__card {
        max-width: 100%;
        padding: var(--spacing-lg);
    }
    
    /* Why Us Grid Mobile */
    .why-us__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .why-us__card {
        padding: var(--spacing-lg);
    }
    
    .why-us__icon {
        width: 64px;
        height: 64px;
    }
    
    /* Trainers Mobile */
    .trainers__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .trainers__image {
        order: -1;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .trainers__text {
        padding: var(--spacing-md);
        padding-top: var(--spacing-lg);
    }
    
    .trainers__quote-icon {
        width: 35px;
        height: 35px;
        top: -17px;
        left: 15px;
        font-size: var(--fs-sm);
    }
    
    .trainers__description {
        font-size: var(--fs-sm);
        line-height: 1.7;
        text-align: left;
    }
    
    .trainers__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .trainer__card {
        border-radius: var(--radius-xl);
    }
    
    .trainer__info {
        padding: var(--spacing-lg);
    }
    
    .trainer__image {
        height: 180px;
    }
    
    /* Services Mobile */
    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .service__header {
        padding: var(--spacing-md);
        /* Better touch target */
        min-height: 64px;
    }
    
    .service__icon {
        width: 44px;
        height: 44px;
    }
    
    .service__icon i {
        font-size: var(--fs-lg);
    }
    
    .service__title {
        font-size: var(--fs-sm);
    }
    
    .service__list {
        padding-left: calc(var(--spacing-md) + 44px + var(--spacing-md));
        padding-right: var(--spacing-md);
    }
    
    .services__note {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-md);
    }
    
    /* Contact Mobile */
    .contact__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact__card {
        padding: var(--spacing-lg);
        animation: none !important;
    }
    
    .contact__card-header {
        justify-content: center;
    }
    
    .contact__logo {
        width: 40px;
        height: 40px;
    }
    
    .contact__details {
        gap: var(--spacing-md);
    }
    
    .contact__item {
        gap: var(--spacing-sm);
    }
    
    .contact__icon {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }
    
    .contact__label {
        font-size: 10px;
    }
    
    .contact__value {
        font-size: var(--fs-sm);
    }
    
    .contact__social {
        text-align: center;
    }
    
    .contact__social-links {
        justify-content: center;
    }
    
    .contact__social-link {
        width: 42px;
        height: 42px;
    }
    
    .contact__social-note {
        justify-content: center;
    }
    
    .contact__map-wrapper {
        min-height: 280px;
    }
    
    .contact__map-wrapper iframe {
        min-height: 280px;
    }
    
    .contact__map-overlay {
        top: var(--spacing-md);
        right: var(--spacing-md);
    }
    
    .contact__map-pin {
        padding: var(--spacing-xs) var(--spacing-md);
    }
    
    .contact__map-pin span {
        font-size: var(--fs-xs);
    }
    
    /* Footer Mobile */
    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer__nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-md) var(--spacing-lg);
    }
    
    .footer__link {
        padding: var(--spacing-sm);
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__social-link {
        width: 44px;
        height: 44px;
    }
    
    /* Back to Top Mobile */
    .back-to-top {
        width: 48px;
        height: 48px;
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }
}

/* Mobile Small */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    /* Hero Extra Small */
    .hero__content {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
        padding-top: var(--spacing-lg);
    }
    
    .hero__logo-img {
        width: 70px;
        height: 70px;
    }
    
    .hero__title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .hero__badge {
        max-width: 95%;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero__badge span {
        font-size: 10px;
    }
    
    .hero__description {
        font-size: var(--fs-sm);
        padding: 0 var(--spacing-xs);
    }
    
    .section__title {
        font-size: 1.5rem;
    }
    
    .section__subtitle {
        font-size: var(--fs-xs);
    }
    
    /* About Small */
    .about__logo-container {
        height: 80px;
    }
    
    .about__logo-container::before {
        width: 80px;
        height: 80px;
    }
    
    .about__logo {
        width: 50px;
        height: 50px;
    }
    
    .about__text {
        font-size: var(--fs-xs);
        line-height: 1.7;
    }
    
    .about__keyword {
        font-size: var(--fs-xs);
    }
    
    /* Cards Small */
    .why-us__card,
    .about__card {
        padding: var(--spacing-md);
    }
    
    /* Course card content padding for touch devices */
    .course__content {
        padding: var(--spacing-md);
    }
    
    .course__icon,
    .about__card-icon {
        width: 45px;
        height: 45px;
    }
    
    .course__icon i,
    .about__card-icon i {
        font-size: var(--fs-lg);
    }
    
    .course__title,
    .why-us__title,
    .about__card-title {
        font-size: var(--fs-base);
    }
    
    .course__description,
    .why-us__text,
    .about__card-text {
        font-size: var(--fs-sm);
    }
    
    .course__features li {
        font-size: var(--fs-xs);
    }
    
    /* Why Us Small */
    .why-us__icon {
        width: 56px;
        height: 56px;
    }
    
    .why-us__icon i {
        font-size: var(--fs-xl);
    }
    
    /* Trainers Small */
    .trainers__image {
        max-width: 280px;
    }
    
    .trainers__text {
        padding: var(--spacing-sm);
        padding-top: var(--spacing-lg);
    }
    
    .trainers__quote-icon {
        width: 30px;
        height: 30px;
        top: -15px;
        left: 12px;
        font-size: var(--fs-xs);
    }
    
    .trainers__description {
        font-size: var(--fs-xs);
        line-height: 1.6;
        margin-bottom: var(--spacing-sm);
    }
    
    /* Contact Small */
    .contact__card-header {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .contact__card-header h3 {
        font-size: var(--fs-lg);
    }
    
    .contact__icon {
        width: 35px;
        height: 35px;
    }
    
    .contact__icon i {
        font-size: var(--fs-sm);
    }
    
    .contact__value {
        font-size: var(--fs-xs);
    }
    
    .contact__social-link {
        width: 38px;
        height: 38px;
    }
    
    .contact__map-wrapper,
    .contact__map-wrapper iframe {
        min-height: 250px;
    }
    
    /* Footer Small */
    .footer__nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .footer__brand-text {
        font-size: var(--fs-base);
    }
    
    .footer__social-link {
        width: 40px;
        height: 40px;
    }
    
    /* Download Button Small */
    .courses__cta .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--fs-sm);
    }
}

/* Extra Small Devices */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* Nav Logo Extra Small */
    .nav__logo-img {
        width: 32px;
        height: 32px;
    }
    
    .hero__content {
        padding-left: var(--spacing-xs);
        padding-right: var(--spacing-xs);
        padding-top: var(--spacing-md);
    }
    
    .hero__logo-img {
        width: 60px;
        height: 60px;
    }
    
    .hero__title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .hero__subtitle {
        font-size: 0.85rem;
    }
    
    .hero__badge {
        margin-left: 0;
        margin-right: 0;
        border-radius: var(--radius-lg);
        max-width: 100%;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero__badge span {
        font-size: 9px;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: var(--fs-xs);
        min-width: 160px;
    }
    
    .section__title {
        font-size: 1.25rem;
    }
    
    .about__overview-card {
        padding: var(--spacing-md);
    }
    
    .about__text:first-of-type {
        padding-left: var(--spacing-xs);
    }
    
    .trainers__image {
        max-width: 100%;
    }
    
    .contact__card {
        padding: var(--spacing-md);
    }
}

/* Landscape Mode on Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
    }
    
    .hero__logo-img {
        width: 50px;
        height: 50px;
    }
    
    .hero__title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero__subtitle {
        font-size: 0.875rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero__badge {
        margin-bottom: var(--spacing-sm);
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .hero__badge span {
        font-size: 10px;
    }
    
    .hero__description {
        margin-bottom: var(--spacing-md);
        font-size: var(--fs-sm);
    }
    
    .hero__scroll {
        display: none;
    }
    
    .nav__menu {
        height: 100vh;
        padding-top: 4rem;
    }
}

/* ===== Animations & Transitions ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Touch Device Optimizations ===== */
@media (hover: none) and (pointer: coarse) {
    /* Course cards - show image at top on touch devices */
    .course__card {
        padding: 0;
        overflow: hidden;
    }
    
    .course__card::before {
        transform: scaleX(1);
    }
    
    .course__hover-image {
        position: relative;
        width: 100%;
        height: 180px;
        opacity: 1;
        transform: none;
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    
    .course__hover-image::before {
        height: 50%;
        border-radius: 0;
    }
    
    .course__hover-image::after {
        bottom: 12px;
        left: 16px;
        right: 16px;
        font-size: var(--fs-base);
    }
    
    .course__content {
        padding: var(--spacing-lg);
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
    
    .course__icon {
        display: none;
    }
    
    .course__title {
        display: none;
    }
    
    .course__card:hover .course__content {
        opacity: 1;
        transform: none;
        visibility: visible;
    }
    
    .course__card:hover .course__hover-image {
        transform: none;
    }
    
    /* Remove hover transform effects on touch devices */
    .course__card:hover,
    .why-us__card:hover,
    .trainer__card:hover,
    .service__card:hover {
        transform: none;
    }
    
    .course__card:hover::before {
        transform: scaleX(1);
    }
    
    .why-us__card:hover .why-us__icon {
        background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    }
    
    .why-us__card:hover .why-us__icon i {
        color: var(--primary-color);
    }
    
    /* Active states for touch */
    .btn:active {
        transform: scale(0.98);
    }
    
    .course__card:active,
    .why-us__card:active {
        transform: scale(0.99);
        box-shadow: var(--shadow-lg);
    }
    
    .nav__link:active {
        background: var(--gray-100);
    }
    
    .service__header:active {
        background: var(--gray-100);
    }
    
    .contact__social-link:active,
    .footer__social-link:active {
        transform: scale(0.95);
    }
    
    .back-to-top:active {
        transform: scale(0.95);
    }
    
    /* Improve tap targets */
    .nav__link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Remove trainer overlay on touch */
    .trainer__overlay {
        display: none;
    }
    
    .trainer__social {
        position: absolute;
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        display: flex;
    }
    
    .trainer__image .trainer__social-link {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow-md);
    }
}

/* ===== Safe Area Support (Notched Phones) ===== */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(var(--spacing-lg), env(safe-area-inset-left));
        padding-right: max(var(--spacing-lg), env(safe-area-inset-right));
    }
    
    .nav__menu {
        padding-bottom: max(var(--spacing-xl), env(safe-area-inset-bottom));
    }
    
    .footer {
        padding-bottom: max(var(--spacing-lg), env(safe-area-inset-bottom));
    }
    
    .back-to-top {
        bottom: max(var(--spacing-md), calc(env(safe-area-inset-bottom) + var(--spacing-md)));
        right: max(var(--spacing-md), env(safe-area-inset-right));
    }
}

/* ===== Mobile Menu Overlay ===== */
.nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: calc(var(--z-fixed) - 1);
}

.nav__overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== Prefers Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .hero__scroll,
    .back-to-top,
    .footer__social {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }
    
    .section {
        break-inside: avoid;
    }
}
