:root{
  --accent: #0b6efd;
  --panel-bg: #ffffff;
  --shadow: 0 8px 28px rgba(11, 110, 253, 0.12);
  --muted: #6b7280;
  --radius: 12px;
  --glass: rgba(255,255,255,0.75);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
}

/* General Body Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

#header{
    background-image: url(/static/images/procureheader1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 500px;
    padding-top: 120px;
    padding-bottom: 60px;
    margin-bottom: 30px;
    margin-top: 0;
    display: flex;
    align-items: flex-start;
}

#header .container {
    margin-top: 40px;
}

#header h2{
    font-size: 40px;
    padding-bottom: 25px;
    padding-top: 20px;
    color: white;
    margin-top: 0;
}

#header img{
    height: 20px;
    width: 20px;
    margin-right: 20px;
}

#header a{
    font-size: 20px;
    color: rgb(65, 115, 159);
    background-color: white;
    border: 1px solid black;
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    scroll-behavior: smooth;
     display: inline-block;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

#header p{
    color: white;
}

#header a:hover{
    color: white;
   
    background-color: rgb(87, 159, 222);
    font-weight: bold;
}

#products_li{
    margin-bottom: 30px;
}

#products_li img{
    height: 50px;
    width: 50px;
    margin-right: 25px;
    margin-bottom: 20px;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
}

#products_li .row{
    justify-content: space-evenly;    
}

#products_li h3{
    font-size: 35px;
    margin-bottom: 20px;
    border-bottom: 1px solid black;
    padding-bottom: 20px;
}

#products_li a{
    text-decoration: none;
    color: black;
}

/* ============================================
   WHY US SECTION - STATIC CARD GRID
   ============================================ */

.why-us-section {
    background-color: #192038;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
}

/* Container - No scrolling, just holds cards */
.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Grid - Static Layout */
.card-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-items: center;
}

/* Individual Cards - Smaller Size */
.card-item {
    width: 100%;
    max-width: 320px;
    background-color: #1e2a3a;
    border: 1px solid #3a4a5a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 16px;
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
}

.card-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #b0b8c0;
}

/* REMOVE/HIDE Navigation Buttons */
.nav-button,
.prev-button,
.next-button {
    display: none !important;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Desktop Large (1200px+) - 3 cards per row */
@media (min-width: 1200px) {
    .card-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .card-item {
        max-width: 360px;
    }
    
    .section-title {
        font-size: 36px;
    }
}

/* Desktop (992px - 1199px) - 3 cards per row */
@media (min-width: 992px) and (max-width: 1199px) {
    .card-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .card-item {
        max-width: 340px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

/* Tablet (768px - 991px) - 2 cards per row */
@media (min-width: 768px) and (max-width: 991px) {
    .card-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .card-item {
        max-width: 350px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .card-item h3 {
        font-size: 17px;
    }
}

/* Mobile Large (481px - 767px) - 2 cards per row */
@media (min-width: 481px) and (max-width: 767px) {
    .card-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .card-item {
        max-width: 300px;
        padding: 18px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 35px;
    }
    
    .card-item h3 {
        font-size: 16px;
    }
    
    .card-item p {
        font-size: 13px;
    }
}

/* Mobile Small (320px - 480px) - 1 card per row */
@media (max-width: 480px) {
    .why-us-section {
        padding: 40px 15px;
    }
    
    .slider-container {
        padding: 0 10px;
    }
    
    .card-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-item {
        max-width: 100%;
        padding: 16px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .card-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .card-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .card-image-wrapper {
        margin-bottom: 12px;
    }
}

/* Extra Small Mobile (Below 375px) */
@media (max-width: 374px) {
    .section-title {
        font-size: 20px;
    }
    
    .card-item {
        padding: 14px;
    }
    
    .card-item h3 {
        font-size: 15px;
    }
    
    .card-item p {
        font-size: 12px;
    }
}

/* --- Global & Base Form Layout --- */
.consultation-section {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px; /* Light background from image */
    font-family: Arial, sans-serif;
}

/* Left side (Title and Description) */
.consultation-info {
    flex: 0 0 35%;
    padding-right: 50px;
}

.consultation-info h1 {
    font-size:  clamp(26px, 6vw, 48px);
    font-weight: 800;
    color: #333; 
    line-height: 1.1;
    margin-bottom: 20px;
        word-break: break-word;
}


.consultation-info p {
  
    color: #555;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
    max-width: 520px;
   
}

/* Right side (The Form Container) */
.consultation-form-wrapper {
    flex: 1; 
}

.consultation-form {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 30px; /* Space between rows */
}

/* Row wrapper for two-column inputs */
.form-row {
    display: flex;
    width: 100%;
    gap: 30px;
}

/* General Input Group Styling */
.form-group {
    position: relative;
    /* Removed padding-top for floating label */
}

.half-width {
    flex: 1;
}

.full-width {
    width: 100%;
}

/* --- Input and Select Styling (Placeholder Style) --- */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    /* padding: 8px 0; */
    border: none;
    border: 1px solid #ccc;
    font-size: 16px;
    color: #333;
    background: transparent;
    outline: none;
}

/* Quantity Select Box Styling */
.quantity-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23333" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.01 2.345 4 3.204 4h9.592c.86 0 1.32 1.01.753 1.659l-4.796 5.482a1 1 0 0 1-1.506 0z"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 25px; 
}

/* REMOVED: All CSS related to the <label> for floating effect. */

/* Textarea specific styling */
.textarea-group {
    margin-top: 15px;
}

.textarea-group textarea {
    min-height: 80px;
    resize: vertical;
    border: 1px solid #ccc;
    padding: 8px;
}

/* --- PHONE NUMBER ALIGNMENT FIX --- */

.phone-group-wrapper {
    /* Remove default padding-top */
    padding-top: 0; 
}

.phone-input-container {
    display: flex;
    align-items: flex-end; 
    width: 100%;
    
    /* Removed padding-top since we don't need label space */
    position: relative; 
    
    /* Apply the bottom border here */
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px; /* Vertical space for text to sit above the line */
}

/* The actual Phone Number input field */
#phone {
    flex-grow: 1;
    padding-left: 10px; 
}

/* Styling the Country Dropdown (<select>) */
#country-code {
    border: none;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    flex-shrink: 0;
    max-width: 80px; 
    font-size: 16px;
    line-height: 1;
    /* padding: 0 5px 0 0;  */
    padding-left: 0px;
}

/* --- Required Error Text --- */
.required-error {
    font-size: 12px;
    color: #d9534f; 
    margin-top: 5px;
    display: block;
}

/* --- Actions (Checkbox and Button) --- */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.checkbox-label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.submit-button {
    background: white;
    color: #337ab7;
    border: 1px solid #337ab7;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #337ab7;
    color: white;
}

#who_logo{
    text-align: center;
    width: 500px;
    height: 240px;
    padding-top: 20px;
    background: linear-gradient(135deg,rgb(239, 235, 235) 5%,rgb(31, 78, 118) 50%,rgb(2, 35, 73) 100%);
}

#who_img{
    height: 200px;
    width: 300px;
}

#who_we .row{
    justify-content: space-evenly;
}

#who_we{
    background-color: #192038;
    padding-top: 80px;
    color: white;
    height: 400px;
}

/* Ensure the font and size are consistent */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Container styling */
.partners-section {
    max-width: 1200px; /* Max width to center the section */
    margin: 50px auto;
    padding: 0 20px;
}

/* Header (Partners title and View More button) */
.partners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.partners-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #333;
}

.view-more-button {
    /* Style to match the image: light background, blue text, gray border */
    background: white;
    color: #337ab7;
    border: 1px solid #ccc;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.view-more-button:hover {
    background-color: #f0f0f0;
}

/* --- Logo Grid Layout --- */
.partners-grid {
    display: grid;
    /* Create 6 equal columns */
    grid-template-columns: repeat(6, 1fr); 
    
    /* Simulate the thin gray lines around the grid cells */
    background-color: white; /* Ensure background is white behind logos */
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 100px;
    
    /* Set transition for hover effect */
    transition: background-color 0.3s;
}

.partner-logo img {
    max-width: 70%;
    max-height: 60px;
    object-fit: contain;
    /* Use grayscale filter to match the appearance of the logos in the image */
    filter: grayscale(100%); 
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

/* Hover effect */
.partner-logo:hover img {
    filter: none; /* Restore original color on hover */
    opacity: 1;
}

.partner-logo:hover {
    background-color: #fafafa; /* Slight highlight on hover */
}

/* --- Inquiry Toggle Button --- */
.inquiry-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background:linear-gradient(180deg,var(--accent), #1d2b3a);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------- */
/* --- MODAL CENTERING STYLES --- */
/* ------------------------------------- */

.modal-overlay {
    /* 1. Position and Size: Cover the entire screen */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1000; /* Ensure it's on top of other content */

    /* 2. Centering using Flexbox */
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%; /* Responsive width */
    max-width: 400px; /* Maximum width for a clean look */
    /* Ensure content doesn't affect the centering */
    margin: auto; 
}

/* ------------------------------------- */
/* --- MODAL INNER STYLES (Based on Video) --- */
/* ------------------------------------- */

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

.close-btn {
    font-size: 1.5em;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    line-height: 1; /* Aligns the 'x' vertically */
}

.close-btn:hover {/* ============================================
   RESPONSIVE MEDIA QUERIES
   Covers: 320px - 1440px
   ============================================ */

/* ============================================
   EXTRA SMALL DEVICES (Mobile Portrait)
   320px - 480px
   ============================================ */
/* =================================
   CONSULTATION FORM – MOBILE FIX
================================= */
@media (max-width: 480px) {

    /* Form wrapper */
    .consultation-form {
        gap: 16px;
    }

    /* Force rows to stack */
    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    /* All inputs full width */
    .half-width,
    .full-width {
        width: 100%;
        flex: none;
    }

    /* Inputs & selects */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        font-size: 14px;
        padding: 12px;
        box-sizing: border-box;
    }

    /* Phone input alignment fix */
    .phone-input-container {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    #country-code {
        max-width: 70px;
        font-size: 14px;
    }

    #phone {
        flex: 1;
        font-size: 14px;
    }

    /* Textarea */
    .textarea-group textarea {
        min-height: 100px;
    }

    /* Actions */
    .form-actions {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    /* Submit button */
    .submit-button {
        width: 100%;
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
    }
}

/* ============================================
   SMALL DEVICES (Mobile Landscape & Small Tablets)
   481px - 767px
   ============================================ */
@media (min-width: 481px) and (max-width: 767px) {
    /* Header Section */
    #header {
        min-height: 450px;
        padding-top: 100px;
    }
    
    #header h2 {
        font-size: 32px;
    }
    
    #header a {
        font-size: 16px;
        padding: 10px 14px;
    }
    
    /* Products Section */
    #products_li h3 {
        font-size: 28px;
    }
    
    #products_li .col-lg-3 {
        width: 50%;
        float: left;
        padding: 10px;
    }
    
    #products_li img {
        height: 60px;
        width: 60px;
    }
    
    #products_li p {
        font-size: 14px;
    }
    
    /* Why Us Section */
    .section-title {
        font-size: 24px;
        padding: 0 20px;
    }
    
    .card-item {
        min-width: 280px;
    }
    
    /* Consultation Section */
    .consultation-section {
        flex-direction: column;
        padding: 20px;
    }
    
    .consultation-info {
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    .consultation-info h1 {
        font-size: 36px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .half-width {
        width: 100%;
    }
    
    .form-group input[type="tel"] {
        width: 100% !important;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-button {
        width: 100%;
    }
    
    /* Who We Are */
    #who_we .col-lg-4 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    
    #who_we .col-lg-7 {
        width: 100%;
    }
    
    #who_logo {
        width: 100%;
        margin: 0 auto;
    }
}

/* ============================================
   MEDIUM DEVICES (Tablets)
   768px - 991px
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    /* Header Section */
    #header {
        min-height: 450px;
    }
    
    #header h2 {
        font-size: 36px;
    }
    
    /* Products Section */
    #products_li .col-lg-3 {
        width: 25%;
        float: left;
    }
    
    #products_li img {
        height: 70px;
        width: 70px;
    }
    
    /* Why Us Section */
    .section-title {
        font-size: 28px;
    }
    
    /* Consultation Section */
    .consultation-section {
        flex-direction: column;
    }
    
    .consultation-info {
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .consultation-info h1 {
        font-size: 42px;
    }
    
    .form-row {
        gap: 25px;
    }
    
    .form-group input[type="tel"] {
        width: 100% !important;
    }
    
    /* Who We Are */
    #who_we {
        height: auto;
        padding: 60px 0;
    }
    
    #who_we .col-lg-4 {
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    #who_we .col-lg-7 {
        width: 100%;
    }
    
    #who_logo {
        width: 80%;
        margin: 0 auto;
    }
}

/* ============================================
   LARGE DEVICES (Small Desktops)
   992px - 1199px
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Header Section */
    #header h2 {
        font-size: 38px;
    }
    
    /* Products Section */
    #products_li .col-lg-3 {
        width: 25%;
        float: left;
    }
    
    /* Consultation Section */
    .consultation-info h1 {
        font-size: 44px;
    }
    
    .form-group input[type="tel"] {
        width: 350px !important;
    }
    
    /* Who We Are */
    #who_logo {
        width: 450px;
    }
}

/* ============================================
   EXTRA LARGE DEVICES (Large Desktops)
   1200px - 1440px
   ============================================ */
@media (min-width: 1200px) and (max-width: 1440px) {
    /* Container max-width */
    .container {
        max-width: 1170px;
    }
    
    /* Header Section */
    #header h2 {
        font-size: 40px;
    }
    
    /* Consultation Section */
    .consultation-section {
        max-width: 1200px;
    }
    
    .form-group input[type="tel"] {
        width: 387px !important;
    }
    
    /* Who We Are */
    #who_logo {
        width: 500px;
    }
}

/* ============================================
   ULTRA WIDE SCREENS
   Above 1440px
   ============================================ */
@media (min-width: 1441px) {
    .container,
    .consultation-section,
    .slider-container {
        max-width: 1400px;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION FIXES
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    #header {
        min-height: 350px;
        padding-top: 60px;
    }
    
    #header h2 {
        font-size: 28px;
        padding-bottom: 10px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    #header,
    .inquiry-button,
    .nav-button {
        display: none;
    }
    
    .consultation-section {
        page-break-inside: avoid;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-button {
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
    
    #products_li a {
        padding: 20px;
        min-height: 150px;
    }
    
    .submit-button,
    .inquiry-button {
        min-height: 48px;
    }
}

/* ============================================
   HIGH DPI SCREENS (Retina)
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    #products_li img,
    .card-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
    color: #666;
}

.modal-subtitle {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.9em;
    color: #555;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select {
    padding: 10px;
    /* margin-bottom: 15px; */
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 1em;
}

select {
    appearance: none; /* Remove default select styling */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%20188.7L154.5%2056.2c-4.4-4.4-11.4-4.4-15.8%200L6.7%20188.7c-4.4%204.4-4.4%2011.4%200%2015.8l15.8%2015.8c4.4%204.4%2011.4%204.4%2015.8%200l106.2-106.2L255.4%20220.3c4.4%204.4%2011.4%204.4%2015.8%200l15.8-15.8c4.4-4.4%204.4-11.4%200-15.8z%22%2F%3E%3C%2Fsvg%3E'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    background-size: 12px;
    padding-right: 30px; /* Space for the arrow */
}

.modal-footer-text {
    font-size: 0.75em;
    color: #999;
    margin-top: 10px;
    margin-bottom: 15px;
}

.submit-button {
    background-color: #007bff; /* Blue color matching the video's style */
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: #0056b3;
}

.iti__selected-flag {
  background-color: transparent !important;
}
/* Products Section Styling with Animations */
#products_li {
    margin-bottom: 50px;
    padding: 40px 0;
}

#products_li h3 {
    font-size: 35px;
    margin-bottom: 30px;
    border-bottom: 2px solid #0b6efd;
    padding-bottom: 20px;
    text-align: center;
    animation: fadeInDown 0.8s ease;
}

#products_li .row {
    justify-content: space-evenly;
}

/* Product Item Container */
#products_li .col-lg-3 {
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: backwards;
}

/* Stagger animation delay for each item */
#products_li .col-lg-3:nth-child(1) { animation-delay: 0.1s; }
#products_li .col-lg-3:nth-child(2) { animation-delay: 0.2s; }
#products_li .col-lg-3:nth-child(3) { animation-delay: 0.3s; }
#products_li .col-lg-3:nth-child(4) { animation-delay: 0.4s; }
#products_li .col-lg-3:nth-child(5) { animation-delay: 0.5s; }
#products_li .col-lg-3:nth-child(6) { animation-delay: 0.6s; }
#products_li .col-lg-3:nth-child(7) { animation-delay: 0.7s; }
#products_li .col-lg-3:nth-child(8) { animation-delay: 0.8s; }

/* Product Link Styling */
#products_li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

#products_li a:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(11, 110, 253, 0.2);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Product Image - Bigger with Animation */
#products_li img {
    height: 80px;
    width: 80px;
    margin-right: 0;
    margin-bottom: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    background: #f9fafb;
    transition: all 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#products_li a:hover img {
    transform: scale(1.15) rotate(5deg);
    border-color: #0b6efd;
    box-shadow: 0 8px 20px rgba(11, 110, 253, 0.3);
}

/* Product Text */
#products_li p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
}

#products_li a:hover p {
    color: #0b6efd;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse animation on hover */
#products_li a:hover {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-10px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #products_li img {
        height: 60px;
        width: 60px;
    }
    
    #products_li a {
        padding: 15px;
    }
}
@media (max-width: 480px) {

    .card-image-wrapper {
        height: 140px;
    }

    .card-item img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

}

@media (max-width: 480px) {

    .nav-button {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .prev-button {
        left: 5px;
    }

    .next-button {
        right: 5px;
    }

}

@media (min-width: 768px) {
    .card-track {
        grid-auto-columns: 60%;
    }
}

@media (min-width: 1200px) {
    .card-track {
        grid-auto-columns: 40%;
    }
}
/* ===============================
   CONSULTATION – MOBILE FIX
================================ */
@media (max-width: 768px) {

    .consultation-section {
        flex-direction: column;   /* 🔥 stack vertically */
        padding: 20px 16px;
    }

    .consultation-info {
        flex: none;
        width: 100%;              /* 🔥 full width */
        padding-right: 0;
        margin-bottom: 24px;
        text-align: left;
    }

    .consultation-info h1 {
        font-size: clamp(26px, 7vw, 36px);
        line-height: 1.15;
        word-break: normal;       /* 🔥 FIX text breaking */
        overflow-wrap: normal;
        white-space: normal;
    }

    .consultation-info p {
        font-size: 14px;
        line-height: 1.5;
        max-width: 100%;
    }

    .consultation-form-wrapper {
        width: 100%;
    }
}
/* =========================================
   MOBILE FIX – ONLY FOR 480px & BELOW
========================================= */
@media (max-width: 480px) {

  /* ===== GLOBAL SAFETY ===== */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* ===== PRODUCTS SECTION (CENTERED) ===== */
  #products_li .row {
    display: flex;
    justify-content: center;
    gap: 16px;
  }

  #products_li .col-lg-3 {
    width: 100%;
    max-width: 280px;
    float: none;
  }

  #products_li a {
    padding: 16px;
  }

  #products_li img {
    width: 60px;
    height: 60px;
  }

  /* ===== WHY US – CARD SLIDER ===== */
  .slider-container {
    padding: 0 12px;
  }

  .card-track {
    grid-auto-columns: 95%;
    gap: 14px;
  }

  .card-item {
    padding: 16px;
  }

  .card-image-wrapper {
    aspect-ratio: 16 / 9;
  }

  .nav-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .prev-button { left: 4px; }
  .next-button { right: 4px; }

  /* ===== CONSULTATION SECTION ===== */
  .consultation-section {
    flex-direction: column;
    width: 100%;
    padding: 20px 16px;
  }

  .consultation-info {
    width: 100%;
    padding-right: 0;
    margin-bottom: 24px;
    text-align: left;
  }

  .consultation-info h1 {
    font-size: clamp(26px, 7vw, 32px);
    line-height: 1.2;
    word-break: normal;
    white-space: normal;
  }

  .consultation-info p {
    font-size: 14px;
    max-width: 100%;
  }

  /* ===== FORM LAYOUT ===== */
  .consultation-form {
    gap: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  .half-width,
  .full-width {
    width: 100%;
    flex: none;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  /* ===== PHONE FIELD ===== */
  .phone-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  #country-code {
    max-width: 70px;
    font-size: 14px;
  }

  #phone {
    flex: 1;
  }

  /* ===== BUTTON ===== */
  .submit-button {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
  }
}
/* =========================================
   FIX PHONE INPUT OVERFLOW (480px ONLY)
========================================= */
@media (max-width: 480px) {

  .phone-input-container {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    border-bottom: 1px solid #ccc;
  }

  #country-code {
    width: 65px;
    min-width: 65px;
    max-width: 65px;
    font-size: 14px;
    padding: 0 4px;
  }

  #phone {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 12px 8px;
    font-size: 14px;
    box-sizing: border-box;
  }
}
/* =========================================
   WHO WE ARE – TABLET FIX (768px)
========================================= */
@media (min-width: 768px) and (max-width: 991px) {

  #who_we {
    height: auto;                 /* 🔥 remove fixed height */
    padding: 60px 20px;
    text-align: center;
  }

  #who_we .row {
    flex-direction: column;       /* 🔥 stack content */
    align-items: center;
  }

  #who_we .col-lg-4,
  #who_we .col-lg-7 {
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 24px;
  }

  #who_we h2,
  #who_we h3,
  #who_we p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  #who_logo {
    width: 100%;
    max-width: 600px;             /* 🔥 image controlled */
    height: auto;
    margin: 0 auto;
    padding: 20px;
  }

  #who_img {
    width: 100%;
    max-width: 360px;
    height: auto;
  }
}
/* Tablets */
@media (max-width: 991px) {
    .card-item {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }
    
    .slider-container {
        padding: 0 50px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .card-item {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    
    .slider-container {
        padding: 0 40px;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
/* ============================================
   WHY US SECTION - STATIC CARD GRID
   ============================================ */

.why-us-section {
    background-color: #192038;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    margin-bottom: 50px;
    font-size: 32px;
    font-weight: 700;
}

/* Container - No scrolling, just holds cards */
.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card Grid - Static Layout */
.card-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-items: center;
}

/* Individual Cards - Smaller Size */
.card-item {
    width: 100%;
    max-width: 320px;
    background-color: #1e2a3a;
    border: 1px solid #3a4a5a;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 16px;
}

.card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
}

.card-item p {
    font-size: 14px;
    line-height: 1.5;
    color: #b0b8c0;
}

/* REMOVE/HIDE Navigation Buttons */
.nav-button,
.prev-button,
.next-button {
    display: none !important;
}

/* ============================================
   RESPONSIVE BREAKPOINTS FOR ALL DEVICES
   ============================================ */

/* ============================================
   ULTRA LARGE SCREENS (1441px+)
   ============================================ */
@media (min-width: 1441px) {
    .slider-container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .card-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .card-item {
        max-width: 400px;
        padding: 24px;
    }
    
    .section-title {
        font-size: 40px;
        margin-bottom: 60px;
    }
    
    .card-item h3 {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .card-item p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .card-image-wrapper {
        margin-bottom: 18px;
    }
}

/* ============================================
   LARGE DESKTOPS (1200px - 1440px)
   ============================================ */
@media (min-width: 1200px) and (max-width: 1440px) {
    .slider-container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .card-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .card-item {
        max-width: 360px;
        padding: 22px;
    }
    
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
    
    .card-item h3 {
        font-size: 19px;
        margin-bottom: 13px;
    }
    
    .card-item p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ============================================
   MEDIUM DESKTOPS/LAPTOPS (992px - 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    .slider-container {
        max-width: 1000px;
        padding: 0 25px;
    }
    
    .card-track {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .card-item {
        max-width: 320px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 45px;
    }
    
    .card-item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .card-item p {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* ============================================
   TABLETS (768px - 991px) - 2 CARDS PER ROW
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    .why-us-section {
        padding: 50px 20px;
    }
    
    .slider-container {
        max-width: 750px;
        padding: 0 20px;
    }
    
    .card-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .card-item {
        max-width: 340px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .card-item h3 {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .card-item p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .card-image-wrapper {
        margin-bottom: 14px;
    }
}

/* ============================================
   LARGE MOBILE/SMALL TABLETS (481px - 767px)
   2 CARDS PER ROW
   ============================================ */
@media (min-width: 481px) and (max-width: 767px) {
    .why-us-section {
        padding: 45px 16px;
    }
    
    .slider-container {
        padding: 0 16px;
    }
    
    .card-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .card-item {
        max-width: 300px;
        padding: 18px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 35px;
        padding: 0 10px;
        line-height: 1.3;
    }
    
    .card-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .card-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .card-image-wrapper {
        margin-bottom: 12px;
    }
}

/* ============================================
   MOBILE (376px - 480px) - 1 CARD PER ROW
   ============================================ */
@media (min-width: 376px) and (max-width: 480px) {
    .why-us-section {
        padding: 40px 15px;
    }
    
    .slider-container {
        padding: 0 12px;
    }
    
    .card-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card-item {
        max-width: 100%;
        width: 100%;
        padding: 18px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .card-item h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .card-item p {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .card-image-wrapper {
        margin-bottom: 14px;
        border-radius: 8px;
    }
}

/* ============================================
   SMALL MOBILE (320px - 375px) - 1 CARD
   ============================================ */
@media (min-width: 320px) and (max-width: 375px) {
    .why-us-section {
        padding: 35px 12px;
    }
    
    .slider-container {
        padding: 0 10px;
    }
    
    .card-track {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .card-item {
        max-width: 100%;
        width: 100%;
        padding: 16px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 28px;
        line-height: 1.25;
        padding: 0 8px;
    }
    
    .card-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .card-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .card-image-wrapper {
        margin-bottom: 12px;
        border-radius: 8px;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (Below 320px)
   ============================================ */
@media (max-width: 319px) {
    .why-us-section {
        padding: 30px 10px;
    }
    
    .slider-container {
        padding: 0 8px;
    }
    
    .card-track {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card-item {
        max-width: 100%;
        width: 100%;
        padding: 14px;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 25px;
        line-height: 1.2;
        padding: 0 5px;
    }
    
    .card-item h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .card-item p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .card-image-wrapper {
        margin-bottom: 10px;
        border-radius: 6px;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION (Mobile/Tablet)
   ============================================ */
@media (max-height: 600px) and (orientation: landscape) {
    .why-us-section {
        padding: 40px 20px;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .card-item {
        padding: 16px;
    }
    
    .card-image-wrapper {
        aspect-ratio: 2 / 1; /* Wider for landscape */
    }
}

/* ============================================
   HIGH DPI SCREENS (Retina Displays)
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .why-us-section {
        background-color: white;
        color: black;
        padding: 20px;
    }
    
    .card-item {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        background-color: white;
    }
    
    .section-title {
        color: black;
    }
}



