/* =========================================
   1. IMPORTS & FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Inter:wght@400;500;600&family=Outfit:wght@500;700;800&display=swap');

/* =========================================
   2. GLOBAL VARIABLES (BRAND THEME)
   ========================================= */
:root {
    /* Core Brand Colors */
    --primary: #134aa8;       /* Your Brand Blue */
    --primary-dark: #0f3c8a;  /* Darker Blue for hovers */
    --primary-deep: #0f172a;  /* Navy for Footer/Dark Text */
    
    --accent: #ff6b00;        /* Your Brand Orange (CTA) */
    --accent-hover: #e65c00;
    
    --success: #10b981;       /* Success Green */
    --success-soft: #ecfdf5;
    
    /* Backgrounds */
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    
    /* UI Elements */
    --radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    /* CUSTOM FOOTER COLORS */
    --footer-bg: #0f172a;
    --footer-text: #f1f5f9;
    --footer-link: #38bdf8; /* Sky blue accent */
    --footer-link-hover: #FF6B00; /* Orange accent */
    --footer-social-icon: #f1f5f9;
    --footer-social-hover: #38bdf8; /* Sky blue accent */
}

/* =========================================
   3. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body, html {
    height: 100vh;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-body);
    color: #333333;
    overflow-y: auto;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif; 
    color: var(--primary-deep); 
    letter-spacing: -0.02em;
}

/* Cursive Font Utility */
.caveat-font {
    font-family: "Caveat", "Segoe Script", cursive;
    font-weight: 700;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}


/* =========================================
   4. HEADER & NAVIGATION
   ========================================= */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(19, 74, 168, 0.95); 
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-logo {
    height: 50px;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

.brand-name {
    color: white;
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* --- New Styles for Active Link --- */
.nav-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
/* --- New Styles for Hamburger --- */
.hamburger {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above navigation on mobile */
    transition: color 0.3s;
}

/* =========================================
   5. UNIFIED HERO SECTIONS & CTA BUTTONS
   ========================================= */

/* Global CTA Button Style */
.cta-btn {
    background: var(--accent); 
    color: white; 
    border: none;
    padding: 16px 35px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 1rem;
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    cursor: pointer; 
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}
.cta-btn:hover { 
    background: var(--accent-hover); 
    transform: translateY(-2px); 
}

/* Secondary Button Style (used for 'Learn Our Story') */
.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
    padding: 14px 30px;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(19, 74, 168, 0.25);
}

/* Home Page Hero Section */
.home {
    background: linear-gradient(135deg, var(--bg-body) 0%, #ffffff 100%);
    padding: 80px 0;
}
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 24px;
}
.hero-image-wrapper {
    flex-shrink: 0;
    max-width: 450px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
}

/* Apply shadow to the logo on the Home Hero */
.home-logo-shadow {
    filter: drop-shadow(0 0 4px rgba(19, 74, 168, 0.4)) 
            drop-shadow(0 0 8px rgba(19, 74, 168, 0.3)) 
            drop-shadow(0 4px 16px rgba(30, 30, 30, 0.5));
    transition: filter 0.3s ease;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}
.hero-text-content {
    flex-grow: 1;
}
.hero-text-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}
.hero-text-content p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #475569;
}
.hero-text-content .cta-btn { margin-top: 20px; }


/* Products/Portfolio/About Hero Style */
.portfolio-hero, .product-hero, .about-hero {
    background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
    padding: 80px 20px 60px 20px; /* Adjusted padding for about section */
    text-align: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* Removed margin-bottom here */
}
.portfolio-hero .hero-tag, .about-hero .hero-tag { /* Added .about-hero */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}
.portfolio-hero h1, .product-hero h1, .about-hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    font-weight: 800;
}
.portfolio-hero p, .product-hero p, .about-hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto;
}


/* =========================================
   6. MAIN PAGE SECTIONS (Shared)
   ========================================= */

/* Services Section (Home Page) */
.services-section {
    padding: 60px 0;
    background: #f1f5f9;
    border-top: 1px solid var(--border);
}
.section-heading {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px; /* Reduced space before intro text */
    color: var(--primary-dark);
}
/* Styling for the intro paragraph under Services heading */
.service-intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto; /* Increased space after intro text */
    font-size: 1.05rem;
    color: #64748b;
}

/* New Grid Layouts for Services Section */
.services-modular-row {
    display: grid;
    grid-template-columns: 1fr; /* Single column for the modular card */
    gap: 30px;
    margin-bottom: 40px;
}
.services-pillars-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3 columns for core services */
    gap: 30px;
}
/* Style for the prominent Modular Card */
.service-modular-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none; /* Override standard border */
    color: white;
    padding: 40px;
    box-shadow: 0 10px 30px -5px rgba(19, 74, 168, 0.4);
    border-radius: var(--radius);
    text-align: center;
}
.service-modular-card h3 {
    color: white;
    font-size: 1.7rem;
    margin-bottom: 15px;
}
.service-modular-card p {
    color: #f1f5f9; /* Light text for readability */
    font-size: 1.1rem;
    margin-bottom: 25px;
}
.service-modular-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px -5px rgba(19, 74, 168, 0.5);
}

/* Style for the link inside the modular card */
.btn-modular-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    background: white;
}
.btn-modular-link i {
    font-size: 1em;
}
.btn-modular-link:hover {
    background: var(--accent);
    color: white;
}

/* Adjust standard service card h3 color for the pillars */
.service-card h3 {
    color: var(--primary-dark); /* Use darker blue for pillar headings */
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.services {
    /* Generic container class. Note that services-modular-row and services-pillars-row provide the main layout */
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
}
.service-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
    flex: 1 1 300px;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.service-card p {
    color: #475569;
}


/* About Section (Home Page/About Page) - UPDATED STYLES */
.about-section {
    padding: 80px 0; /* Increased padding */
    background: var(--bg-card); /* White background for separation */
}

.about-flex {
    display: flex;
    gap: 60px; /* Increased gap */
    align-items: center; /* Center vertically */
}

/* --- Founder Image Styling --- */
.founder-image {
    flex-shrink: 0;
    width: 350px; /* Slightly larger image */
    max-width: 100%;
    /* New styling for a modern framed look */
    border-radius: 24px; 
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.2);
    border: 8px solid white; /* Thick white border for frame effect */
    background: var(--primary-deep); /* Background color if image doesn't fill */
}

.founder-image img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.founder-image:hover img {
    transform: scale(1.05); /* subtle zoom on hover */
}

.about-wrapper {
    flex-grow: 1;
    padding: 20px 0;
}

.about-wrapper .about-title { /* NEW STYLE for the new h3/title */
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-wrapper p {
    margin-bottom: 20px; /* Increased margin for readability */
    color: #475569;
    font-size: 1.1rem; /* Slightly larger text */
    line-height: 1.7;
}

/* =========================================
   6.5. VALUE & SCRIPTURE SECTION (Home Page)
   ========================================= */

.value-scripture-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-body) 0%, #ffffff 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.scripture-split {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.scripture-box {
    flex: 1;
    max-width: 50%;
    padding: 30px;
    background: #f0f9ff; /* Very soft blue background */
    border: 1px solid #e0f2fe;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.scripture-text {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.scripture-reference {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 10px;
    display: block;
}

.value-prop-box {
    flex: 1;
    max-width: 50%;
    padding: 20px 0;
}

.value-prop-box h2 {
    font-size: 2.5rem;
    color: var(--primary-deep);
    margin-bottom: 20px;
}

.value-prop-box p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* =========================================
   7. PORTFOLIO GRID STYLES
   ========================================= */
.projects-grid {
    display: grid;
    /* Reduced minimum width to 250px for smaller cards */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 20px 24px 60px;
    /* Constrained max-width to favor two columns and center the block */
    max-width: 540px; 
    margin: 0 auto;
}

.project-card-v2 {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.project-image-v2 {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3; 
}

.project-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card-v2:hover .project-image-v2 img {
    transform: scale(1.05);
}

.view-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(19, 74, 168, 0.85);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.project-card-v2:hover .view-overlay {
    opacity: 1;
}

.project-details-v2 {
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-details-v2 h3 {
    font-size: 1.4rem;
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.project-details-v2 p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-dev { background: #e0f2fe; color: var(--primary); }
.tag-seo { background: #fffbeb; color: #f59e0b; }
.tag-host { background: #f0fdf4; color: var(--success); }
.tag-design { background: #fef2f2; color: #ef4444; }


.project-meta {
    border-top: 1px dashed var(--border);
    padding-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.meta-item {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Portfolio CTA Section */
.portfolio-cta {
    padding: 60px 0; 
    background: var(--primary);
    color: white;
    text-align: center; 
    margin-top: 40px; /* Add some margin above it to ensure separation from the grid */
}
.portfolio-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.portfolio-cta p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 30px; /* Adds space between text and button */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   8. CONNECT PAGE SPECIFIC STYLES
   ========================================= */
.connect-container {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: radial-gradient(circle at top, #f0f9ff 0%, #f8fafc 100%);
}

.connect-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    padding: 20px 30px;
    box-shadow: 0 20px 40px -5px rgba(19, 74, 168, 0.15), 0 10px 10px -5px rgba(0,0,0,0.04);
    border: 1px solid #eef2f6;
    text-align: center;
}

.profile-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0px 50px 0px;
}

.profile-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.profile-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 20px;
}

/*Social Medial Icon bar*/
/* 1. Container - Centers the blocks horizontally */
.social-bar-horizontal {
  display: flex;
  justify-content: center; /* Centers the row */
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  gap: 15px;
}

/* 2. The Block Styling */
.social-block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;       /* Slightly wider for horizontal usually looks better */
  height: 60px;      
  color: white;      
  font-size: 24px;   
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 3. Brand Colors (Same as before) */
.facebook {
  background-color: #1877F2; 
}

.linkedin {
  background-color: #0077b5; 
}

.instagram {
  background: #d6249f;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.blogger {
  background-color: #ff5722; 
}

.google {
  background-color: #4285F4; 
}

/* 4. Hover Effects - The "Lift" */
.social-block:hover {
  transform: translateY(-5px); /* Moves the block up slightly */
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Adds a shadow below */
  z-index: 10; /* Ensures the shadow appears over neighbors */
}

.links-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.link-btn i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: 0.3s;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(19, 74, 168, 0.15);
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.link-btn:hover i {
    color: #fff;
}

.link-btn.feedback {
    border: 1px dashed var(--accent);
    color: var(--accent);
}
.link-btn.feedback i { color: var(--accent); }
.link-btn.feedback:hover {
    background: var(--accent);
    color: #fff;
    border-style: solid;
}
.link-btn.feedback:hover i { color: #fff; }

.affiliate-header {
    color: var(--success)
}

.link-btn.affiliate {
    border: 1px solid var(--success);
    color: var(--success);
    background: var(--success-soft);
}
.link-btn.affiliate i { color: var(--success); }
.link-btn.affiliate:hover {
    background: var(--success);
    color: #fff;
    border-style: solid;
}
.link-btn.affiliate:hover i { color: #fff; }

.qr-box {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    display: inline-block;
}
.qr-box img {
    width: 120px;
    height: auto;
    display: block;
}

.qr-section p {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}


/* =========================================
   9. PRODUCT PAGE COMPONENTS (Pricing Grid)
   ========================================= */
.section-split {
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin: 60px 0 30px;
}

.icon-box {
    width: 50px; 
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(19, 74, 168, 0.2);
    flex-shrink: 0;
}

.section-text h2 { color: var(--primary); font-size: 1.8rem; margin-bottom: 4px; }
.section-text p { color: #64748b; font-size: 0.95rem; margin: 0; }
.section-line { height: 2px; flex-grow: 1; background: #e2e8f0; margin-left: 20px; border-radius: 2px; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: flex; 
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    padding-right: 40px;
    font-weight: 700;
    color: var(--primary-deep);
}

.card-desc {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 20px;
    flex-grow: 1;
}

.price-display {
    color: var(--accent);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: block;
}
.price-display span {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #94a3b8;
}

.checkbox-ui {
    position: absolute; top: 24px; right: 24px;
    width: 28px; height: 28px;
    border: 2px solid #e2e8f0; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
    color: transparent; transition: 0.2s;
}

.card.selected {
    border: 2px solid var(--success);
    background: var(--success-soft);
    box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
}

.card.selected .checkbox-ui {
    background: var(--success);
    border-color: var(--success);
    color: white;
    transform: scale(1.1);
}

.card-trigger {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 10;
}

.features {
    list-style: none; margin-top: auto; padding-top: 15px; border-top: 1px dashed #e2e8f0;
}
.features li {
    margin-bottom: 8px; font-size: 0.9rem; color: #475569; font-weight: 500;
    display: flex; gap: 10px; align-items: center;
}
.features li i {
    color: var(--success);
    font-size: 1rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px;
    border-radius: 50%;
}

.domain-tabs {
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 20;
}
.tab {
    flex: 1; text-align: center; padding: 10px;
    font-size: 0.9rem; cursor: pointer;
    border-radius: 8px; color: #64748b; font-weight: 600;
    transition: 0.2s;
}
.tab:hover { color: var(--primary); background: #e2e8f0; }
.tab.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.info-banner {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: var(--radius);
    padding: 25px;
    margin: 40px 0 30px;
    display: flex; gap: 20px; align-items: center;
}
.info-banner i { font-size: 1.5rem; color: var(--primary); }
.info-banner h4 { margin-bottom: 4px; color: var(--primary-deep); font-size: 1.1rem; font-weight: 700; }

.qty-wrapper {
    margin-top: 20px; display: flex; justify-content: space-between; align-items: center;
    background: #fff; padding: 6px 10px; border-radius: 12px; border: 1px solid #e2e8f0;
    position: relative; z-index: 20;
}
.qty-btn {
    width: 36px; height: 36px; border: none; background: #f8fafc; color: var(--primary);
    border-radius: 8px; cursor: pointer; transition: 0.2s; font-weight: 700; font-size: 1.1rem;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-val { font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 1.1rem; }

.tooltip-container { position: relative; display: inline-block; cursor: help; }
.tooltip-text {
    visibility: hidden; width: 220px; background-color: var(--primary-deep); color: #fff;
    text-align: center; border-radius: 8px; padding: 10px; position: absolute; z-index: 100;
    bottom: 135%; left: 50%; margin-left: -110px; opacity: 0;
    transition: opacity 0.2s, transform 0.2s; transform: translateY(5px);
    font-size: 0.75rem; font-weight: 500; line-height: 1.4; pointer-events: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.tooltip-text::after {
    content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px;
    border-width: 6px; border-style: solid; border-color: var(--primary-deep) transparent transparent transparent;
}
.tooltip-container:hover .tooltip-text { visibility: visible; opacity: 1; transform: translateY(0); }


/* =========================================
   CHECKOUT MODAL FORM STYLES
   ========================================= */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for desktop */
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 20px;
    width: 100%; /* Ensure it takes full width of its grid column */
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-deep);
    margin-bottom: 8px;
}

.input-field {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    color: #333333;
    background: var(--bg-body); /* Light gray background */
    transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
    -webkit-appearance: none; /* For iOS Safari */
    -moz-appearance: none;
    appearance: none;
}

.input-field:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(19, 74, 168, 0.1);
}

.input-field::placeholder {
    color: #94a3b8;
    font-style: italic;
}

/* Textarea specific style */
textarea.input-field {
    resize: vertical;
    min-height: 100px;
}

/* Summary Box Styling */
.summary-box {
    margin-bottom: 30px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.summary-row:last-of-type {
    border-bottom: none;
}

.summary-row span:first-child {
    font-weight: 500;
    color: var(--primary-deep);
}
.summary-row span:last-child {
    font-weight: 600;
    color: #475569;
}


/* Close Modal Button Styling */
.close-modal {
    position: absolute;
    top: 25px; /* Adjust distance from top */
    right: 25px; /* Adjust distance from right */
    color: var(--accent); /* Use your brand orange/red for high visibility */
    font-size: 2rem; /* Make it large enough to click */
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1; /* Ensure the X is vertically centered */
    z-index: 10; /* Ensure it's above other modal content */
}

.close-modal:hover {
    color: var(--primary-dark); /* Change color on hover */
    transform: rotate(90deg); /* Add a small rotation effect */
}


/* Responsive adjustment for the form */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr; /* Single column for small screens */
    }
}


/* =========================================
   10. CHECKOUT & FOOTER BAR (PRODUCTS PAGE ONLY)
   ========================================= */

.sticky-footer-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--footer-bg); /* Use specific footer BG */
    border-top: 1px solid #e2e8f0;
    padding: 0; /* Padding will be managed by inner containers */
    z-index: 900;
    backdrop-filter: blur(10px);
    margin-top: 25px;
}

.totals-checkout-row {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 15px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separator */
}

.copyright-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    text-align: center;
}

.copyright-social-row .footer-left { 
    /* This element holds the copyright and links */
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px 15px; 
    align-items: center; 
    justify-content: center; 
    color: var(--footer-text); /* Soft off-white */
    font-size: 0.85rem;
    order: 1; /* Set order for desktop/large screen */
}
.copyright-social-row .social-media {
    order: 2; /* Set order for desktop/large screen */
    margin-bottom: 0;
    padding-right: 20px;
}

/* Totals styling remains the same but moved here */
.totals-block { display: flex; gap: 40px; }
.total-unit label { 
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; 
    color: #94a3b8; letter-spacing: 0.5px; display: block; margin-bottom: 2px; 
}
.total-unit .amt { font-size: 1.6rem; font-weight: 800; color: var(--accent); font-family: 'Outfit', sans-serif; }
.total-unit .amt.mo { color: var(--success); }

.btn-main {
    background: var(--primary); color: white; border: none;
    padding: 16px 40px; border-radius: 50px; font-weight: 600; font-size: 1rem;
    display: flex; align-items: center; gap: 12px; cursor: pointer; transition: 0.3s;
    box-shadow: 0 4px 15px rgba(19, 74, 168, 0.25);
}
.btn-main:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

/* Modal Styles (kept same) */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6); z-index: 2000; overflow-y: auto; padding: 20px;
    backdrop-filter: blur(8px);
}
.modal-box {
    background: #fff; max-width: 800px; margin: 40px auto; border-radius: 20px;
    padding: 40px; position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* =========================================
   11. FOOTER (Home/Portfolio/Connect)
   ========================================= */
footer:not(.sticky-footer-bar) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1.5rem 2rem; /* Adjusted padding to match request */
    background-color: var(--footer-bg); /* Deep navy */
    color: var(--footer-text); /* Soft off-white */
    font-size: 0.95rem;
    margin-top: 25px;
}

footer:not(.sticky-footer-bar) .container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    width: 100%;
}

footer:not(.sticky-footer-bar) .footer-left { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    align-items: center; 
    font-size: 0.95rem;
}

/* Link colors for global footer */
.privacy-link {
    color: var(--footer-link); /* Sky blue accent */
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--footer-link-hover); /* Orange accent */
}

/* Social media styles for global footer */
.social-media a {
    color: var(--footer-social-icon); /* Soft off-white */
    margin-left: 1rem;
    font-size: 1.75rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: var(--accent);
}


/* =========================================
   12. UTILITIES & ANIMATIONS
   ========================================= */

/* Fix: Make WhatsApp float higher to clear the standard footer */
.whatsapp-float {
    position: fixed; 
    bottom: 30px; 
    right: 20px; 
    z-index: 1000; 
    width: 60px; height: 60px; background-color: #25d366;
    border-radius: 50%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float img {
    width: 30px;
}
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); }


/* =========================================
   13. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 768px) {
    
    /* --- Mobile Menu Styles (Hamburger) --- */
    .sticky-header {
        flex-direction: row; /* Keep logo and menu on one row */
        justify-content: space-between;
        padding: 0.5rem 1rem; 
    }

    .hamburger {
        display: block; /* Show hamburger icon on mobile */
    }
    
    .main-nav {
        /* Default state on mobile: hidden, full screen overlay */
        position: fixed; /* Use fixed to cover the entire viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-deep); /* Dark background for menu */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        transform: translateX(100%); /* Start off-screen to the right */
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .main-nav.nav-open {
        transform: translateX(0); /* Slide into view */
    }

    .main-nav .nav-btn {
        font-size: 1.5rem;
        padding: 0.75rem 2rem;
        width: 80%; /* Make buttons wider for touch targets */
        text-align: center;
        border: 2px solid rgba(255,255,255,0.2);
    }
    
    /* --- Existing Mobile Styles --- */
    
    .hero-split { flex-direction: column; text-align: center; }
    .hero-image-wrapper { max-width: 90%; margin: 0 auto 20px; }
    .hero-text-content h1 { font-size: 2.2rem; }
    
    /* About Page Mobile Adjustment */
    .about-flex { 
        flex-direction: column; 
        align-items: center;
        gap: 30px; 
    }
    .founder-image { 
        order: 1; 
        width: 100%; 
        max-width: 300px; 
    }
    .about-wrapper {
        order: 2;
    }
    .about-wrapper .about-title {
        font-size: 1.8rem;
    }

    /* Scripture Section Mobile Adjustment */
    .scripture-split {
        flex-direction: column;
        gap: 40px;
    }
    .scripture-box, .value-prop-box {
        max-width: 100%;
        text-align: center;
    }
    .value-prop-box a {
        display: inline-flex;
    }

    /* Service Section Mobile Adjustment (Pillars Stack) */
    .services-pillars-row {
        grid-template-columns: 1fr; 
    }

    /* Sticky Footer Adjustments (Products Page) */
    .sticky-footer-bar {
        padding: 0; 
    }
    .totals-checkout-row { 
        flex-direction: column; 
        gap: 15px; 
        padding: 15px 24px;
    }
    .totals-block { 
        width: 100%; 
        justify-content: space-between;
        gap: 20px;
    }
    .total-unit {
        flex-grow: 1;
        text-align: center;
    }
    .total-unit label {
        text-align: center;
    }
    .btn-main { 
        width: 100%; 
        justify-content: center; 
    }
    .copyright-social-row { 
        padding: 10px 24px 20px 24px; 
        flex-direction: column; 
    }
    .social-media {
        order: 1; 
        margin-bottom: 10px;
        padding-right: 0; 
        margin-bottom: 10px;
    }
    .social-media a {
        font-size: 1.5rem; 
        margin: 0 0.5rem;
    }
    .copyright-social-row .footer-left {
        order: 2;
        font-size: 0.8rem;
        /* FIX: Center content horizontally on mobile */
        justify-content: center;
        text-align: center;
    }
    
    /* General Mobile Fixes */
    /* The main-nav definitions above override the old desktop styles */
    
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    
    footer:not(.sticky-footer-bar) .container { 
        flex-direction: column; 
        text-align: center; 
        gap: 15px; 
    }
    /* Ensure social media size adjustment is applied globally */
    footer:not(.sticky-footer-bar) .social-media {
        margin-left: 0;
        margin-top: 10px;
    }
    footer:not(.sticky-footer-bar) .social-media a {
        font-size: 1.5rem; 
        margin: 0 0.5rem;
    }
    footer:not(.sticky-footer-bar) .footer-left {
        justify-content: center;
        order: 2;
    }
}

/* =========================================
   14. GOOGLE REVIEWS SECTION (NEW)
   ========================================= */

.reviews-section {
    padding: 80px 0;
    background: #ffffff; /* White background to contrast with the gray Services section */
    border-top: 1px solid var(--border);
}

/* Grid Layout for Reviews */
#reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Review Card Styling - Matches your .card style */
.review-card {
    background: var(--bg-body); /* Slight offset from white background */
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.review-card .author-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-deep);
    margin-bottom: 5px;
}

.review-card .rating {
    color: var(--accent); /* Uses your Brand Orange */
    font-size: 1.2rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* Loading State Text */
#reviews-container p {
    text-align: center;
    color: #64748b;
    width: 100%;
    grid-column: 1 / -1;
}