/* ===== CSS VARIABLES ===== */
:root {
    --primary: #00d4ff;
    --primary-dark: #00a8cc;
    --accent: #ff6b35;
    --success: #00e676;
    --warning: #ffc107;
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-section: #0d1321;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff2d95 100%);
    --gradient-card: linear-gradient(145deg, #111827 0%, #0d1321 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION HEADER ===== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section__description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER / NAV ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 16px;
    color: var(--bg-dark);
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav__link--cta {
    background: var(--gradient-primary);
    color: var(--bg-dark) !important;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: var(--radius-full);
}

.nav__link--cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav__toggle,
.nav__close {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn--primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
    color: var(--bg-dark);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 14px;
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--success);
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge__dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero__title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero__subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--primary);
    font-weight: 600;
    min-height: 36px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.hero__description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat__number {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__plus {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat__label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Actions */
.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero__social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Hero Image */
.hero__image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__image-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    position: relative;
    background: var(--gradient-card);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
}

.placeholder-initials {
    font-size: 80px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.placeholder-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Floating Cards */
.hero__floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    animation: float 6s ease-in-out infinite;
}

.hero__floating-card strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
}

.hero__floating-card span {
    font-size: 12px;
    color: var(--text-muted);
}

.hero__floating-card--1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    bottom: 15%;
    right: 5%;
    animation-delay: 2s;
}

.hero__floating-card--3 {
    bottom: 5%;
    left: 0;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Scroll */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero__scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 12px;
    position: relative;
}

.hero__scroll span::after {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 24px; }
}

/* ===== TRUSTED BY SECTION ===== */
.trusted {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-section);
}

.trusted__label {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 24px;
}

.trusted__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.trusted__logo {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition);
    letter-spacing: 1px;
}

.trusted__logo:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* ===== ABOUT SECTION ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about__text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about__text strong {
    color: var(--text-primary);
}

.about__highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.about__highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}

.about__services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    padding: 28px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
    background: var(--bg-section);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline__item {
    position: relative;
    margin-bottom: 40px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__marker {
    position: absolute;
    left: -33px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.timeline__content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
}

.timeline__content:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.timeline__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline__title {
    font-size: 18px;
    font-weight: 700;
}

.timeline__company {
    font-size: 15px;
    color: var(--primary);
    font-weight: 500;
}

.timeline__date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.timeline__location {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.timeline__details {
    list-style: none;
}

.timeline__details li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.6;
}

.timeline__details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.cert-card {
    padding: 28px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.cert-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 16px;
    color: var(--bg-dark);
    margin-bottom: 16px;
}

.cert-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cert-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Skills */
.skills__container {
    text-align: center;
}

.skills__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.skills__tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.skill-tag {
    display: inline-block;
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

/* ===== COURSES SECTION ===== */
.courses {
    background: var(--bg-section);
}

.courses__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.course-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.course-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-card__badge--new {
    background: var(--primary);
    color: var(--bg-dark);
}

.course-card__badge--hot {
    background: #ff2d95;
}

.course-card__image {
    padding: 32px;
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.course-card__icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.course-card__icon--red { background: rgba(255, 107, 53, 0.1); color: var(--accent); }
.course-card__icon--blue { background: rgba(0, 212, 255, 0.1); color: var(--primary); }
.course-card__icon--green { background: rgba(0, 230, 118, 0.1); color: var(--success); }
.course-card__icon--purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; }
.course-card__icon--orange { background: rgba(255, 193, 7, 0.1); color: var(--warning); }
.course-card__icon--cyan { background: rgba(0, 212, 255, 0.1); color: var(--primary); }

.course-card__content {
    padding: 0 24px 24px;
}

.course-card__meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.course-card__level,
.course-card__duration {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.course-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.course-card__desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.course-card__features {
    margin-bottom: 20px;
}

.course-card__features li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.course-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.course-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.course-card__rating {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.course-card__rating .stars {
    color: var(--warning);
    font-size: 14px;
}

.course-card__rating span:last-child {
    font-size: 12px;
    color: var(--text-muted);
}

.courses__cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.courses__cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.testimonial-card__stars {
    color: var(--warning);
    font-size: 18px;
    margin-bottom: 16px;
}

.testimonial-card__text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--bg-dark);
}

.testimonial-card__author strong {
    display: block;
    font-size: 15px;
}

.testimonial-card__author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-section);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact__card:hover {
    border-color: rgba(0, 212, 255, 0.3);
}

.contact__card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--primary);
    flex-shrink: 0;
}

.contact__card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact__card a,
.contact__card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.contact__card small {
    color: var(--text-muted);
}

/* Contact Form */
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
    color: var(--text-muted);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form__group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2364748b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form__group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid var(--border);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer__brand p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer__social a:hover {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

.footer__links h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer__bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer__bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--bg-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero__description {
        margin: 0 auto 32px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__social {
        justify-content: center;
    }

    .hero__image {
        order: -1;
    }

    .hero__image-wrapper {
        width: 280px;
        height: 280px;
    }

    .hero__floating-card--1 { top: 5%; right: 10%; }
    .hero__floating-card--2 { bottom: 10%; right: 5%; }
    .hero__floating-card--3 { bottom: 0; left: 5%; }

    .about__grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

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

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border);
        padding: 80px 32px 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .nav__menu.show {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 4px;
    }

    .nav__link {
        display: block;
        padding: 12px 16px;
        font-size: 16px;
    }

    .nav__toggle,
    .nav__close {
        display: block;
    }

    .nav__close {
        position: absolute;
        top: 20px;
        right: 20px;
    }

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

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

    .hero__floating-card {
        display: none;
    }

    .about__services {
        grid-template-columns: 1fr;
    }

    .courses__grid {
        grid-template-columns: 1fr;
    }

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

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

    .trusted__logos {
        gap: 24px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 8px;
    }

    .timeline__marker {
        left: -28px;
        width: 12px;
        height: 12px;
    }

    .timeline__header {
        flex-direction: column;
    }

    .placeholder-initials {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 32px;
    }

    .certs__grid {
        grid-template-columns: 1fr;
    }

    .hero__image-wrapper {
        width: 220px;
        height: 220px;
    }

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

    .stat__number {
        font-size: 22px;
    }
}

/* ===== OVERLAY FOR MOBILE MENU ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

/* ===== TRAINING GALLERY SECTION ===== */
.gallery {
    background: var(--bg-section);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.gallery__filter {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.gallery__filter:hover,
.gallery__filter.active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
}

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

.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery__item.hidden {
    display: none;
}

.gallery__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__image {
    transform: scale(1.08);
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 14, 23, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.gallery__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.gallery__date {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 4px;
}

.gallery__zoom {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: var(--primary);
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.gallery__item:hover .gallery__zoom {
    opacity: 1;
    transform: scale(1);
}

/* Gallery Placeholder (empty state) */
.gallery__empty {
    grid-column: 1 / -1;
}

.gallery__empty-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gallery__placeholder {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    border: 2px dashed var(--border);
    background: var(--bg-card);
    overflow: hidden;
}

.gallery__placeholder-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gallery__placeholder-inner p {
    font-size: 12px;
    color: var(--text-muted);
}

.gallery__empty-msg {
    text-align: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.gallery__empty-msg p {
    color: var(--text-secondary);
    font-size: 15px;
}

.gallery__empty-hint {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin-top: 8px;
}

/* Form Status */
.form__status {
    text-align: center;
    font-size: 14px;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: none;
}

.form__status.success {
    display: block;
    color: var(--success);
    background: rgba(0, 230, 118, 0.1);
}

.form__status.error {
    display: block;
    color: var(--accent);
    background: rgba(255, 107, 53, 0.1);
}

/* Testimonial photo */
.testimonial-card__photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

/* Course thumbnail */
.course-card__thumb {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

/* WordPress admin bar fix */
body.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

@media (max-width: 1024px) {
    .gallery__grid,
    .gallery__empty-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery__grid,
    .gallery__empty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery__grid,
    .gallery__empty-grid {
        grid-template-columns: 1fr;
    }
}
