/* for smooth scrolling */
html {
  scroll-behavior: smooth;
}
/* ...................  */

/* --- 1. VARIABLES & RESET --- */
:root {
    --primary-red: #e61e25;
    --primary-red-hover: #c2151b;
    --navy-dark: #0a1d37;
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    overflow-x: hidden; /* This is okay */
    overflow-y: visible; /* Ensure this is not 'hidden' or 'auto' */
}


body {
    margin: 0;
    padding-top: 88px;
  min-height: 100vh;
}

.mobile-contact-btn{
    display: none;
}

/* --- 2. HEADER & LOGO AREA --- */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    height: 88px;   /* ⭐ FIXED HEADER HEIGHT */
    z-index: 9999;
    background: white;
    display: flex;
    
}

.logo-area {
  width: 280px;
  height: 88px;   /* ⭐ MATCH HEADER HEIGHT */
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  z-index: 10;
}


.logo-text {
    position: relative;
   
    color: white;
    padding: 8px 20px;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -1px;
}

.header-content-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-info-bar {
  background-color: var(--navy-dark);
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  color: white;
  font-size: 12px;
  margin-left: -50px;
    padding-left: 70px;
}



.contact-meta span {
    margin-right: 25px;
    cursor: default;
}

.contact-meta i {
    color: var(--primary-red);
    margin-right: 8px;
}

.social-icons i {
    margin-left: 18px;
    cursor: pointer;
    transition: var(--transition);
    color: white;
}
/* --- 5. CORE STRENGTHS SECTION --- */
.container-section {
    background-color: var(--navy-dark);
    padding: 100px 5%;
    text-align: center;
    position: relative;
}


/* Red ring decoration from your image */
.shape-circle {
    position: absolute;
    top: 50px;
    right: 10%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(230, 30, 37, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.red-subtitle {
    color: var(--primary-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.main-title {
    color: var(--text-white);
    margin-bottom: 15px;
}

.red-line {
    width: 50px;
    height: 4px;
    background: var(--primary-red);
    margin: 0 auto 60px;
}

/* Grid Layout - Forced Single Line for Desktop */
.grid-layout.five-cols {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* Ensures all cards are the same height */
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Individual Card Styling */
.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 20px;
    /* This calculation accounts for 5 cards + 4 gaps of 20px */
    flex: 1 1 calc(20% - 20px); 
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Aligned left like the screenshot */
    text-align: left;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-red);
    transform: translateY(-10px);
}

.icon-box {
    background: var(--primary-red);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(230, 30, 37, 0.4);
}

.info-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}



/* --- Responsive: Tablet/Mobile --- */
@media (max-width: 1100px) {
    .grid-layout.five-cols {
        flex-wrap: wrap; /* Allows wrapping on smaller screens */
    }
    .info-card {
        flex: 1 1 calc(33.33% - 20px); /* 3 cards per row on tablets */
    }
}
@media (max-width: 768px) {
    /* Hide the desktop info bar entirely on mobile to remove its navy background */
    .top-info-bar {
        display: none !important;
    }

    .site-header {
        height: auto; /* Allow header to wrap content naturally on mobile */
        min-height: 60px;
    }

    .logo-area {
        width: 180px; /* Shrink the red logo area for mobile screens */
        height: 60px;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    }

    /* Adjust body padding for the smaller mobile header */
    body {
        padding-top: 60px;
    }

    /* Center the Contact Us and Hamburger menu in the remaining white space */
    .header-content-right {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        padding-right: 15px;
        background: white; /* Force white background to cover any leaking navy */
    }
}

@media (max-width: 1377px) { 
    /* This covers iPads and large tablets like in your screenshot */
    
    .top-info-bar {
        display: none !important; /* Completely remove the navy bar source */
    }

    .site-header {
        height: 70px; /* Slimmer header for tablets */
    }

    .logo-area {
        width: 220px;
        height: 70px;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    }

    .logo-text {
        font-size: 20px;
    }

    body {
        padding-top: 70px; /* Match new header height */
    }

    .main-nav {
        height: 70px; /* Align with header */
        padding: 0 20px;
    }
}
.social-icons i:hover {
    color: var(--primary-red);
    transform: translateY(-2px);
}

/* hamburger MENU  */
#hamburger{
   display: none;
}

.main-nav {
    height: 48px; /* Your existing height */
    padding: 0 5%; /* Use percentage-based horizontal padding for desktop spacing */
    display: flex;
    align-items: center; /* Vertically centers the links and button */
    justify-content: space-between;
    background: white;
}



.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0 auto;
}


/* INPUT FOR CHECKED */
#hamm{
    display: none;
}


.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    padding: 7px 15px;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 15px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-red);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: calc(100% - 30px);
}

.nav-extra {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-extra i {
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.nav-extra i:hover {
    color: var(--primary-red);
}

.quote-btn {
    background: var(--navy-dark);
    color: white;
    padding: 9px 26px;
    border-radius: 30px;
    border: 2px solid var(--navy-dark);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.quote-btn:hover {
    background: var(--primary-red);
    color: var(--navy-dark);
    border: 2px solid var(--primary-red);
}

/* --- 4. HERO SECTION --- */
.hero-split {
    display: flex;
    /* height: calc(100vh - 120px); */
    height: 600px;
    /* height: calc(auto + 300px); */
    margin-top: 0;
}

.hero-left-dark {
    flex: 1.2;
    background-color: var(--navy-dark);
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 8%;
    height: auto;
}

/* The Decorative Red Outline Frame */
/* .decorative-outline {
    position: absolute;
    top: 8%;
    left: 5%;
    bottom: 15%;
    right: 5%;
    border: 2px solid var(--primary-red);
    opacity: 0.5;
    pointer-events: none;
} */

.hero-text-box {
    color: white;
    max-width: 600px;
    z-index: 5;
    position: relative;
    border: red 1px solid;
    padding: 10px 20px;
}

.hero-text-box h1 {
    font-size: 40px;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-text-box p {
    /* color: var(--text-gray); */
    color: #555555;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}

.red-action-btn {
    background: var(--primary-red);
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 35px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    /* bottom: -7%; */
    transform: translateY(-30%);
}

.red-action-btn:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 30, 37, 0.4);
}

.hero-right-image {
    flex: 1;
    background: url('assets/final_image.jpeg') no-repeat center center/cover;
    position: relative;
}

/* Slanted Divider Overlay */
.hero-right-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: var(--navy-dark);
    clip-path: polygon(0 0, 0 100%, 100% 0);
}

/* Bottom text some-bio */
#bottom-text{
    margin: 0 20px 0 20px;
}

