
/* 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: 2rem;
  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-content h1.hero-title {font-size: 1.5rem;}
    .hero-content p.hero-subtitle {font-size: 0.8rem;}
    .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;
}

/* 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
   ========================================================================== */

/* Syrex Color Variables & Utility Map */
:root {
  --syrex-navy: #0B1D3A;
  --syrex-dark: #1E1E1E;
  --syrex-blue: #284473;
  --syrex-gold: #A1613A;
}

/* Typography & Text overrides */
.text-navy { color: var(--syrex-navy); }
.text-gold { color: var(--syrex-gold); }
.text-light-dark { color: #555555; }

.tracking-wider {
  letter-spacing: 0.15em;
}

.custom-bio-text {
  max-width: 800px;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Decorative Gold Line under Intro */
.accent-line {
  width: 60px;
  height: 3px;
  background-color: var(--syrex-gold);
}

/* Card Styling */
.service-card {
  background-color: #ffffff;
  border-bottom: 3px solid transparent !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Subtle border-gold reveal on hover */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(11, 29, 58, 0.08) !important;
  border-bottom: 3px solid var(--syrex-gold) !important;
}

/* Icon Container */
.icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(11, 29, 58, 0.04);
  border-radius: 8px;
}

/* Animated interactive arrow link */
.arrow-link {
  display: inline-flex !important;
  align-items: center;
  margin-top: auto; /* Double protection to anchor it to the bottom of the flex container */
}

.arrow-link .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
  margin-left: 6px;
}

.arrow-link:hover .arrow {
  transform: translateX(4px);
}

/* =========================================================================== */
/* STATIC GAURDING SPECIFIC ARCHITECTURE  (Premium Dark Contrast Setup)        */
/* =========================================================================== */
.bg-syrex-dark-gradient {
  background: linear-gradient(135deg, #0B1D3A 0%, #1E1E1E 100%);
}

.text-light-silver {
  color: #e2e8f0;
}

.text-muted-silver {
  color: #a0aec0;
}

/* Bulletproof Button Centering Mechanics */
.btn-syrex-gold-cta {
  background-color: var(--syrex-gold);
  color: #ffffff !important;
  border: 1px solid var(--syrex-gold);
  padding: 15px 30px !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none !important;
  
  /* Hard reset to force perfect alignment regardless of global overrides */
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  transition: all 0.3s ease;
}

/* Forces inner items to stay locked side-by-side inside the exact text baseline */
.btn-text-fix {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.btn-icon-fix {
  display: inline-block !important;
  margin: 0 0 0 10px !important; /* Forces precise spacing to the right */
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  font-size: 0.8rem !important;
}

/* Gold CTA Hover State over the Dark Background */
.btn-syrex-gold-cta:hover {
  background-color: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Frame adjustment for dark mode contrast */
.bg-accent-box-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  border: 3px solid rgba(161, 97, 58, 0.4); /* Subtle glowing gold stroke */
  border-radius: 6px;
  z-index: 1;
}

.image-overlay-gradient-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.2) 0%, rgba(30, 30, 30, 0.5) 100%);
  pointer-events: none;
}

/* 1. Ensure the container clips the expanding image */
.main-image-container {
  position: relative;
  z-index: 2;
  transform: translate(20px, 20px);
  overflow: hidden !important; /* Forces the zoom to stay inside the box boundaries */
}

/* 2. Set the default state of the image */
.img-hover-zoom {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
  transform: scale(1);
}

/* 3. The explicit trigger: When hovering over the wrapper, zoom the image */
.image-frame-wrapper:hover .img-hover-zoom {
  transform: scale(1.07) !important;
}

/* =========================================================================== */
/* END STATIC GAURDING SPECIFIC ARCHITECTURE  (Premium Dark Contrast Setup)        */
/* =========================================================================== */


/* =======================================*/
/* SYREX TECH INSPIRED GRID SYSTEM        */
/* =======================================*/

/* Parent Wrapper Row */
.row-divider-grid {
  border-top: 1px solid #eef2f6;
  border-left: 1px solid #eef2f6;
}

/* Individual Grid Blocks */
.grid-item-box {
  padding: 40px 30px;
  background-color: #ffffff;
  border-right: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Hover Effect like syrextechnologies.com */
.grid-item-box:hover {
  background-color: #ffffff;
  box-shadow: 0 15px 40px rgba(11, 29, 58, 0.08);
  transform: translateY(-4px);
  z-index: 3;
  position: relative;
}

/* Soft, high-end background numbers */
.grid-number {
  color: rgba(11, 29, 58, 0.07);
  font-family: 'Poppins', sans-serif;
  line-height: 0.8;
}

/* Clean interactive links */
.grid-action-link {
  font-size: 0.825rem;
  display: inline-flex !important;
  align-items: center;
  transition: color 0.3s ease;
}

.grid-action-link i {
  transition: transform 0.3s ease;
}

.grid-item-box:hover .grid-action-link {
  color: var(--syrex-navy) !important;
}

.grid-item-box:hover .grid-action-link i {
  transform: translateX(6px);
}

/* =======================================*/
/* END SYREX TECH INSPIRED GRID SYSTEM    */
/* =======================================*/

/* =====================================================*/
/* EVENT SECURITY SECTION (LEFT IMAGE ALIGMENT RULES    */
/* =====================================================*/

.image-frame-wrapper-left {
  padding: 20px 20px 20px 0; /* Padding flipped to give space on the right */
}

/* Geometric Gold background offset box flipped to the left edge */
.bg-accent-box-dark-left {
  position: absolute;
  top: 0;
  right: 0; /* Aligns to right edge of space so main image translates left */
  width: 90%;
  height: 90%;
  border: 3px solid rgba(161, 97, 58, 0.4);
  border-radius: 6px;
  z-index: 1;
}

/* Shifts the main image downward and leftward against the frame line */
.main-image-container-left {
  position: relative;
  z-index: 2;
  transform: translate(-20px, 20px);
  overflow: hidden !important;
}

/* Default state and structural transitions for left image zoom */
.img-hover-zoom-left {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1) !important;
  transform: scale(1);
}

/* Explicit mouse zoom execution tied directly to left framework */
.image-frame-wrapper-left:hover .img-hover-zoom-left {
  transform: scale(1.07) !important;
}


/* --- Bottom CTA & Accordion Section Styles --- */
.bg-navy-light {
  background-color: rgba(11, 29, 58, 0.05);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  font-size: 1.1rem;
  margin-right: 24px !important; /* Explicitly forces a wider 24px gap between icon and text */
}

/* Contact block hover behaviors */
.contact-card-link {
  border-color: #e2e8f0 !important;
  transition: all 0.3s ease;
  background-color: #ffffff;
}
.contact-card-link:hover {
  border-color: var(--syrex-gold) !important;
  box-shadow: 0 5px 15px rgba(11, 29, 58, 0.04);
  transform: translateX(4px);
}

/* Base Accordion Card Structure Overrides */
.syrex-custom-accordion .accordion-item {
  background-color: #f8fafc;
  overflow: hidden;
}

.syrex-custom-accordion .accordion-button {
  background-color: #f8fafc;
  box-shadow: none !important;
  color: var(--syrex-navy);
  font-size: 1.05rem;
}

/* When the accordion dropdown is popped open */
.syrex-custom-accordion .accordion-button:not(.collapsed) {
  background-color: #f8fafc;
  color: var(--syrex-navy);
}

/* Styling the custom 01. numbers inside the titles */
.accordion-num {
  font-family: 'Poppins', sans-serif;
}

/* Custom indicator icon overrides (Changes Bootstrap blue arrow to clean look) */
.syrex-custom-accordion .accordion-button::after {
  background-size: 1rem;
  transition: transform 0.2s ease-in-out;
}

/* Footer Primary Navy Button Layout (Matched to line alignment) */
.btn-syrex-navy-footer {
  background-color: var(--syrex-navy);
  color: #ffffff !important;
  border: 1px solid var(--syrex-navy);
  padding: 15px 30px !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none !important;
  display: inline-block !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  transition: all 0.3s ease;
}

.btn-syrex-navy-footer:hover {
  background-color: var(--syrex-gold);
  border-color: var(--syrex-gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(161, 97, 58, 0.2);
}

/* =====================================================*/
/* END EVENT SECURITY SECTION (LEFT IMAGE ALIGMENT RULES    */
/* =====================================================*/


/* ========================================================= */
/* SERVICES PAGE SPECIFIC ARCHITECTURE                       */
/* ========================================================= */

/* Static Hero Parameters */
/* Updated Static Hero with your Background Image + Contrast Overlay */
.services-hero {
  min-height: 380px;
  /* Layers a 75% dark overlay over your background image for crisp text contrast */
  background: linear-gradient(135deg, rgba(11, 29, 58, 0.85) 0%, rgba(30, 30, 30, 0.75) 100%), url(../images/resource/syrex-technolgies.jpg) no-repeat center center;
  background-size: cover;
  position: relative;
}

/* Background overlay lines to match the technical styling */
.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

/* Matrix Cards Alignment Grid Framework */
.matrix-card {
  background-color: #f8fafc;
  border-left: 3px solid transparent !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.matrix-num {
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
  opacity: 0.4;
}

/* Horizontal Link Baseline Fixes */
.matrix-link {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  display: inline-flex !important;
  align-items: center;
  margin-top: auto; /* Pushes links to the absolute horizontal baseline line */
  transition: color 0.3s ease;
}

.matrix-link i {
  transition: transform 0.3s ease;
}

/* Hover Configurations */
.matrix-card:hover {
  background-color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(11, 29, 58, 0.07) !important;
  border-left: 3px solid var(--syrex-gold) !important;
}

.matrix-card:hover .matrix-link {
  color: var(--syrex-gold) !important;
}

.matrix-card:hover .matrix-link i {
  transform: translateX(4px);
}

/* Forces a consistent vertical and horizontal gap between the rows of cards */
.services-matrix .row {
  row-gap: 24px !important; /* Adjust this number to widen or narrow the vertical space */
}

/* ============================================================= */
/* END SERVICES PAGE SPECIFIC ARCHITECTURE                       */
/* ============================================================= */

/* ========================================================= */
/* ABOUT US PAGE STYLING ARCHITECTURE                        */
/* ========================================================= */

.bg-light-slate {
  background-color: #f8fafc;
  border-color: #e2e8f0 !important;
}

/* Foundation Icon Containers */
.foundation-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(11, 29, 58, 0.04);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Foundation Card Animations */
.foundation-card {
  background-color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* Subtle interactive hover effects */
.foundation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(11, 29, 58, 0.06) !important;
}

.foundation-card:hover .foundation-icon-box {
  background-color: var(--syrex-navy);
  color: var(--syrex-gold) !important;
  transform: scale(1.05);
}

/* ============================================================= */
/* END ABOUT US PAGE STYLING ARCHITECTURE                        */
/* ============================================================= */

/* ============================================================= */
/* CONSULTATION FORM THEME ADJUSTMENTS                           */
/* ============================================================= */
/* --- Consultation Form Theme Adjustments --- */
.consultation-section-two {
  background-color: #f8fafc;
  padding-bottom: 100px !important; /* Leaves room for the contact bar below */
}

/* --- Consultation Form Dark Blue Mode Overrides --- */

/* Style all text inputs and textareas to be crisp white */
.consultation-section-two .form-control {
    background-color: #ffffff !important;
    color: #0B1D3A !important; /* Dark blue text when typing */
    border: 2px solid #e2e8f0 !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    transition: all 0.3s ease !important;
}

/* Custom placeholder styling so the prompt text is clear but elegant */
.consultation-section-two .form-control::placeholder {
    color: #64748b !important;
    opacity: 0.85;
}

/* Give the inputs a sharp Syrex Gold accent line when focused/clicked */
.consultation-section-two .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--syrex-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
    outline: none !important;
}

/* Update the text paragraph in the right-hand column so it doesn't get lost on the blue */
.consultation-section-two .text-center .text {
    color: #0B1D3A !important; /* Soft light-silver text color */
}

/* --- Redesigned Contact Info Bar Overrides --- */
.contact-info-section {
  margin-top: -50px; /* Pulls the bar up into the form section */
  position: relative;
  z-index: 10 !important; /* Keeps it layered neatly on top of the footer */
  background: transparent !important;
}

.contact-info-section .contact-info {
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(11, 29, 58, 0.08) !important;
}

/* Force dark text inside the bar elements so they stand out */
.contact-info-section h6 {
  color: var(--syrex-navy) !important;
  margin-bottom: 2px;
}

.contact-info-section p, 
.contact-info-section p a {
  color: #64748b !important;
  transition: color 0.2s ease;
}

.contact-info-section p a:hover {
  color: var(--syrex-gold) !important;
}

/* Light background tint for the icon circles */
.contact-info-section .bg-navy-light {
  background-color: rgba(11, 29, 58, 0.04) !important;
}

.contact-info-section .text-gold {
  color: var(--syrex-gold) !important;
}

/* --- Aggressive Absolute Positioning Override --- */

.contact-info-section ul li {
    display: block !important;
    position: relative !important;
    float: none !important;
    width: auto !important;
    /* This creates a clean structural safety zone on the left for the icon to live in */
    padding-left: 70px !important; 
    margin-bottom: 20px;
}

/* Force the icon box into a fixed position inside that safety zone */
.contact-info-section .iocn-holder {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important; /* Vertically centers the icon circle */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* CHANGED: Swapped from light grey tint to your solid dark corporate navy */
    background-color: #0B1D3A !important; 
    border-radius: 50% !important;
    margin: 0 !important;
}

/* Ensure the font glyph/icon inside is fully visible */
.contact-info-section .iocn-holder span,
.contact-info-section .iocn-holder i {
    opacity: 1 !important;
    visibility: visible !important;
    /* CHANGED: Swapped from gold to crisp white for maximum legibility */
    color: #ffffff !important; 
}

.contact-info ul li .iocn-holder span{font-size:25px;}

/* Reset the text box so it naturally fills the remaining space */
.contact-info-section .text-holder {
    display: block !important;
    position: static !important; /* Strips out any absolute/relative theme positioning */
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    float: none !important;
}

/* Responsive adjustment for desktop viewports */
@media (min-width: 992px) {
    .contact-info-section ul li {
        margin-bottom: 0px;
    }
}



/* ============================================================= */
/* WHY CHOOSE US SECTION                                         */
/* ============================================================= */

/* ========================================================= */
/* WHY CHOOSE US SPECIFIC PILLAR STYLING                     */
/* ========================================================= */

.why-choose-matrix {
    background-color: #ffffff;
}

/* Pillar Blocks Frame Configuration */
.pillar-block {
    background-color: transparent;
    border-bottom: 1px solid #f1f5f9; /* Soft bottom border line separating stacked blocks */
    padding-bottom: 24px !important;
    transition: all 0.3s ease;
}

/* Large Number Accent Column Formatting */
.pillar-num-box {
    opacity: 0.35;
    min-width: 65px;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover States to match Syrex interactive aesthetics */
.pillar-block:hover {
    background-color: #f8fafc; /* Shifts seamlessly to a soft background grey on interaction */
    padding-left: 20px !important; /* Elegant modern micro shift to the right */
    border-bottom-color: var(--syrex-gold);
}

.pillar-block:hover .pillar-num-box {
    opacity: 1;
    transform: scale(1.05);
}

/* Styling for the high-contrast inverted list checklist items */
.value-icon-circle {
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin-right: 10px;
    background-color: #ffffff !important; /* Force pristine white backgrounds */
    border: none !important;
}

/* Force the tick icon inside to take your deep protection corporate blue */
.value-icon-circle .text-navy,
.value-icon-circle .fa-check {
    color: #0B1D3A !important; 
    font-weight: 900;
}

/* --- Final Section Custom Component Styling --- */

/* --- Final Section White Background Layout Adjustments --- */

.cta-bridge-section .text-navy {
    color: #0B1D3A !important;
}

/* Give form controls a premium look against white backdrops */
.cta-bridge-section .form-control {
    background-color: #f8fafc !important; /* Soft backdrop grey tint */
    color: #0B1D3A !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    display: block !important;
}

/* Focus state swaps input box back to plain crisp white with gold frame accent */
.cta-bridge-section .form-control:focus {
    background-color: #ffffff !important;
    border-color: var(--syrex-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

/* Light button frame styles for phone contact link box */
.cta-phone-btn-light {
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.25s ease;
}

.cta-phone-btn-light:hover {
    background-color: #e2e8f0 !important;
    border-color: var(--syrex-gold) !important;
}

.cta-phone-btn-light .bg-navy {
    background-color: #0B1D3A !important;
    margin-right: 30px;
}

/* ============================================================= */
/* END HY CHOOSE US SECTION                                      */
/* ============================================================= */


.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;}

@media (max-width: 450px) {
    .solutions-page .pb-5, .py-5 {padding: 3rem 15px!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 {
    --syrex-navy: #0B1D3A;
    --syrex-bronze: #A1613A;
    --obsidian: #121212;
    --steel: #5E5E5E;
    --deep-navy: #0B1D3A;
    --chalk: #F9F9F9;
    --matte-copper: #A1613A;
    --hero-gradient: linear-gradient(90deg, 
    rgba(11, 29, 58, 1) 0%, 
    rgba(11, 29, 58, 0.4) 65%, 
    rgba(11, 29, 58, 0.1) 100%);
}

/* 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
   ========================================================================== */

/* ==========================================================================
   Client Portal Page Unique Styles
   ========================================================================== */

/* --- 1. CORE PORTAL & LOGIN OVERLAY --- */
/* --- 1. CORE PORTAL & LOGIN OVERLAY --- */
#login-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* Controlled by JS .classList.add('active') */
    align-items: center;
    justify-content: center;
    background: rgba(11, 29, 58, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#login-overlay.active {
    display: flex;
    opacity: 1;
}

.login-card {
    position: relative;
    background: var(--syrex-navy);
    border: 1px solid rgba(161, 97, 58, 0.3);
    padding: 50px 40px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.login-card h2 { 
    color: var(--syrex-bronze); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 5px; 
}

.login-card p { 
    color: var(--chalk); 
    font-size: 0.8rem; 
    margin-bottom: 30px; 
    opacity: 0.7; 
}

/* --- 2. FORM ELEMENTS --- */
.input-group { text-align: left; margin-bottom: 20px; }

.input-group label { 
    display: block; 
    font-size: 0.75rem; 
    margin-bottom: 8px; 
    color: var(--syrex-bronze); 
    font-weight: 600; 
}

.input-group input { 
    width: 100%; 
    padding: 12px; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid var(--steel); 
    color: var(--chalk); 
    outline: none; 
    transition: border-color 0.3s;
}

.input-group input:focus { border-color: var(--syrex-bronze); }

.btn-portal { 
    width: 100%; 
    padding: 15px; 
    background: var(--syrex-bronze); 
    color: white; 
    border: none; 
    font-weight: 700; 
    text-transform: uppercase;
    cursor: pointer; 
    transition: 0.3s; 
}

.btn-portal:hover { background: var(--matte-copper); letter-spacing: 1px; }

.close-portal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--syrex-bronze);
    cursor: pointer;
    line-height: 1;
}

/* --- 3. DASHBOARD STRUCTURE --- */
.portal-container { display: flex; min-height: 100vh; background: var(--chalk); }

.sidebar {
    width: 280px;
    background: var(--chalk);
    border-right: 1px solid rgba(161, 97, 58, 0.2);
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

/* Add this to your CSS */
.sidebar-header-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    margin: -40px -20px 30px -20px; /* Pulls it to the edges of the sidebar padding */
    text-align: center;
}

.nav-menu { list-style: none; margin-top: 40px; flex-grow: 1; }

/* Update your sidebar items for a clean look */
.nav-item { 
    padding: 12px 20px;
    margin-bottom: 5px;
    cursor: pointer;
    color: var(--chalk); 
    opacity: 0.6;
    transition: all 0.3s ease;
    border-left: 3px solid transparent; /* Placeholder for active state */
}

.nav-item:hover, .nav-item.active { 
    opacity: 1;
    background: rgba(161, 97, 58, 0.1); /* Very faint bronze tint */
    color: var(--syrex-bronze);
    border-left: 3px solid var(--syrex-bronze);
    padding-left: 25px; /* Slight shift to the right on hover/active */
}

.main-content { flex-grow: 1; overflow-y: auto; }

/* --- 4. HERO & COMPONENTS --- */
.portal-hero {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
    color: white;
    border-bottom: 2px solid var(--syrex-bronze); 
}

.dashboard-padding { padding: 40px 50px; }

.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-top: -60px; 
}

.stat-card {
    background: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--syrex-navy);
}

.stat-card.accent { border-bottom-color: var(--syrex-bronze); }

.stat-card h4 { font-size: 0.7rem; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.stat-card h2 { font-size: 2rem; color: var(--syrex-navy); }

/* --- 5. DATA TABLE --- */
.activity-section { margin-top: 40px; }

table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; }

th { 
    text-align: left; 
    padding: 15px; 
    border-bottom: 2px solid var(--chalk); 
    color: var(--syrex-bronze); 
    font-size: 0.8rem; 
    text-transform: uppercase; 
}

td { 
    padding: 15px; 
    border-bottom: 1px solid var(--chalk); 
    font-size: 0.9rem; 
    color: var(--syrex-navy); 
}

.btn-syrex-login {
    display: inline-flex;
    align-items: center;
    background-color: var(--syrex-bronze);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-syrex-login .btn-icon {
    margin-right: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding-right: 12px;
}

.btn-syrex-login:hover {
    background-color: #8e5431; /* Matte copper / darker bronze */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.btn-syrex-login:active {
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .sidebar { display: none; }
    .stats-grid { grid-template-columns: 1fr; margin-top: 20px; }
    .dashboard-padding { padding: 20px; }
}


/* ==========================================================================
   End Client Portal 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 */
}