/* ========================================
   ClueCheck Mystery Shopping - Main Styles
   Brand Colors: #F99B39 (Primary Orange), #1E3A5F (Secondary Blue)
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E8841F;
    --secondary-color: #1E3A5F;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --transition: all 0.3s ease;
    
    /* Responsive Typography System - Desktop First */
    --font-h1: 3rem;
    --font-h2: 2rem;
    --font-h3: 1.5rem;
    --font-h4: 1.25rem;
    --font-body: 1rem;
    --font-small: 0.9rem;
    --line-height-heading: 1.3;
    --line-height-body: 1.6;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* Global Typography Scale */
h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-height-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: var(--font-h1);
    font-weight: 800;
}

h2 {
    font-size: var(--font-h2);
    font-weight: 700;
}

h3 {
    font-size: var(--font-h3);
    font-weight: 600;
}

h4 {
    font-size: var(--font-h4);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: var(--line-height-body);
}

/* Tablet Breakpoint (768px) */
@media (max-width: 768px) {
    :root {
        --font-h1: 2rem;
        --font-h2: 1.5rem;
        --font-h3: 1.25rem;
        --font-h4: 1.1rem;
        --font-body: 0.95rem;
        --font-small: 0.85rem;
    }
}

/* Mobile Breakpoint (425px) */
@media (max-width: 425px) {
    :root {
        --font-h1: 1.8rem;
        --font-h2: 1.3rem;
        --font-h3: 1.1rem;
        --font-h4: 1rem;
        --font-body: 0.95rem;
        --font-small: 0.8rem;
    }
    
    h1, h2, h3 {
        line-height: 1.25;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Global helpers */
body.menu-open { overflow: hidden; }
#navOverlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; display: none; }
body.menu-open #navOverlay { display: block; }

/* Quick Links Header */
/* Quick Links: ensure phone/email icons align properly, especially on mobile */
.contact-info a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 640px) {
  /* Make top bar compact on mobile */
  .quick-links { padding: 2px 0; font-size: 0.8rem; }
  .quick-links-content { gap: 4px; }
  .contact-info { display: flex; flex-direction: row; align-items: center; gap: 10px; line-height: 1.2; flex-wrap: wrap; justify-content: center; }
  .portal-links { display: flex; flex-direction: row; gap: 10px; }
  .quick-links .contact-info a, .quick-links .portal-links a { margin-right: 0; line-height: 1.2; padding: 2px 4px; }
  /* Compress main header height */
  .nav-content { min-height: 56px; padding: 8px 0; }
  .logo img { height: 42px; }
}
.quick-links {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 2px 0;
    font-size: 0.85rem;
}

.quick-links-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.contact-info a,
.portal-links a {
    color: var(--white);
    margin-right: 8px;
    transition: var(--transition);
}

.contact-info a:hover,
.portal-links a:hover {
    color: var(--primary-color);
}

.portal-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-switcher select {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.language-switcher select option {
    background-color: var(--secondary-color);
}

/* Main Navigation */
.main-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1200; /* above overlay */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    min-height: 64px;
}

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    align-items: flex-start;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    color: var(--secondary-color);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    justify-content: flex-end;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu .cart-icon {
    font-size: 1.5rem;
    padding: 8px 12px;
    transition: var(--transition);
    position: relative;
}

.nav-menu .cart-icon:hover {
    transform: scale(1.2);
}

.nav-menu .cart-icon::after {
    display: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 10px 0;
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 0;
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown a::after {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mobile-menu-toggle:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Mobile Menu Toggle Active State */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Panel */
@media (max-width: 960px) {
  .mobile-menu-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh; /* better mobile vh */
    max-height: 100vh;
    width: min(85vw, 360px);
    background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    padding: 12px 16px 16px; /* start list near top, reduce empty space */
    display: flex;
    flex-direction: column;
    gap: 12px; /* tighter gap */
    transform: translateX(100%);
    transition: transform .3s ease, visibility .3s ease;
    visibility: hidden;
    z-index: 1201; /* ensure above overlay */
    overflow-y: auto; /* scroll when needed */
    -webkit-overflow-scrolling: touch; /* smooth scroll */
  }
  .nav-menu.active { transform: translateX(0); visibility: visible; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 10px 2px; line-height: 1.2; font-size: 0.95rem; }
  .dropdown { position: static; box-shadow: none; padding: 0; opacity: 0; visibility: hidden; transform: none; }
  .dropdown a { padding: 10px 12px; font-size: 0.95rem; }
  .has-dropdown.active .dropdown { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
}

/* Navigation Overlay */
#navOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero {
    background: #2c4a6b;
    color: var(--white);
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Hero Titles */
.hero-titles {
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: var(--font-h1);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: var(--line-height-heading);
}

.hero-subtitle {
    font-size: var(--font-h2);
    font-weight: 600;
    color: white;
    line-height: var(--line-height-heading);
}

/* Results Guarantee Box */
.results-guarantee-box {
    background: rgba(232, 132, 31, 0.95);
    padding: 25px 35px;
    border-radius: 15px;
    margin: 0 0 30px 0;
    box-shadow: 0 10px 40px rgba(232, 132, 31, 0.4);
    border: 3px solid white;
}

.guarantee-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
    text-align: center;
    line-height: 1.6;
}

.guarantee-sub {
    font-size: 1.1rem;
    font-weight: 600;
}

.guarantee-link {
    text-align: center;
    margin: 0;
}

.guarantee-link a {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Section Headers - Global */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: var(--font-h2);
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-titles {
        margin-bottom: 30px;
    }
    
    .guarantee-main {
        font-size: 1rem;
    }
    
    .guarantee-sub {
        font-size: 0.95rem;
    }
    
    .guarantee-link a {
        font-size: 0.85rem;
    }
    
    .results-guarantee-box {
        padding: 20px 25px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 425px) {
    .hero {
        padding: 40px 0 60px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .hero-titles {
        margin-bottom: 25px;
    }
    
    .guarantee-main {
        font-size: 0.95rem;
    }
    
    .guarantee-sub {
        font-size: 0.9rem;
    }
    
    .results-guarantee-box {
        padding: 18px 20px;
        margin-bottom: 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #e88a28;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 155, 57, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Responsive Button Sizing */
@media (max-width: 768px) {
    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

@media (max-width: 425px) {
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

.btn-white {
    background: white;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.btn-outline-white {
    background: transparent;
    color: white;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid white;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
}

/* Guarantee Banner Section */
.guarantee-banner {
    background: linear-gradient(135deg, #E8841F 0%, #f0923d 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.guarantee-banner-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.guarantee-banner-title {
    font-size: 2.8rem;
    color: white;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.2;
}

.free-word {
    background: white;
    color: #E8841F;
    padding: 5px 15px;
    border-radius: 8px;
    white-space: nowrap;
}

.guarantee-banner-description {
    font-size: 1.3rem;
    color: white;
    opacity: 0.95;
    margin-bottom: 15px;
    line-height: 1.6;
}

.guarantee-banner-terms {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 30px;
}

.guarantee-banner-terms a {
    color: white;
    text-decoration: underline;
    font-weight: 700;
}

.guarantee-banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Case Studies Section */
.case-studies-section {
    background: linear-gradient(135deg, #f8f9fa, white);
    padding: 80px 0;
}

@media (max-width: 768px) {
    .guarantee-banner {
        padding: 40px 0;
    }
    
    .guarantee-banner-title {
        font-size: 1.8rem;
        margin: 15px 0;
    }
    
    .free-word {
        padding: 4px 12px;
        font-size: 0.9rem;
    }
    
    .guarantee-banner-description {
        font-size: 1rem;
    }
    
    .guarantee-banner-terms {
        font-size: 0.95rem;
    }
    
    .btn-white,
    .btn-outline-white {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .case-studies-section {
        padding: 60px 0;
    }
}

@media (max-width: 425px) {
    .guarantee-banner {
        padding: 30px 0;
    }
    
    .guarantee-banner-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .free-word {
        display: inline-block;
        padding: 8px 20px;
        font-size: 1.6rem;
        font-weight: 900;
        border-radius: 12px;
        box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
        margin: 5px 0;
    }
    
    .guarantee-banner-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .guarantee-banner-terms {
        font-size: 0.85rem;
    }
    
    .guarantee-banner-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-white,
    .btn-outline-white {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .case-studies-section {
        padding: 40px 0;
    }
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    gap: 10px;
}

/* Trust Indicators */
.trust-indicators {
    background-color: var(--bg-light);
    padding: 48px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.trust-item {
    text-align: center;
    padding: 15px;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.trust-item h3 {
    color: var(--secondary-color);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.trust-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

/* Homepage section spacing tweaks (from Services to end) */
.services-overview,
.pricing-section,
.industries-overview,
.how-it-works,
.what-sets-apart,
.testimonials,
.contact-cta,
.quick-contact-form { padding: 56px 0; }

section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Company Introduction */
.company-intro {
    background-color: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-lead {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 20px;
}

.intro-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* CX Statistics */
.cx-statistics {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2f4a 100%);
    color: var(--white);
}

.cx-statistics h2,
.cx-statistics .section-subtitle {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number::after {
    content: '%';
    font-size: 2.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-sublabel {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services Overview */
.services-overview {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), #ffa94d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--secondary-color);
    font-size: var(--font-h3);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: var(--line-height-body);
    font-size: var(--font-body);
}

/* Industries Overview */
.industries-overview {
    background-color: var(--white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.industry-card {
    background-color: var(--bg-light);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.industry-card:hover {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.industry-card h3 {
    font-size: var(--font-h3);
}

.industry-card p {
    font-size: var(--font-body);
}

@media (max-width: 768px) {
    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .industry-card {
        padding: 30px 20px;
    }
}

@media (max-width: 425px) {
    .service-card,
    .industry-card {
        padding: 25px 15px;
    }
}

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.industry-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.industry-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #ffa94d);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* What Sets Apart */
.what-sets-apart {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-light);
}

.testimonial-carousel {
    max-width: 800px;
    margin: 50px auto 30px;
    position: relative;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s;
}

.testimonial-slide.active {
    display: block;
}

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

.testimonial-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    color: var(--secondary-color);
    font-weight: 600;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-prev,
.carousel-next {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background-color: var(--primary-color);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2f4a 100%);
    color: var(--white);
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
}

.cta-contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.cta-contact-item {
    font-size: 1.2rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-contact-item:hover {
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Quick Contact Form */
.quick-contact-form {
    background-color: var(--bg-light);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-wrapper h2 {
    margin-bottom: 30px;
}

.contact-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px; /* Prevent iOS zoom on focus */
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

/* Form Messages */
.form-messages {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-messages.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-messages.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.what-happens-next {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
}

.what-happens-next h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.what-happens-next ol {
    margin-left: 20px;
}

.what-happens-next li {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* Newsletter Section */
.newsletter-section {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
}

.newsletter-section h2 {
    color: var(--white);
    margin-bottom: 30px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto 30px;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

.social-links {
    margin-top: 40px;
}

.social-links p {
    margin-bottom: 15px;
    font-weight: 500;
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 8px;
    line-height: 45px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Quick Contact Popup Button & Popup */
.quick-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 998;
}

.quick-contact-btn:hover {
    background-color: #d17718;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.quick-contact-btn i {
    margin-right: 8px;
}

.quick-contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.quick-contact-popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.close-popup:hover {
    color: #333;
}

.quick-contact-popup-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.quick-contact-popup-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.popup-contact-form .form-group {
    margin-bottom: 15px;
}

.popup-contact-form input,
.popup-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.popup-contact-form input:focus,
.popup-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.popup-contact-form button {
    width: 100%;
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: var(--font-h3);
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--primary-color);
    font-size: var(--font-h4);
    margin-bottom: 15px;
}

.footer-column p {
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: var(--font-body);
    line-height: var(--line-height-body);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: var(--font-body);
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-location i,
.footer-column p i {
    color: var(--primary-color);
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-certifications {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: var(--font-small);
}

.footer-certifications span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-certifications i {
    color: var(--primary-color);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-certifications {
        gap: 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 425px) {
    .main-footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-certifications {
        flex-direction: column;
        gap: 10px;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .copyright {
        font-size: 0.85rem;
    }
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 8px;
    line-height: 40px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(88vw, 340px);
        height: 100dvh;
        background-color: var(--white);
        z-index: 1001;
        flex-direction: column;
        padding: 12px 16px 16px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        align-items: flex-start;
        gap: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:first-child {
        margin-top: 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu a {
        font-size: 1.05rem;
        padding: 16px 20px;
        display: block;
        width: 100%;
    }

    .has-dropdown > a {
        position: relative;
    }

    .has-dropdown > a i {
        float: right;
        transition: transform 0.3s ease;
    }

    .has-dropdown.active > a i {
        transform: rotate(180deg);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        background: #f8f9fa;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown li {
        border-bottom: none;
    }

    .dropdown a {
        padding: 12px 20px 12px 40px;
        font-size: 0.95rem;
    }

    .has-dropdown.active .dropdown {
        max-height: 500px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Tablet typography scale */
    h1 { font-size: 2.25rem; line-height: 1.25; }
    h2 { font-size: 1.75rem; line-height: 1.3; }
    h3 { font-size: 1.3rem; }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-certifications {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .quick-links-content {
        flex-direction: column;
        text-align: center;
    }

    /* Mobile heading scale for clarity and consistency */
    h1 { font-size: 2rem !important; line-height: 1.25; margin-bottom: 10px; }
    h2 { font-size: 1.5rem !important; line-height: 1.3; margin-bottom: 10px; }
    h3 { font-size: 1.2rem !important; line-height: 1.3; margin-bottom: 8px; }
    p, li { font-size: 1rem; line-height: 1.7; }

    .hero {
        padding: 64px 0;
    }

    .hero h1 {
        font-size: 2rem !important;
    }

    section { padding: 48px 0; }

    .stats-grid,
    .services-grid,
    .industries-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .service-card, .testimonial-content, .contact-form-section, .form-wrapper { padding: 24px 20px; }

    .cta-contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu a { font-size: 1.05rem; display: flex; align-items: center; min-height: 44px; margin: 4px 0; }
    .nav-menu li + li { margin-top: 8px; }
    .quick-links .portal-links a, .quick-links .contact-info a { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 4px; line-height: 1.1; border-radius: 6px; }
    .btn { padding: 14px 22px; font-size: 1rem; min-height: 48px; }
    button, input[type="submit"] { min-height: 48px; }
}

/* Homepage spacing tuning (from Services to end) */
.services-overview,
.pricing-section,
.industries-overview,
.how-it-works,
.what-sets-apart,
.testimonials,
.contact-cta,
.quick-contact-form { padding: 60px 0; }
@media (max-width: 968px){
  .services-overview,
  .pricing-section,
  .industries-overview,
  .how-it-works,
  .what-sets-apart,
  .testimonials,
  .contact-cta,
  .quick-contact-form { padding: 48px 0; }
}
@media (max-width: 640px){
  .services-overview,
  .pricing-section,
  .industries-overview,
  .how-it-works,
  .what-sets-apart,
  .testimonials,
  .contact-cta,
  .quick-contact-form { padding: 40px 0; }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2f4a 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: var(--font-h1);
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Responsive Typography for Page Headers */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 425px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-subtitle {
        font-size: 0.95rem;
    }
}

/* Service Detail Pages */
.services-detail {
    padding: 80px 0;
}

.intro-text {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.service-detail-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.service-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.highlight-card {
    background: linear-gradient(135deg, rgba(249, 155, 57, 0.05), rgba(50, 74, 107, 0.05));
    border-color: var(--primary-color);
}

.service-header {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.service-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #ffa94d);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    flex-shrink: 0;
}

.service-title-area h2 {
    color: var(--secondary-color);
    font-size: var(--font-h2);
    margin-bottom: 10px;
    text-align: left;
}

.service-tagline {
    color: var(--text-light);
    font-size: 1.1rem;
}

.service-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-section {
    padding: 20px;
}

.service-section.full-width {
    grid-column: 1 / -1;
}

.service-section h3 {
    color: var(--secondary-color);
    font-size: var(--font-h3);
    margin-bottom: 20px;
    font-weight: 600;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-dark);
    line-height: var(--line-height-body);
    font-size: var(--font-body);
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    background-color: var(--bg-light);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--font-small);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .service-tagline {
        font-size: 1rem;
    }
    
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-section {
        padding: 15px;
    }
    
    .check-list li {
        padding: 10px 0;
        padding-left: 30px;
    }
}

@media (max-width: 425px) {
    .service-tagline {
        font-size: 0.95rem;
    }
    
    .service-content-grid {
        gap: 20px;
    }
    
    .service-section {
        padding: 10px;
    }
    
    .check-list li {
        padding: 8px 0;
        padding-left: 28px;
        font-size: 0.9rem;
    }
    
    .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.pricing-section {
    background: linear-gradient(135deg, var(--secondary-color), #1e3a5f);
    padding: 80px 0;
    color: white;
}

/* Override for service detail pricing sections */
.service-detail-card .pricing-section {
    background: transparent;
    background-color: transparent;
    padding: 20px;
    color: var(--text-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    color: var(--text-dark);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Most Popular Badge */
.most-popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary-color), #2d5a8a);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.3);
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .most-popular-badge {
        font-size: 0.85rem;
        padding: 7px 20px;
    }
}

@media (max-width: 425px) {
    .pricing-section {
        padding: 40px 0;
    }
    
    .pricing-card {
        padding: 25px 15px;
    }
    
    .most-popular-badge {
        font-size: 0.8rem;
        padding: 6px 18px;
    }
}

/* Special Offer Box */
.special-offer-box {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.offer-line-1 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.offer-line-2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    font-weight: 800;
    margin-bottom: 20px;
}

.offer-code-btn {
    display: inline-block;
    color: white;
    background: var(--primary-color);
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 5px 20px rgba(232, 132, 31, 0.3);
}

.offer-line-4 {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Mobile Special Offer Layout */
@media (max-width: 768px) {
    .special-offer-box {
        padding: 25px 20px;
        margin-top: 40px;
    }
    
    .offer-line-1 {
        font-size: 1.2rem;
    }
    
    .offer-line-2 {
        font-size: 1.4rem;
    }
    
    .offer-code-btn {
        padding: 10px 25px;
        font-size: 1.3rem;
    }
    
    .offer-line-4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 425px) {
    .special-offer-box {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .offer-line-1 {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 8px;
    }
    
    .offer-line-2 {
        font-size: 1.3rem;
        display: block;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .offer-code-btn {
        display: block;
        width: 80%;
        margin: 0 auto 12px auto;
        padding: 12px 20px;
        font-size: 1.4rem;
    }
    
    .offer-line-4 {
        font-size: 0.9rem;
        display: block;
        margin-top: 10px;
    }
}

.price-tag {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 20px 0 30px;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

.cta-box {
    text-align: center;
    margin-top: 40px;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
}

.cta-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Contact Page Styles */
.contact-page-content {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-section {
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-align: left;
}

.form-intro {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-box h2 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-box h2 i {
    color: var(--primary-color);
}

.contact-info-box h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin: 15px 0 10px;
}

.contact-info-box p {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-info-box a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-info-box a:hover {
    color: var(--secondary-color);
}

.office-location {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.office-location:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links-large a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background-color: var(--bg-light);
    border-radius: 8px;
    transition: var(--transition);
}

.social-links-large a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.quick-links-box p {
    margin-bottom: 8px;
}

/* Portal Login Pages */
/* Center fixes for portal login pages (keeps original HTML) */
body .login-container{display:flex !important;justify-content:center !important;align-items:center !important;width:100% !important;max-width:none !important;margin:0 auto;min-height:calc(100vh - 140px) !important;padding:40px 20px;background:linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%);} 
body .login-container .login-box{max-width:480px;width:100%;margin-left:auto;margin-right:auto;}
@media (max-width: 768px){body .login-container{min-height:calc(100vh - 120px) !important;padding:30px 16px;}}
.portal-login-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    padding: 80px 20px;
}

.login-container {
    max-width: 500px;
    width: 100%;
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--text-light);
}

.login-form .form-group {
    margin-bottom: 25px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.login-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.login-options a {
    color: var(--primary-color);
    font-weight: 600;
}

.login-form .btn {
    width: 100%;
    padding: 15px;
}

.portal-features {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.portal-features h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.portal-features ul {
    list-style: none;
    padding: 0;
}

.portal-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-dark);
}

.portal-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.portal-security {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.portal-security h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.portal-security p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.portal-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.portal-cta p {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.portal-support {
    text-align: center;
    margin-top: 30px;
}

.portal-support h3 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.portal-support p {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-title-area h2 {
        text-align: center;
    }

    .service-detail-card {
        padding: 30px 20px;
    }

    .service-content-grid {
        grid-template-columns: 1fr;
    }

    .login-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }

    /* Trust section mobile spacing */
    .trust-indicators {
        padding: 35px 0 !important;
    }

    .trust-grid {
        gap: 15px;
    }

    .trust-item {
        padding: 12px 8px;
    }

    .trust-item i {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .trust-item h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .trust-item p {
        font-size: 0.85rem;
    }

    /* Guarantee banner mobile text adjustments */
    .guarantee-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .guarantee-title .free-word {
        display: inline-block;
        margin: 0 8px !important;
    }

    /* Professional pricing card - add top margin on mobile */
    .pricing-card-professional .professional-title {
        margin-top: 20px !important;
    }

    /* Contact CTA - center contact items on mobile */
    .cta-contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }

    .cta-contact-item {
        justify-content: center;
    }

    /* Quick contact form - center submit button */
    .quick-contact-form .btn-primary {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}
