/* ================= CSS VARIABLES ================= */
:root {
    --accent: #ff8c00; /* Vibrant orange to match the glowing map */
    --accent-hover: #e07b00;
    --text-main: #ffffff;
    --text-muted: #d1d5db;
}

/* ================= GLOBAL ================= */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff; /* Very dark blue behind everything */
}

/* ================= FLOATING GLASS NAVBAR ================= */
.custom-glass-nav {
    padding-top: 25px; /* Pushes it down from the top edge */
    transition: all 0.3s ease;
    z-index: 1030;
}

.nav-glass-pill {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border: 1px solid rgba(230, 221, 200, 0.9);
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 14px 40px -22px rgba(26, 31, 40, 0.4);
}

/* Navbar Links Setup */
.navbar-nav .nav-link {
    position: relative;
    color: #6b7280 !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0 8px;
    transition: color 0.2s ease;
    display: inline-block;
}
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 8px; right: 8px; bottom: -3px;
    height: 2px; border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .28s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #1a1f28 !important;
    font-weight: 600;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
/* dark brand + toggler on the light pill */
.custom-glass-nav .navbar-brand {
    font-family: 'Syne', sans-serif;
    font-weight: 800 !important;
    font-size: 20px;
    letter-spacing: -.01em;
    text-decoration: none;
}
.custom-glass-nav .navbar-brand.text-white { color: #1a1f28 !important; }
.custom-glass-nav .navbar-toggler i { color: #1a1f28 !important; }
/* smooth entrance for nav + hero */
@keyframes navIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.custom-glass-nav { animation: navIn .6s ease both; }
.hero-content .hero-eyebrow  { animation: heroIn .7s ease .05s both; }
.hero-content .hero-heading  { animation: heroIn .7s ease .15s both; }
.hero-content .hero-paragraph{ animation: heroIn .7s ease .25s both; }
.hero-content .hero-buttons  { animation: heroIn .7s ease .35s both; }

/* Right Side Button */
.btn-nav-outline {
    background: transparent;
    color: #1a1f28;
    border: 1.5px solid rgba(26, 31, 40, 0.25);
    padding: 8px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-nav-outline:hover {
    background: rgba(255, 140, 0, 0.06);
    border-color: var(--accent);
    color: var(--accent);
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    /* FIX: Reduces height so it doesn't cover the full page, making the image scale nicely */
    height: clamp(550px, 75vh, 850px);
    display: flex;
    align-items: center;
    background-image: url('../assets/images/hero_section.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Pushes the content down so it doesn't hide behind the floating navbar */
.hero-container {
    padding-top: 80px;
    height: 100%;
}

.hero-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    /* Soft transparent shadow */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.position-relative {
    z-index: 2;
}

/* ================= TYPOGRAPHY & SPACING ================= */
.hero-eyebrow {
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Adds a tiny shadow to the orange text so it stands out */
    text-shadow: 0px 2px 4px rgba(0,0,0,0.5); 
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.hero-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    /* This makes the text pop without needing a heavy black background */
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7); 
}

.text-accent {
    color: var(--accent);
}

.hero-paragraph {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
    /* Soft shadow for readability */
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.8); 
}

/* ================= BUTTONS ================= */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-custom {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary-custom {
    background-color: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-primary-custom:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 140, 0, 0.3);
}

.btn-outline-custom {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.btn-outline-custom:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* ================= GLOBAL SECTION STYLES ================= */
.section-heading {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* ================= ABOUT SECTION (LIGHT THEME) ================= */
.about-section-light {
    background-color: #f1e9d1;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.section-heading-light {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* --- TWO IMAGE LAYOUT --- */
.about-images-wrapper {
    min-height: 550px; /* Gives the absolute positioned elements space to breathe */
}

/* Main Image */
.main-img {
    width: 80%;
    height: 450px;
    object-fit: cover;
    border-radius: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.main-img:hover {
    transform: scale(1.03); /* Slight zoom on hover */
}

/* Secondary Overlapping Image */
.secondary-img {
    position: absolute;
    bottom: 20px;
    right: 10px; /* Pushed to the bottom right */
    width: 55%;
    height: 300px;
    object-fit: cover;
    border-radius: 1.5rem;
    border: 10px solid #f8fafc; /* Thick border matches background to create cutout effect */
    z-index: 2;
    transition: transform 0.5s ease;
}


/* --- STACKED FLOATING BADGE (TOP RIGHT) --- */
.floating-badge-stacked {
    position: absolute;
    top: 10%;
    left: -5%; /* Puts it perfectly in the top right mid-area */
    background: linear-gradient(135deg, #FF5A00 0%, #FF9500 100%);
    padding: 20px 30px;
    border-radius: 20px;
    z-index: 3;
    text-align: center; /* Centers the stacked text */
    box-shadow: 0 15px 30px rgba(255, 90, 0, 0.3);
    animation: floatUpDown 4s ease-in-out infinite; 
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

@keyframes floatUpDown {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- 4 Feature Cards (Shift on Hover) --- */
.feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    cursor: pointer;
}

.feature-card .icon-box {
    background: rgba(255, 90, 0, 0.1);
    color: var(--accent);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* The Hover Effect for the 4 Cards */
.feature-card:hover {
    transform: translateX(8px);
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:hover .icon-box {
    background: var(--accent);
    color: #ffffff;
}

/* --- Call Us Link & Phone Icon --- */
.call-us-link-light {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.call-us-link-light:hover {
    transform: translateY(-3px);
}

.call-us-link-light .call-icon {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.call-us-link-light:hover .call-icon {
    background: linear-gradient(135deg, #FF5A00 0%, #FF9500 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 90, 0, 0.4);
}

/* 1. Set the smooth transition on the icon by default */
.btn-custom i {
    display: inline-block; /* Required for transform to work properly */
    transition: transform 0.3s ease;
}

/* 2. Move the icon slightly to the right when the button is hovered */
.btn-custom:hover i {
    transform: translateX(5px);
}

/* ================= TRUSTED BRANDS SECTION ================= */
.brands-section {
    background: #f1e9d1; /* Lets it perfectly match your section color */
    padding: 60px 0 80px 0;
    overflow: hidden;
}

/* Header Layout (Line - Text - Line) */
.brands-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.header-line {
    height: 1px;
    flex-grow: 1;
    background-color: rgba(0, 0, 0, 0.1); /* Subtle dark line */
    max-width: 250px;
}

.header-text {
    padding: 0 24px;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
}

/* Marquee Layout & Transparent Faded Edges */
.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

/* Fixes the fading: Uses background-color inheritance instead of solid white blocks */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Gradients now fade gently from your background color to transparent */
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f1e9d1 0%, rgba(241, 233, 209, 0) 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f1e9d1 0%, rgba(241, 233, 209, 0) 100%);
}

/* Track and Logo Styling */
.marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 40px;
    width: max-content;
    will-change: transform;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Syne', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #3f4753;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.brand-logo i {
    font-size: 1.6rem;
    color: #8a93a0;
}

/* Hover Effect */
.brand-logo:hover {
    color: var(--accent); /* Transitions to your custom light orange on hover */
    transform: scale(1.05);
}



/* ================= TRUSTED SUPPLIERS (STACKING CARDS) ================= */
.suppliers-section {
    background-color: #f1e9d1;
    padding: 60px 0 140px 0;
}

.supplier-heading {
    margin: 0 auto 60px;
}

.cards-stack-container {
    max-width: 1120px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.stack-card {
    position: sticky;
    min-height: 480px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr; /* Image takes slightly less space than text */
    gap: 40px;
    align-items: center;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08); /* Soft dark shadow */
    border-radius: 34px;
    background: var(--card-bg);
    transform: scale(var(--scale, 1));
    transform-origin: top center;
    border: 1px solid rgba(0,0,0,0.03);
}

/* Stacking Order and Colors */
.card-1 { top: 120px; --card-bg: #faf3e3; z-index: 1; }
.card-2 { top: 160px; --card-bg: #f3ead4; z-index: 2; }
.card-3 { top: 200px; --card-bg: #efe6cf; z-index: 3; }
.card-4 { top: 240px; --card-bg: #f6efdd; z-index: 4; }
.card-5 { top: 280px; --card-bg: #eae0c6; z-index: 5; }

.card-image {
    height: 100%;
    min-height: 410px;
    border-radius: 24px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px 20px 20px 0;
}

.card-number {
    display: inline-flex;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(15, 23, 42, 0.5); /* Slate gray */
}

.card-content h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #0f172a;
}

.card-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 30px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.card-meta span {
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(15, 23, 42, 0.1);
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    letter-spacing: 0.5px;
}

/* ================= SERVICES / CORE CAPABILITIES (DARK THEME) ================= */
.services-section-dark {
    background-color: #f1e9d1; /* Matches the deep dark of the hero section */
    padding: 120px 0;
    position: relative;
}

.section-heading-dark {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Dark Theme specific header lines */
.header-line-dark {
    background-color: rgba(255, 255, 255, 0.1);
}
.header-text-dark {
    color: #94a3b8;
}

/* --- The Glassmorphism Service Cards --- */
.service-glass-card {
    background: rgba(255, 255, 255, 0); /* Extremely subtle white frost */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Slight edge reflection */
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    /* Soft dark shadow underneath */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); 
    cursor: pointer;
}

/* Image container */
.service-img-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85); /* Dims the image slightly so the text/icon pop */
}

/* Floating Icon Badge over the image */
.service-icon-badge {
    position: absolute;
    bottom: -25px; /* Pulls it down so it bridges the image and the text */
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF5A00 0%, #FF9500 100%);
    color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(255, 90, 0, 0.3);
    border: 4px solid #050a12; /* Creates a cutout effect against the background */
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Content Area */
.service-content {
    padding: 45px 30px 35px 30px; /* Extra top padding for the floating icon */
}

.service-content p {
    line-height: 1.7;
    font-size: 1.05rem;
}

/* --- THE HOVER EFFECTS --- */
.service-glass-card:hover {
    transform: translateY(-8px); /* Card lifts up */
    background: rgba(255, 255, 255, 0.04);
    /* The subtle glowing border you asked for */
    border-color: rgba(255, 90, 0, 0.4); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 90, 0, 0.1);
}

.service-glass-card:hover .service-img-wrapper img {
    transform: scale(1.08); /* Image zooms in smoothly */
    filter: brightness(1); /* Image brightens */
}

.service-glass-card:hover .service-icon-badge {
    transform: scale(1.1) rotate(5deg); /* Icon badge gives a subtle pop */
}

/* ================= TESTIMONIALS / REVIEWS ================= */
.reviews-section {
    background-color: #f1e9d1;
    padding: 100px 0 0 0; /* No bottom padding so the floor touches the edge */
    position: relative;
    overflow: hidden;
}

.z-index-2 {
    z-index: 2;
}

/* --- Carousel Container --- */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 60px 0; /* Space for the cards to breathe and shadow */
    z-index: 2;
    /* Edge fades so cards smoothly enter and exit */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
    width: max-content;
    will-change: transform;
}

/* --- The Review Card Design --- */
.review-card {
    width: 400px; /* Fixed width so they stay uniform */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
    cursor: grab;
}

/* The Quote Bubble */
.review-bubble {
    background: #ffffff;
    padding: 40px 35px 60px 35px; /* Extra bottom padding to wrap the profile pic */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    font-style: italic;
    border: 2px solid transparent; /* Ready for hover */
    transition: all 0.4s ease;
    position: relative;
}

/* The Author Section (Overlapping the bubble) */
.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -45px; /* Pulls the author block UP into the bubble */
    z-index: 2;
}

.author-img-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    padding: 5px;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    transition: all 0.4s ease;
}

.author-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--accent); /* Electric orange for titles */
    font-weight: 600;
}

/* --- HOVER EFFECTS --- */
.review-card:hover {
    transform: translateY(-10px);
}

.review-card:hover .review-bubble {
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(255, 90, 0, 0.15);
}

.review-card:hover .author-img-wrapper {
    transform: scale(1.15); /* Profile pic zooms in */
    border: 2px solid var(--accent);
}

/* --- The 3D Checkered Floor --- */
.floor-texture {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    /* Creating the checkered pattern */
    background-image: 
      linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.02) 75%, rgba(0,0,0,0.02)),
      linear-gradient(45deg, rgba(0,0,0,0.02) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.02) 75%, rgba(0,0,0,0.02));
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    /* Using 3D transform to lay it flat */
    transform: perspective(500px) rotateX(70deg);
    transform-origin: bottom center;
    z-index: 1;
    /* Fading the floor out at the top so it blends into the background */
    mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

/* ================= CONTACT US SECTION ================= */
.contact-section {
    background-color: #f1e9d1; /* Dark background to frame the white card */
    padding: 100px 0 120px 0;
}

.contact-card-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden; /* Ensures the split background colors respect the rounded corners */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); /* Heavy shadow against the dark background */
}

/* --- Left Side: Info Panel --- */
.contact-info-panel {
    background-color: #f8fafc; /* Very light cool gray */
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer; /* Makes it feel interactive */
}

/* Base Icon Styling */
.info-icon {
    width: 45px;
    height: 45px;
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-text h6 {
    transition: color 0.3s ease;
}

/* THE HOVER EFFECT: Info Items */
.info-item:hover .info-icon {
    background-color: var(--accent);
    color: #ffffff; /* Fills icon orange and turns logo white */
    transform: scale(1.1);
}

.info-item:hover .info-text h6 {
    color: var(--accent) !important; /* Turns heading orange */
}

/* Social Buttons */
.social-btn {
    width: 35px;
    height: 35px;
    background-color: #e2e8f0;
    color: #475569;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 90, 0, 0.3);
}

/* --- Right Side: Form Panel --- */
.contact-form-panel {
    background-color: #ffffff; /* Pure white */
    padding: 50px 60px;
}

/* THE FOCUS EFFECT: Input Fields */
.custom-input {
    background-color: #f1f5f9;
    border: 2px solid transparent; /* Hidden border ready for focus */
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: #334155;
    transition: all 0.3s ease;
    box-shadow: none !important; /* Overrides default bootstrap blue glow */
}

.custom-input::placeholder {
    color: #94a3b8;
}

/* When the user clicks the field */
.custom-input:focus {
    background-color: #ffffff;
    border: 2px solid var(--accent);
    outline: none;
}

/* Submit Button */
.btn-submit-custom {
    background-color: var(--accent);
    color: #ffffff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 1.05rem;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit-custom:hover {
    background-color: #e04f00; /* Darker orange */
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 90, 0, 0.3);
}

/* ================= FOOTER ================= */
.tgx-footer {
    background-color: #020617; /* Ultra deep slate, almost black */
    position: relative;
    color: #94a3b8;
}

/* Glowing Top Border */
.footer-top-accent {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
    opacity: 0.5;
}

.footer-main-content {
    padding: 80px 0 50px 0;
}

/* Branding */
.footer-logo {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -1px;
}

.footer-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Lists and Links */
.footer-links-list,
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block; /* Required for the transform slide */
}

/* The subtle slide-right hover effect */
.footer-link:hover {
    color: var(--accent);
    transform: translateX(6px);
}

.footer-link-hover:hover {
    color: var(--accent) !important;
}

/* Contact List specific */
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-list i {
    margin-top: 4px;
    font-size: 1.1rem;
}

/* Newsletter Input */
.newsletter-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.newsletter-box:focus-within {
    border-color: var(--accent);
}

.newsletter-input {
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: #ffffff;
    font-size: 0.9rem;
    flex-grow: 1;
    outline: none;
}

.newsletter-input::placeholder {
    color: #64748b;
}

.newsletter-btn {
    background: var(--accent);
    border: none;
    color: #ffffff;
    padding: 0 20px;
    height: 100%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: #e04f00;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .service-img-wrapper {
        height: 200px;
    }
    .service-content {
        padding: 35px 20px 25px 20px;
    }
    .review-card {
        width: 320px;
    }
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 991px) {
    .custom-glass-nav {
        padding-top: 10px;
    }
    
    .nav-glass-pill {
        border-radius: 20px; /* Makes it a softer square on mobile so the menu fits */
        padding: 15px 20px;
        background: rgba(10, 15, 25, 0.85); /* Slightly darker on mobile for readability */
    }
    
    .navbar-collapse {
        margin-top: 15px;
    }

    .hero-section {
        height: auto;
        min-height: 70vh;
        background-position: 70% center; /* Adjusts image focal point on phones */
    }

    .hero-container {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-fade-overlay {
        width: 100%;
        background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    }
    .stack-card {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding: 24px;
        position: relative; /* Turns off sticky stacking on small tablets/phones */
        top: auto !important;
        margin-bottom: 24px;
        transform: none !important; /* Disables JS scaling on mobile */
    }

    .card-image {
        min-height: 250px;
        height: 250px;
    }

    .card-content {
        padding: 0;
    }
    .contact-form-panel {
        padding: 40px 30px;
    }
    .contact-info-panel {
        padding: 40px 30px;
    }
    .footer-main-content {
        padding: 60px 0 30px 0;
    }
}