/* --- 1. GLOBAL SETTINGS & COLORS --- */
:root {
    --primary-color: #e07038; /* Lesella Orange */
    --primary-light: #299696; /* Lesella Teal */
    --primary-dark: #1d2c34;  /* Lesella Navy/Slate */
    --dark-grey: #2c2c2c;     
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --black: #1a1a1a;
    --font-header: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --text-wrap: pretty;
    --text-wrap: balance;
    --scroll-behavior: smooth;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: var(--font-body); color: var(--dark-grey); 
    line-height: 1.6; overflow-x: hidden; width: 100%;
    background-color: var(--white);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-header); font-weight: 800; color: var(--primary-dark); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
.bg-light { background-color: var(--light-grey); }
.container { max-width: 1150px; margin: 0 auto; padding: 0 20px; }
::selection{ background: rgb(229,235,194); }

/* --- 2. MODERN HEADER (Transparent to Solid on Scroll) --- */
header { 
    background-color: transparent; 
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: none;
}
/* --- PERMANENT SOLID HEADER FOR SUB-PAGES --- */
header.solid-header {
    background-color: var(--white) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    border-bottom: none !important;
}
header.solid-header .logo h1 { color: var(--primary-dark) !important; }
header.solid-header .sub-logo { color: #777 !important; }
header.solid-header .nav-item { color: var(--black) !important; }
header.solid-header .nav-item:hover { color: var(--primary-color) !important; }
header.solid-header .hamburger { color: var(--primary-dark) !important; }

.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo { display: flex; align-items: center; gap: 15px; }
.logo img { height: 50px !important; width: auto !important; transition: filter 0.3s ease; }

.logo h1 { font-size: 1.4rem; line-height: 1.1; color: var(--white); text-transform: capitalize; transition: color 0.3s;}
.sub-logo { font-size: 1.1rem; letter-spacing: 1px; color: rgba(255,255,255,0.7); }

header.scrolled .logo h1 { color: var(--primary-dark); }
header.scrolled .sub-logo { color: #777; }

.nav-links { display: flex; gap: 25px; align-items: center; list-style: none; }
.nav-item { position: relative; font-weight: 700; color: var(--white); padding: 5px 0; cursor: pointer; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px;}
header.scrolled .nav-item { color: var(--black); }
.nav-item:hover, header.scrolled .nav-item:hover { color: var(--primary-color); }

.hamburger { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
header.scrolled .hamburger { color: var(--primary-dark); }

/* Buttons */
.btn-modern {
    background: var(--primary-color); color: var(--white) !important;
    padding: 12px 28px; border-radius: 4px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; display: inline-block; border: none; cursor: pointer;
}
.btn-modern:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.header-cta { background: var(--primary-light) !important; margin-left: 15px; }
.header-cta:hover { background: var(--primary-color) !important; }

/* --- 3. MODERN HERO SECTION --- */
.hero-section { position: relative; height: 100vh; overflow: hidden; background: var(--primary-dark); }
.slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease-in-out; z-index: 1; }
.slide.active { opacity: 1; }

.hero-text-layer { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; 
    background: rgba(29, 44, 52, 0.75); /* Dark overlay */
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-content { color: white; max-width: 900px; padding: 0 20px; }
.hero-content h2 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; color: var(--white); text-transform: capitalize;}
.hero-content p { font-size: 1.25rem; color: rgba(255,255,255,0.8); margin-bottom: 40px; font-weight: 400; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-secondary-btn {
    background: transparent; border: 2px solid var(--white); color: var(--white) !important;
    padding: 12px 28px; border-radius: 4px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; margin-left: 20px; display: inline-block;
}
.hero-secondary-btn:hover { background: rgba(255,255,255,0.1); }
.hero-btn-wrap { display: flex; justify-content: center; align-items: center; }

.prev-btn, .next-btn {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.1); color: white;
    border: none; width: 50px; height: 50px; border-radius: 4px; cursor: pointer; z-index: 20; 
    display: flex; align-items: center; justify-content: center; transition: all 0.3s ease;
}
.prev-btn { left: 20px; } .next-btn { right: 20px; }
.prev-btn:hover, .next-btn:hover { background: rgba(255, 255, 255, 0.2); }

.slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 20; }
.dot { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.5); border-radius: 50%; transition: 0.3s ease; cursor: pointer; }
.dot.active { background: var(--primary-color); border-color: var(--primary-color); transform: scale(1.2); }

/* --- 4. MODERN SECTIONS (About, Services, Grid) --- */
.section-padding { padding: 100px 0; }
.section-tag { color: var(--primary-color); letter-spacing: 2px; margin-bottom: 10px; display: inline-block; font-weight: 800; text-transform: uppercase; }
.section-title { font-size: 3rem; line-height: 1.2; margin-bottom: 40px; text-transform: none; }
.about-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-text p { font-size: 1.1rem; color: #555; }

/* Operating Hours */
.curriculum-card {
    background: var(--white); border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    max-width: 500px; margin: 0 auto; border-radius: 10px; padding: 40px;
}
.curriculum-card ul { list-style: none; }
.curriculum-card ul li { font-size: 1.1rem; color: #555; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between;}
.curriculum-card ul li strong { color: var(--primary-dark); font-weight: 700; }

/* Service Grids */
.service-list-grid, .catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }

.service-card, .catalog-card {
    background: var(--white); padding: 40px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02); transition: all 0.3s ease; display: flex; flex-direction: column;
}
.catalog-card { padding: 0; overflow: hidden; } /* Overrides for image cards */
.catalog-info { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }

.service-card:hover, .catalog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }

.service-icon-wrap {
    width: 70px; height: 70px; background-color: rgba(41, 150, 150, 0.05); color: var(--primary-light);
    border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 25px; transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap { background-color: var(--primary-light); color: var(--white); }

.service-card h3, .catalog-card h3 { color: var(--primary-dark); margin-bottom: 15px; font-size: 1.3rem; font-weight: 800; text-transform: uppercase;}
.service-card p, .catalog-card p { color: #555; font-size: 1.05rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1;}

.service-learn-more { color: var(--primary-light); font-weight: 700; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: 0.9rem;}
.service-learn-more:hover { color: var(--primary-color); }

.catalog-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 3px solid var(--primary-color); }

/* --- 5. CTA BANNERS & WHATSAPP --- */
.cta-banner { padding: 80px 0; color: var(--white); background-size: cover; background-position: center; background-blend-mode: overlay; }
.emergency-banner { background-color: #f1592a; background-image: url('images/hero1.jpg'); }
.emergency-banner .section-title { color: var(--white); }
.emergency-btn { background: var(--primary-dark); }

.btn-whatsapp-catalog {
    background: #25d366; color: #ffffff !important; padding: 12px 15px; border-radius: 4px;
    text-align: center; font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 8px;
    transition: all 0.3s ease; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; border: none; cursor: pointer;
}
.btn-whatsapp-catalog:hover { background: #128c7e; }

.whatsapp-float {
    position: fixed; bottom: 20px; right: 20px; background-color: #25d366; color: #ffffff;
    width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 26px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); z-index: 9999; opacity: 1; visibility: visible; transition: all 0.3s ease;
}
.whatsapp-float.show { bottom: 85px; }
.whatsapp-float:hover { background-color: var(--primary-dark); transform: translateY(-5px); }

/* --- 6. MODERN FOOTER --- */
#contact { background-color: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 80px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
#contact h3 { color: var(--white); text-transform: uppercase; font-weight: 800; margin-bottom: 20px; font-size: 1.2rem;}
#contact p, #contact ul li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px;}
#contact ul { list-style: none; }
#contact ul li a:hover { color: var(--primary-color); }

.map-placeholder { background-color: #111; height: 150px; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 20px; text-align: center; font-size: 0.9rem;}

/* --- 7. MODAL & SCROLL PROGRESS --- */
.modal {
    display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease;
}
.modal.open { display: flex; opacity: 1; }
.modal-content {
    background-color: var(--white); padding: 40px; border-radius: 10px; width: 90%; max-width: 650px;
    position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.4); transform: scale(0.9); transition: transform 0.3s ease;
}
.modal.open .modal-content { transform: scale(1); }
.close-modal { position: absolute; top: 15px; right: 25px; font-size: 30px; font-weight: bold; color: #aaa; cursor: pointer; transition: 0.2s; }
.close-modal:hover { color: var(--primary-color); }

.modal-carousel-container { position: relative; width: 100%; height: 350px; overflow: hidden; border-radius: 8px; background: #000; margin-bottom: 20px;}
.modal-slides { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease-in-out; }
.modal-slides img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }
.modal-nav {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.5); color: white;
    border: none; width: 40px; height: 40px; border-radius: 4px; cursor: pointer; font-size: 1.2rem; transition: 0.2s;
}
.modal-nav:hover { background: var(--primary-color); }
.modal-nav.prev { left: 10px; } .modal-nav.next { right: 10px; }

.progress-wrap {
    position: fixed; right: 20px; bottom: 20px; height: 50px; width: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; z-index: 999; background: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: all 0.3s ease;
}
.progress-wrap.show { opacity: 1; visibility: visible; transform: translateY(0); }
.progress-wrap svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-wrap svg circle.track { fill: none; stroke: rgba(0,0,0,0.05); stroke-width: 4; }
.progress-wrap svg circle.progress { fill: none; stroke: var(--primary-color); stroke-width: 4; transition: stroke-dashoffset 0.1s linear; }
.progress-wrap i { color: var(--primary-dark); font-size: 1.2rem; z-index: 1; }
.progress-wrap:hover { transform: translateY(-5px); }

/* --- 8. RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .hero-content h2 { font-size: 2.8rem; }
    .hero-content p { font-size: 1rem; }
    .hamburger { display: block; }
    .nav-links { 
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; 
        background: var(--white); padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1); text-align: center; gap: 15px; border-top: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    .nav-item { color: var(--primary-dark); }
    .header-cta { margin: 10px 0 0 0; width: 100%; }
    .hero-btn-wrap { flex-direction: column; gap: 15px; }
    .hero-secondary-btn { margin-left: 0; width: 100%; text-align: center; }
}

/* --- 9. DARK MODE OVERRIDES --- */
[data-theme="dark"] body { background-color: #121212; color: #e0e0e0; }
[data-theme="dark"] header.scrolled, [data-theme="dark"] .nav-links { background-color: #1a1a1a; }
[data-theme="dark"] .bg-light, [data-theme="dark"] .curriculum-card, [data-theme="dark"] .service-card, [data-theme="dark"] .catalog-card, [data-theme="dark"] .modal-content { background-color: #1a1a1a; border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6, [data-theme="dark"] .curriculum-card ul li strong { color: var(--white); }
[data-theme="dark"] p, [data-theme="dark"] .curriculum-card ul li { color: #aaa; border-color: rgba(255,255,255,0.05);}



/* --- LIQUID CODE STUDIOS BADGE --- */
.lcs-badge {
    position: fixed;
    bottom: 20px;
    left: 20px; /* Placed on the left so it doesn't overlap WhatsApp */
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 50;
    color: var(--dark-grey);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lcs-logo {
    width: 20px;
    height: 20px;
    background-color: #3b82f6; /* Blue background */
    border-radius: 4px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Dark Mode Support for the Badge */
[data-theme="dark"] .lcs-badge {
    background-color: #1a1a1a;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

{
scroll-behavior: smooth;
}
