/* ===================================
   CONTACT HERO
=================================== */

.contact-hero {

    padding: 150px 0 60px;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(circle at top right,
            rgba(20, 184, 166, .15),
            transparent 35%),

        radial-gradient(circle at bottom left,
            rgba(245, 158, 11, .08),
            transparent 30%),

        linear-gradient(180deg,
            #f8fafc,
            #ffffff);
}

.contact-hero-content {

    max-width: 850px;

    margin: auto;
}
.contact-section,
.branch-locations,
.faq-section {
    padding: 30px 0;
}

.contact-hero h1 {

    font-size:
        clamp(3rem, 6vw, 5.5rem);

    line-height: 1.05;

    margin: 20px 0;
}

.contact-hero h1 span {

    color: var(--secondary);
}

.contact-hero p {

    max-width: 700px;

    margin: auto;

    color: var(--text);

    font-size: 1.1rem;

    line-height: 1.9;
}

/* ===================================
   CONTACT INFO
=================================== */

.contact-hero {
    padding: 150px 0 140px;
}

.contact-info {
    position: relative;
    margin-top: -90px;
    z-index: 10;
}

.contact-info {

    padding: 0 0 50px;

 
}
.info-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;
}

.info-card {

    background: #fff;

    padding: 40px;

    border-radius: 30px;

    text-align: center;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, .08);

    transition: .4s;
}

.info-card:hover {

    transform:
        translateY(-10px);
}

.info-icon {

    width: 80px;
    height: 80px;

    margin: auto auto 25px;

    border-radius: 24px;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        rgba(20, 184, 166, .1);
}

.info-icon i {

    font-size: 2rem;

    color: var(--primary);
}

.info-card h3 {

    margin-bottom: 10px;
}

/* ===================================
   CONTACT SECTION
=================================== */


.contact-wrapper {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}

.contact-form {

    background: #fff;

    padding: 50px;

    border-radius: 35px;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, .08);
}

.contact-form h2 {

    margin: 20px 0 30px;

    font-size: 2.5rem;
}

.form-group {

    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid #e2e8f0;

    padding: 18px 20px;

    border-radius: 16px;

    font-size: 16px;

    outline: none;

    transition: .3s;
}

.form-group input:focus,
.form-group textarea:focus {

    border-color:
        var(--secondary);

    box-shadow:
        0 0 0 4px rgba(20, 184, 166, .1);
}

.contact-image img {

    width: 100%;

    border-radius: 35px;

    display: block;

    box-shadow:
        0 30px 60px rgba(0, 0, 0, .12);
}

/* ===================================
   BRANCHES
=================================== */

.contact-branches {

    padding: 30px 0;

    background: #f8fafc;
}

.branch-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 25px;
}

.branch-card {

    background: #fff;

    padding: 30px;

    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 20px 40px rgba(15, 23, 42, .06);

    transition: .4s;
}

.branch-card:hover {

    transform:
        translateY(-10px);
}

.branch-card h3 {

    margin-bottom: 12px;
}

/* ===================================
   FAQ
=================================== */

.faq-section {

    padding: 120px 0;
}

.faq-list {

    max-width: 900px;

    margin: auto;
}

.faq-item {

    background: #fff;

    padding: 30px;

    border-radius: 24px;

    margin-bottom: 20px;

    box-shadow:
        0 15px 35px rgba(15, 23, 42, .06);

    cursor: pointer;
}

.faq-item h3 {

    position: relative;

    padding-right: 30px;
}

.faq-item p {

    margin-top: 15px;

    color: var(--text);

    display: none;
}

.faq-item.active p {

    display: block;
}

/* ===================================
   CTA
=================================== */

.contact-cta {

    padding: 120px 0;
}

.contact-cta .cta-box {

    padding: 90px;

    text-align: center;

    border-radius: 40px;

    color: #fff;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--secondary));
}

.contact-cta h2 {

    font-size:
        clamp(2rem, 5vw, 4rem);

    margin: 25px 0;
}

/* ===================================
   SCROLL REVEAL
=================================== */

.reveal {

    opacity: 0;

    transform:
        translateY(70px);

    transition: .8s ease;
}

.reveal.active {

    opacity: 1;

    transform:
        translateY(0);
}

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:1200px) {

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:992px) {

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {

    .info-grid,
    .branch-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px;
    }

    .contact-cta .cta-box {
        padding: 60px 30px;
    }
}

/* Color palette extracted from your design */
:root {
    --brand-teal: #008276;
    /* Main teal color from headers and buttons */
    --brand-teal-hover: #00665c;
    /* Darker teal for interactive hover states */
    --brand-teal-light: #e6f3f2;
    /* Light teal tint for icon backgrounds / accents */
    --brand-cream: #f9ecd1;
    /* The soft cream background color from your center banner */
    --text-dark: #0f172a;
    /* Deep slate/black for crisp readability */
    --text-muted: #64748b;
    /* Soft gray for descriptions and secondary text */
    --bg-light: #f8fafc;
    /* Very light background to make white cards pop */

    /* Geometry & Animations */
    --radius-pill: 50px;
    /* Matches your header buttons (Shop Now, Login) */
    --radius-card: 20px;
    /* Matches your feature cards (Secure Checkout, etc.) */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.location-meta p {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Controls the space between the icon and the time */
    margin: 0;
}

/* Section Layout */
.locations-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.locations-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styling */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-teal);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Swiper Container Spacing */
.contactBranchSwiper {
    padding: 20px 12px 60px 12px !important;
}

/* Card Styling - Inheriting your feature card shape */
.location-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Frame */
.location-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Content Layout */
.location-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.location-content h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    font-weight: 700;
}

/* Meta Info Icons & Styling */
.location-meta,
.location-address {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Circular icon badges matching your "Secure Checkout" feature style */
.location-meta i,
.location-address i {
    color: var(--brand-teal);
    background-color: var(--brand-teal-light);
    font-size: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-address {
    margin-bottom: 32px;
    flex-grow: 1;
}

/* Solid Pill Button Style - Perfectly matching your 'Shop Now' CTA */
.location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-teal);
    color: #ffffff;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 130, 118, 0.2);
}

/* --- HOVER EFFECTS & INTERACTION ANIMATIONS --- */

/* Smooth Card Float Elevate */
.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 130, 118, 0.15);
}

/* Image Scale Animation */
.location-card:hover .location-image img {
    transform: scale(1.06);
}

/* Button Hover State */
.location-btn:hover {
    background-color: var(--brand-teal-hover);
    box-shadow: 0 6px 20px rgba(0, 130, 118, 0.35);
    transform: translateY(-1px);
}

/* Custom Swiper Dots Matching The Brand Accent */
.contactBranchSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    transition: var(--transition-smooth);
}

.contactBranchSwiper .swiper-pagination-bullet-active {
    background: var(--brand-teal);
    width: 24px;
    border-radius: 4px;
}