:root {
    --primary-color: #d4af37; /* Stronger Metallic Gold */
    --primary-dark: #b5952f;
    --text-dark: #111111;
    --text-light: #555555;
    --bg-main: #ffffff; 
    --bg-alt: #f9f9f9; 
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.8;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
}

.fade-in { animation: fadeIn 1.5s ease-out forwards; }
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: all 1s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 5%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar.scrolled .logo, .navbar.scrolled .nav-links a { color: var(--text-dark); }
.navbar.scrolled .bar { background-color: var(--text-dark); }

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    transition: color 0.4s ease;
}
.logo span { color: var(--primary-color); }

.nav-links { display: flex; align-items: center; }

.nav-links a {
    text-decoration: none;
    color: var(--white);
    margin-left: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
    font-weight: 400;
}

.nav-links a:hover { color: var(--primary-color); }

.nav-btn { border: 1px solid currentColor; padding: 10px 24px; border-radius: 2px; }
.nav-btn:hover { background: var(--primary-color); border-color: var(--primary-color); color: var(--white) !important; }

/* Mobile Menu Toggle */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; z-index: 1001; }
.bar { width: 25px; height: 2px; background-color: var(--white); margin: 4px 0; transition: 0.4s; }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7)); 
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.hero-box {
    padding: 40px 20px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
}

.hero-subtitle {
    display: block;
    color: var(--primary-color);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-size: 6rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-style: italic;
    text-shadow: 2px 4px 15px rgba(0,0,0,0.6);
}

.hero-tagline {
    color: #f0f0f0;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.hero-buttons { display: flex; gap: 20px; justify-content: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    border-radius: 2px;
}
.btn-primary { background: var(--primary-color); color: var(--white); border: 1px solid var(--primary-color); }
.btn-primary:hover { background: transparent; border-color: var(--white); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1px solid var(--text-dark); }
.btn-outline:hover { background: var(--text-dark); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--text-dark); }
.btn-full { width: 100%; text-align: center; margin-top: 20px; }

/* Layout & Typography */
section { padding: 100px 5%; max-width: 1200px; margin: 0 auto; }

.section-subtitle {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

h3 { text-align: center; font-size: 3rem; margin-bottom: 50px; font-style: italic; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }

/* -------------------------------------------
   ABOUT SECTION WITH ISO BADGE
------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative; /* This makes the absolute badge position relative to this container */
    z-index: 1;
    display: inline-block;
    width: 100%;
}

/* Explicitly target only the main image so the badge doesn't inherit these styles */
.about-main-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 15px 15px 0px var(--bg-alt), 15px 15px 0px 1px #eaeaea;
    display: block;
}

/* Specific styling for the overlapping ISO badge */
.iso-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(2px 4px 10px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.iso-badge:hover {
    transform: scale(1.05) rotate(-5deg);
}

.about-text p { font-size: 1.1rem; color: var(--text-light); line-height: 1.9; }

.divider-small-left { width: 40px; height: 2px; background: var(--primary-color); margin: 0 0 20px 0; }
.divider-small { width: 40px; height: 2px; background: var(--primary-color); margin: 20px auto; }

/* Cards */
.card { background: var(--white); padding: 40px; border: 1px solid #eaeaea; transition: transform 0.4s ease, border-color 0.4s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--primary-color); }

/* Works Portfolio */
.portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.work-card { position: relative; overflow: hidden; height: 400px; cursor: pointer; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 20px; color: var(--white); opacity: 0; transition: opacity 0.4s ease; text-align: center;
}
.work-card:hover img { transform: scale(1.05); }
.work-card:hover .work-overlay { opacity: 1; }

/* Reviews Section */
.reviews-section { background-color: var(--bg-alt); max-width: 100%; }
.reviews-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto;}
.review-card { background: var(--white); padding: 40px; border: 1px solid #eaeaea; text-align: center; }
.stars { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 20px; }
.review-text { font-style: italic; color: var(--text-light); margin-bottom: 20px; font-size: 1.05rem; }
.client-name { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text-dark); }

/* Review Image Styling */
.review-client-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%; 
    margin: 0 auto 15px auto;
    display: block;
    border: 2px solid var(--primary-color);
}

/* Public Review & Inquiry Forms */
.leave-review-container { 
    max-width: 700px; 
    margin: 80px auto 0; 
    background: var(--white); 
    padding: 50px; 
    border: 1px solid #eaeaea; 
    text-align: center;
}
.leave-review-container h4 { font-size: 2rem; margin-bottom: 20px; font-style: italic; }
.public-review-form { display: flex; flex-direction: column; gap: 15px; text-align: left; }
.public-review-form input, .public-review-form select, .public-review-form textarea { 
    padding: 15px; border: 1px solid #ddd; font-family: var(--font-body); font-size: 1rem; outline: none; transition: border 0.3s; background: #fafafa; 
}
.public-review-form input[type="file"] { padding: 10px; background: #fff; border-radius: 4px; font-size: 0.9rem; }
.public-review-form input:focus, .public-review-form textarea:focus, .public-review-form select:focus { border-color: var(--primary-color); background: var(--white); }
.success-msg { color: #2e7d32; background: #e8f5e9; padding: 15px; margin-bottom: 20px; font-weight: bold; border-radius: 4px; border: 1px solid #c8e6c9; }

/* Ventures */
.venture-card { text-align: center; background: var(--bg-alt); border: none; padding: 60px 40px; }
.venture-card h4 { font-size: 1.8rem; }
.venture-card p { color: var(--text-light); margin-bottom: 30px; }

/* Certifications & Masterclasses */
.cert-card { padding: 15px; text-align: center; }
.img-container { height: 350px; overflow: hidden; margin-bottom: 20px; }
.img-container img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(20%); transition: transform 0.8s ease, filter 0.8s ease; }
.card:hover .img-container img { transform: scale(1.05); filter: grayscale(0%); }
.cert-card h4 { font-size: 1.1rem; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 1px; }

.class-card { display: flex; flex-direction: column; }
.class-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eaeaea; padding-bottom: 15px; }
.badge { padding: 5px 12px; color: var(--text-dark); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; border: 1px solid var(--text-dark); }
.badge.online { border-color: #8bacaa; color: #8bacaa; } 
.badge.offline { border-color: var(--primary-color); color: var(--primary-color); } 
.date { color: var(--text-light); font-size: 0.85rem; letter-spacing: 1px; }
.class-card h4 { font-size: 1.6rem; margin-bottom: 10px; }
.price { color: var(--primary-color); font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 15px; }
.desc { color: var(--text-light); flex-grow: 1; }

/* Footer */
footer { background: var(--text-dark); color: var(--bg-main); text-align: center; padding: 80px 20px 40px; }
footer h2 { font-size: 2.5rem; color: var(--white); margin-bottom: 5px; cursor: default; user-select: none; }
footer h2 span { color: var(--primary-color); }
.footer-subtitle { color: var(--primary-color); font-family: var(--font-body); text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 30px; }
.footer-socials a { color: var(--white); text-decoration: none; margin: 0 15px; font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s; }
.footer-socials a:hover { color: var(--primary-color); }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; font-size: 0.85rem; color: #888; }
.dev-credit a { color: var(--primary-color); text-decoration: none; font-weight: bold; }

/* Floating WhatsApp & Lightbox */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s ease, background-color 0.3s ease; }
.whatsapp-float:hover { background-color: #1ebe57; color: white; transform: scale(1.1); }
.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(10, 10, 10, 0.95); backdrop-filter: blur(5px); }
.lightbox-content { margin: 5% auto; display: block; width: 80%; max-width: 800px; max-height: 80vh; object-fit: contain; border: 2px solid var(--primary-color); box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: zoomIn 0.3s ease; }
#lightbox-caption { margin: auto; display: block; width: 80%; max-width: 800px; text-align: center; color: var(--white); padding: 15px 0; font-size: 1.2rem; font-family: var(--font-heading); letter-spacing: 1px; }
.close-lightbox { position: absolute; top: 20px; right: 40px; color: var(--primary-color); font-size: 50px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
.close-lightbox:hover { color: var(--white); }
@keyframes zoomIn { from {transform:scale(0.9)} to {transform:scale(1)} }

/* ==============================================================
   CONSOLIDATED MOBILE RESPONSIVENESS
============================================================== */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links a { margin: 15px 0; color: var(--text-dark); }
    
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); background-color: var(--text-dark); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background-color: var(--text-dark); }
    
    .hero-content h1 { font-size: 4rem; }
    .hero-buttons { flex-direction: column; }
    h3 { font-size: 2.2rem; }
    section { padding: 80px 5%; }
    
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; margin-bottom: 20px; } /* Ensures image stays above text on mobile */
    
    /* Make the badge smaller on phones so it doesn't clip off the screen */
    .iso-badge {
        width: 100px;
        bottom: -20px;
        right: -10px;
    }

    .leave-review-container { padding: 30px 20px; margin-top: 50px; }
    .leave-review-container h4 { font-size: 1.6rem; }

    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-float svg { width: 25px; height: 25px; }
    .lightbox-content { width: 95%; margin-top: 20%; }
    .close-lightbox { top: 10px; right: 20px; }
}