@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7e22ce;
    --purple-800: #6b21a8;
    --purple-900: #581c87;
    --pink-400: #f472b6;
    --pink-500: #ec4899;
    --yellow-300: #fde047;
    --yellow-400: #facc15;
    --green-400: #4ade80;
    --orange-400: #fb923c;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 16px;
    --radius-lg: 24px;
    --glow-purple: 0 0 20px rgba(147, 51, 234, 0.25), 0 0 40px rgba(147, 51, 234, 0.1);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.2), 0 0 40px rgba(236, 72, 153, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--gray-800);
    background: var(--purple-50);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== ANIMATED GRADIENT BORDER UTILITY ===== */
@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ===== FLOATING DECORATIONS ===== */
.floating-shapes {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.floating-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}
.floating-shapes .shape:nth-child(1) {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--purple-400), transparent 70%);
    top: 8%; left: -5%;
    animation: floatA 25s ease-in-out infinite;
}
.floating-shapes .shape:nth-child(2) {
    width: 250px; height: 250px;
    background: radial-gradient(circle, var(--pink-400), transparent 70%);
    top: 55%; right: -3%;
    animation: floatB 22s ease-in-out infinite;
}
.floating-shapes .shape:nth-child(3) {
    width: 180px; height: 180px;
    background: radial-gradient(circle, var(--yellow-400), transparent 70%);
    bottom: 8%; left: 18%;
    animation: floatC 28s ease-in-out infinite;
}
.floating-shapes .shape:nth-child(4) {
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--purple-300), transparent 70%);
    top: 28%; right: 12%;
    animation: floatD 20s ease-in-out infinite;
}
@keyframes floatA {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(20px, -20px) scale(1.05); }
}
@keyframes floatB {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(-35px, 40px) scale(1.08); }
    60% { transform: translate(25px, -25px) scale(0.92); }
}
@keyframes floatC {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(30px, -35px) scale(1.12); }
    70% { transform: translate(-20px, 15px) scale(0.9); }
}
@keyframes floatD {
    0%, 100% { transform: translate(0, 0) scale(1); }
    35% { transform: translate(-45px, -30px) scale(1.06); }
    65% { transform: translate(35px, 20px) scale(0.94); }
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== HEADER / HERO ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero {
    background: linear-gradient(135deg, var(--purple-800), var(--purple-600), var(--pink-500), var(--purple-700));
    background-size: 300% 300%;
    animation: gradientShift 12s ease-in-out infinite;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center;
    padding: 80px 0 60px;
}
.hero-text {
    color: var(--white);
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hero-text h1 span {
    display: block;
    background: linear-gradient(90deg, var(--yellow-300), var(--orange-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 480px;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* ===== HERO ILLUSTRATION ===== */
.hero-illustration {
    width: 100%;
    max-width: 580px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: heroFloat 5s ease-in-out infinite;
    margin-right: -40px;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--white);
    color: var(--purple-700);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.3);
}
.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.15);
}
.btn-purple {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}
.btn-purple:hover {
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.5);
    transform: translateY(-3px) scale(1.03);
}
.btn-green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-green:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}
.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
    padding: 8px 20px;
    font-size: 0.85rem;
}
.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ===== WAVE SEPARATOR ===== */
.wave-separator {
    position: relative;
    margin-top: -2px;
}
.wave-separator svg {
    display: block;
    width: 100%;
}

/* ===== SECTION TITLES ===== */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--purple-800);
    margin-bottom: 12px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}
.section-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
}

/* ===== SERVICE CARD — premium hover with animated gradient border ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--purple-400), var(--pink-400), var(--purple-400));
    background-size: 200% 100%;
    animation: borderGlow 3s linear infinite;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--purple-400), var(--pink-400), var(--yellow-300), var(--purple-400));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 4s linear infinite;
    pointer-events: none;
}
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(147, 51, 234, 0.15),
        0 8px 16px rgba(147, 51, 234, 0.1),
        var(--glow-purple);
}
.service-card:hover::after {
    opacity: 1;
}
.service-card .card-emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}
.card-icon-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 12px;
    transition: transform 0.4s ease;
}
.service-card:hover .card-icon-img {
    transform: scale(1.1) rotate(-3deg);
}
.card-icon-img.card-icon-sm {
    width: 70px;
    height: 70px;
}
.section-header-img {
    width: 320px;
    max-width: 80%;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 12px rgba(147, 51, 234, 0.1));
}
.service-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--purple-800);
    margin-bottom: 6px;
}
.service-card .age-badge {
    display: inline-block;
    background: var(--purple-100);
    color: var(--purple-700);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.service-card ul {
    list-style: none;
    margin-bottom: 20px;
}
.service-card ul li {
    padding: 4px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
}
.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--purple-500);
    font-weight: 700;
}
.service-card .price-block {
    background: linear-gradient(135deg, var(--purple-50), var(--purple-100));
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-top: 15px;
}
.service-card .price-block .price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.9rem;
    gap: 8px;
    flex-wrap: nowrap;
}
.service-card .price-block .price-line.main-price {
    font-weight: 700;
    color: var(--purple-800);
    font-size: 1rem;
}
.service-card .price-block .price-label {
    font-weight: 600;
    color: var(--purple-700);
    font-size: 0.85rem;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--purple-300);
}
.price-tag {
    background: var(--purple-600);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.free-badge {
    background: linear-gradient(135deg, var(--green-400), #059669);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 8px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== TEACHERS ===== */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.teacher-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.teacher-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--purple-300), var(--pink-400), var(--purple-300));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 4s linear infinite;
    pointer-events: none;
}
.teacher-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(147, 51, 234, 0.12),
        var(--glow-purple);
}
.teacher-card:hover::before { opacity: 1; }
.teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--purple-200);
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.15);
    transition: all 0.4s ease;
}
.teacher-card:hover .teacher-avatar {
    border-color: var(--purple-400);
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.3);
    transform: scale(1.05);
}
.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.teacher-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-300), var(--purple-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
}
.teacher-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--purple-800);
    margin-bottom: 5px;
}
.teacher-card .role {
    color: var(--purple-500);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.teacher-card .desc {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.teacher-card .phone-link {
    color: var(--purple-600);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.teacher-card .phone-link:hover { color: var(--purple-800); }

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.15),
        var(--glow-pink);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item .overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(88, 28, 135, 0.8));
    color: var(--white);
    padding: 20px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.gallery-item:hover .overlay {
    transform: translateY(0);
}
.gallery-item .overlay h4 {
    font-size: 1rem;
    font-weight: 700;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== Q&A SECTION ===== */
.qa-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.4s ease;
}
.qa-section:hover {
    box-shadow: 0 12px 30px rgba(147, 51, 234, 0.08);
}
.qa-form {
    background: linear-gradient(135deg, var(--purple-50), var(--purple-100));
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
}
.qa-form h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--purple-800);
    margin-bottom: 15px;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--purple-200);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-bottom: 12px;
    background: var(--white);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--purple-500);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12), 0 2px 8px rgba(168, 85, 247, 0.1);
}
.form-textarea { resize: vertical; min-height: 100px; }

.qa-list-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.qa-list-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--purple-800);
}
.qa-count {
    background: var(--purple-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 20px;
}
.questions-scroll-container {
    max-height: 480px;
    overflow-y: auto;
    border-radius: var(--radius);
    border: 2px solid var(--purple-100);
    padding: 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--purple-300) var(--purple-50);
}
.questions-scroll-container::-webkit-scrollbar { width: 6px; }
.questions-scroll-container::-webkit-scrollbar-track { background: var(--purple-50); border-radius: 3px; }
.questions-scroll-container::-webkit-scrollbar-thumb { background: var(--purple-300); border-radius: 3px; }
.questions-scroll-container::-webkit-scrollbar-thumb:hover { background: var(--purple-400); }
.questions-list { display: flex; flex-direction: column; gap: 20px; }
.question-item {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px 25px;
    border-left: 4px solid var(--purple-400);
    transition: all 0.3s ease;
}
.question-item:hover {
    background: var(--purple-50);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.08);
    border-left-color: var(--purple-600);
}
.question-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--gray-600);
}
.question-author {
    font-weight: 700;
    color: var(--purple-700);
}
.question-text {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 12px;
}
.answer-block {
    background: var(--white);
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 10px;
    border: 1px solid var(--purple-200);
}
.answer-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple-600);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.answer-text {
    color: var(--gray-700);
    font-size: 0.95rem;
}
.no-answer {
    color: var(--gray-600);
    font-style: italic;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===== CONTACT / MAP ===== */
.contact-section {
    background: linear-gradient(135deg, var(--purple-800), var(--purple-700), var(--purple-900), var(--purple-700));
    background-size: 300% 300%;
    animation: gradientShift 15s ease-in-out infinite;
    padding: 60px 0;
    color: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.contact-info h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.contact-item:hover {
    transform: translateX(5px);
}
.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.contact-item:hover .contact-icon {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}
.contact-item h4 {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 600;
    margin-bottom: 3px;
}
.contact-item a, .contact-item p {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}
.contact-item a:hover { text-decoration: underline; }
.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--purple-600), var(--pink-500));
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    color: var(--white);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transition: box-shadow 0.4s ease;
}
.cta-banner:hover {
    box-shadow:
        0 25px 50px rgba(147, 51, 234, 0.2),
        var(--glow-purple);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cta-text {
    text-align: left;
    flex: 1;
    max-width: 520px;
}
.cta-img {
    width: 160px;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.15));
    animation: heroFloat 5s ease-in-out infinite 1s;
    flex-shrink: 0;
}
.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 12px;
}
.cta-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* ===== PHONE MODAL ===== */
.phone-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.phone-modal.active { display: flex; }
.phone-modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2), var(--glow-purple);
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.phone-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--purple-800);
    margin-bottom: 10px;
}
.phone-modal-content p {
    color: var(--gray-600);
    margin-bottom: 25px;
}
.phone-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}
.phone-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
}
.phone-list a:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.35);
}
.phone-list .phone-label {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 600;
}
.phone-modal-close {
    background: none;
    border: 2px solid var(--purple-200);
    color: var(--purple-600);
    padding: 10px 30px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}
.phone-modal-close:hover {
    background: var(--purple-50);
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.1);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--purple-900);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
    text-align: center;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}
.footer p {
    font-size: 0.85rem;
    margin-bottom: 5px;
}
.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }

/* ===== NAV ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.95), rgba(126, 34, 206, 0.9), rgba(88, 28, 135, 0.95));
    background-size: 200% 100%;
    animation: gradientShift 10s ease-in-out infinite;
    backdrop-filter: blur(15px);
    padding: 12px 0;
    transition: padding 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    color: var(--white);
    font-weight: 900;
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo-img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.25);
    transition: border-color 0.3s;
}
.nav-logo:hover .nav-logo-img {
    border-color: rgba(255,255,255,0.5);
}
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 10px;
}
.nav-links a:hover {
    color: var(--white);
    transform: scale(1.1);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 18px rgba(255,255,255,0.12), 0 0 6px rgba(168, 85, 247, 0.3);
    text-shadow: 0 0 12px rgba(255,255,255,0.4);
}
.nav-cta {
    background: rgba(255,255,255,0.2) !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}
.nav-cta:hover {
    background: rgba(255,255,255,0.3) !important;
    box-shadow: 0 4px 20px rgba(255,255,255,0.2) !important;
    transform: scale(1.08) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== MESSAGES ===== */
.messages-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.message {
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    max-width: 350px;
}
.message-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.message-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    background: linear-gradient(135deg, var(--purple-50) 0%, rgba(236, 72, 153, 0.1) 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.reviews-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 30px 5px;
    justify-content: center;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
}
.reviews-carousel::-webkit-scrollbar { height: 8px; }
.reviews-carousel::-webkit-scrollbar-track { background: var(--purple-100); border-radius: 10px; }
.reviews-carousel::-webkit-scrollbar-thumb { background: var(--purple-300); border-radius: 10px; }
.reviews-carousel::-webkit-scrollbar-thumb:hover { background: var(--purple-400); }
.review-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px 30px 30px;
    min-width: 350px;
    max-width: 520px;
    flex: 1 1 350px;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.review-card::before {
    content: '\201C';
    position: absolute;
    top: -10px; right: 25px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: var(--purple-100);
    line-height: 1;
    z-index: 0;
}
.review-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--glow-purple), var(--glow-pink), var(--glow-purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 200%;
}
.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.35), 0 0 30px var(--glow-purple);
}
.review-card:hover::after { opacity: 1; }
.review-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}
.review-rating .star {
    font-size: 1.3rem;
    color: #fbbf24;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}
.review-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--purple-800);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-style: italic;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--purple-600);
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
}
.review-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-400), var(--pink-400));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.reviews-footer {
    text-align: center;
    margin-top: 35px;
}
.reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--purple-600);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid var(--purple-200);
    background: white;
    transition: all 0.3s ease;
}
.reviews-link:hover {
    background: var(--purple-600);
    color: white;
    border-color: var(--purple-600);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
    transform: translateY(-2px);
}
.reviews-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--purple-50); }
::-webkit-scrollbar-thumb { background: var(--purple-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple-400); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; gap: 30px; padding: 100px 0 40px; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-buttons { justify-content: center; }
    .hero-visual { order: -1; justify-content: center; }
    .hero-illustration { max-width: 340px; margin-right: 0; }
    .cta-content { flex-direction: column; text-align: center; }
    .cta-text { text-align: center; }
    .cta-img { width: 120px; order: -1; }
    .questions-scroll-container { max-height: 350px; }
    .section-header-img { width: 240px; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .qa-section { padding: 25px; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(88, 28, 135, 0.98);
        padding: 20px;
        gap: 15px;
    }
    .nav-links.active a:hover { transform: none; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .review-card { min-width: 100%; max-width: 100%; padding: 30px 20px 25px; }
    .review-card::before { font-size: 3.5rem; }
    .reviews-carousel { padding: 20px 5px; gap: 20px; }
}
