/* ============================================================
    Life Coping Skills and Counselling Center - Premium Stylesheet
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #C62828;
    --primary-dark: #8E2424;
    --primary-light: #E53935;
    --accent-orange: #F57C00;
    --gold: #FFB300;
    --gold-light: #FFD54F;
    --bg-light: #FFF8F4;
    --bg-cream: #FFEBE6;
    --dark: #222222;
    --dark-muted: #555555;
    --text-light: #888888;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(198, 40, 40, 0.08);
    --shadow-md: 0 8px 30px rgba(198, 40, 40, 0.12);
    --shadow-lg: 0 20px 60px rgba(198, 40, 40, 0.15);
    --shadow-xl: 0 30px 80px rgba(198, 40, 40, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-dark));
    --gradient-warm: linear-gradient(135deg, var(--primary), var(--accent-orange));
    --gradient-gold: linear-gradient(135deg, var(--gold), var(--accent-orange));
    --gradient-dark: linear-gradient(135deg, #1a1a2e, #16213e);
    --gradient-section: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

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

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

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-wrap {
    text-align: center;
}

.loader-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.2);
    animation: pulse-loader 1.5s ease-in-out infinite;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.loader-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    animation: loader-progress 2s ease-in-out forwards;
}

.loader-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

@keyframes pulse-loader {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes loader-progress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ===== HEADER / NAVIGATION ===== */
.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-slow);
}

.header-main.scrolled {
    padding: 6px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.header-main .navbar {
    padding: 0;
}

/* Brand */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
    transition: var(--transition);
    overflow: hidden;
}

.header-main.scrolled .brand-icon {
    width: 40px;
    height: 40px;
}

.brand-icon i {
    font-size: 24px;
    color: var(--primary);
}

.brand-icon-fallback {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon-fallback i {
    color: var(--white);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    transition: var(--transition);
}

.header-main.scrolled .brand-title {
    font-size: 18px;
}

.brand-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-orange);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 8.5px;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.3px;
    margin-top: 1px;
    line-height: 1.15;
    text-align: center;
}

.header-main.scrolled .brand-tagline {
    font-size: 7.5px;
}

/* Navigation Links */
.navbar-nav .nav-item {
    margin: 0 1px;
}

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--dark);
    padding: 6px 11px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(198, 40, 40, 0.06);
}

.collapse.navbar-collapse {
    visibility: visible !important;
}

/* Hamburger Toggle */
.navbar-toggler {
    border: none;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
}

.hamburger-wrap {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== SECTION BASE ===== */
.section-padding {
    padding: 50px 0;
}

.section-bg {
    background: var(--bg-light);
}

.section-bg-alt {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 35px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(198, 40, 40, 0.08);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

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

.section-desc {
    font-size: 16px;
    color: var(--dark-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
    margin: 20px auto 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-dark);
}

/* Hero Video Background */
.hero-video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Hero Video Slides */
.hero-video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 0;
}

.hero-video-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 1.5s ease;
}

.hero-video-slide.active .hero-video {
    animation: kenburns 8s ease-out forwards;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

/* Video Slider Indicators */
.hero-video-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-video-indicators .v-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-video-indicators .v-indicator.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.2);
}

.hero-video-indicators .v-indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.85) 0%, rgba(142, 36, 36, 0.9) 50%, rgba(26, 26, 46, 0.95) 100%);
    z-index: 2;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.hero-shape-1 {
    width: 600px;
    height: 600px;
    background: var(--gold);
    top: -200px;
    right: -200px;
    animation: float-shape 20s ease-in-out infinite;
}

.hero-shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-orange);
    bottom: -150px;
    left: -100px;
    animation: float-shape 25s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: 40%;
    left: 60%;
    animation: float-shape 18s ease-in-out infinite 2s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(50px, -50px) rotate(90deg);
    }

    50% {
        transform: translate(-30px, 30px) rotate(180deg);
    }

    75% {
        transform: translate(40px, 40px) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 130px 0 35px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--gold);
    background: rgba(255, 179, 0, 0.12);
    border: 1px solid rgba(255, 179, 0, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    font-size: 16px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 15px;
}

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

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--gold-light);
    font-style: italic;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.35);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(198, 40, 40, 0.45);
    color: var(--white);
}

.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    border-color: var(--gold);
    background: rgba(255, 179, 0, 0.1);
    color: var(--gold);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--gold);
    display: block;
    line-height: 1.2;
}

.hero-stat-number .suffix {
    font-size: 24px;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-experience-badge .exp-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-experience-badge .exp-icon i {
    font-size: 28px;
    color: var(--white);
}

.about-experience-badge .exp-text h4 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}

.about-experience-badge .exp-text p {
    font-size: 13px;
    color: var(--dark-muted);
    margin: 0;
}

.about-content {
    padding-left: 30px;
}

.about-content .section-subtitle {
    margin-bottom: 15px;
}

.about-content .section-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--dark-muted);
    margin-bottom: 20px;
}

.about-founder {
    background: var(--white);
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary);
    margin-top: 25px;
}

.about-founder h5 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.about-founder p {
    font-size: 14px;
    color: var(--dark-muted);
    margin: 0;
}

/* ===== COURSES / COPING SECTION ===== */
.coping-section {
    position: relative;
    overflow: hidden;
    padding-top: 20px;
}

.intro-point-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px 20px 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(198, 40, 40, 0.06);
}

.intro-point-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.intro-point-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(198, 40, 40, 0.12);
}

.intro-point-num {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.intro-point-card:hover .intro-point-num {
    transform: scale(1.1) rotate(-5deg);
}

.intro-point-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.intro-point-card h4 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-point-card p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--dark-muted);
    margin: 0;
}

.coping-card {
    background: var(--white);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.coping-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.coping-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.coping-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--white);
    transition: var(--transition);
}

.coping-card:hover .coping-icon {
    transform: scale(1.1) rotate(-5deg);
}

.coping-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.coping-card p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-muted);
    margin: 0;
}

/* ===== TRAINING PROGRAMS ===== */
.programs-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.program-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(198, 40, 40, 0.05);
}

.program-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    transition: var(--transition);
    opacity: 0.03;
}

.program-card:hover::after {
    height: 100%;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(198, 40, 40, 0.15);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    transform: rotateY(180deg);
    background: var(--gradient-gold);
}

.program-card h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.4;
}

/* ===== COUNSELING SERVICES ===== */
.counseling-section {
    position: relative;
    overflow: hidden;
}

.counseling-card {
    background: var(--white);
    border-radius: 20px;
    padding: 22px 18px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.counseling-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.counseling-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.counseling-icon {
    width: 65px;
    height: 65px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 26px;
    color: var(--white);
    transition: var(--transition);
}

.counseling-card:hover .counseling-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(198, 40, 40, 0.3);
}

.counseling-card h5 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.counseling-card p {
    font-size: 13px;
    color: var(--dark-muted);
    line-height: 1.7;
    margin: 0;
}

/* ===== PARENTING SECTION ===== */
.parenting-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 20px;
}

.parenting-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 14px;
    transition: var(--transition);
    height: 100%;
}

.parenting-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.parenting-feature .p-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
}

.parenting-feature .p-text h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.parenting-feature .p-text p {
    font-size: 12px;
    color: var(--dark-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== PROBLEMS SECTION ===== */
.problems-section {
    position: relative;
    overflow: hidden;
}

.problem-card {
    background: var(--white);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.problem-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.problem-card h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

/* ===== TRANSFORMATION SECTION ===== */
.transformation-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.transformation-section .section-title,
.transformation-section .section-desc {
    color: var(--white);
}

.transformation-section .section-title span {
    -webkit-text-fill-color: var(--gold);
}

.transform-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(20px);
    height: 100%;
    transition: var(--transition);
}

.transform-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.transform-box.before-box {
    border-color: rgba(198, 40, 40, 0.3);
}

.transform-box.after-box {
    border-color: rgba(255, 179, 0, 0.3);
}

.transform-box .transform-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 25px;
    display: block;
}

.transform-box.before-box .transform-label {
    color: var(--primary-light);
}

.transform-box.after-box .transform-label {
    color: var(--gold);
}

.transform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
    color: var(--gold);
    animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(15px);
        opacity: 1;
    }
}

.transform-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.transform-item:last-child {
    border-bottom: none;
}

.transform-item i {
    font-size: 18px;
}

.transform-item.before-item i {
    color: var(--primary-light);
}

.transform-item.after-item i {
    color: var(--gold);
}

.transform-item span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* ===== TIMELINE SECTION ===== */
.timeline-section {
    position: relative;
    overflow: hidden;
}

.timeline-wrapper {
    position: relative;
    padding: 20px 0;
    --timeline-line-height: 0%;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: var(--timeline-line-height);
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 10px;
    transition: height 0.1s ease-out;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(198, 40, 40, 0.3);
}

.timeline-content {
    background: var(--white);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.timeline-content h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

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

/* ===== WHY CHOOSE US ===== */
.whychoose-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.whychoose-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 14px;
    transition: var(--transition);
    height: 100%;
}

.whychoose-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.whychoose-item .wc-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.whychoose-item .wc-text h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.whychoose-item .wc-text p {
    font-size: 13px;
    color: var(--dark-muted);
    margin: 0;
    line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.swiper-testimonials {
    padding: 30px 0 60px;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    height: auto;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 48px;
    color: rgba(198, 40, 40, 0.06);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--dark-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

.testimonial-avatar.google-avatar {
    background: linear-gradient(135deg, #4285F4, #34A853);
    font-size: 22px;
}

.testimonial-info h6 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.testimonial-info span {
    font-size: 12px;
    color: var(--primary);
    font-weight: 500;
}

.google-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(198, 40, 40, 0.08);
    transition: var(--transition);
    text-decoration: none;
    color: var(--dark);
}

.google-review-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    color: var(--dark);
}

.google-review-badge i.fa-google {
    font-size: 24px;
    background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.google-review-badge span {
    font-size: 14px;
    font-weight: 500;
}

.google-review-badge span strong {
    color: var(--primary);
}

.google-stars {
    display: inline-flex;
    gap: 2px;
    color: var(--gold);
    font-size: 14px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* ===== GALLERY ===== */
.gallery-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.gallery-filter {
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    background: var(--bg-light);
    color: var(--dark-muted);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter.active,
.gallery-filter:hover {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(198, 40, 40, 0.25);
}

.gallery-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(198, 40, 40, 0.85), transparent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 10px;
}

.gallery-overlay h6 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

/* Swiper Gallery Navigation Buttons */
.swiper-gallery .swiper-button-prev,
.swiper-gallery .swiper-button-next {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(198, 40, 40, 0.15);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.swiper-gallery .swiper-button-prev::after,
.swiper-gallery .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.swiper-gallery .swiper-button-prev:hover,
.swiper-gallery .swiper-button-next:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.3);
}

.swiper-gallery .swiper-button-prev {
    left: 15px;
}

.swiper-gallery .swiper-button-next {
    right: 15px;
}

/* Hide navigation arrows on smaller touch screens to avoid overlap */
@media (max-width: 767px) {
    .swiper-gallery .swiper-button-prev,
    .swiper-gallery .swiper-button-next {
        display: none !important;
    }
}

/* Gallery Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
}

.gallery-lightbox .close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.gallery-lightbox .close-lightbox:hover {
    background: var(--primary);
}

.gallery-lightbox .lightbox-prev,
.gallery-lightbox .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox .lightbox-prev {
    left: 30px;
}

.gallery-lightbox .lightbox-next {
    right: 30px;
}

.gallery-lightbox .lightbox-prev:hover,
.gallery-lightbox .lightbox-next:hover {
    background: var(--primary);
}

.gallery-lightbox .lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 18px;
    border-radius: 20px;
}

/* ===== APPOINTMENT SECTION ===== */
.appointment-section {
    position: relative;
    overflow: hidden;
}

.appointment-form-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 45px;
    box-shadow: var(--shadow-lg);
}

.form-control {
    padding: 14px 18px;
    font-size: 14px;
    border: 2px solid #eee;
    border-radius: 12px;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
    background: var(--white);
}

.form-control::placeholder {
    color: #aaa;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

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

.form-select {
    padding: 14px 18px;
    font-size: 14px;
    border: 2px solid #eee;
    border-radius: 12px;
    background: var(--bg-light);
    transition: var(--transition);
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.1);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.accordion-item {
    border: none;
    border-radius: 14px !important;
    margin-bottom: 12px;
    background: var(--bg-light);
    overflow: hidden;
}

.accordion-button {
    padding: 20px 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    background: var(--bg-light);
    border: none;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--white);
}

.accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
    color: var(--primary);
    transition: var(--transition);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 0 25px 20px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--dark-muted);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item .ci-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.contact-info-item .ci-text h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-info-item .ci-text p,
.contact-info-item .ci-text a {
    font-size: 14px;
    color: var(--dark-muted);
    margin: 0;
    display: block;
    line-height: 1.6;
}

.contact-info-item .ci-text a:hover {
    color: var(--primary);
}

.contact-hours {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 20px;
    margin-top: 20px;
}

.contact-hours h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-hours .time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-hours .time-slot:last-child {
    border-bottom: none;
}

.contact-hours .time-slot span {
    font-size: 13px;
    color: var(--dark-muted);
}

.contact-hours .time-slot strong {
    color: var(--dark);
    font-size: 13px;
}

.contact-instagram {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 14px;
}

.contact-instagram h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-instagram h6 i {
    margin-right: 6px;
}

.instagram-qr-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--white);
    padding: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid rgba(198, 40, 40, 0.08);
}

.instagram-qr-img:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    margin-top: 25px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.footer-top {
    padding: 70px 0 40px;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--white);
    padding: 6px;
}

.footer-logo-fallback {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.footer-logo i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.footer-logo-text h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
}

.footer-logo-text span {
    font-size: 11px;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
}

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

.footer-widget-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a i {
    font-size: 10px;
    color: var(--primary-light);
}

.footer-links li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.footer-contact li i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 14px;
}

.footer-contact li div span {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.footer-contact li div a,
.footer-contact li div p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.footer-contact li div a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 0;
}

.footer-bottom .copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom .copyright strong {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom .credit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom .credit i {
    color: var(--primary-light);
}

/* ===== FLOATING BUTTONS ===== */
.float-whatsapp,
.float-call,
.float-appointment {
    position: fixed;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.float-whatsapp {
    bottom: 160px;
    background: #25D366;
}

.float-call {
    bottom: 100px;
    background: var(--gradient-primary);
}

.float-appointment {
    bottom: 40px;
    background: var(--gradient-gold);
}

.float-whatsapp:hover,
.float-call:hover,
.float-appointment:hover {
    transform: translateY(-5px) scale(1.05);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.float-tooltip {
    position: absolute;
    right: 65px;
    background: var(--dark);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid var(--dark);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.float-whatsapp:hover .float-tooltip,
.float-call:hover .float-tooltip,
.float-appointment:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 220px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(198, 40, 40, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(198, 40, 40, 0.4);
}

/* ===== FORM ALERT ===== */
.alert-message {
    display: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
}

.alert-message.success {
    display: block;
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.alert-message.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

/* ===== SUCCESS POPUP ===== */
.success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.success-popup.active {
    display: flex;
}

.success-popup-content {
    background: var(--white);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    animation: popup-in 0.5s ease;
}

@keyframes popup-in {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-popup-content .popup-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-popup-content .popup-icon i {
    font-size: 36px;
    color: #27ae60;
}

.success-popup-content h4 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.success-popup-content p {
    font-size: 14px;
    color: var(--dark-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

.success-popup-content .btn-close-popup {
    padding: 12px 35px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.success-popup-content .btn-close-popup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 40, 40, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 52px;
    }

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

    .brand-tagline {
        display: none;
    }

    .navbar-nav .nav-link {
        padding: 6px 8px !important;
        font-size: 11.5px;
    }

    .navbar-nav .nav-item {
        margin: 0 1px;
    }
}

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

    .section-title {
        font-size: 34px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 22px;
    }

    .hero-content {
        padding-top: 100px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .about-image-wrap img {
        height: 350px;
    }

    .navbar-collapse {
        background: var(--white);
        border-radius: 16px;
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-collapse .nav-link {
        color: var(--dark);
    }

    .navbar-collapse .nav-link:hover {
        color: var(--primary) !important;
        background: rgba(198, 40, 40, 0.06);
    }

    .timeline-wrapper::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding: 0;
        margin-left: 50px;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
    }

    .appointment-form-wrap {
        padding: 30px 20px;
    }
}

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

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 14px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-desc {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn-primary-custom,
    .hero-buttons .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }

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

    .hero-stat-number {
        font-size: 28px;
    }

    .about-experience-badge {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }

    .gallery-item img {
        height: 200px;
    }

    .transform-arrow {
        transform: rotate(90deg);
        padding: 20px 0;
    }

    .footer-top .row>div {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .brand-title {
        font-size: 18px;
    }

    .header-main.scrolled .brand-title {
        font-size: 16px;
    }

    .brand-tagline {
        font-size: 7px;
    }

    .section-title {
        font-size: 24px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-stat-item {
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .hero-stat-number {
        font-size: 24px;
    }

    .gallery-filters {
        gap: 6px;
    }

    .gallery-filter {
        font-size: 12px;
        padding: 8px 16px;
    }

    .testimonial-card {
        padding: 25px 20px;
    }

    .success-popup-content {
        padding: 35px 25px;
    }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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