/* --- 1. Variables & Reset --- */
:root {
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --primary: #42867b; /* Your Teal */
    --primary-hover: #346b62;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --font-main: 'Outfit', sans-serif;
    --border-color: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

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

/* --- 2. Navbar --- */
.navbar {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(10px);
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav > li > a {
    color: var(--text-gray) !important;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav > li > a:hover, .navbar-nav > li.active > a {
    color: var(--primary) !important;
    background: transparent !important;
}

.btn-nav-cta {
    border: 1px solid var(--primary);
    border-radius: 50px;
    padding: 8px 25px !important;
    margin-left: 15px;
    color: var(--primary) !important;
}

.btn-nav-cta:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* --- 3. Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(66, 134, 123, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(66, 134, 123, 0.05) 0%, transparent 40%),
                var(--bg-dark);
    display: flex;
    align-items: center;
    padding-top: 100px; /* NEW: Acts as a permanent bumper for the fixed navbar */
}

/* --- UPDATED HERO IMAGE (The "Blend" Fix) --- */

.hero-image-wrapper {
    position: relative;
    /* Remove the box shadow and border radius we added before */
    box-shadow: none; 
    border-radius: 0;
    overflow: visible; /* Allow the glow to spill out */
    z-index: 2;
    text-align: right; /* Pushes image to the right side */
}

/* This creates the "Glow" behind you */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: var(--primary); /* Your Teal color */
    filter: blur(80px); /* This creates the soft fog effect */
    opacity: 0.4; /* Adjust brightness of the glow */
    z-index: -1; /* Puts it behind the image */
    border-radius: 50%;
}

.hero-img {
    max-height: 600px; /* Controls how tall you appear */
    width: auto;
    position: relative;
    z-index: 2;
    /* Optional: A subtle gradient at the bottom to fade into the floor */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}


.badge-premium {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

/* 1. Main Headline - Make it MASSIVE */
.hero h1 {
    font-size: clamp(3.5rem, 5vw, 6.5rem); /* Increased size */
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -2px; /* Tighter letters look more premium */
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #777);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. "I am a..." (Dynamic Text) */
.typing-wrapper {
    font-size: 2rem; /* Increased from 1.5rem */
    font-weight: 400;
    color: var(--text-white); /* Make it brighter */
    margin-bottom: 35px;
}

/* --- UPDATED BIBLE QUOTE --- */
.hero-quote {
    font-size: 1.25rem; /* Increased from 1.1rem */
    font-weight: 300;   /* Keeps it elegant, not chunky */
    color: #d4d4d8;     /* A brighter gray/white so it reads better */
    border-left: 4px solid var(--primary); /* Thicker teal line */
    padding-left: 25px; /* More breathing room */
    margin: 40px 0;
    line-height: 1.6;
    max-width: 650px;
}

/* Make the "Daniel 11:32(b)" part distinct */
.hero-quote .verse-ref {
    display: block;
    font-size: 0.95rem;
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary); /* Teal color */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 4. The Badge (Strategy • Design • Growth) */
.badge-premium {
    font-size: 14px;
    letter-spacing: 4px; /* More spacing looks expensive */
    margin-bottom: 25px;
    font-weight: 700;
}

.verse-ref {
    display: block;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 600;
    color: var(--primary);
    font-style: normal;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: 0.4s cubic-bezier(0.2, 1, 0.2, 1);
}

.btn-primary {
    background: var(--primary);
    border: none;
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(66, 134, 123, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    margin-left: 10px;
}

.btn-outline:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

/* Hero Socials */
.social-hero {
    margin-top: 40px;
}
.social-hero a {
    color: var(--text-gray);
    font-size: 20px;
    margin-right: 20px;
}
.social-hero a:hover { color: var(--primary); }

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.img-backdrop {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    opacity: 0.6;
}

/* --- 4. General Sections --- */
.site-section {
    padding: 100px 0;
}

.section-title {
    text-transform: uppercase;
    font-size: 32px;
    margin-bottom: 10px;
}

.separator {
    height: 3px;
    width: 60px;
    background: var(--primary);
    margin: 0 auto 40px auto;
}

/* About */
.lead-text {
    font-size: 24px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 20px;
}
.text-highlight { color: var(--primary); font-weight: 600; }
.body-text { color: var(--text-gray); font-size: 18px; max-width: 800px; margin: 0 auto; }

/* --- BOLD ABOUT SECTION --- */
.section-about-bold {
    padding: 140px 0; /* More space = more premium */
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

/* 1. The Giant Background Watermark */
.section-about-bold::before {
    content: 'ABOUT';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25vw; /* Massive size */
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02); /* Almost invisible */
    z-index: 0;
    pointer-events: none; /* Allows clicking through it */
    font-family: var(--font-main);
}

/* 2. The Big Headline */
.big-question {
    font-size: clamp(3rem, 8vw, 7rem); /* Responsive scaling */
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    color: #fff;
}

/* 3. The "Hollow" Text Effect */
.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3); /* Thin white outline */
    color: transparent; /* See-through inside */
    transition: all 0.5s ease;
}

/* Hover effect: The hollow text fills with color */
.section-about-bold:hover .text-outline {
    color: var(--primary);
    -webkit-text-stroke: 0px;
}

/* 4. Content Styling */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- UPDATED TEXT SIZES --- */

.about-lead {
    font-size: clamp(1.5rem, 2.5vw, 2rem); /* Much bigger & responsive */
    color: var(--text-gray);
    margin-bottom: 35px;
    font-weight: 300;
    line-height: 1.4;
}

.about-text {
    font-size: 1.4rem; /* Increased size for readability */
    color: #b0b0b0;     /* Slightly brighter gray */
    line-height: 1.8;   /* More breathing room between lines */
    margin-bottom: 50px;
    max-width: 650px;   /* Prevents text from getting too wide to read */
    margin-left: auto;  /* Centers the text block */
    margin-right: auto;
}

/* Optional: Make the "I am Mbanugo" part pop more */
.about-identity {
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #fff;
}

.text-white { color: #fff; font-weight: 500; }

/* 5. Premium Button */
.btn-premium-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 15px; /* Space between text and arrow */
    transition: all 0.4s ease;
}

.btn-premium-outline i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-premium-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(66, 134, 123, 0.4);
}

.btn-premium-outline:hover i {
    transform: translateY(3px); /* Arrow moves down on hover */
}

/* Skills */
.skill-item { margin-bottom: 30px; }
.skill-item h4 { font-size: 14px; text-transform: uppercase; margin-bottom: 10px; color: var(--text-gray); }
.progress { height: 6px; background: #222; border-radius: 10px; overflow: hidden; }
.progress-bar { background: var(--primary); box-shadow: 0 0 10px var(--primary); }

/* --- 5. Services Cards (Glassmorphism) --- */
/* The Glass Card */

.section-services {
    background: var(--bg-dark); /* Keeps it seamless with the rest */
    position: relative;
    padding-bottom: 120px;
    overflow: hidden; /* Keeps the glow inside the section */
}

.section-services::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 134, 123, 0.08) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}


.section-subtitle {
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 1.3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03); /* Extremely subtle fill */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Faint border */
    backdrop-filter: blur(10px); /* The frost effect */
    padding: 45px 30px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    height: 100%; /* Ensures all cards are same height */
    position: relative;
    overflow: hidden;
}

/* Hover Effect: The Glow Up */
.service-card:hover {
    transform: translateY(-10px); /* Floats up */
    border-color: var(--primary); /* Teal border appears */
    background: rgba(255, 255, 255, 0.05); /* Gets slightly brighter */
    box-shadow: 0 20px 40px -15px rgba(66, 134, 123, 0.25); /* Teal shadow */
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
}

/* Icon Styling */
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(66, 134, 123, 0.1); /* Low opacity teal circle */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.4s ease;
}

.icon-wrapper i {
    font-size: 28px;
    color: var(--primary);
    transition: all 0.4s ease;
}

/* Icon animates on card hover */
.service-card:hover .icon-wrapper {
    background: var(--primary);
    transform: scale(1.1);
}

.service-card:hover .icon-wrapper i {
    color: #fff; /* Icon turns white */
}


.service-card h4 { 
  font-size: 20px; 
  margin-bottom: 15px; 
  color: #fff;
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- 6. --- */
/* --- SELECTED WORKS (CASE STUDIES) --- */
.section-works {
    background: #0b0b0b; /* Distinct from the main black bg */
    padding-bottom: 100px;
}

.project-row {
    margin-bottom: 120px; /* Big space between projects */
}

.project-row:last-child {
    margin-bottom: 0;
}

/* Image Styling */
.project-img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
}

.project-img-wrapper:hover {
    transform: translateY(-10px); /* Lifts up slightly */
}

.project-img {
    width: 100%;
    transition: transform 0.7s ease;
}

.project-img-wrapper:hover .project-img {
    transform: scale(1.05); /* Zoom effect */
}

/* Content Styling */
.project-content {
    padding: 20px;
    position: relative;
}

/* The Big Number (01, 02) */
.project-number {
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03); /* Barely visible watermark */
    position: absolute;
    top: -80px;
    left: 0;
    line-height: 1;
    z-index: 0;
}

.project-category {
    color: var(--primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.project-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Tags (Logo, Print, etc.) */
.project-tags {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.project-tags li {
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* The "View Case Study" Link */
.btn-link-arrow {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-link-arrow i {
    transition: transform 0.3s;
}

.btn-link-arrow:hover {
    color: var(--primary);
    text-decoration: none;
}

.btn-link-arrow:hover i {
    transform: translateX(5px);
}

/* Mobile Fix for Alternating Layout */
@media (max-width: 991px) {
    .project-row { margin-bottom: 80px; text-align: left; }
    .project-img-wrapper { margin-bottom: 30px; }
    
    /* Reset Push/Pull on mobile so image is always top */
    .col-md-push-7 { left: auto; }
    .col-md-pull-5 { right: auto; }
    
    .project-number { display: none; } /* Hide big number on phone to save space */
}

/* --- 7. Counters --- */
.section-counters {
    background: url('assets/img/counters-bg.jpg') fixed center/cover;
    position: relative;
}
.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
}
.counter-box { position: relative; z-index: 2; padding: 20px; }
.counter { font-size: 60px; font-weight: 700; color: #fff; display: block; }
.counter-box h4 { color: var(--text-gray); font-size: 16px; text-transform: uppercase; letter-spacing: 2px; }

/* --- 8. Contact --- */
.form-control {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    border-radius: 0;
    color: #fff;
    height: 50px;
    box-shadow: none;
    margin-bottom: 30px;
    transition: 0.3s;
}

.form-control:focus {
    background: transparent;
    border-color: var(--primary);
    box-shadow: none;
}

textarea.form-control { height: auto; }

/* --- 9. Modal --- */
.modal-content {
    background: var(--bg-card);
    color: #fff;
    border: 1px solid #333;
}
.modal-header { border-bottom: 1px solid #333; }
.close { color: #fff; text-shadow: none; opacity: 1; }
.modal-body p { color: var(--text-gray); }

/* --- 10. Animations --- */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
}

.fade-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Helpers */
.margin-top-20 { margin-top: 20px; }
.margin-bottom-20 { margin-bottom: 20px; }

/* --- GALLERY (Masonry Layout) --- */
.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

@media (max-width: 768px) {
    .masonry-grid { column-count: 2; }
}

.masonry-item {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.masonry-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.4s ease;
    display: block;
}

.masonry-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(66, 134, 123, 0.8); /* Your Teal Brand Color */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.masonry-overlay i {
    color: #fff;
    font-size: 24px;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-item:hover .masonry-overlay i { transform: scale(1); }
.masonry-item:hover img { transform: scale(1.05); }



/* --- GALLERY FILTER BUTTONS --- */
.gallery-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa; /* Gray text */
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

/* Active State (Teal Glow) */
.filter-btn:hover, .filter-btn.active {
    background: #42867b; /* Your Teal Color */
    border-color: #42867b;
    color: #fff;
    box-shadow: 0 5px 15px rgba(66, 134, 123, 0.3);
    transform: translateY(-2px);
}

/* Animation for Filtering */
.masonry-item.hide {
    display: none;
}
.masonry-item.show {
    animation: fadeIn 0.5s ease forwards;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Overlay Text Styling */
.overlay-content {
    text-align: center;
    color: #fff;
}
.overlay-content h5 { margin-bottom: 5px; font-weight: 700; font-size: 18px; }
.overlay-content p { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #42867b; }


/* --- SHOP (Product Cards) --- */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

/* --- PREMIUM SHOP SECTION --- */
.section-shop {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Background Glow */
.shop-glow {
    position: absolute;
    left: 20%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(66, 134, 123, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* --- THE 3D BOOK --- */
.book-wrapper {
    position: relative;
    width: 300px; /* Adjust based on your image aspect ratio */
    margin: 0 auto;
    perspective: 1000px; /* Essential for 3D effect */
    z-index: 2;
}

.book-cover {
    width: 100%;
    border-radius: 5px 15px 15px 5px; /* Curves the right side like pages */
    box-shadow: -15px 20px 30px rgba(0, 0, 0, 0.5); /* Deep shadow */
    transform: rotateY(-25deg) rotateX(10deg); /* The 3D Tilt */
    transition: transform 0.5s ease;
}

/* --- THE CSS-ONLY BOOK COVER --- */
.book-placeholder {
    width: 100%;
    height: 400px; /* Standard book ratio */
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid var(--primary); /* Teal Border */
    border-radius: 5px 15px 15px 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    box-shadow: -15px 20px 30px rgba(0, 0, 0, 0.5);
    transform: rotateY(-25deg) rotateX(10deg); /* The 3D Tilt */
    transition: transform 0.5s ease;
}

/* The Title on the Cover */
.book-placeholder h3 {
    font-size: 2.5rem;
    color: #fff;
    line-height: 0.9;
    margin-bottom: 10px;
    font-weight: 800;
}

.book-placeholder h4 {
    font-size: 1rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.book-placeholder .author {
    font-size: 0.9rem;
    color: #888;
    position: absolute;
    bottom: 30px;
}

/* Hover Effect */
.book-wrapper:hover .book-placeholder {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 0 50px rgba(66, 134, 123, 0.3); /* Teal Glow */
}

/* Hover Effect: Book faces front */
.book-wrapper:hover .book-cover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(66, 134, 123, 0.2);
}

/* Floating Animation */
@keyframes floatBook {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-anim {
    animation: floatBook 6s ease-in-out infinite;
}

/* --- PRODUCT DETAILS --- */
.product-details-premium {
    padding-left: 30px;
    position: relative;
    z-index: 2;
}

.badge-pill {
    background: rgba(66, 134, 123, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.product-title {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1;
}

.product-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
}

.price-block {
    margin-bottom: 25px;
    font-family: var(--font-main);
}

.price-old {
    text-decoration: line-through;
    color: #666;
    font-size: 1.2rem;
    margin-right: 15px;
}

.price-new {
    color: var(--primary);
    font-size: 2.5rem;
    font-weight: 700;
}

.product-desc {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Feature List */
.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.product-features li {
    margin-bottom: 12px;
    color: #ddd;
    font-size: 1 rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--primary);
    background: rgba(66, 134, 123, 0.1);
    padding: 5px;
    border-radius: 50%;
    font-size: 10px;
}

/* Button & Security */
.btn-wide {
    padding: 15px 40px;
    width: auto;
    min-width: 200px;
}

.secure-text {
    margin-top: 15px;
    font-size: 12px;
    color: #555;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .product-details-premium { padding-left: 0; margin-top: 50px; text-align: center; }
    .product-features li { justify-content: center; }
    .book-wrapper { width: 220px; }
}

/* Featured Glow Effect */
.featured-product {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(66, 134, 123, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 50px;
    z-index: 10;
}

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1) rotate(2deg);
}

.product-details {
    padding: 25px;
    text-align: center;
}

.product-details h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.product-desc {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-tag {
    margin-bottom: 20px;
    font-family: var(--font-main);
}

.old-price {
    text-decoration: line-through;
    color: #666;
    margin-right: 10px;
    font-size: 14px;
}

.new-price {
    color: var(--primary);
    font-size: 24px;
    font-weight: 700;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --- AUTHORITY STATS --- */
.section-counters {
    background: #080808; /* Slightly lighter than pure black */
    padding: 80px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.counter-box {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
}

/* The Icon */
.counter-icon {
    font-size: 24px;
    color: var(--text-gray);
    margin-bottom: 15px;
    opacity: 0.5;
}

/* The Big Number */
.counter {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
    
    /* Gradient Text Effect */
    background: linear-gradient(to bottom, #ffffff 30%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    font-family: var(--font-main);
}

.counter-plus {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 300;
    vertical-align: top;
    margin-left: 5px;
}

/* The Label */
.counter-box h4 {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    font-weight: 500;
}



/* --- PREMIUM LIGHTBOX --- */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999; /* On top of EVERYTHING */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95); /* Deep black background */
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px; /* Prevents it from getting too huge */
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes zoomIn {
    from {transform:translateY(-50%) scale(0.9); opacity: 0;}
    to {transform:translateY(-50%) scale(1); opacity: 1;}
}


/* --- PREMIUM CONTACT SECTION --- */
.section-contact {
    background: #050505;
    padding-top: 100px;
    padding-bottom: 50px;
    position: relative;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 400px;
    line-height: 1.6;
}

/* Contact Details */
.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #fff;
}

.detail-item i {
    color: var(--primary);
    font-size: 18px;
}

.detail-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.detail-item a:hover {
    color: var(--primary);
}

/* Big Social Icons */
.social-links-big {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.4s ease;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(66, 134, 123, 0.3);
}

/* --- THE FORM (Minimalist Style) --- */
.contact-form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 35px;
}

.form-group label {
    display: block;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* The Input Line */
.form-control-line {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #333; /* Dark gray line */
    color: #fff;
    font-size: 1.2rem;
    padding: 10px 0;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-control-line:focus {
    outline: none;
    border-bottom-color: var(--primary); /* Teal when typing */
}

/* Dropdown specific fix */
select.form-control-line {
    cursor: pointer;
}
select.form-control-line option {
    background: #111; /* Dark dropdown menu */
    color: #fff;
    padding: 10px;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    color: #555;
    font-size: 0.9rem;
}

.footer-credit {
    font-family: monospace; /* Techy look */
}

/* --- INSIGHTS SECTION --- */
.section-insights {
    background: var(--bg-dark);
    padding-bottom: 80px;
}

.insight-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.insight-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-5px);
    text-decoration: none;
}

.insight-date {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.insight-card h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.insight-card p {
    color: var(--text-gray);
    font-size: 0.98rem;
    margin-bottom: 25px;
}

.read-more {
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-card:hover .read-more {
    color: var(--primary);
}



/* The Close Button */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary); /* Teal hover */
    text-decoration: none;
    cursor: pointer;
}

/* Caption Text */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-main);
    font-size: 16px;
    letter-spacing: 1px;
}


/* ==============================================
   WEBSITE AUDITOR UI
=============================================== */
.auditor-section {
    background-color: #050505; /* Deep dark background */
    padding: 100px 0;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
}

.auditor-form .input-group {
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.auditor-form input {
    height: 65px;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding-left: 25px;
    font-size: 1.1rem;
    border-radius: 8px 0 0 8px;
}

.auditor-form input:focus {
    border-color: #42867b;
    box-shadow: none;
    outline: none;
}

.scanner-btn {
    height: 65px;
    padding: 0 35px;
    background-color: #42867b;
    color: #fff;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 8px 8px 0 !important;
    transition: 0.3s ease;
}

.scanner-btn:hover {
    background-color: #32675e;
}

/* --- Results Card & Blur Effect --- */
.audit-card {
    background: #0f0f0f;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.score-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #42867b;
    display: block;
    margin-top: 10px;
}

.locked-report {
    position: relative;
    margin-top: 40px;
    padding: 30px;
    border-radius: 8px;
    background: #161616;
    overflow: hidden;
    min-height: 380px; /* <--- THIS IS THE  FIX */
}

/* The Fake Data behind the blur */
.fake-metrics {
    filter: blur(6px); /* This creates the locked effect */
    opacity: 0.4;
    user-select: none;
    font-size: 1.1rem;
    line-height: 2.5;
}

/* The Lead Capture Box */
.blur-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    z-index: 10;
    background: rgba(15, 15, 15, 0.9);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.blur-overlay h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.blur-overlay .form-control {
    background: #000;
    border: 1px solid #444;
    color: #fff;
    height: 55px;
    margin-bottom: 15px;
}

.blur-overlay .btn-secondary {
    background: #fff;
    color: #000;
    height: 55px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.blur-overlay .btn-secondary:hover {
    background: #42867b;
    color: #fff;
}


/* --- GLOBAL FIX: PREVENT HORIZONTAL SCROLLING --- */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

/* --- MOBILE FIXES --- */
/* --- TABLET & MOBILE RESPONSIVE FIXES --- */

/* 1. Stop Navbar Links from wrapping on Tablets (Keeps navbar slim) */
@media (min-width: 768px) and (max-width: 1050px) {
    .navbar-nav > li > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 12px;
    }
    .btn-nav-cta {
        padding: 6px 15px !important;
        margin-left: 5px;
    }
}


/* --- MOBILE RESPONSIVENESS FOR AUDITOR --- */
@media (max-width: 768px) {
    .audit-card {
        padding: 20px 15px;
    }
    
    .score-number {
        font-size: 2.8rem; /* Scales the giant score down slightly */
    }

    .locked-report {
        padding: 20px 10px;
        min-height: 420px; /* Gives the text a little more vertical breathing room */
    }

    .blur-overlay {
        width: 95%; /* Lets the box stretch wider on small screens */
        padding: 25px 15px; /* Removes the heavy desktop padding */
    }
}

/* --- TABLET & MOBILE RESPONSIVE FIXES --- */

/* 1. iPad Pro & Laptops (Max 1024px) - Kills the giant black void */
@media (max-width: 1024px) {
    .hero {
        padding-top: 140px; 
        padding-bottom: 60px;
        height: auto !important;
        min-height: auto !important; /* KILLS THE MASSIVE EMPTY SPACE */
        align-items: center;
    }
    .hero h1 {
        font-size: clamp(2.8rem, 5vw, 4rem); 
    }
}

/* 2. iPad Air & Phones (Max 991px) - Centers stacked content perfectly */
@media (max-width: 991px) {
    .hero-text {
        text-align: center; /* Centers the text block cleanly */
    }
    
    .hero-quote {
        margin: 30px auto; 
        text-align: left;
    }
    
    .hero-btns {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .btn-outline { 
        margin-left: 0; 
    } 
    
    .hero-audit-link {
        text-align: center;
    }

    .social-hero {
        text-align: center;
        margin-top: 30px;
    }

    .hero-image-wrapper {
        margin-top: 50px;
        display: block !important;
    }
}


/* --- MOBILE HERO IMAGE FIX --- */
@media (max-width: 768px) {
    /* 1. Force the wrapper to show and center it */
    .hero-image-wrapper {
        display: block !important;
        text-align: center;
        margin-top: 40px; /* Adds space between text and image */
        width: 100%;
        height: auto;
    }

    /* 2. Resize the image for mobile */
    .hero-img {
        max-height: 400px; /* Smaller height for phones */
        width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: inline-block; /* Helps with centering */
    }

    /* 3. Adjust the "Teal Glow" so it fits nicely behind you */
    .hero-image-wrapper::before {
        width: 250px;
        height: 250px;
        filter: blur(50px); /* Slightly less blur on mobile */
    }

    /* --- MOBILE HERO FIX (Stop text from hiding behind navbar) --- */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px; /* Pushes content down below the fixed navbar */
        height: auto; /* Lets the section stretch naturally on tall phones */
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 5rem; /* Slightly scales down the massive text so it fits beautifully */
        margin-top: 10px;
    }
    
    .hero-text {
        text-align: center; /* Centers the text on mobile for a cleaner look */
    }
    
    /* Centers the quote box on mobile */
    .hero-quote {
        margin: 30px auto; 
        text-align: left;
    }
}
}


/* --- MOBILE NAV/HAMBURGER MENU FIX --- */

/* 1. Make the hamburger icon lines visible (Teal color) */
.navbar-toggle .icon-bar {
    background-color: var(--primary);
    height: 3px; 
}

/* Add a subtle border to the button itself */
.navbar-toggle {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hover state for the button */
.navbar-toggle:hover, .navbar-toggle:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* 2. Make the mobile dropdown menu look premium */
@media (max-width: 767px) {
    .navbar-collapse {
        background: #080808; /* Deep dark background for the open menu */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 10px;
        padding-bottom: 20px;
    }
    
    .navbar-nav > li > a {
        padding: 12px 20px; /* Spaces out the mobile links */
    }
}


/* --- FIX: BULLETPROOF SOCIAL ICONS --- */
.social-hero {
    overflow: visible !important;
    margin-top: 35px;
}

.social-hero a {
    display: inline-block !important;
    overflow: visible !important;
    height: auto !important;
}

.social-hero a i {
    display: inline-block !important;
    overflow: visible !important;
    padding-bottom: 8px !important;
    line-height: normal !important; 
    vertical-align: middle !important;
}


/* --- MOBILE RESPONSIVENESS FIXES --- */
@media (max-width: 767px) {
    /* Fluid typography: Dynamically scales to fit ANY phone screen */
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem) !important; 
        line-height: 1.2 !important;
        padding-right: 15px; 
    }
    
    /* Stacks the hero buttons neatly on top of each other */
    .hero-btns {
        display: flex !important;
        flex-direction: column;
        gap: 15px; /* Adds perfect breathing room between them */
    }
    
    .hero-btns .btn {
        width: 100%; /* Makes the buttons full-width for easy thumb-tapping */
        margin: 0 !important;
    }
    
    /* Double-lock to prevent horizontal wobbling */
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }
}