
/* Ensure the parent section doesn't have a max-width */
.syrex-slider {width: 100%; max-width: 100%; padding: 0; margin: 0; overflow: hidden;}

/* Force Swiper to fill the entire width of the high-res screen */
.swiper.myHero {width: 100vw; height: 55vh; /* Adjust height as you like */}

/* The magic for ultra-wide screens 
.swiper-slide img {width: 100%; height: 100%; display: block; object-fit: cover; z-index: 1; /* Keeps aspect ratio while filling 2560px *//*}*/

/* Ensure the slide can hold an absolute positioned child */
.swiper-slide {position: relative; width: 100%; height: 100vh; /* Full screen height like Syrex */}

/* The container that holds the text */
.hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Vertically centers the text box */
    padding-left: 10%;    /* Matches your text alignment */
    z-index: 10;
}

/* Vertical Gradient Overlay for Text Legibility */

/* Ensure the Image is at the bottom of the stack */
.swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; /* Lowest layer */
}

.hero-content {
    margin: 0 0 0 1vw;
    position: relative; /* This is the anchor for the shape */
    max-width: 535px;
    color: #fff;
    z-index: 10; /* Keeps text above the shape */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 1. THE GRADIENT OVERLAY (Full Screen) */
.swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Obsidian Black to Transparent - Covers the whole screen */
    background: linear-gradient(
        to right, 
        rgba(18, 18, 18, 0.9) 0%,   /* Solid at the left edge */
        rgba(18, 18, 18, 0.7) 20%,  /* Deep tint for H1 readability */
        rgba(18, 18, 18, 0.3) 50%,  /* Starting to fade */
        rgba(18, 18, 18, 0) 100%    /* Completely clear on the right */
    );
    z-index: 2; /* Sits above the background image */
    pointer-events: none; /* Crucial for clicking buttons */
}

/* 2. THE DECORATIVE SHAPE (Your PNG Overlay) */
.hero-shape-overlay {
    position: absolute;
    width: 650px;
    height: 396px;
    background-image: url('images/main-slider/overlay.png');
    background-repeat: no-repeat;
    top: 49%;
    left: 8%;
    transform: translateY(-50%);
    opacity: 0;
    z-index: 3; /* Sits ABOVE the gradient (2) but BELOW the text (10) */
    transition: opacity 1000ms ease;
    pointer-events: none;
}

/* 3. THE TEXT CONTAINER */
.hero-container {
    position: absolute;
    z-index: 10; /* Sits at the very top */
    /* ... your other container styles ... */
}

/* Trigger animation */
.swiper-slide-active .hero-shape-overlay {opacity: 1;}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #fff;
}

.hero-subtitle {font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; color: #fff;}

/* Refined Button Styling */

.hero-buttons {
    display: flex;
    gap: 25px; /* Increased from 15px for better visual separation */
    margin-top: 20px; /* Ensures space between the subtitle and buttons */
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;      
    justify-content: center;    
    height: 54px; 
    padding: 0 35px;    
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 210px;    
    line-height: 1; 
    vertical-align: middle;
    box-sizing: border-box;
}

/* Primary Button: Bronze to Navy Hover */
.btn-primary {background-color: #A1613A; color: #ffffff !important; border: 2px solid #A1613A; }

.btn-primary:hover {
    background-color: #0B1D3A !important;
    border-color: #0B1D3A !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Secondary Button: Outlined */
.btn-secondary {border: 2px solid #ffffff; color: #ffffff !important; background: transparent;}

.btn-secondary:hover {
    background-color: #ffffff !important;
    color: #0B1D3A !important; 
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.swiper-button-next, 
.swiper-button-prev {
    top: 55% !important; /* Move the top edge to the middle of the container */
    transform: translateY(-50%); /* Pull the button back up by half its own height */
    margin-top: 0 !important; /* Remove any default Swiper margins that might interfere */
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.1); /* Subtle glass effect */
    width: 60px!important;
    height: 60px!important;
    border-radius: 50%;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #ffffff!important; /* Or your brand primary color */
}

/* Change color/opacity on hover */
.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 0.3)!important;
    color: #ffffff!important; /* Or your brand primary color */
    transform: translateY(-50%) scale(1.1)!important; /* Keeps the vertical centering while scaling */
}
.swiper-button-next:after, .swiper-button-prev:after {font-size: 25px!important;}
.swiper-button-prev {left: 20px!important;}
.swiper-button-next {right: 20px!important;}

@media (max-width: 768px) {
    .hero-shape-overlay {
        display: none; /* Or scale it down with transform: scale(0.5); */
    }
}

@media (max-width: 450px) {
    .hero-container {padding-left: 5%; padding-right: 5%;}
    .hero-content {max-width: 350px;}
    .hero-buttons {
        display: flex;
        gap: 15px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn {width: -webkit-fill-available;}
    .swiper-button-next {right: 8px;}
    .swiper-button-next, .swiper-button-prev {width: 20px; height: 20px;}
    .swiper-button-prev {left: 8px;}
}


/* Force all slider items to have the exact same height */
.carousel-item, .owl-item {
    height: 85vh !important; /* Or a fixed height like 600px */
    overflow: hidden;
}

/* Ensure the image fills the space regardless of its original size */
.division-card .card-image, .hero-slide-bg {
    height: 100%;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
    display: block;
}

/* --- Mobile Specific Tweaks --- */
@media (max-width: 767px) {
    /* 1. Prevent the "Jumping" 100vh issue on mobile */
    .carousel-item, .owl-item {
        height: 80vh !important; /* Slightly shorter for mobile to show there is content below */
        min-height: 500px; /* Ensures the card never gets too squashed for the text */
    }

    /* 2. Adjust the Division Cards for vertical stacking */
    .division-card {
        height: 350px !important; /* Shorter cards on mobile so the user doesn't have to scroll forever */
        margin-bottom: 15px;
    }

    /* 3. Scale down the text so it fits the smaller width */
    .division-card h4 {
        font-size: 2rem;
    }
    
    .division-card p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* 4. Ensure background images stay centered on narrow screens */
    .hero-slide-bg, .card-image {
        background-position: center center !important;
    }
}

/* Ensures FontAwesome icons align perfectly in your navy circles */
.icon-wrap i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 24px; /* Adjust based on your design preference */
}
.divider {
    height: 1px;
    background-color: #fff;
    margin: 10px 0;
}


/* Color Palette */
:root {
    --syrex-navy: #0B1D3A;
    --syrex-bronze: #A1613A;
}

/* Typography Reset */
h1, h2, h3, h4, h5 { font-family: 'Montserrat', sans-serif !important; font-weight: 700; color: var(--syrex-navy); }
body, p { font-family: 'Lato', sans-serif; color: #444; }

.text-bronze { color: var(--syrex-bronze); }
.bg-navy { background-color: var(--syrex-navy); }

/* Hero Tweaks */
.trust-line {
    font-size: 0.85rem;
    font-style: italic;
    border-left: 3px solid var(--syrex-bronze);
    padding-left: 15px;
    opacity: 0.9;
    color: #fff;
}

/* Solutions Cards */
.sol-card {
    background: #fff;
    padding: 30px;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}
.sol-card:hover { transform: translateY(-5px); }
.sol-card i { font-size: 40px; color: var(--syrex-bronze); display: block; margin-bottom: 20px; }
.sol-card h5 { font-size: 1.1rem; margin-bottom: 15px; }

/* Sector Strip Styling */
.sector-strip { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Buttons Enhancement */
.btn-primary { background: var(--syrex-bronze); border: 2px solid var(--syrex-bronze); padding: 12px 30px;}
.btn-primary:hover { background: var(--syrex-navy); border-color: var(--syrex-navy); }

.btn-secondary-dark { border: 2px solid var(--syrex-navy); color: var(--syrex-navy); padding: 12px 30px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: 0.3s; }
.btn-secondary-dark:hover { background: var(--syrex-navy); color: #fff; }

/* 5-Column Grid Helper for "How it Works" */
@media (min-width: 992px) {
    .col-lg-2-4 { flex: 0 0 auto; width: 20%; }
}


/* ==========================================================================
   Syrex Technology Page Styles
   ========================================================================== */

section.py-5.bg-white.tech-ecosystem {padding-top: 0 !important;}

/* --- Technology Specific Styles --- */
.technologies-page .hero-subpage { border-bottom: 5px solid #A1613A; }

/* Grid adjustment for 7 items: 3 per row, then 4 per row, or 1 per row on mobile */
.technologies-page .deliverable-panel { padding: 0 15px 15px 0; }

.technologies-page .tech-accent-line {
    border-left: 5px solid #A1613A;
    padding-left: 30px;
}

/* Spacing for the Tech Ecosystem Header */
.technologies-page .section-header-spacer {margin-bottom: 35px;}

.tech-ecosystem .pillar-card {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    height: 100%;
    border-bottom: 4px solid #eee;
    transition: all 0.3s ease;
}
.tech-ecosystem .pillar-card:hover {
    border-bottom: 4px solid #A1613A;
    transform: translateY(-10px);
}
.tech-ecosystem .feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.tech-ecosystem .feature-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 500;
}

/* --- Detailed Services Horizontal Layout --- */
.detailed-service-item {
    display: flex;
    flex-direction: row; /* Forces horizontal alignment */
    align-items: flex-start; /* Aligns icon with the top of the heading */
    margin-bottom: 45px;
    width: 100%;
}

.detailed-service-item .icon-wrap {
    flex: 0 0 50px; /* Fixed width: container will not shrink or grow */
    width: 50px;
    height: 50px;
    background: #fdf8f5; /* Subtle bronze tint */
    color: #A1613A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 25px; /* Gap between icon and text */
    border: 1px solid rgba(161, 97, 58, 0.1);
    margin-top: 5px; /* Fine-tunes alignment with the first line of text */
}

.detailed-service-item .content-wrap {
    flex: 1; /* Text content fills all remaining horizontal space */
}

.detailed-service-item h4 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    line-height: 1.2;
}

/* Right column bronze line spacing adjustment */
.technologies-page .tech-accent-line {
    border-left: 5px solid #A1613A;
    padding-left: 45px; 
}

/* 2. Brand Colors & Accents */
.text-primary, 
.text-bronze { color: #A1613A !important; }

.text-bronze-accent { 
    color: #A1613A !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-size: 40px; 
}

.border-left-bronze {
    border-left: 5px solid #A1613A;
}

/* 3. Benefits List */
.custom-bullets li {
    display: flex;
    align-items: flex-start;
}

.custom-bullets li i {
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

/* 4. Vision & Mission Cards */

/* In tech-styles.css */
.vision-mission-wrap .bronze-line {
    background: #ffffff !important; /* Force white on this specific dark section */
    margin-bottom: 45px;
    height: 2px; /* Slightly thinner for a more modern look */
}

.vision-mission-wrap {
    overflow: hidden;
    position: relative;
    background-color: #121212;
}

/* Card Link Wrapper */
.card-link-wrapper {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

/* Ensure the card is a flex container */
.vision-card, .mission-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Push the link to the bottom */
.mt-auto {
    margin-top: auto !important;
}

/* White Text Link Styling */
.white-text-link {
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.white-text-link i {
    transition: transform 0.3s ease;
}

/* Hover States */
.card-link-wrapper:hover .vision-card, 
.card-link-wrapper:hover .mission-card {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-top: 3px solid #FFFFFF; /* Highlight top border on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-link-wrapper:hover .white-text-link {
    letter-spacing: 2px; /* Subtle expansion effect */
}

.card-link-wrapper:hover .white-text-link i {
    transform: translateX(10px); /* Arrow slides right */
}

.vision-mission-wrap h2, .h2 {font-size: 1.5rem;}

.vision-mission-wrap .p-5 {padding: 1.5rem !important;}
.vision-mission-wrap h5, .h5 {font-size: 0.9rem; font-weight: 300;}

.vision-mission-wrap .col-md-5 {
    padding-right: 8px;
    padding-left: 8px;
}

.leading-relaxed {
    line-height: 1.8;
}

@media (min-width: 768px) {
    .vision-mission-wrap .col-md-5 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
    }
}

/* Container for the 5-column grid */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

.why-syrex .pb-3, .py-3 {padding-bottom: 0 !important;}

.work-step {
    position: relative;
    padding: 35px 25px;
    height: 100%;
    background: transparent; /* Invisible until hover */
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

/* Hover Effect: Card becomes white with a soft shadow */
.work-step:hover {
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(11, 29, 58, 0.1); /* Subtle Navy-tinted shadow */
    transform: translateY(-5px);
    border-radius: 8px;
}

/* Step Number Styling & Animation */
.step-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: rgba(161, 97, 58, 0.1); /* Faint Bronze */
    line-height: 1;
    margin-bottom: -15px;
    transition: all 0.4s ease;
}

/* Syncing Number Animation with Card Hover */
.work-step:hover .step-num {
    color: rgba(161, 97, 58, 0.4); /* Number darkens slightly on hover */
    transform: translateY(-5px);
}

.work-step h5 {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

.work-step p {
    position: relative;
    z-index: 2;
}

/* Sectors Strip Styles */
.sector-strip-wrap {
    background-color: #0B1D3A; /* Syrex Navy */
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sector-node {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 5px 10px;
    white-space: nowrap;
}

.sector-divider {
    width: 1px;
    height: 20px;
    background-color: #A1613A; /* Syrex Bronze Divider */
    opacity: 0.6;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .sector-divider {
        display: none; /* Remove vertical lines on mobile to allow wrapping */
    }
    .sector-node {
        margin: 5px;
        background: rgba(255,255,255,0.05); /* Slight box feel for mobile touch */
        border-radius: 4px;
        font-size: 0.85rem;
    }
}

/* Case Study Card Styling */
.case-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11, 29, 58, 0.15) !important;
}

.case-header {
    background-color: #0B1D3A; /* Syrex Navy */
}

.case-meta p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-top: 2px;
}

.case-outcome {
    border-radius: 0 4px 4px 0;
    background-color: #f8f9fa;
}

.border-bronze-accent {
    border-color: #A1613A !important;
}

.case-body span.label {
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.final-cta a.btn.btn-primary {margin: 0 20px 0 0;}

/* Custom Spacing for CTA Buttons */
.hero-buttons-wide {
    /* gap-5 usually equals 3rem (48px). We can force it to 60px if you want them even wider */
    gap: 25px !important; 
}
/* Responsive: Reduce gap on mobile so they don't feel disconnected */
@media (max-width: 767px) {
    .hero-buttons-wide {
        gap: 20px !important;
    }
}

.main-footer .widgets-section.homepage {
    position: relative;
    padding: 60px 0 60px;
}

.widget-content p {
    color: #fff;
}

.main-footer .about-widget .text {color: #ffffff;}

/* 1. Force the Icon Font (Prevents Lato from breaking it) */
.scroll-top .fa, 
.scroll-top .fas {
    font-family: "Font Awesome 5 Free" !important; /* Adjust to "Font Awesome 6 Free" if updated */
    font-weight: 900 !important;
    font-style: normal !important;
    /* 2. Reset any accidental rotations */
    transform: none !important; 
    display: inline-block;
}

/* 3. Button Styling to match Syrex Tech */
.scroll-top {
    width: 55px;
    height: 55px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    font-size: 18px;
    border-radius: 50%;
    z-index: 99;
    /* Changed display to flex to perfectly center the arrow */
    display: none; 
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    background: #A1613A;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
    border: none;
    outline: none;
}

/* THE FIX: Specifically targets the arrow inside the button */
.scroll-top span.fa {
    font-family: "Font Awesome 5 Free" !important; /* Forces the Icon font over Lato */
    font-weight: 900 !important;
    transform: none !important; /* Resets any 'point-left' rotations */
    line-height: 1 !important;   /* Prevents vertical misalignment */
    display: inline-block;
    margin-top: -2px; /* Visual tweak to center the chevron vertically */
}

.scroll-top:hover {
    background: #5E5E5E; /* Syrex Navy on hover */
    color: #fff;
}

/* ==========================================================================
   End Syrex Technology Page Styles
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

/* Ensure the background image stays fixed for a premium feel */
@media (min-width: 992px) {
    .page-hero {
        background-attachment: fixed;
    }
}

.solutions-page .pb-5, .py-5 {padding: 1.5rem 0!important;}

section.why-syrex.py-5 {padding: 5rem !important;}

.btn-secondary-outline-dark {
    border: 2px solid #0B1D3A; /* Syrex Navy */
    color: #0B1D3A;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    
    /* THE FIX: Vertical & Horizontal Centering */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Normalize the height */
    padding: 0 1.5rem; /* Adjust horizontal padding as needed */
    height: 58px;      /* Standard height for btn-lg */
    line-height: 1;    /* Removes extra space above/below letters */
    transition: all 0.3s ease;
}

.btn-secondary-outline-dark:hover {
    background: #0B1D3A;
    color: #fff;
    text-decoration: none; /* Prevents underline on hover */
}

section.cta-band .container {padding: 65px 0;}

/* Card Styling */
.cctv-systems-page .info-card {
    background: var(--chalk);
    border: 1px solid rgba(94, 94, 94, 0.2); /* Soft Steel Grey border */
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--steel);
}

.cctv-systems-page .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top-color: var(--matte-copper); /* Switches to Copper on hover */
}

/* Typography Adjustments */
.cctv-systems-page .info-card .title-small {
    border-left: none; /* Removing the old bar for the card look */
    padding-left: 0;
    margin-bottom: 25px;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Staggering the lists slightly */
.cctv-systems-page .list-style-one li {
    margin-bottom: 12px;
    font-size: 15px;
    color: var(--obsidian);
    border-bottom: 1px solid rgba(94, 94, 94, 0.1);
    padding-bottom: 8px;
}

.cctv-systems-page .list-style-one li:last-child {
    border-bottom: none;
}

.cctv-systems-page a:hover {
    color: #0B1D3A;
    text-decoration: underline;
}

/* ==========================================================================
   Solutions Sub-Page Unique Styles
   ========================================================================== */

section.service-details-section { margin: 4em 0 0 0; }

:root {
    --obsidian: #121212;
    --steel: #5E5E5E;
    --deep-navy: #0B1D3A;
    --chalk: #F9F9F9;
    --matte-copper: #A1613A;
}

/* Page Structure */
.cctv-systems-page {
    background-color: #ffffff;
    color: var(--obsidian);
}

.cctv-systems-page .bg-light-grey {
    background-color: var(--chalk);
    border: 1px solid #e0e0e0;
}

/* Typography Helpers - For manual overrides in HTML */
.cctv-systems-page .chalk { color: var(--chalk) !important; }
.cctv-systems-page .deep-navy { color: var(--deep-navy) !important; }
.cctv-systems-page .copper { color: var(--matte-copper) !important; }

.cctv-systems-page .sec-title .sub-title {
    color: var(--matte-copper);
    font-weight: 700;
}

.cctv-systems-page .text, 
.cctv-systems-page p {
    color: var(--obsidian);
}

.cctv-systems-page .page-title p {color: #fff;}


.cctv-systems-page .page-title {
    position: relative;
    z-index: 1;
    background-color: #0b1d3a; /* Fallback */
}

.cctv-systems-page .page-title h1 {font-size: 35px;}

.cctv-systems-page .page-title .container {
    width: 67vw;
}

/* Creating an overlay layer */
.cctv-systems-page .page-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #0b1d3a 20%, rgba(11, 29, 58, 0.4) 100%);
    z-index: -1; /* Puts the gradient behind the text but over the image */
}


.cctv-systems-page .title-small {
    border-left: 3px solid var(--matte-copper);
    color: var(--obsidian);
    padding-left: 15px;
    font-weight: 700;
}

/* List Items & Icons */
.cctv-systems-page .list-style-one li:before {
    content: "\f058"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--matte-copper);
    margin-right: 10px;
}

/* Sidebar Layout & Spacing */
.cctv-systems-page .sidebar { padding-top: 0; }

.cctv-systems-page .sidebar-widget {
    margin-bottom: 40px !important; 
    padding: 40px 30px;
    border-radius: 0;
}

/* Widget 1: Options */
.cctv-systems-page .options-widget {
    background: var(--chalk);
    border: 1px solid var(--steel);
    border-top: 3px solid var(--steel);
}

.cctv-systems-page .sidebar-title {
    color: var(--obsidian);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.cctv-systems-page .service-list li {
    border-bottom: 1px solid rgba(94, 94, 94, 0.2);
    color: var(--obsidian);
    padding: 10px 0;
}

/* Widget 2: Help (Navy CTA) */
.cctv-systems-page .help-widget {
    background: var(--deep-navy) !important; 
    color: var(--chalk);
    text-align: center;
}

.cctv-systems-page .help-widget h4 {
    color: var(--chalk);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cctv-systems-page .help-widget .text {
    color: var(--chalk);
    opacity: 0.9;
    margin-bottom: 30px;
}

/* Button Styles */

/* Primary: Steel Grey to White Rollover */
.cctv-systems-page .theme-btn.btn-style-one {
    background-color: var(--steel) !important;
    color: #ffffff !important;
    border: 1px solid var(--steel);
    display: block;
    width: 100%;
    padding: 12px 20px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
}

.cctv-systems-page .theme-btn.btn-style-one:hover {
    background-color: var(--chalk) !important;
    color: var(--obsidian) !important;
    border-color: var(--chalk);
}

/* Secondary: Copper Outline */
.cctv-systems-page .theme-btn.btn-style-two {
    background-color: transparent !important;
    color: var(--chalk) !important;
    border: 2px solid var(--matte-copper) !important;
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
}

.cctv-systems-page .theme-btn.btn-style-two:hover {
    background-color: var(--matte-copper) !important;
    color: #ffffff !important;
}

/* Rollout Section */
.cctv-systems-page .rollout-box strong { color: var(--obsidian); }
.cctv-systems-page .rollout-box small { color: var(--steel); }

.service-details-section .sec-title {
    margin-bottom: 20px;
}

section.faq-section.reveal.delay-3.active {
    margin: 5em 0;
}

/* Tech Stack Row Container */
/* Container Background */
.bg-navy {
    background-color: #0B1D3A !important;
}

/* Subtle White Border for Navy backgrounds */
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Individual Tech Cards */
.tech-card {
    background: rgba(255, 255, 255, 0.03); /* Extremely subtle lift */
    transition: all 0.3s ease;
}

.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: #A1613A !important; /* Bronze glow on hover */
}

/* Icon Styling */
.text-bronze {
    color: #A1613A !important;
}

/* Text Styling */
.ultra-small {
    font-size: 10px;
    letter-spacing: 1px;
    display: block;
}

/* ==========================================================================
   Syrex CTA Bridge (Post-Content / Pre-Footer)
   ========================================================================== */

.syrex-cta-bridge {
    background-color: var(--chalk); /* Contrast background before footer */
    padding: 80px 0;
    border-top: 1px solid var(--steel);
    width: 100%;
    display: block;
}

.syrex-cta-bridge .cta-container {
    max-width: 1200px; /* Matches your site width */
    margin: 0 auto;    /* Centers the container */
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;   /* Ensures mobile responsiveness */
}

.syrex-cta-bridge .cta-content {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px;
}

.syrex-cta-bridge h2 {
    color: var(--deep-navy); /* Brand accent for the call to action */
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 10px;
}

.syrex-cta-bridge p {
    color: var(--steel);
    font-size: 18px;
    margin: 0;
}

/* Button Styling for the Bridge */
.syrex-cta-bridge .btn-primary {
    background-color: var(--matte-copper);
    color: #ffffff;
    padding: 15px 35px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.syrex-cta-bridge .btn-primary:hover {
    background-color: var(--obsidian);
    color: var(--chalk);
    transform: translateY(-2px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .syrex-cta-bridge {
        text-align: center;
    }
    .syrex-cta-bridge .cta-container {
        justify-content: center;
    }
    .syrex-cta-bridge .cta-actions {
        width: 100%;
    }
}

/* Syrex Accordion Styling */
.syrex-accordion {
    border-top: 1px solid var(--steel);
}

.accordion-item {
    border-bottom: 1px solid var(--steel);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header span {
    font-size: 18px;
    font-weight: 700;
    color: var(--obsidian);
}

.accordion-header .icon {
    color: var(--matte-copper);
    transition: transform 0.3s ease;
    font-size: 14px;
}

/* Content Area - Hidden by default */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background-color: var(--chalk);
}

.accordion-content p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--steel);
}

/* Active State Styles */
.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust based on content length */
    padding-top: 10px;
}

.accordion-item.active .icon {
    transform: rotate(45deg); /* Rotates the + to look like an X/Minus */
    color: var(--obsidian);
}

.accordion-item.active .accordion-header span {
    color: var(--matte-copper);
}

/* ==========================================================================
   End Syrex CTA Bridge (Post-Content / Pre-Footer)
   ========================================================================== */

/* 1. Rollout Box Base Style */
.cctv-systems-page .rollout-step {
    background: var(--chalk);
    border: 1px solid rgba(94, 94, 94, 0.2);
    padding: 40px 30px;
    height: 100%;
    position: relative;
    /* IMPORTANT: Changed from hidden to visible so the line can show outside the box */
    overflow: visible; 
    border-bottom: 3px solid var(--steel);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
}

/* 2. Rollout Hover State */
.cctv-systems-page .rollout-step:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-bottom: 3px solid var(--matte-copper);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 3. Typography & Step Numbers */
.cctv-systems-page .step-content h4 {
    position: relative;
    z-index: 2;
    padding-right: 40px;
    font-size: 18px;
    line-height: 1.3;
}

.cctv-systems-page .step-num {
    font-size: 50px;
    font-weight: 800;
    color: rgba(18, 18, 18, 0.05); 
    position: absolute;
    top: 5px;
    right: 15px;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Number Animate on Hover */
.cctv-systems-page .rollout-step:hover .step-num {
    color: var(--matte-copper);
    opacity: 0.15;
    transform: scale(1.1);
}

/* 4. Desktop Connector Lines (Fixed) */
@media (min-width: 992px) {
    /* Ensure the Bootstrap column doesn't clip the line */
    .cctv-systems-page .col-lg-4 {
        position: relative;
        overflow: visible !important; 
    }

    /* Line Highlight on Hover */
    .cctv-systems-page .rollout-step:hover::after {
        opacity: 0.8;
        background: var(--matte-copper);
        width: 35px;
        right: -35px;
    }
}

/* 5. Mobile/Tablet: Hide lines */
@media (max-width: 991px) {
    .cctv-systems-page .rollout-step::after {
        display: none;
    }
}

/* ==========================================================================
   End solutions Sub-Page Unique Styles
   ========================================================================== */


/* ==========================================================================
   Sectors page Unique Styles
   ========================================================================== */

/* Sector Specific Styles */
.sector-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.sector-list li:last-child {
    border-bottom: none;
}

.bg-navy {
    background-color: #0B1D3A !important;
}

.text-bronze {
    color: #A1613A !important;
}

.border-bronze {
    border-color: #A1613A !important;
}

/* Ensure icons have consistent spacing */
.sector-list i {
    width: 25px;
}

/* Tech Card Light - For Grid Use */
.tech-card-light {
    background: #ffffff;
    border: 1px solid #eef0f2;
    border-top: 4px solid #A1613A !important;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.tech-card-light:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(11, 29, 58, 0.1) !important;
    border-color: #A1613A;
}

.text-bronze-accent { color: #A1613A; }
.text-navy { color: #0B1D3A; }

/* Custom Breadcrumb/Navigation logic if needed */
.hero-buttons-wide { gap: 60px !important; }

.breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb-item a:hover { color: #A1613A; }
.breadcrumb-item.active { color: #fff; }
/* Fix for the separator (/) color */
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.3); }



.syrex-cta-bridge a.btn.btn-primary {margin: 0 16px 0 0;}

@media (min-width: 992px) {
    .syrex-sectors .col-lg-4 {margin: 0 0 15px 0;}
}
.syrex-sectors .p-5 {padding: 1.5rem !important;}

/* ==========================================================================
   End Sectors page Unique Styles
   ========================================================================== */   

   
 /* ==========================================================================
   Case studies page Unique Styles
   ========================================================================== */   

.bg-navy { background-color: #0B1D3A !important; }

.case-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 29, 58, 0.1) !important;
}

.case-card .badge {
    font-size: 0.7rem;
    background-color: #0B1D3A;
    border-radius: 0;
}

.text-bronze { color: #A1613A !important; }

/* Styling for the honesty note */
.case-card p.small.italic {
    font-style: italic;
    font-size: 0.85rem;
    line-height: 1.4;
}


 /* ==========================================================================
   End Case studies page Unique Styles
   ========================================================================== */ 

 /* ==========================================================================
   Resources page Unique Styles
   ========================================================================== */ 

.resource-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255,255,255,0.05);
}

.resource-item:hover {
    transform: translateY(-8px);
    border-color: #A1613A; /* Syrex Bronze */
}
.resource-item h4 {color: #fff;}

.border-white-10 {
    border-color: rgba(255,255,255,0.1) !important;
}

.resource-card-bg {
    position: relative;
    background-color: #0B1D3A; /* Fallback Navy */
    background-image: 
        linear-gradient(rgb(11 29 58 / 0%), rgb(11 29 58)), var(--bg-image);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; /* This blends the image into the navy */
    transition: all 0.4s ease;
}

.resource-card-bg:hover {
    /* Slightly brighten on hover by reducing the gradient opacity */
    background-image: 
        linear-gradient(rgba(11, 29, 58, 0.75), rgba(11, 29, 58, 0.85)), 
        var(--bg-image);
}

 /* ==========================================================================
   End Resources page Unique Styles
   ========================================================================== */ 


/* ==========================================================================
   About Page Unique Styles
   ========================================================================== */

/* 1. Hero Refinement */
.about-page .page-header {
    background-color: #001d3d; 
    background-image: linear-gradient(to right, rgba(0, 29, 61, 0.8), rgba(0, 29, 61, 0.4)), 
                      url('images/background/syrex-about-bg.jpg');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    min-height: 400px;
    border-bottom: 4px solid #A1613A; /* Consistent Syrex Bronze */
}

.about-page .page-header h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.about-page .page-header p.lead {
    color: #fff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

/* 2. Brand Colors & Accents */
.about-page .text-primary, 
.about-page .text-bronze { color: #A1613A !important; }

.about-page .text-bronze-accent { 
    color: #A1613A !important; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 22px; 
}

.about-page .border-left-bronze {
    border-left: 5px solid #A1613A;
}

/* 3. Benefits List */
.about-page .custom-bullets li {
    display: flex;
    align-items: flex-start;
}

.about-page .custom-bullets li i {
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

/* 4. Vision & Mission Cards */
.about-page .vision-mission-wrap {
    overflow: hidden;
    position: relative;
    background-color: #121212;
}

.about-page .vision-card, 
.about-page .mission-card {
    background: rgba(11, 29, 58, 0.38); 
    border: 1px solid #5E5E5E;
    border-top: 4px solid #A1613A !important;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 8px;
}

.about-page .vision-card:hover, 
.about-page .mission-card:hover {
    transform: translateY(-5px);
    border-top-color: #ffffff !important;
    background: rgba(11, 29, 58, 0.6);
}

.about-page .leading-relaxed {
    line-height: 1.8;
}

/* 5. How We Work: Step Numbers */
.about-page .work-step {
    position: relative;
    padding: 20px;
}

.about-page .step-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(161, 97, 58, 0.1); 
    line-height: 1;
    margin-bottom: -15px;
    transition: all 0.3s ease;
}

.about-page .work-step:hover .step-num {
    color: rgba(161, 97, 58, 0.3);
    transform: translateY(-5px);
}

/* Responsive Alignment */
@media (min-width: 768px) {
    .about-page .vision-mission-wrap .row {
        justify-content: space-between;
    }
    .about-page .vision-mission-wrap .col-md-5 {
        flex: 0 0 48%;
        max-width: 48%;
    }
}


/* ==========================================================================
   End About Page Unique Styles
   ========================================================================== */
   
   

/* ==========================================================================
   Contact Page Unique Styles
   ========================================================================== */

/* 1. Contact Info & Icons */
.contact-page .icon-box {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #f8f9fa;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}

.contact-page .icon-box i {
    color: #A1613A;
    font-size: 1.1rem;
}

.contact-page .contact-info-box a:hover {
    color: #A1613A !important;
}

/* 2. Form Container & Inputs */
.contact-page .form-container {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.contact-page .form-control, 
.contact-page .form-select {
    border-radius: 4px;
    padding: 12px 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-page .form-control:focus, 
.contact-page .form-select:focus {
    background: #fff !important;
    border-color: #A1613A;
    box-shadow: none;
    outline: none;
}

/* 3. Form Feedback (Alerts) */
.contact-page .form-result {
    margin-bottom: 20px;
}

.contact-page .form-result .alert {
    border-left: 5px solid #A1613A;
    border-radius: 4px;
    padding: 15px 20px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-page .form-result .alert-success {
    background-color: #f8f9fa;
    color: #1b1b1b;
}

.contact-page .form-result .alert-danger {
    background-color: #fff5f5;
    border-left-color: #dc3545;
    color: #842029;
}

/* 4. Image Polish */
.contact-page .image-wrapper img {
    filter: grayscale(20%) brightness(0.9);
    transition: all 0.4s ease;
}

.contact-page .image-wrapper:hover img {
    filter: grayscale(0%) brightness(1);
}

/* Ensure the View Vacancies button maintains contrast */
.btn-bronze {
    background-color: #A1613A !important;
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
    margin-right: 30px;
}

.btn-bronze:hover {
    background-color: #7d4a2b !important; /* A deeper, darker bronze */
    color: #ffffff !important; /* Forces text to stay white */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form .pb-3, .contact-form .py-3 {padding-bottom: 1rem !important;}

/* Video Play Container */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* The Circular Play Button */
.play-now .play-icon-box {
    width: 80px;
    height: 80px;
    background-color: #A1613A; /* Syrex Bronze */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    padding-left: 5px; /* Visual nudge for the play triangle */
}

.play-now:hover .play-icon-box {
    background-color: #0b1d3a; /* Syrex Navy on hover */
    transform: scale(1.1);
}

/* The Ripple Animation */
.play-now {
    position: relative;
    display: inline-block;
}

.play-now .ripple,
.play-now .ripple:before,
.play-now .ripple:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid #A1613A;
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    animation: play-ripple 3s infinite;
}

.play-now .ripple:before { animation-delay: 1s; }
.play-now .ripple:after { animation-delay: 2s; }

@keyframes play-ripple {
    0% { width: 80px; height: 80px; opacity: 0.5; }
    100% { width: 160px; height: 160px; opacity: 0; }
}


/* 5. Mobile Layout */
@media (max-width: 991px) {
    .contact-page .form-container {
        padding: 30px !important;
        margin-top: 40px;
    }
}

/* Fix for overlapping checkboxes */
.contact-form .form-check-input {
    position: static !important; /* Forces the box to stay in the flow of text */
    margin-left: 0 !important;
    margin-right: 10px !important;
    cursor: pointer;
    accent-color: #A1613A; /* Colors the checkbox bronze to match Syrex */
}

.contact-form .form-check-label {
    cursor: pointer;
    user-select: none;
    line-height: 1;
}

/* Optional: Subtle hover effect on the tile */
.contact-form .bg-light.border:hover {
    border-color: #A1613A !important;
    background-color: #fff !important;
    transition: 0.3s;
}


/* ==========================================================================
   End Contact Page Unique Styles
   ========================================================================== */


/* ==========================================================================
   Accreditation Page Unique Styles
   ========================================================================== */

/* Accreditation Card Styling */
.cert-card {
    transition: all 0.3s ease;
    background: #fff;
    border: 1px solid #dee2e6;
}

.cert-card:hover {
    border-color: #A1613A;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.cert-card h6 {
    color: #0b1d3a;
    margin-top: 10px;
}

.btn-outline-navy {
    color: #0b1d3a;
    border-color: #0b1d3a;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-outline-navy:hover {
    background-color: #0b1d3a;
    color: #fff;
}

.alert-secondary {
    background-color: #f8f9fa;
    border-left: 5px solid #A1613A !important;
}

/* ==========================================================================
   End Accreditation Page Unique Styles
   ========================================================================== */   

/* ==========================================================================
   Privacy Policy Page Unique Styles
   ========================================================================== */   

/* Privacy Page Styles */

.privacy-page h1 {color: #ffffff;}

.privacy-page .nav-link {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-left: -2px; /* Overlap the parent border */
}

.privacy-page .nav-link:hover {
    color: #A1613A !important;
    border-left-color: #A1613A;
    background: rgba(161, 97, 58, 0.05);
}

.privacy-page .content-box h4 {
    color: #0b1d3a;
    margin-bottom: 1.25rem;
}

.privacy-page .content-box p, 
.privacy-page .content-box li {
    color: #4a4a4a;
    line-height: 1.8;
}

.privacy-page ul li {
    margin-bottom: 0.5rem;
}
   
/* ==========================================================================
   End Privacy Policy Page Unique Styles
   ========================================================================== */ 

/* --- Global Styles --- */
.sub-title { color: #0088cc; font-size: 0.85rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.main-title { font-weight: 800; color: #212529; font-size: 2rem; margin-bottom: 1.5rem; }
.text-white-50 {color: #fff;}

/* --- Card Base --- */
.division-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    background-color: #111;
    border-radius: 4px;
    z-index: 1;
}

/* Layer 1: The Image (Greyscale by default) */
.card-image {
    position: absolute;
    top: 0; left: 0; 
    width: 100%; height: 100%;
    opacity: 0.5;
    background-size: cover;
    background-position: center;
    /* The Greyscale Filter */
    filter: grayscale(100%);  
    /* Smooth transition (0.5s is usually the sweet spot) */
    transition: filter 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.division-card:hover .card-image {
  filter: grayscale(0%);
}

/* LAYER 2: The Blue Background (Starts as Top Half) */
.division-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    
    /* Initially covers the top 50% */
    height: 50%; 
    background: #0B1D3A; /* Syrex Blue */
    
    /* Expands downward from top:0 anchor */
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

/* LAYER 3: The Stationary Content */
.card-content {
    position: relative;
    z-index: 3;
    pointer-events: none; /* Allows clicks to go through to the main <a> tag */
}

/* --- Hover State --- */
.division-card:hover::before {
    height: 100%; /* Expands to cover the bottom half */
}

.division-card:hover .card-image {
    filter: grayscale(0%); /* Image colorizes on hover */
}

/* --- Card Details --- */
.card-icon {
    /*width: 50px;*?
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Keeps icons white */
    transition: transform 0.4s ease;
}

.custom-view-btn {
    pointer-events: auto; /* Re-enable for the button specifically */
    display: inline-block;
    padding: 10px 24px;
    /* border: 2px solid #000000b8; */
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background-color: #000000b8;
}

/* Button Bounce & Interaction */
.division-card:hover .animate-btn {
    animation: buttonBounce 0.5s ease forwards;
    background: #A1613A;
    color: #ffffff;
}

@keyframes buttonBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.division-card:hover .card-icon {
    transform: translateY(-5px); /* Subtle icon lift */
}

/* END SWIPER CSS CODE */


/* --- SYREX TYPOGRAPHY RESET --- */

/* 1. Force Montserrat on all Headings */
h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6,
[class*="title"], 
[class*="heading"],
.hero-title,
.news-card h4,
.pillar-card h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
}

/* 2. Force Lato on all Body text, Buttons, and UI elements */
body, p, li, span, label, input, textarea, .btn, .hero-subtitle,.nav-link,.footer-widget p {
    font-family: 'Lato', sans-serif !important;
    font-weight: 400 !important;
}

/* 3. Handle specific weight for buttons and bold text */
strong, b, .btn, .nav-link {
    font-weight: 700 !important;
}

/* 4. Fix for the Menu - often hardcoded to Poppins in global.css */
.main-menu .navigation > li > a, .sticky-header .main-menu .navigation > li > a {
    font-family: 'Lato', sans-serif !important;
    font-weight: 600 !important;
}
/* Refined Typography Spacing */
h1, h2, h3 {
    letter-spacing: -0.02em; /* Tighter headings look more modern and high-end */
    line-height: 1.2;
}

p {
    line-height: 1.7; /* Lato is more readable with slightly more space between lines */
    margin-bottom: 1.5rem;
}

.hero-title {
    letter-spacing: -0.01em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Adds legibility against busy hero images */
}