:root {
    --primary: #FF6B6B;
    --primary-dark: #ee5a5a;
    --secondary: #6C5CE7;
    --tertiary: #00D2D3;
    --accent: #FECA57;
    --success: #48DBFB;
    --bg-warm: #FFF9F0;
    --bg-white: #FFFFFF;
    --text-dark: #2D3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #FF6B6B 0%, #6C5CE7 50%, #00D2D3 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B6B, #FECA57);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

*, *::before, *::after { box-sizing: border-box; }

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.01em;
}

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

a { text-decoration: none; transition: all 0.3s ease; }

/* ============ NAVBAR ============ */
#mainNav {
    background: transparent;
    padding: 18px 0;
    transition: all 0.4s ease;
}
#mainNav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
#mainNav .navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white !important;
    transition: color 0.3s;
}
#mainNav.scrolled .navbar-brand { color: var(--text-dark) !important; }
#mainNav .brand-icon { font-size: 1.7rem; margin-right: 8px; }
#mainNav .nav-link {
    font-family: var(--font-body);
    font-weight: 600;
    color: rgba(255,255,255,0.9) !important;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}
#mainNav .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white !important;
    transform: translateY(-1px);
}
#mainNav.scrolled .nav-link { color: var(--text-dark) !important; }
#mainNav.scrolled .nav-link:hover {
    background: var(--gradient-warm);
    color: white !important;
}
.navbar-toggler { color: white !important; }
#mainNav.scrolled .navbar-toggler { color: var(--text-dark) !important; }

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.06) 0%, transparent 40%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(2%, 2%) rotate(3deg); }
}

.floating-elements { pointer-events: none; }
.float-item {
    position: absolute;
    border-radius: 50%;
    animation: floatAnimation ease-in-out infinite;
    opacity: 0.7;
}
@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-25px) rotate(4deg); }
}

.hero-badge span {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    color: white;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin: 20px 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.hero-subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.92);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 15px; }
.btn-hero {
    padding: 16px 40px;
    border-radius: 50px;
    background: white;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}
.btn-hero-outline {
    padding: 14px 32px;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.btn-hero-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-2px);
}

.hero-features { position: relative; z-index: 1; }
.hero-feature-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius-md);
    padding: 15px 12px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}
.hero-feature-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}
.hero-feature-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}
.hero-feature-item span {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ============ SECTIONS ============ */
.section {
    padding: 100px 0;
    position: relative;
}
.section-label {
    display: inline-block;
    background: var(--gradient-warm);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.section-label.centered { display: table; margin: 0 auto 12px; }
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-align: center;
}
.section-title.text-start { text-align: left; }
.section-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ ABOUT ============ */
.about { background: var(--bg-white); }
.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image-decoration {
    position: absolute;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    border: 4px solid var(--accent);
    border-radius: var(--radius-xl);
    z-index: 0;
}
.about-image, .about-image-placeholder {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    z-index: 1;
}
.about-image-placeholder {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-image-placeholder i { font-size: 6rem; color: rgba(255,255,255,0.6); }
.about-experience-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--gradient-warm);
    color: white;
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-lg);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.about-experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}
.about-experience-badge .label {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.9;
}
.about-text { 
    font-size: 1.05rem; 
    line-height: 1.8; 
    color: var(--text-muted);
}
.about-text p { margin-bottom: 16px; }
.about-features { display: flex; flex-direction: column; gap: 14px; }
.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-dark);
}
.check-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--tertiary), var(--success));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ============ STATS ============ */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, #a29bfe 100%);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    top: -100px;
    right: -100px;
}
.stats-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -50px;
    left: -50px;
}
.stat-item {
    text-align: center;
    color: white;
    padding: 20px;
}
.stat-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    opacity: 0.9;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.85;
    font-family: var(--font-body);
}

/* ============ SERVICES ============ */
.services { background: var(--bg-warm); }
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255,107,107,0.15);
}
.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(108,92,231,0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    background: var(--gradient-warm);
    color: white;
    border-radius: 50%;
    transform: rotateY(180deg);
}
.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.service-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ ADVANTAGES ============ */
.advantages { background: var(--bg-white); }
.advantage-card {
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    background: var(--bg-warm);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.advantage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,107,107,0.05), rgba(108,92,231,0.05));
    transition: all 0.4s ease;
}
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}
.advantage-card:hover::after {
    width: 200px;
    height: 200px;
    opacity: 0.5;
}
.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #a29bfe);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}
.advantage-card:hover .advantage-icon {
    border-radius: 50%;
    transform: scale(1.1);
}
.advantage-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.advantage-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============ GALLERY ============ */
.gallery { background: var(--bg-warm); }
.gallery-grid { position: relative; }
.gallery-item {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
    display: block;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(108,92,231,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.5);
    transition: all 0.3s ease;
}
.gallery-item:hover .gallery-overlay i { transform: scale(1); }
.gallery-empty {
    padding: 40px;
    color: var(--text-light);
}
.gallery-empty i { font-size: 4rem; margin-bottom: 16px; display: block; }

/* ============ TESTIMONIALS ============ */
.testimonials {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}
.testimonials .section-title,
.testimonials .section-desc { color: var(--text-dark); }
.testimonials-wrapper { max-width: 750px; margin: 0 auto; }
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    text-align: center;
    box-shadow: var(--shadow-md);
    margin: 10px;
}
.testimonial-stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 18px;
    letter-spacing: 4px;
}
.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-avatar img, .avatar-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.avatar-placeholder {
    background: var(--gradient-warm);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.testimonial-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-dark);
}
.swiper-pagination-bullet {
    background: var(--secondary) !important;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}
.swiper-pagination-bullet-active { opacity: 1; width: 30px; border-radius: 5px; }

/* ============ CONTACT ============ */
.contact { background: var(--bg-white); }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.contact-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--tertiary), var(--success));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}
.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-dark);
}
.contact-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.contact-item a { color: var(--text-muted); }
.contact-item a:hover { color: var(--primary); }

.contact-form-wrapper {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.contact-form-wrapper h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}
.form-floating > label {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
}
.form-control {
    border: 2px solid #e8e8e8;
    border-radius: var(--radius-sm);
    padding: 16px 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,107,107,0.1);
}
.btn-submit {
    padding: 16px 40px;
    border-radius: 50px;
    background: var(--gradient-warm);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255,107,107,0.3);
    color: white;
}

/* ============ MAP ============ */
.map-section iframe { width: 100%; height: 400px; border: none; display: block; }

/* ============ FOOTER ============ */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 0;
}
.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}
.footer-brand .brand-icon { font-size: 1.6rem; margin-right: 8px; }
.footer-desc { font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--gradient-warm);
    transform: translateY(-3px);
}
.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
}
.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding-left: 0;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.93rem;
    color: rgba(255,255,255,0.7);
}
.footer-contact li i {
    margin-top: 4px;
    color: var(--accent);
    width: 16px;
    text-align: center;
}
.footer-contact a { color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
}

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-warm);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1199px) {
    .hero-title { font-size: 3.2rem; }
}
@media (max-width: 991px) {
    .hero-title { font-size: 2.6rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2.2rem; }
    .stat-number { font-size: 2.5rem; }
    #mainNav .navbar-collapse {
        background: rgba(255,255,255,0.98);
        border-radius: var(--radius-md);
        padding: 15px;
        margin-top: 10px;
        box-shadow: var(--shadow-lg);
    }
    #mainNav .nav-link { color: var(--text-dark) !important; }
    #mainNav .nav-link:hover { background: var(--gradient-warm); color: white !important; }
}
@media (max-width: 767px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .btn-hero-outline { margin-left: 0 !important; }
    .section { padding: 70px 0; }
    .section-title { font-size: 1.8rem; }
    .stat-number { font-size: 2rem; }
    .about-image, .about-image-placeholder { min-height: 280px; }
    .contact-form-wrapper { padding: 25px; }
}
@media (max-width: 575px) {
    .hero-title { font-size: 1.7rem; }
    .hero-feature-item { padding: 12px 8px; }
    .hero-feature-item i { font-size: 1.2rem; }
    .hero-feature-item span { font-size: 0.75rem; }
    .service-card { padding: 25px 18px; }
}
