/* =========================================
   FIXMA Global Reset & Variables
========================================= */
:root {
    --primary-navy: #151a24; /* Background and headings */
    --accent-red: #ea2e33;   /* CTA buttons and active links */
    --light-gray: #f4f7f6;  /* Section backgrounds */
    --text-color: #555555;   /* Body text */
    --white: #ffffff;
    --transition: 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-shadow: border-box; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: var(--text-color); background-color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* =========================================
   HEADER & NAVIGATION
========================================= */
.main-header { background-color: var(--white); box-shadow: 0 4px 10px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 1000; }
.top-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.logo h1 { font-size: 1.8rem; font-weight: 800; color: var(--primary-navy); }
.logo h1 span { color: var(--accent-red); }
.logo-tag { font-size: 0.75rem; color: #777; margin-top: -5px; }

.header-info { display: flex; gap: 40px; }
.info-block { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
.info-block div h4 { font-weight: 700; color: var(--primary-navy); }
.info-block div p { color: #888; }
.info-icon { font-size: 1.5rem; color: #777; }

/* Main Menu */
.navbar { background-color: var(--primary-navy); color: var(--white); }
.nav-flex { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.nav-links { display: flex; gap: 30px; }
.nav-links li a { font-size: 0.9rem; text-transform: uppercase; font-weight: 600; padding: 5px 0; letter-spacing: 0.5px; }
.nav-links li a:hover, .nav-links li a.active { color: var(--accent-red); border-bottom: 2px solid var(--accent-red); }

/* CTA Button */
.btn-cta { background-color: var(--accent-red); padding: 12px 25px; font-weight: 700; color: var(--white); border-radius: 4px; font-size: 0.85rem; text-transform: uppercase; }
.btn-cta:hover { background-color: var(--white); color: var(--accent-red); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(234, 46, 51, 0.3); }

/* Mobile Menu Button */
.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* =========================================
   HERO / INDEX SECTION
========================================= */
.hero { position: relative; background: url('../images/fixma_hero.jpg') no-repeat center center/cover; padding: 150px 0; color: var(--white); }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.hero-content { position: relative; max-width: 600px; z-index: 10; }
.hero h2 { font-size: 3.2rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h2 span { color: var(--accent-red); }
.hero p { font-size: 1.1rem; opacity: 0.8; margin-bottom: 30px; }

.btn-hero { background-color: var(--accent-red); padding: 15px 35px; border-radius: 4px; font-weight: 700; text-transform: uppercase; }
.btn-hero:hover { background-color: var(--white); color: var(--primary-navy); }

/* =========================================
   GLOBAL PAGE SECTIONS & CONTENT
========================================= */
.section { padding: 100px 0; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; color: var(--primary-navy); margin-bottom: 60px; }
.section-title span { color: var(--accent-red); }

/* =========================================
   INDEX: FEATURE CARDS
========================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
.feature-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border-top: 4px solid var(--primary-navy); text-align: center; }
.feature-card:hover { transform: translateY(-10px); border-color: var(--accent-red); }
.feat-icon { font-size: 3rem; color: var(--accent-red); margin-bottom: 20px; display: block; }
.feature-card h3 { color: var(--primary-navy); margin-bottom: 15px; font-size: 1.3rem; }

/* =========================================
   SOLUTIONS PAGE: INTERACTIVE CARDS
========================================= */
.solutions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; margin-top: 60px; }
.sol-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.sol-image { width: 100%; height: 250px; background-color: #ddd; object-fit: cover; }
.sol-content { padding: 40px; }
.sol-content h3 { color: var(--primary-navy); font-size: 1.6rem; font-weight: 700; margin-bottom: 15px; }
.sol-list { list-style: disc; margin-left: 20px; color: var(--text-color); font-size: 0.9rem; }
.sol-list li { margin-bottom: 8px; }

/* =========================================
   CONTACT PAGE: SPLIT LAYOUT
========================================= */
.contact-layout { display: flex; gap: 60px; margin-top: 60px; }
.contact-form { flex: 1; background: var(--white); padding: 50px; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); }
.contact-info-panel { flex: 0.7; }

.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent-red); outline: none; }
.btn-submit { background-color: var(--accent-red); color: var(--white); border: none; padding: 15px 40px; border-radius: 4px; cursor: pointer; font-weight: 700; width: 100%; text-transform: uppercase; }

/* =========================================
   FOOTER
========================================= */
.main-footer { background-color: var(--primary-navy); color: var(--white); padding: 80px 0 30px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-logo { font-size: 1.8rem; color: var(--white); font-weight: 800; margin-bottom: 15px; }
.footer-logo span { color: var(--accent-red); }
.footer-col h4 { font-size: 1rem; color: var(--white); font-weight: 700; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a { font-size: 0.9rem; color: #aaa; }
.footer-links li a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; text-align: center; font-size: 0.8rem; color: #777; }
.legal-links { display: flex; gap: 20px; justify-content: center; margin-top: 10px; }

/* =========================================
   MOBILE RESPONSIVE QUERIES
========================================= */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero h2 { font-size: 2.8rem; }
}

@media (max-width: 850px) {
    /* Main Layouts */
    .contact-layout, .feature-grid, .solutions-grid { flex-direction: column; grid-template-columns: 1fr; }
    
    /* Header & Nav */
    .top-header { flex-direction: column; text-align: center; gap: 15px; }
    .header-info { display: none; } /* Hide info bar on mobile */

    .navbar { position: relative; }
    .nav-flex { padding: 10px 0; }
    .mobile-toggle { display: block; } /* Show menu button */
    
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary-navy); flex-direction: column; gap: 0; padding: 0; overflow: hidden; max-height: 0; transition: max-height 0.4s ease-out; }
    .nav-links li a { display: block; padding: 15px 25px; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .nav-links li a:hover, .nav-links li a.active { color: var(--accent-red); border-bottom-color: rgba(255,255,255,0.05); }
    
    .show-menu { max-height: 500px; } /* Mobile Menu Show Class */
    .btn-cta { display: none; } /* Hide CTA button on mobile */

    /* Hero */
    .hero { padding: 100px 0; text-align: center; }
    .hero h2 { font-size: 2.5rem; }
    .hero-content { max-width: 100%; }

    /* Page Sections */
    .section { padding: 80px 0; }
    .section-title { font-size: 2rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .legal-links { flex-direction: column; gap: 10px; }
}

/* --- Legal Layout CSS --- */
.legal-hero-banner {
    background: #151b26; /* Navy */
    color: white;
    padding: 100px 0 60px;
    border-bottom: 6px solid #e62e2d; /* Red Accent */
}

.legal-tag { color: #e62e2d; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; }

.legal-layout {
    display: flex;
    gap: 60px;
    padding: 80px 0;
}

/* Sticky Sidebar */
.legal-nav-col { flex: 0 0 280px; }
.sticky-nav { position: sticky; top: 120px; }

.sticky-nav h3 { font-size: 1.1rem; margin-bottom: 20px; color: #151b26; border-bottom: 2px solid #eee; padding-bottom: 10px; }

.sticky-nav ul { list-style: none; }
.sticky-nav ul li a {
    display: block;
    padding: 12px 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.3s;
}

.sticky-nav ul li a span { color: #e62e2d; font-weight: 700; margin-right: 10px; }
.sticky-nav ul li a:hover { color: #e62e2d; padding-left: 10px; }

/* Content Styling */
.legal-content-col { flex: 1; }
.legal-section { margin-bottom: 50px; }
.legal-section h2 { color: #151b26; font-size: 1.6rem; margin-bottom: 20px; }
.legal-section p { color: #555; line-height: 1.8; margin-bottom: 15px; }

.alert-box-red {
    background: #fff5f5;
    border-left: 4px solid #e62e2d;
    padding: 20px;
    margin: 20px 0;
}

.final-acknowledgment {
    background: #f8f9fa;
    padding: 30px;
    border: 1px solid #ddd;
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* Mobile Fix */
@media (max-width: 992px) {
    .legal-layout { flex-direction: column; }
    .legal-nav-col { display: none; } /* Hide sidebar on mobile for better text flow */
}
/* =========================================
   FIXMA MOBILE RESPONSIVE ENGINE
========================================= */

@media (max-width: 1024px) {
    .hero-split {
        height: auto;
        flex-direction: column;
    }

    .hero-content-side {
        padding: 80px 5%;
        text-align: center;
    }

    .hero-content-side h2 {
        font-size: 3rem;
    }

    .hero-content-side p {
        border-left: none;
        border-top: 4px solid var(--fixma-red);
        padding-left: 0;
        padding-top: 20px;
    }

    .hero-image-side {
        width: 100%;
        height: 400px;
    }

    .hero-image-side img {
        clip-path: none; /* Remove the slant on tablets/phones for better framing */
    }
}

@media (max-width: 768px) {
    /* Top Bar adjustments */
    .top-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .contact-meta {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Navigation Mobile Toggle */
    .main-nav {
        flex-direction: column;
        padding: 0;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        display: none; /* Toggle this class with JS */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .appointment-btn {
        width: 100%;
        text-align: center;
    }

    /* Overlap Cards stacking */
    .overlap-section {
        margin-top: 0; /* Remove overlap on mobile to prevent clipping */
        padding: 40px 0;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 40px 20px;
    }

    /* About Section Overlap */
    .section .container[style*="display: flex"] {
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* Legal Grid */
    .legal-layout {
        flex-direction: column;
    }

    .legal-nav-col {
        display: none; /* Hide the sticky sidebar on small phones */
    }
}

@media (max-width: 480px) {
    .hero-content-side h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-image-side {
        height: 300px;
    }
}
/* =========================================
   ABOUT PAGE HERO (SLANTED SPLIT)
========================================= */

.about-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--fixma-white);
    overflow: hidden;
    height: 60vh; /* Shorter than home hero */
}

/* Text Side */
.about-hero .hero-content-side {
    flex: 1;
    padding: 0 5% 0 10%;
    animation: fadeInLeft 1s ease-out;
}

.about-hero .legal-tag {
    display: inline-block;
    color: var(--fixma-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Image Side with Slant */
.about-hero .hero-image-side {
    flex: 1.2;
    height: 100%;
    position: relative;
    background-color: var(--fixma-navy);
}

.about-hero .hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This creates the professional slant overlap */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    transition: transform 0.5s ease;
}

.about-hero .hero-image-side:hover img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* --- Mobile Responsiveness for About Hero --- */
@media (max-width: 1024px) {
    .about-hero {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .about-hero .hero-content-side {
        padding: 60px 20px;
        order: 2; /* Text comes second on mobile */
    }

    .about-hero .hero-image-side {
        width: 100%;
        height: 350px;
        order: 1; /* Image stays at top on mobile */
    }

    .about-hero .hero-image-side img {
        clip-path: none; /* Remove slant for better mobile framing */
    }

    .about-hero .hero-content-side p {
        border-left: none;
        border-top: 3px solid var(--fixma-red);
        padding: 15px 0 0 0;
        display: inline-block;
    }
}

/* Simple Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- SOLUTIONS HERO SPECIFIC --- */
.solutions-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60vh;
    background: #fff;
    overflow: hidden;
}

.slant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* --- SOLUTION CARDS ENHANCEMENT --- */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.sol-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--fixma-navy);
}

.sol-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--fixma-red);
}

.sol-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.sol-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sol-card:hover .sol-image {
    transform: scale(1.1);
}

.sol-content {
    padding: 40px;
}

.sol-content h3 {
    color: var(--fixma-navy);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.sol-list {
    padding-left: 20px;
    color: #666;
}

.sol-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 992px) {
    .solutions-hero {
        flex-direction: column;
        height: auto;
    }
    
    .solutions-hero .hero-image-side {
        width: 100%;
        height: 300px;
    }
    
    .slant-img {
        clip-path: none;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content-side {
        padding: 60px 20px;
        text-align: center;
    }
}
:root {
    /* Standardized Spacing Tokens */
    --space-xs: 20px;
    --space-sm: 40px;
    --space-md: 80px;
    --space-lg: 120px; /* Standard section breathing room */
    --container-width: 1200px;
}

/* --- Global Section Padding --- */
.section {
    padding: var(--space-lg) 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-xs); /* Prevents text hitting screen edges on mobile */
}

/* --- Hero Padding (The Bremond Style) --- */
.hero-split .hero-content-side {
    padding: var(--space-md) 5% var(--space-md) 10%;
}

/* --- Solution & Service Card Padding --- */
.sol-content, .service-card {
    padding: var(--space-sm) var(--space-sm);
}

/* --- Legal/Terms Layout Padding --- */
.legal-layout {
    display: flex;
    gap: 60px; /* Space between sidebar and text */
    padding: var(--space-md) 0;
}

.legal-section {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #f0f0f0;
}
.logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-top {
    display: flex;
    align-items: center; /* Vertically centers the logo with the text */
    gap: 12px; /* Proper spacing between icon and name */
}

.logo-top img {
    height: 80px;
    /* Adjust based on your logo design */
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #151b26; /* Navy */
    line-height: 1;
    margin: 0;
    letter-spacing: -1px;
}

.logo h1 span {
    color: #e62e2d; /* Red */
}

.logo-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2.5px; /* Creates that premium corporate look */
    margin-top: 4px;
    margin-left: 57px; /* Matches the width of the logo icon + gap to align text */
}

/* Responsive Fix for Mobile */
@media (max-width: 768px) {
    .logo-top {
        justify-content: center;
    }
    .logo-tag {
        margin-left: 0;
        text-align: center;
    }
}
:root {
    --sigma-teal: #009688;     /* Primary Action Color from Logo */
    --sigma-emerald: #00796b;  /* Darker shade for hover/depth */
    --sigma-navy: #102a27;     /* Very dark teal-tinted navy for Nav/Text */
    --sigma-light: #e0f2f1;    /* Background tint */
    --sigma-white: #ffffff;
    --text-main: #37474f;
}

/* --- LOGO AREA UPDATES --- */
.logo h1 {
    color: var(--sigma-navy);
}

.logo h1 span {
    color: var(--sigma-teal); /* Matches the 'sigma' part of your logo */
}

/* --- BUTTON & LINK OVERRIDES --- */
.btn-cta, .btn-hero, .appointment-btn, .btn-submit {
    background-color: var(--sigma-teal) !important;
}

.btn-cta:hover, .appointment-btn:hover {
    background-color: var(--sigma-emerald) !important;
    box-shadow: 0 5px 15px rgba(0, 150, 136, 0.3);
}

.nav-links li a:hover, .nav-links li a.active {
    color: var(--sigma-teal) !important;
    border-bottom-color: var(--sigma-teal) !important;
}

/* --- SECTION BACKGROUNDS --- */
.section-dark {
    background-color: var(--sigma-navy) !important;
    color: var(--sigma-white);
}

.legal-hero-banner {
    background: var(--sigma-navy) !important;
    border-bottom: 6px solid var(--sigma-teal) !important;
}
/* Softening the hard corporate edges */
.sol-card, .service-card, .contact-form, .btn-cta, .appointment-btn {
    border-radius: 12px; /* Soft edges match the logo curves */
}

.hero-content-side p {
    border-left: 4px solid var(--sigma-teal);
}

/* Service Card Active State */
.service-card.active-red {
    background: var(--sigma-teal) !important;
}

/* Icon Colors */
.feat-icon, .info-icon, .meta-item i {
    color: var(--sigma-teal) !important;
}
/* Add this to your Hero Section CSS */
.hero-split .hero-image-side::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,150,136,0.2), rgba(16,42,39,0.4));
    pointer-events: none;
}
.logo-tag {
    color: var(--sigma-emerald); /* Subtly links the tagline to the logo icon */
    letter-spacing: 3px;
}
:root {
    /* Font Assignments */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Font Weights */
    --weight-light: 300;
    --weight-reg: 400;
    --weight-bold: 700;
    --weight-black: 900;
}

body {
    font-family: var(--font-body);
    font-weight: var(--weight-reg);
    color: #37474f;
    line-height: 1.7; /* Proper line height for financial reading */
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .appointment-btn, .nav-links li a {
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em; /* Tighter headings look more premium */
}

/* Specific Logo Typography to match the 'sigma' look */
.logo h1 {
    font-family: var(--font-heading);
    font-weight: var(--weight-black); /* Extra thick like your logo */
    text-transform: none; /* Keep the 'sigma' casing feel */
}

.logo-tag {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 3px;
}

/* Button Typography */
.btn-cta, .btn-hero {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
:root {
    --font-primary: 'Montserrat', sans-serif;
    /* Brand Teal from Logo */
    --sigma-teal: #009688; 
    --sigma-dark-teal: #00796b;
    --sigma-navy: #102a27;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: #444;
    line-height: 1.6;
}

/* --- LOGO TYPOGRAPHY --- */
.logo h1 {
    font-family: var(--font-primary);
    font-weight: 800; /* Heavy weight for 'FIX' */
    color: var(--sigma-navy);
    letter-spacing: -1px;
    text-transform: none;
}

.logo h1 span {
    font-weight: 600; /* Slightly lighter for 'sigma' */
    color: var(--sigma-teal);
}

/* --- HEADINGS & NAV --- */
h1, h2, h3, .appointment-btn, .nav-links li a {
    font-family: var(--font-primary);
    font-weight: 700;
}

/* Section Headlines */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--sigma-navy);
}

.section-title span {
    color: var(--sigma-teal);
}

/* --- BUTTONS --- */
.btn-cta, .appointment-btn {
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--sigma-teal);
    border-radius: 4px; /* Matches the clean edges of the 'FIX' letters */
}

.logo-top {
    display: flex;
    align-items: center; 
    gap: 10px; /* Slightly reduced gap for a tighter look */
}

.logo-top img {
    /* Adjusted height for a smaller, cleaner look */
    height: 32px; 
    width: auto;
    object-fit: contain;
    /* Optional: subtle transition for a high-end feel */
    transition: transform 0.3s ease;
}

.logo h1 {
    font-size: 1.6rem; /* Scaled down slightly to match the smaller icon */
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--sigma-navy);
    line-height: 1;
    margin: 0;
}

.logo-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem; /* Slightly smaller tagline */
    font-weight: 600;
    color: var(--sigma-emerald);
    letter-spacing: 2.5px;
    margin-top: 2px;
    /* This ensures the tagline still aligns with the start of 'FIX' */
    margin-left: 42px; 
}
@media (max-width: 768px) {
    .logo-top img {
        height: 28px;
    }
    .logo h1 {
        font-size: 1.4rem;
    }
}

.hero-split {
    display: flex;
    width: 100%;
    align-items: stretch; /* Ensures both sides are the same height */
}

.hero-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text vertically */
}

.hero-image-side {
    flex: 1.2; /* Makes image side slightly wider than text */
    overflow: hidden;
}

.slant-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crucial: Prevents the image from stretching */
    /* The Slant Effect */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Fix for mobile - stacks the split */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    .hero-image-side {
        height: 350px;
        order: 1; /* Image on top */
    }
    .hero-content-side {
        order: 2; /* Text on bottom */
        padding: 60px 5% !important;
        text-align: center;
    }
    .slant-img {
        clip-path: none; /* Remove slant on mobile */
    }
}

/* --- FOOTER ENHANCEMENTS --- */
.main-footer {
    background-color: var(--sigma-navy); /* Darkest teal/navy tint */
    color: #ffffff;
    padding: 80px 0 0;
    font-family: 'Montserrat', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

/* Footer Logo Alignment */
.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-mini-logo {
    height: 25px; /* Smaller as requested */
    width: auto;
    filter: brightness(0) invert(1); /* Makes the logo icon pure white for dark background */
    opacity: 0.9;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-logo-text span {
    color: var(--sigma-teal);
}

.footer-desc {
    color: #b0bec5;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 400px;
}

.footer-contact-info p {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

/* Heading & Links */
.footer-col h4 {
    color: var(--sigma-teal);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #b0bec5;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--sigma-teal);
    padding-left: 8px;
}

/* Bottom Bar */
.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #78909c;
}

.legal-links a {
    color: #78909c;
    text-decoration: none;
}

.legal-links a:hover { color: #fff; }
.sep { margin: 0 10px; color: #455a64; }

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-logo-container { justify-content: center; }
    .footer-desc { margin: 0 auto 25px; }
    .bottom-flex { flex-direction: column; gap: 15px; }
}

.logo {
    display: flex;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center; /* Vertically centers the icon with the text */
    gap: 12px; /* Standard spacing between icon and text */
}

.logo-brand img {
    /* Standard Corporate Height */
    height: 35px; 
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; /* Adjusted for a standard header fit */
    font-weight: 800;
    color: var(--sigma-navy);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-tag span {
    color: var(--sigma-teal);
    font-weight: 600; /* Matching the logo's weight contrast */
}

/* Responsive adjustment for mobile devices */
@media (max-width: 768px) {
    .logo-brand img {
        height: 28px; /* Slightly smaller for mobile screens */
    }
    .logo-tag {
        font-size: 1rem;
    }
}

.footer-logo-container {
    display: flex;
    flex-direction: column; /* Stacks image over text */
    align-items: center;    /* Centers items horizontally */
    text-align: center;     /* Centers the text lines */
    margin-bottom: 30px;
    gap: 15px;              /* Space between logo and text */
}

.footer-mini-logo {
    height: 30px;           /* Standardized mini size */
    width: auto;
    filter: brightness(0) invert(1); /* Keeps it white for the dark footer */
    object-fit: contain;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;      /* Slightly smaller for footer balance */
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.4;       /* Better spacing for the two-line feel */
    text-transform: uppercase;
}

.footer-logo-text span {
    color: var(--sigma-teal); /* Teal for SIGMA and PVT. LTD */
    font-weight: 600;
}

/* Ensure the column above it doesn't align left */
.footer-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* --- ABOUT US HERO STYLES --- */
.about-hero-mumbai {
    height: 70vh; /* Premium height, balancing the image's wide scope */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center; /* Vertically center the content box */
    margin-top: -85px; /* Pulls image up behind a transparent header */
    padding-top: 100px; /* Counteracts the header height */
}

/* Add a standard dark gradient for readability of white text */
.about-hero-mumbai::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(16, 42, 39, 0.7) 0%, rgba(16, 42, 39, 0.2) 60%, rgba(0,0,0,0) 100%);
    pointer-events: none; /* Allows user to click things underneath */
}

.hero-content-overlay {
    display: flex;
    justify-content: flex-start; /* Keeps text box to the left */
    width: 100%;
    position: relative;
    z-index: 2; /* Puts text above the overlay */
}

.about-hero-content-box {
    max-width: 550px;
    padding: 60px 40px;
    background-color: rgba(255,255,255,0.02); /* Subtle texture */
    backdrop-filter: blur(5px); /* Modern, soft background feel */
    border-radius: 12px;
}

/* Typography Overrides for this Hero */
.about-hero-content-box h2 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin: 15px 0;
}

.about-hero-content-box h2 span {
    color: var(--sigma-teal); /* Teal from your logo */
}

.about-hero-content-box p {
    color: #e0f2f1; /* Light teal tint for the description */
    margin-bottom: 30px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
}

.about-hero-content-box .legal-tag {
    color: var(--sigma-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Button overrides */
.btn-about-hero {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--sigma-teal);
    color: var(--sigma-teal);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-about-hero:hover {
    background: var(--sigma-teal);
    color: #fff;
}
/* --- VISUAL CONTACT HERO (BRAND-FREE) --- */
.visual-contact-hero {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end; /* Text sits at the bottom for a modern feel */
    padding-bottom: 80px;
    margin-top: -85px; /* Integration with transparent header */
    overflow: hidden;
}

/* Add a subtle dark gradient to pull focus to the text at the bottom */
.visual-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 42, 39, 0.9) 0%, rgba(16, 42, 39, 0) 50%);
}

.hero-minimal-overlay {
    position: relative;
    z-index: 5;
    max-width: 550px;
}

.contact-value-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin: 15px 0;
}

.contact-value-box h2 span {
    color: var(--sigma-teal);
}

.location-tag {
    font-family: 'Montserrat';
    color: var(--sigma-teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: block;
}

.contact-value-box p {
    color: #cfd8dc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    border-left: 3px solid var(--sigma-teal);
    padding-left: 20px;
}

/* Button overrides for this page */
.btn-sigma-contact {
    display: inline-block;
    padding: 15px 35px;
    background: var(--sigma-teal);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-sigma-contact:hover {
    background: var(--sigma-dark-teal);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

.sol-card {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden; /* Clips image to border radius */
    display: flex;
    flex-direction: column;
    height: auto; /* IMPORTANT: Allows card to expand for text */
    transition: transform 0.3s ease;
}

.sol-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.sol-image-container {
    width: 100%;
    line-height: 0; /* Removes tiny gap under images */
}

.sol-image {
    width: 100%;
    height: 244px; /* Set your specific height */
    object-fit: cover; /* Ensures image isn't squashed */
    display: block;
}

.sol-content {
    padding: 30px;
    flex-grow: 1; /* Ensures content fills the remaining space */
}

.sol-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--sigma-navy);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.sol-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sol-list {
    list-style: none;
    padding: 0;
}

.sol-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 8px;
}

.sol-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--sigma-teal);
    font-weight: bold;
}