/* =========================================
   1. GLOBAL VARIABLES & UTILS
   ========================================= */
:root {
    --primary: #215a5d;       /* Brand Teal */
    --primary-dark: #14383a;  /* Deep Teal */
    --primary-light: #f0f7f7; /* Light Background Tint */
    --gold: #eebb5d;          /* Accent Gold */
    --white: #ffffff;
    --text-dark: #222222;
    --text-grey: #555555;
    --border-light: #e0e0e0;
    --shadow-soft: 0 15px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base resets for this template */
.site-main { width: 100%; overflow-x: hidden; }
.section-padding { padding: 100px 0; }
.bg-light-gradient { background: linear-gradient(180deg, #ffffff 0%, #f4f9f9 100%); }
.bg-theme-dark { background-color: var(--primary-dark); }
.bg-theme-solid { background-color: var(--primary); }
.bg-light { background-color: #f9f9f9; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}
.narrow-width { max-width: 800px; margin: 0 auto; }

/* Text Utils */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-white-80 { color: rgba(255,255,255,0.85); line-height: 1.7; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* =========================================
   2. TYPOGRAPHY & DECORATORS
   ========================================= */
.section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-sub {
    font-size: 1.15rem;
    color: var(--text-grey);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* The Center Gold/Teal Line */
.heading-decorator {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
    margin: 0 auto 30px auto;
    border-radius: 4px;
}

/* The Left Aligned Line */
.heading-decorator-left {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px 0 30px 0;
    border-radius: 4px;
}
.heading-decorator-left.white-line { background: var(--white); }

/* =========================================
   3. SEC-STORY (Sub Hero)
   ========================================= */
.sec-story .lead-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

/* 3. ABOUT SPLIT */
.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; font-weight: 500; }
.check-list li::before { content: '✔'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

/* =========================================
   4. PROBLEM vs SOLUTION (Split Grid)
   ========================================= */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Left Card: White */
.card-problem {
    background: var(--white);
    padding: 80px 60px;
    color: var(--text-dark);
}
.card-problem h3 { font-size: 2.2rem; font-family: 'Poppins', sans-serif; }

/* Right Card: Solid Theme */
.card-solution {
    background: var(--primary);
    padding: 80px 60px;
    color: var(--white);
}
.card-solution h3 { font-size: 2.2rem; font-family: 'Poppins', sans-serif; color: var(--white); }

/* Custom Lists */
.pain-points-list li, .solution-points-list li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 35px;
    position: relative;
}

/* Red Cross */
.pain-points-list li::before {
    content: '✖';
    color: #e74c3c;
    font-weight: 900;
    position: absolute;
    left: 0; top: 0;
}

/* Gold Check */
.solution-points-list li { color: rgba(255,255,255,0.9); }
.solution-points-list li strong { color: var(--white); }
.solution-points-list li::before {
    content: '✔';
    color: var(--gold);
    font-weight: 900;
    position: absolute;
    left: 0; top: 0;
}

/* =========================================
   5. SERVICES GRID (Premium 6-Block)
   ========================================= */
.services-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 30px;
}

.service-card-premium {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    top: 0;
}

.service-card-premium:hover {
    top: -10px; /* Float up effect */
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card-premium:hover .icon-box {
    background: var(--primary);
    color: var(--white);
}

.service-card-premium h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.btn-text-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.btn-text-link:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* =========================================
   6. AREA COVERAGE (Dark Theme)
   ========================================= */
.areas-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.area-card-premium {
    background: rgba(255,255,255,0.05); /* Glassy on dark */
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.area-card-premium:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.area-card-premium h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 10px;
}

.area-card-premium p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    min-height: 40px;
}

/* Area Button */
.btn-border-white {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-border-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* =========================================
   7. CASE STUDIES (Cards)
   ========================================= */
.cases-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    height: 220px;
    overflow: hidden;
}
.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.case-card:hover .case-image img { transform: scale(1.05); }

.case-content {
    padding: 30px;
    flex-grow: 1;
}

.case-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-dark);
}

.case-meta { margin-bottom: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.meta-tag {
    font-size: 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.case-content p {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 10px;
}

.case-action {
    padding: 0 30px 30px;
}

/* Case Button (Solid Theme) */
.btn-solid-theme {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 12px 0;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-solid-theme:hover {
    background: var(--primary-dark);
}

/* =========================================
   8. WHY CHOOSE US & REVIEWS
   ========================================= */
.why-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card { text-align: center; }
.why-icon { font-size: 3rem; margin-bottom: 15px; }
.why-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { font-size: 0.95rem; color: #666; }

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.review-box {
    background: var(--white);
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 8px;
    text-align: center;
}
.stars { color: #f1c40f; margin-bottom: 20px; letter-spacing: 5px; }
.review-text { font-style: italic; color: #555; margin-bottom: 20px; }
.reviewer-info strong { display: block; color: var(--primary); }
.reviewer-info span { font-size: 0.85rem; color: #999; }

/* =========================================
   8.5 BLOG SECTION (Text Only)
   ========================================= */

/* The Grid */
.blog-grid-text {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* The Card */
.blog-card-text {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #eee;
    border-top: 4px solid var(--primary); /* The Brand Accent */
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-card-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--gold); /* Top border changes to Gold on hover */
}

/* Meta Data (Date & Category) */
.blog-meta {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.blog-meta .category {
    color: var(--primary);
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ddd;
}

/* Title */
.blog-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 15px;
    font-weight: 700;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: 0.3s;
}

.blog-card-text:hover .blog-title a {
    color: var(--primary);
}

/* Excerpt */
.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom */
}

/* Button */
.btn-read-more {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}

.btn-read-more .arrow {
    margin-left: 5px;
    transition: transform 0.3s;
}

.btn-read-more:hover {
    color: var(--gold);
}

.btn-read-more:hover .arrow {
    transform: translateX(5px);
}

/* "View All" Button at bottom */
.btn-border-dark {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-border-dark:hover {
    background: var(--primary);
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .blog-grid-text {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid-text {
        grid-template-columns: 1fr;
    }
    .blog-card-text {
        padding: 30px;
    }
}
/* =========================================
   9. FAQ & CTA
   ========================================= */
.faq-accordion { max-width: 900px; margin: 0 auto; }

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--primary);
    font-size: 1.1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
    padding: 0 25px 25px;
    color: var(--text-grey);
    border-top: 1px solid #f9f9f9;
}

/* CTA Buttons */
.cta-buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn-glowing-white {
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
    transition: var(--transition);
}
.btn-glowing-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255,255,255,0.7);
}

/* =========================================
   10. MOBILE RESPONSIVENESS (Media Queries)
   ========================================= */

@media (max-width: 1024px) {
    .split-grid { grid-template-columns: 1fr; }
    .card-problem, .card-solution { padding: 50px 30px; }
    .heading-decorator-left { margin: 15px auto 30px auto; } /* Center text on mobile split */
    .services-premium-grid, .cases-grid-premium, .reviews-grid, .areas-grid-premium, .why-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-heading { font-size: 2.2rem; }
    
    .services-premium-grid, .cases-grid-premium, .reviews-grid, .areas-grid-premium, .why-grid-premium {
        grid-template-columns: 1fr; /* Full stack on mobile */
    }

    .cta-buttons-wrapper { flex-direction: column; }
    .btn-border-white, .btn-glowing-white { width: 100%; text-align: center; }
    
    .card-problem, .card-solution {
        text-align: center; /* Center align split cards on mobile */
    }
    .pain-points-list li, .solution-points-list li {
        text-align: left; /* Keep lists readable */
    }
    
    /* Center the decorator on mobile for split section */
    .heading-decorator-left { margin: 0 auto 20px auto; } 
}

/* ADD THIS TO YOUR HOMEPAGE.CSS */

/* 1. FIX: REMOVE DOTS */
.pain-points-list, .solution-points-list {
    list-style: none !important; /* Forces removal of default bullets */
    padding-left: 0;
    margin-top: 30px;
}

/* 2. FIX: TEXT COLORS IN DARK SECTIONS */
.text-white { color: #ffffff !important; }
.text-white-80 { color: rgba(255,255,255,0.85) !important; }
.bg-theme-dark p, .bg-theme-solid p {
    color: rgba(255,255,255,0.85); /* Default p color in dark sections */
}
.bg-theme-dark h2, .bg-theme-solid h2 {
    color: #ffffff !important;
}

/* 3. NEW: ABOUT US SECTION STYLES */
.grid-2-col-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.exp-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid #fff;
}

.exp-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.exp-badge .txt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lead-para {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

/* MOBILE FIX FOR ABOUT SECTION */
@media (max-width: 992px) {
    .grid-2-col-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .exp-badge {
        right: 0;
        bottom: -20px;
        padding: 20px;
    }
}