/* ==========================================================================
   Modern Reset & Corporate Theme Configuration
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

:root {

 /*     --sitebase-blue: #0284c7;    /* Bright, vibrant sky/royal blue theme */ 
    --sitebase-blue: #3275CC;    /*  blue theme */
    --accent-blue: #3275CC;      /* Clean blue accent for matching buttons */
    --link-light: #ffffff;       /* Pure White for Active / Hover Links */
    --link-inactive: #e0f2fe;    /* Very light sky blue tint for regular links */
    --bg-light: #f8fafc;         /* Clean Soft Off-White Page Background */
    --text-dark: #0f172a;        /* High-contrast crisp text */
    --text-muted: #475569;       /* Soft Gray text */
    --border-color: #1e55a4;     /* #0369a1; Blue border accent */
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   1. Header Drop-Shadow Navigation
   ========================================================================== */
header {
    background-color: var(--sitebase-blue); 
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15); 
}

.nav-wrapper {
    display: flex;
    justify-content: center; 
    align-items: center;
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px; 
}

nav a {
    text-decoration: none;
    color: var(--link-inactive); 
    font-weight: 600;
    font-size: 16px;
    transition: color 0.2s ease;
}

nav a:hover, nav a.active {
    color: var(--link-light); 
    border-bottom: 2px solid #ffffff;
    padding-bottom: 4px;
}

/* ==========================================================================
   2. Top Banner Block - RAW BACKGROUND GRAPHIC ONLY
   ========================================================================== */
.header-banner {
    background: url('images/header-bg.jpg'); 
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.header-banner h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); 
}

.header-banner p {
    font-size: 18px;
    color: #ffffff; 
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);  
}

/* Specific inner positioning container for the logo graphic inside banners */
.banner-logo {
    position: absolute;
    top: 40px;
    left: 40px;
    max-width: 180px;
}

.banner-logo img {
    width: 100%;
    height: auto;
    display: block;
}


/* ==========================================================================
   Global Section Headings 
   ========================================================================== */
h2.section-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--sitebase-blue) !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
    padding: 50px 0 10px 0;
}


/* ==========================================================================
   SitePad Wave Shape Divider Alignments (Sub Pages Only Override Configuration)
   ========================================================================== */
.sub-page-banner {
    padding-bottom: 130px !important; /* Extra bottom canvas padding room so text avoids waves */
    overflow: hidden; 
}

.pagelayer-row-shape {
    position: absolute;
    bottom: -1px; /* Fastens the shape flat against bottom edge border variables */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.pagelayer-svg-bottom {
    width: 100%;
    height: 75px; /* Vertical height boundary scale for waves */
    display: block;
}

.pagelayer-shape-fill {
    fill: var(--bg-light); /* Enforces exact matching light off-white layout color matching */
}

/* ==========================================================================
   3. Product Cards Grid Area
   ========================================================================== */
.product-section {
    padding: 50px 0 50px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    align-items: start;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 30px; 
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px 0 #0734a7;
}

.card-thumb {
    width: 100%;
    height: 180px;         /* Keeps the block height completely fixed */
    margin-bottom: 15px;
    display: flex;
    align-items: center;   /* Perfectly centers image vertically */
    justify-content: center; /* Perfectly centers image horizontally */
    overflow: hidden;
*border: none;          /* Removes outline box borders */
    border-radius: 0 !important; /* Forces corners to stay completely square */
}

.card-thumb img {
    max-width: 100%;       /* Prevents image from overflowing width boundaries */
    max-height: 100%;      /* Prevents image from overflowing height boundaries */
    width: auto;           /* Allows natural proportional scaling */
    height: auto;          /* Allows natural proportional scaling */
    object-fit: contain;   /* Scales to fit image sychronously without cropping */
    border: 1px solid #0734a7;
}

.card h3 {
    font-size: 22px;
    color: var(--sitebase-blue) !important;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0f2fe;
    padding-bottom: 8px;
}

.card-content {
    color: var(--text-dark);
    font-size: 15px;
    flex-grow: 1;
}

.card-content p {
    margin-bottom: 12px;
}

.card-content ul {
    list-style-type: disc !important;
    margin-left: 20px !important;
    padding-left: 10px !important;
    margin-bottom: 20px;
}

.card-content li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ==========================================================================
   2-Row, 2-Column Balanced Grid Layout
   ========================================================================== */
.about-row {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
    width: 100%;
}
.about-row .card {
    flex: 1; /* Forces both cards in a row to be exactly equal in width and height */
}
@media (max-width: 768px) {
    .about-row {
        flex-direction: column; /* Safely collapses into a single column on phones */
    }
}


/* ==========================================================================
   Button Styling Rules (Optimized for your new --sitebase-blue theme)
   ========================================================================== */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    width: 100%;
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 12px 18px;
    border-radius: 30px; 
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    flex: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* PRIMARY BUTTON: Uses --sitebase-blue theme color */
.btn-primary {
    background-color: var(--sitebase-blue);
    color: #ffffff;
}

/* BLENDS PERFECTLY ON HOVER: Smoothly deepens to a rich corporate navy-royal */
.btn-primary:hover {
    background-color: #1e5299;
}

/* SECONDARY LIGHT BUTTON: Flat white resting state with royal blue text */
.btn-secondary {
    background-color: #ffffff;
    color: var(--sitebase-blue);
    border: 2px solid #dbeaf7; /* Clean, ultra-light ice blue outline */
}

/* BLENDS PERFECTLY ON HOVER: Fades canvas to a soft pastel blue while border locks to your theme color */
.btn-secondary:hover {
    background-color: #f0f6ff; 
    border-color: var(--sitebase-blue); 
}

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

/* Contact form */
        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 20px;
            width: 100%;
        }

        .form-row-split {
            display: flex;
            gap: 15px;
            width: 100%;
        }

        .form-field-group {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .form-field-group label {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 6px;
        }

        .contact-form input[type="text"],
        .contact-form input[type="email"],
        .contact-form textarea {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #cbd5e1;
            background-color: #f8fafc;
            color: var(--text-dark);
            font-size: 15px;
            border-radius: 12px;
            outline: none;
            transition: border-color 0.2s;
        }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--accent-blue);
        }

        .contact-form textarea {
            resize: vertical;
            min-height: 120px;
        }

        /* Adjust internal alignment spacings inside Card 1 */
        .card h3 {
            margin-bottom: 8px;
        }
        .card h3:not(:first-child) {
            margin-top: 25px; /* Adds clean spacing between headers */
        }

        @media (max-width: 576px) {
            .form-row-split {
                flex-direction: column;
                gap: 15px;
            }
        }
 
 
 /* ==========================================================================
   SANDBOXED CUSTOMER LOGO DUAL MARQUEE SECTION
   ========================================================================== */

.es-marquee-section {
  padding: 60px 0;
  background-color: #f9fafb;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.es-marquee-title-box {
  margin-bottom: 40px;
}

/* Row Container Spacing */
.es-marquee-row-spacer {
  margin-bottom: 20px;
}

/* Locked Box Wrapper: Limits slider visibility to site-container boundaries */
.es-marquee-wrapper {
  width: 100%;
  display: inline-flex;
  flex-wrap: nowrap;
  overflow: hidden;
  /* Smoothly blurs layout edges to prevent harsh visual cutting inside container */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.es-marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 0;
}

/* Direction 1: Standard Left Movement (Top Row) */
.es-track-left {
  animation: esMarqueeMoveLeft 65s linear infinite;
}

/* Direction 2: Reverse Right Movement (Bottom Row) */
.es-track-right {
  animation: esMarqueeMoveRight 65s linear infinite;
}

/* Individual Card Structural Constraints */
.es-ticker-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  width: 224px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  padding: 16px 24px;
  margin: 0 12px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.es-ticker-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  border-color: #e0e7ff;
  transform: translateY(-4px);
}

/* Standardized Image Engine Optimization Rules */
.es-ticker-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.es-ticker-card:hover .es-ticker-img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Hover Interactivity: Pauses sliding motion when mouse cursor touches a row wrapper */
.es-marquee-wrapper:hover .es-marquee-track {
  animation-play-state: paused;
}

/* Keyframes for Left Row Movement */
@keyframes esMarqueeMoveLeft {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* Keyframes for Right Row Movement */
@keyframes esMarqueeMoveRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0%); }
}



/* ==========================================================================
   5. Mobile Responsiveness Rules
   ========================================================================== */
@media (max-width: 768px) {
    .nav-wrapper {
        padding: 20px 0;
        height: auto;
    }
    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .header-banner {
        padding: 40px 0;
    }
    .banner-logo {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto 20px auto; 
    }
    .header-banner h1 {
        font-size: 28px;
    }
    .product-section {
        padding: 40px 10px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}
