/* ====================
   CORE BASE STYLES - SHARED ACROSS SECTIONS
   ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #2c3e50;
    --gray: #ecf0f1;
    --text: #333;
    --text-light: #7f8c8d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;

    /* Consistent section spacing */
    --section-padding: 35px 0;
    --section-spacing: 60px;
}

html {
    scroll-padding-top: 100px;
    /* Accounts for fixed header */
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base button style - can be overridden per section */
.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Section base styles - CONSISTENT for ALL sections */
.section {
    padding: var(--section-padding);
    scroll-margin-top: 100px;
    /* Ensures heading isn't hidden under header */
}

/* ====================
   FONT LOADING OPTIMIZATION
   ==================== */

@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2");
}

.fab,
.fa-brands {
    font-family: 'Font Awesome 6 Brands' !important;
}

.fas,
.fa-solid,
.far,
.fa-regular {
    font-family: 'Font Awesome 6 Free' !important;
}

/* ====================
   PAGE SPEED OPTIMIZATION
   ==================== */

img,
video {
    content-visibility: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ====================
   ANNOUNCEMENT BAR - ISOLATED
   ==================== */

.announcement-bar {
    background-color: #0d3a38;
    color: white;
    padding: 5px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1001;
}

.announcement-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.announcement-left .bismillah {
    font-family: 'Traditional Arabic', 'Scheherazade', 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
    letter-spacing: 0.5px;
}

.announcement-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.announcement-right .stars {
    color: #FFD700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.announcement-right .happy-customers-link {
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.announcement-right .happy-customers {
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.announcement-right .happy-customers u {
    text-decoration-color: #00fdcf;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.announcement-right .happy-customers-link:hover {
    color: #00fdcf;
}

.announcement-right .happy-customers-link:hover .happy-customers u {
    text-decoration-color: white;
}

/* Announcement Bar Responsive */
@media (max-width: 768px) {
    .announcement-container {
        justify-content: center;
    }

    .announcement-left {
        display: none;
    }

    .announcement-right {
        justify-content: center;
        width: 100%;
    }

    .announcement-right .stars {
        font-size: 1rem;
    }

    .announcement-right .happy-customers {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        padding: 8px 0;
    }

    .announcement-right .stars {
        font-size: 0.95rem;
    }

    .announcement-right .happy-customers {
        font-size: 0.85rem;
    }
}

/* ====================
   HEADER STYLES - ISOLATED
   ==================== */

header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    height: auto;
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--secondary);
    margin-right: 8px;
    font-size: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ul {
    display: flex;
    margin-right: 30px;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links ul a:hover {
    color: var(--secondary);
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
    font-weight: 600;
    color: var(--primary);
}

.contact-info i {
    color: var(--secondary);
    margin-right: 8px;
}

/* Outlet button styling */
header .contact-info a[href*="flagshipstore.pk"] {
    display: inline-block;
    background-color: white;
    color: var(--secondary) !important;
    border: 2px solid var(--secondary);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 10px;
    font-size: 0.95rem;
}

header .contact-info a[href*="flagshipstore.pk"]:hover {
    background-color: var(--secondary) !important;
    color: white !important;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

header .contact-info a[href*="flagshipstore.pk"] i {
    color: var(--secondary);
    margin-right: 8px;
    transition: all 0.3s ease;
}

header .contact-info a[href*="flagshipstore.pk"]:hover i {
    color: white !important;
}

/* Get Quote button */
header .contact-info a.btn {
    background-color: var(--secondary);
    color: white;
    border: 2px solid var(--secondary);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-left: 10px;
    font-size: 0.95rem;
}

header .contact-info a.btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

header .contact-info a.btn i {
    color: white;
    margin-right: 8px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Header Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .mobile-menu-btn {
        display: block;
        order: 1;
    }

    .logo {
        order: 0;
    }

    .logo img {
        max-height: 42px;
    }

    .nav-links {
        order: 3;
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links ul {
        flex-direction: column;
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .nav-links li {
        margin: 0 0 15px 0;
        width: 100%;
        text-align: center;
    }

    .contact-info {
        display: none;
    }

    .nav-links .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
    }

    .nav-links .contact-info span {
        margin-right: 0;
        margin-bottom: 15px;
    }

    header .contact-info a[href*="flagshipstore.pk"],
    header .contact-info a.btn {
        margin-left: 0 !important;
        width: 200px;
    }
}

@media (max-width: 576px) {
    .logo img {
        max-height: 36px;
    }
}

@media (max-width: 400px) {

    header .contact-info a[href*="flagshipstore.pk"],
    header .contact-info a.btn {
        width: 180px;
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* ====================
   HERO SECTION - ISOLATED
   ==================== */

.hero {
    background-color: #f0f0f0;
    color: black;
    text-align: center;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    scroll-margin-top: 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: black;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: black;
}

.hero .btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero .btn:hover i {
    transform: translateX(5px);
}

/* Hero Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
        min-height: 500px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
}

/* ====================
   TRUST BADGES - ISOLATED
   ==================== */

.trust-badges-bar {
    background-color: #ddeef2;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 10px solid white;
    width: 100%;
}

.trust-badges-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.badge-item {
    flex: 0 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.badge-item img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80px;
    width: 100px;
    object-fit: contain;
}

.badge-item img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Trust Badges Responsive */
@media (max-width: 992px) {
    .badge-item img {
        max-height: 70px;
        width: 90px;
    }

    .trust-badges-container {
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .trust-badges-bar {
        padding: 15px 0;
    }

    .badge-item img {
        max-height: 60px;
        width: 80px;
    }

    .trust-badges-container {
        gap: 10px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .badge-item img {
        max-height: 50px;
        width: 70px;
    }

    .trust-badges-container {
        gap: 8px;
        padding: 0 10px;
    }
}

@media (max-width: 400px) {
    .badge-item img {
        max-height: 45px;
        width: 65px;
    }

    .trust-badges-container {
        gap: 5px;
        padding: 0 8px;
    }
}

/* ====================
   SHOP SECTION - COMPLETELY ISOLATED
   ==================== */

#shop {
    scroll-margin-top: 100px;
}

#shop .container {
    text-align: center;
}

#shop .shop-main-heading {
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    display: inline-block;
    padding: 0 25px;
}

#shop .shop-main-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 215, 0, 0.2) 30%, rgba(255, 215, 0, 0.2) 70%, transparent 100%);
    z-index: -1;
    border-radius: 10px;
}

#shop .section-title {
    text-align: center;
    margin-bottom: 50px;
}

#shop .section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#shop .section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#shop .section-title p {
    color: black;
    max-width: 700px;
    margin: 0 auto;
}

/* Shop Product Grids */
#shop .product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

#shop .product-grid-8 {
    grid-template-columns: repeat(4, 1fr);
}

#shop .product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Shop Product Items */
#shop .product-item {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #eeeeee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 300px;
    padding-bottom: 10px;
}

#shop .product-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

#shop .product-img {
    height: 200px !important;
    overflow: hidden;
    flex-shrink: 0;
}

#shop .product-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: all 0.3s ease;
}

#shop .product-item:hover .product-img img {
    transform: scale(1.1) !important;
}

#shop .product-item h3 {
    padding: 15px 20px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    color: #2c3e50 !important;
    margin: 0 !important;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

#shop .product-item h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

#shop .product-item h3 a::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: transparent !important;
    z-index: 10 !important;
    cursor: pointer;
}

#shop .product-button {
    padding: 0 20px 20px !important;
    text-align: center !important;
    pointer-events: none !important;
    position: relative;
    z-index: 5;
}

#shop .btn-explore {
    display: inline-block !important;
    background-color: #3498db !important;
    color: white !important;
    padding: 10px 25px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border: none !important;
    max-width: 150px !important;
    width: 100% !important;
    pointer-events: none !important;
    transition: all 0.3s ease;
}

#shop .btn-explore:hover {
    background-color: #2c3e50 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

#shop .product-item p {
    padding: 0 20px 20px;
    text-align: center;
    font-weight: 600;
    color: var(--secondary);
}

/* Shop Button Container */
#shop .shop-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#shop #shopViewMoreBtn {
    display: inline-block;
    min-width: 250px;
    transition: all 0.3s ease;
    margin: 0;
}

#shop #shopViewMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#shop .btn-shop-direct {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-decoration: none;
    min-width: 250px;
    text-align: center;
}

#shop .btn-shop-direct:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: white;
}

/* Shop Hidden Sections */
#shop .shop-hidden-sections {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

@keyframes shopFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shopFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Shop Section Responsive */
@media (max-width: 1100px) {
    #shop .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #shop .product-grid-8 {
        grid-template-columns: repeat(3, 1fr);
    }

    #shop .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    #shop .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #shop .product-grid-8 {
        grid-template-columns: repeat(3, 1fr);
    }

    #shop .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    #shop .shop-main-heading {
        font-size: 1.4rem;
        margin-bottom: 40px;
    }

    #shop .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {

    #shop .product-grid,
    #shop .product-grid-8,
    #shop .product-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    #shop .product-item {
        min-height: 280px;
    }

    #shop .product-img {
        height: 150px !important;
    }

    #shop .product-item h3 {
        padding: 12px 15px !important;
        font-size: 1rem !important;
        min-height: 50px;
    }

    #shop .btn-explore {
        padding: 8px 20px !important;
        font-size: 0.85rem !important;
        max-width: 130px !important;
    }

    #shop .shop-main-heading {
        font-size: 1.3rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    #shop .section-title {
        margin-bottom: 30px;
    }

    #shop .section-title h2 {
        font-size: 1.6rem;
    }

    #shop .shop-button-container {
        gap: 15px;
        margin-top: 30px;
    }

    #shop #shopViewMoreBtn,
    #shop .btn-shop-direct {
        min-width: 220px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {

    #shop .product-grid,
    #shop .product-grid-8,
    #shop .product-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    #shop .product-item {
        min-height: 250px;
    }

    #shop .product-img {
        height: 130px !important;
    }

    #shop .product-item h3 {
        padding: 10px 12px !important;
        font-size: 0.95rem !important;
        min-height: 45px;
    }

    #shop .btn-explore {
        padding: 7px 18px !important;
        font-size: 0.8rem !important;
        max-width: 120px !important;
    }

    #shop .shop-main-heading {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    #shop .section-title h2 {
        font-size: 1.4rem;
    }

    #shop .shop-button-container {
        flex-direction: column;
        gap: 12px;
    }

    #shop #shopViewMoreBtn,
    #shop .btn-shop-direct {
        min-width: 200px;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* ====================
   ABOUT SECTION - PART 1 - ISOLATED
   ==================== */

#about {
    scroll-margin-top: 100px;
}

#about .simple-content {
    background-color: var(--light);
    padding: 15px 0 !important;
}

#about .simple-content .container {
    max-width: 900px;
    margin: 0 auto;
}

#about .simple-content h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary);
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
}

#about .simple-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.7;
}

#about .simple-content>.container>p:first-of-type {
    margin-bottom: 30px !important;
}

/* ====================
   SHOP CONFIDENCE SECTION - ISOLATED
   ==================== */

.shop-confidence-section {
    padding: 0px 0;
    background-color: var(--light);
    scroll-margin-top: 100px;
}

.shop-confidence-section .shop-confidence-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.shop-confidence-section .shop-confidence-header .shop-confidence-heading {
    font-size: 2.2rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.shop-confidence-section .shop-confidence-header .shop-confidence-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

.shop-confidence-section .shop-confidence-header .shop-confidence-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    color: var(--text-light);
    margin: 20px auto 0 auto;
    max-width: 800px;
}

.shop-confidence-section .shop-confidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.shop-confidence-section .confidence-feature {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 15px;
    height: 100%;
}

.shop-confidence-section .confidence-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.shop-confidence-section .confidence-feature img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.shop-confidence-section .confidence-feature h3 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
    color: var(--primary) !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-align: center !important;
    width: 100%;
}

.shop-confidence-section .confidence-feature p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 400;
    color: var(--text-light);
    margin: 0 0 5px 0;
    text-align: center !important;
    width: 100%;
}

/* Shop Confidence Responsive */
@media (max-width: 1100px) {
    .shop-confidence-section .shop-confidence-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .shop-confidence-section .shop-confidence-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-heading {
        font-size: 2rem;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-desc {
        font-size: 1rem;
        margin-top: 15px;
    }
}

@media (max-width: 768px) {
    .shop-confidence-section .shop-confidence-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-heading {
        font-size: 1.8rem;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-desc {
        font-size: 0.95rem;
        margin-top: 12px;
    }

    .shop-confidence-section .confidence-feature {
        padding: 20px;
    }

    .shop-confidence-section .confidence-feature h3 {
        font-size: 1rem !important;
    }

    .shop-confidence-section .confidence-feature p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .shop-confidence-section .shop-confidence-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-heading {
        font-size: 1.6rem;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-heading:after {
        width: 60px;
        height: 2px;
        bottom: -8px;
    }

    .shop-confidence-section .shop-confidence-header .shop-confidence-desc {
        font-size: 0.9rem;
    }

    .shop-confidence-section .confidence-feature {
        padding: 15px;
    }

    .shop-confidence-section .confidence-feature img {
        width: 40px;
        height: 40px;
    }

    .shop-confidence-section .confidence-feature h3 {
        font-size: 0.95rem !important;
    }

    .shop-confidence-section .confidence-feature p {
        font-size: 0.85rem;
    }
}

/* ====================
   ABOUT PRODUCTS SECTION - ISOLATED
   ==================== */

#about-products-visible,
#about-products-hidden {
    scroll-margin-top: 100px;
}

#about-products-visible .simple-content,
#about-products-hidden .simple-content {
    background-color: var(--light);
    padding: 15px 0 !important;
}

#about-products-visible .simple-content .container,
#about-products-hidden .simple-content .container {
    max-width: 900px;
    margin: 0 auto;
}

#about-products-visible .section-subheading {
    font-size: 1.8rem;
    color: var(--primary);
    text-align: center;
    margin: 0 0 40px 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

#about-products-visible .section-subheading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#about-products-visible h3,
#about-products-hidden h3 {
    font-size: 1.5rem;
    margin: 40px 0 15px 0;
    color: var(--primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    text-align: left;
}

#about-products-hidden h3:first-of-type {
    margin-top: 20px;
}

#about-products-visible p,
#about-products-hidden p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.7;
}

/* About Hidden Sections */
.about-hidden-sections {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

@keyframes aboutFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* About View More Button */
.about-view-more-container {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
}

#aboutViewMoreBtn {
    display: inline-block;
    min-width: 200px;
    transition: all 0.3s ease;
}

#aboutViewMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* About Products Responsive */
@media (max-width: 992px) {
    #about-products-visible .section-subheading {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }

    #about-products-visible h3,
    #about-products-hidden h3 {
        font-size: 1.4rem;
    }

    #about-products-visible p,
    #about-products-hidden p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #about-products-visible .section-subheading {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    #about-products-visible h3,
    #about-products-hidden h3 {
        font-size: 1.3rem;
        margin: 30px 0 12px 0;
    }

    #about-products-visible p,
    #about-products-hidden p {
        font-size: 1rem;
        line-height: 1.6;
    }

    #aboutViewMoreBtn {
        min-width: 180px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    #about-products-visible .section-subheading {
        font-size: 1.3rem;
        margin-bottom: 25px;
        padding-bottom: 12px;
    }

    #about-products-visible .section-subheading:after {
        width: 60px;
        height: 2px;
    }

    #about-products-visible h3,
    #about-products-hidden h3 {
        font-size: 1.2rem;
        margin: 25px 0 10px 0;
        padding-bottom: 8px;
    }

    #about-products-visible p,
    #about-products-hidden p {
        font-size: 0.95rem;
    }

    #aboutViewMoreBtn {
        min-width: 160px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ====================
   GALLERY SECTION - COMPLETELY ISOLATED
   ==================== */

#gallery {
    scroll-margin-top: 100px;
}

#gallery .gallery-section {
    padding: var(--section-padding);
    background-color: #fff;
}

#gallery .gallery-main-heading {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

#gallery .gallery-main-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#gallery .gallery-description {
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0 auto;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

#gallery .gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

#gallery .gallery-tabs button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

#gallery .gallery-tabs button.gallery-tab {
    padding: 12px 30px;
    background-color: var(--gray);
    border-radius: var(--border-radius);
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
    line-height: normal;
}

#gallery .gallery-tabs button.gallery-tab:hover {
    background-color: var(--secondary);
    color: white;
}

#gallery .gallery-tabs button.gallery-tab.active {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

#gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

#gallery .gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    height: 250px;
    margin: 0;
}

#gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

#gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

#gallery .gallery-item:hover img {
    transform: scale(1.1);
}

#gallery .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

#gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

#gallery .gallery-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
    border-bottom: none;
    padding-bottom: 0;
}

#gallery .gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    margin: 0;
}

/* Gallery Video Styles */
#gallery .video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#gallery .video-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

#gallery .gallery-item:hover .video-thumbnail-wrapper img {
    transform: scale(1.1);
}

#gallery .play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#gallery .play-button-overlay i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

#gallery .gallery-item:hover .play-button-overlay i {
    transform: scale(1.1);
    opacity: 1;
}

#gallery .video-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

#gallery .gallery-store-button {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    overflow: hidden;
    vertical-align: middle;
}

#gallery .gallery-store-button a {
    display: inline-block;
    color: white;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    font-family: inherit;
    background-color: transparent;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

#gallery .gallery-store-button:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

#gallery .gallery-store-button:hover a {
    color: white;
}

/* Gallery Responsive */
@media (max-width: 1100px) {
    #gallery .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    #gallery .gallery-main-heading {
        font-size: 2.2rem;
    }

    #gallery .gallery-description {
        font-size: 1rem;
        margin: 18px auto 0 auto;
    }

    #gallery .gallery-tabs button.gallery-tab {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    #gallery .gallery-main-heading {
        font-size: 1.8rem;
    }

    #gallery .gallery-main-heading:after {
        width: 60px;
        height: 2px;
        bottom: -8px;
    }

    #gallery .gallery-description {
        font-size: 0.95rem;
        margin: 15px auto 0 auto;
        padding: 0 15px;
    }

    #gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    #gallery .gallery-item {
        height: 200px;
    }

    #gallery .gallery-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding: 10px 0 15px 0 !important;
        gap: 12px !important;
        white-space: nowrap !important;
        scrollbar-width: none;
        width: 100%;
        flex-direction: row !important;
        position: relative;
    }

    #gallery .gallery-tabs::-webkit-scrollbar {
        display: none;
    }

    #gallery .gallery-tabs button.gallery-tab {
        flex: 0 0 auto !important;
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        min-width: 120px !important;
        border-radius: 25px !important;
    }

    #gallery .video-indicator {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    #gallery .play-button-overlay i {
        font-size: 3rem;
    }

    #gallery .gallery-overlay {
        padding: 15px;
    }

    #gallery .gallery-overlay h3 {
        font-size: 1rem;
    }

    #gallery .gallery-overlay p {
        font-size: 0.85rem;
    }

    #gallery .gallery-store-button a {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* ====================
   LIGHTBOX MODALS - SHARED (These are overlays, not sections)
   ==================== */

.youtube-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.youtube-lightbox.active {
    display: flex;
}

.youtube-lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    width: 800px;
}

.youtube-lightbox .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.youtube-lightbox .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--secondary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.youtube-lightbox-close:hover {
    background: var(--accent);
}

.youtube-lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
}

.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: var(--secondary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: var(--accent);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: var(--secondary);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .youtube-lightbox-content {
        width: 95%;
    }

    .youtube-lightbox-close {
        top: -50px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* ====================
   FAQ SECTION - COMPLETELY ISOLATED
   ==================== */

#faq {
    scroll-margin-top: 100px;
}

#faq .faq-main-heading {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    font-weight: 700;
    line-height: 1.2;
}

#faq .faq-main-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#faq .faq-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 40px auto;
    text-align: center;
    font-weight: 400;
    line-height: 1.6;
}

#faq .faq-section-heading {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 50px 0 30px 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary);
    text-align: left;
}

#faq .faq-section-heading:first-of-type {
    margin-top: 30px;
}

#faq .faq-container {
    max-width: 900px;
    margin: 0 auto 20px auto;
}

#faq .faq-item {
    border-bottom: 1px solid var(--gray);
    margin-bottom: 15px;
    padding-bottom: 15px;
}

#faq .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    gap: 15px;
}

#faq .faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
    flex: 1;
}

#faq .faq-question h3:after,
#faq .faq-question h3:before {
    display: none;
    content: none;
}

#faq .faq-question i {
    transition: all 0.3s ease;
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

#faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    color: var(--text-light);
    line-height: 1.7;
}

#faq .faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0;
    padding-bottom: 20px;
}

#faq .faq-item.active .faq-answer {
    max-height: 500px;
}

#faq .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

#faq .faq-hidden-sections {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes faqFadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

#faq .faq-view-more-container {
    text-align: center;
    margin-top: 30px;
}

#faq #faqViewMoreBtn {
    display: inline-block;
    min-width: 200px;
    transition: all 0.3s ease;
}

#faq #faqViewMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Responsive */
@media (max-width: 992px) {
    #faq .faq-main-heading {
        font-size: 2.2rem;
    }

    #faq .faq-description {
        font-size: 1rem;
        margin: 25px auto 35px auto;
    }

    #faq .faq-section-heading {
        font-size: 1.6rem;
        margin: 40px 0 25px 0;
    }
}

@media (max-width: 768px) {
    #faq .faq-main-heading {
        font-size: 1.8rem;
    }

    #faq .faq-main-heading:after {
        width: 60px;
        height: 2px;
        bottom: -8px;
    }

    #faq .faq-description {
        font-size: 0.95rem;
        margin: 20px auto 30px auto;
        padding: 0 15px;
    }

    #faq .faq-section-heading {
        font-size: 1.4rem;
        margin: 35px 0 20px 0;
        padding-bottom: 8px;
    }

    #faq .faq-section-heading:first-of-type {
        margin-top: 20px;
    }

    #faq .faq-question {
        padding: 15px 0;
    }

    #faq .faq-question h3 {
        font-size: 1rem;
    }

    #faq .faq-answer p {
        font-size: 0.95rem;
    }

    #faq .faq-view-more-container {
        margin-top: 20px;
    }

    #faq #faqViewMoreBtn {
        min-width: 180px;
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* ====================
   TESTIMONIALS SECTION - COMPLETELY ISOLATED
   ==================== */

#testimonials {
    scroll-margin-top: 100px;
}

#testimonials .testimonials {
    background-color: var(--light);
    overflow: hidden;
    padding: 60px 0;
}

#testimonials .section-title {
    text-align: center;
    margin-bottom: 40px;
}

#testimonials .section-title h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 700;
    line-height: 1.2;
}

#testimonials .section-title h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#testimonials .section-title h2 {
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0 auto;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

#testimonials .testimonial-slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0 20px 0;
    margin: 0;
}

#testimonials .testimonial-slider-container::-webkit-scrollbar {
    display: none;
}

#testimonials .testimonial-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px;
    padding: 0 20px;
    scroll-snap-type: x mandatory;
    width: max-content;
    max-width: none;
}

#testimonials .testimonial-item {
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    height: auto;
    scroll-snap-align: start;
}

#testimonials .testimonial-item:before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

#testimonials .testimonial-rating {
    text-align: center;
    margin: 10px 0 15px 0;
    color: #FFD700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    order: 1;
    flex-shrink: 0;
}

#testimonials .testimonial-text {
    margin-bottom: 0;
    font-style: italic;
    color: var(--text);
    line-height: 1.5;
    order: 2;
    flex-grow: 1;
    overflow: visible;
    font-size: 0.95rem;
}

#testimonials .testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 15px;
    order: 3;
}

#testimonials .author-image-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
}

#testimonials .author-image-container::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    z-index: 0;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

#testimonials .author-image-container img,
#testimonials .author-avatar {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    border: 2px solid white;
}

#testimonials .author-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

#testimonials .author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#testimonials .testimonial-company {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 700 !important;
    line-height: 1.4;
}

#testimonials .author-info p {
    margin: 0 0 5px 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

#testimonials .testimonial-author .client-type {
    display: inline-block !important;
    font-size: 0.7rem !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    margin-top: 4px !important;
    border: none !important;
    background: none !important;
    line-height: 1.4 !important;
    width: auto !important;
    max-width: fit-content !important;
    text-align: center !important;
}

/* Client type colors */
#testimonials .testimonial-author .client-type[data-type="freelancer"] {
    background: linear-gradient(135deg, #FF5722 0%, #BF360C 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="startup"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="corporate"] {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="government"] {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="education"] {
    background: linear-gradient(135deg, #FF9800 0%, #EF6C00 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="enterprise"] {
    background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="individual"] {
    background: linear-gradient(135deg, #E91E63 0%, #AD1457 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="gaming"] {
    background: linear-gradient(135deg, #00BCD4 0%, #006064 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="creator"] {
    background: linear-gradient(135deg, #FF6B6B 0%, #C92A2A 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="software"] {
    background: linear-gradient(135deg, #5F9EA0 0%, #2F4F4F 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="healthcare"] {
    background: linear-gradient(135deg, #20B2AA 0%, #008080 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="banking"] {
    background: linear-gradient(135deg, #DAA520 0%, #8B6914 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="bpo"] {
    background: linear-gradient(135deg, #FF8C69 0%, #CD5B45 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="design"] {
    background: linear-gradient(135deg, #9370DB 0%, #663399 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="reseller"] {
    background: linear-gradient(135deg, #CD853F 0%, #8B4513 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="textile"] {
    background: linear-gradient(135deg, #B8860B 0%, #8B4513 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="aviation"] {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%) !important;
    color: white !important;
}

#testimonials .testimonial-author .client-type[data-type="logistics"] {
    background: linear-gradient(135deg, #F4A460 0%, #D2691E 100%) !important;
    color: white !important;
}

/* Author image gradients */
#testimonials .author-image-container[data-type="freelancer"]::before {
    background: linear-gradient(45deg, #FF5722, #BF360C);
}

#testimonials .author-image-container[data-type="startup"]::before {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

#testimonials .author-image-container[data-type="corporate"]::before {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
}

#testimonials .author-image-container[data-type="government"]::before {
    background: linear-gradient(45deg, #9C27B0, #6A1B9A);
}

#testimonials .author-image-container[data-type="education"]::before {
    background: linear-gradient(45deg, #FF9800, #EF6C00);
}

#testimonials .author-image-container[data-type="enterprise"]::before {
    background: linear-gradient(45deg, #2196F3, #0D47A1);
}

#testimonials .author-image-container[data-type="individual"]::before {
    background: linear-gradient(45deg, #E91E63, #AD1457);
}

#testimonials .author-image-container[data-type="gaming"]::before {
    background: linear-gradient(45deg, #00BCD4, #006064);
}

#testimonials .author-image-container[data-type="creator"]::before {
    background: linear-gradient(45deg, #FF6B6B, #C92A2A);
}

#testimonials .author-image-container[data-type="software"]::before {
    background: linear-gradient(45deg, #5F9EA0, #2F4F4F);
}

#testimonials .author-image-container[data-type="healthcare"]::before {
    background: linear-gradient(45deg, #20B2AA, #008080);
}

#testimonials .author-image-container[data-type="banking"]::before {
    background: linear-gradient(45deg, #DAA520, #8B6914);
}

#testimonials .author-image-container[data-type="bpo"]::before {
    background: linear-gradient(45deg, #FF8C69, #CD5B45);
}

#testimonials .author-image-container[data-type="design"]::before {
    background: linear-gradient(45deg, #9370DB, #663399);
}

#testimonials .author-image-container[data-type="reseller"]::before {
    background: linear-gradient(45deg, #CD853F, #8B4513);
}

#testimonials .author-image-container[data-type="textile"]::before {
    background: linear-gradient(45deg, #B8860B, #8B4513);
}

#testimonials .author-image-container[data-type="aviation"]::before {
    background: linear-gradient(45deg, #87CEEB, #4682B4);
}

#testimonials .author-image-container[data-type="logistics"]::before {
    background: linear-gradient(45deg, #F4A460, #D2691E);
}

/* Testimonials Responsive */
@media (min-width: 1200px) {
    #testimonials .testimonial-item {
        flex: 0 0 calc((100vw - 80px) / 4);
        min-width: 280px;
        max-width: 320px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #testimonials .testimonial-item {
        flex: 0 0 calc((100vw - 80px) / 3);
        min-width: 260px;
        max-width: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #testimonials .testimonial-item {
        flex: 0 0 calc((100vw - 80px) / 2);
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 767px) {
    #testimonials .testimonial-item {
        flex: 0 0 calc(90vw - 40px);
        min-width: calc(90vw - 40px);
    }

    #testimonials .testimonial-slider {
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    #testimonials .testimonial-text {
        font-size: 0.9rem;
    }

    #testimonials .section-title h1 {
        font-size: 2.2rem;
    }

    #testimonials .section-title h2 {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #testimonials .section-title h1 {
        font-size: 1.8rem;
    }

    #testimonials .section-title h1:after {
        width: 60px;
        height: 2px;
        bottom: -8px;
    }

    #testimonials .section-title h2 {
        font-size: 0.95rem !important;
    }

    #testimonials .author-image-container {
        width: 50px;
        height: 50px;
    }

    #testimonials .author-avatar {
        font-size: 16px;
    }

    #testimonials .testimonial-company {
        font-size: 0.95rem;
    }
}

/* ====================
   CONTACT SECTION - COMPLETELY ISOLATED
   ==================== */

#contact {
    scroll-margin-top: 100px;
}

#contact .contact-main-heading {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: 100%;
}

#contact .contact-main-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#contact .contact-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 40px auto;
    text-align: center;
    font-weight: 400;
    line-height: 1.6;
}

#contact .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

#contact .contact-info-heading {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 0 20px 0;
    text-align: left;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

#contact .contact-info-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#contact .contact-details h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 25px 0 10px 0;
    font-weight: 600;
    border-bottom: none;
    padding-bottom: 0;
    text-align: left;
}

#contact .contact-details h3:first-of-type {
    margin-top: 0;
}

#contact .contact-details p {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text);
    text-align: left;
    gap: 15px;
}

#contact .contact-details i {
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 3px;
    width: 20px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

#contact .contact-details .contact-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    flex: 1;
    word-break: break-word;
}

#contact .contact-details .contact-link:hover {
    color: var(--secondary) !important;
    text-decoration: underline !important;
}

#contact .form-heading {
    font-size: 1.5rem !important;
    color: var(--primary) !important;
    margin: 0 0 20px 0 !important;
    text-align: left !important;
    font-weight: 600 !important;
    position: relative !important;
    padding-bottom: 10px !important;
    border-bottom: none !important;
}

#contact .form-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
}

#contact .contact-form input,
#contact .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

#contact .contact-form textarea {
    height: 150px;
    resize: vertical;
}

#contact .contact-form .btn {
    width: 100%;
    background-color: var(--secondary);
    color: white;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact .contact-form .btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Contact Responsive */
@media (max-width: 992px) {
    #contact .contact-main-heading {
        font-size: 2rem;
    }

    #contact .contact-description {
        font-size: 1rem;
        margin: 25px auto 35px auto;
    }

    #contact .contact-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    #contact .contact-info-heading {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    #contact .contact-details h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    #contact .contact-main-heading {
        font-size: 1.8rem;
    }

    #contact .contact-main-heading:after {
        width: 60px;
        height: 2px;
        bottom: -8px;
    }

    #contact .contact-description {
        font-size: 0.95rem;
        margin: 20px auto 30px auto;
    }

    #contact .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #contact .contact-details {
        order: 1;
    }

    #contact .contact-form {
        order: 2;
    }

    #contact .contact-info-heading {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    #contact .contact-details h3 {
        font-size: 1rem;
    }

    #contact .contact-details p {
        font-size: 0.95rem;
    }
}

/* ====================
   FOOTER - COMPLETELY ISOLATED
   ==================== */

footer {
    background-color: #0d3a38;
    color: white;
    padding: 70px 0 20px;
    margin-top: var(--section-spacing);
}

footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

footer .footer-brand img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

footer .brand-text p {
    color: #00fdcf;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

footer .footer-contact-info {
    text-align: right;
}

footer .footer-contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    font-size: 0.95rem;
    color: white;
}

footer .footer-contact-info i {
    color: #00fdcf;
    width: 20px;
}

footer .footer-middle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

footer .footer-column h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00fdcf;
    font-weight: 600;
}

footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-column ul li {
    margin-bottom: 12px;
}

footer .footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-decoration: none;
}

footer .footer-column ul li a:hover {
    color: #00fdcf;
    padding-left: 5px;
}

footer .footer-bottom {
    padding: 25px 0;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
}

footer .copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #00fdcf;
}

footer .copyright-logo {
    font-weight: 600;
    color: #00fdcf;
}

/* Footer Responsive */
@media (max-width: 992px) {
    footer .footer-middle {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    footer .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    footer .footer-contact-info {
        text-align: left;
        width: 100%;
    }

    footer .footer-contact-info p {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 15px;
    }

    footer .footer-middle {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }

    footer .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    footer .footer-top {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    footer .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    footer .footer-brand img {
        height: 45px;
    }

    footer .footer-bottom {
        padding: 20px 0;
        margin-top: 30px;
    }

    footer .copyright {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}