/* ==========================================================================
   1. GLOBAL SETUP & VARIABLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --logo-blue: #3F51B5;
    --logo-gold: #FFD54F;
    --dark-grey: #222222;
    --body-bg: #fdfdfd;
}

body { 
    background-color: var(--body-bg); 
    color: #333333;
    line-height: 1.5;
}


/* ==========================================================================
   2. HEADER & TOP BAR
   ========================================================================== */
.top-bar {
    background: var(--logo-blue);
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    padding: 8px 5%;
    font-size: 13px;
}

.contact-info { font-weight: 500; }

.utility-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 15px;
    font-size: 12px;
}

.main-header-section {
    background: #ffffff;
    padding: 0 5%; 
    border-bottom: 2px solid var(--logo-gold);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 20px;
    height: auto; 
}

.side-logo {
    height: 80px; 
    width: auto;
    display: block; 
}

.brand-name {
    font-family: 'Cooper Black', 'Cooper', serif; 
    font-size: 1.8rem;
    color: #000000;
    margin: 0; 
}


/* ==========================================================================
   3. NAVIGATION SYSTEM
   ========================================================================== */
.main-nav {
    background: var(--logo-blue);
    padding: 0 5%;
    display: flex;
    justify-content: flex-start;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: 0.3s;
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 280px; 
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    top: 100%; 
    left: 0;
    flex-direction: column; 
    padding: 0;
    border-top: 3px solid var(--logo-gold);
}

.dropdown:hover .dropdown-content {
    display: flex !important;
}

.dropdown-content li {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
}

.dropdown-content li a {
    color: #333333 !important;
    padding: 12px 20px;
    font-size: 13.5px;
    text-align: left;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #f8f9fa;
    color: var(--logo-blue) !important;
}

.dropdown:hover > a {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--logo-gold);
}


/* ==========================================================================
   4. PRODUCT GRID & CAROUSEL CARDS
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 50px 5%;
}

.product-card {
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--logo-gold);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 15px;
    background: #fafafa;
}

.card-text {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.card-text h3 { 
    color: var(--logo-blue); 
    margin-bottom: 10px; 
}

.card-text p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Stepping Slider Component */
.image-slider-container {
    width: 100%;
    height: 220px;
    overflow: hidden; 
    background: #fafafa;
    position: relative;
    border-bottom: 1px solid #eeeeee;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-out; 
    will-change: transform;
}

.slider-track img {
    height: 100%;
    object-fit: contain;
    padding: 15px;
    flex-shrink: 0;
}


/* ==========================================================================
   5. COMPANY INTRO & VALUES
   ========================================================================== */
.company-intro {
    padding: 60px 5%;
    background: #ffffff;
    text-align: center;
}

.intro-text h2 {
    font-family: 'Cooper Black', serif;
    font-size: 2rem;
    color: var(--logo-blue);
    margin-bottom: 20px;
}

.values-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.value-item {
    background: #f8f9fa;
    padding: 30px;
    border-left: 5px solid var(--logo-gold);
    width: 45%;
    text-align: left;
}


/* ==========================================================================
   6. HIGH-IMPACT CENTERED CONTACT SECTION
   ========================================================================== */
.apex-contact-section {
    width: 100%;
    margin-top: 60px;
    padding: 60px 20px;
    /* Distinct dark blue background framed by company gold borders */
    background-color: #1a237e !important;
    border-top: 6px solid var(--logo-gold);
    border-bottom: 6px solid var(--logo-gold);
    text-align: center;
    display: flex;
    justify-content: center;
}

.apex-contact-container {
    max-width: 850px; /* Constrains the section width to eliminate right-side space */
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.apex-contact-badge {
    background-color: var(--logo-gold);
    color: #111111;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 15px;
}

.apex-contact-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 10px;
}

.apex-contact-subheading {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 35px;
}

/* Balanced 2-Column Grid Centered on Page */
.apex-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

/* Interactive Card Base */
.apex-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background-color: #ffffff;
    border-radius: 12px;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apex-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

/* Icon Sizing */
.apex-icon {
    font-size: 2.2rem !important;
    flex-shrink: 0;
}

.apex-card-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.apex-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.2;
}

.apex-card-detail {
    font-size: 0.88rem;
    color: #666666;
    margin-top: 4px;
    word-break: break-all;
}

/* Card Accent Colors */
.apex-whatsapp .apex-icon { color: #25D366; }
.apex-whatsapp:hover { border-left: 5px solid #25D366; }

.apex-phone .apex-icon { color: var(--logo-blue); }
.apex-phone:hover { border-left: 5px solid var(--logo-blue); }

.apex-email .apex-icon { color: #EA4335; }
.apex-email:hover { border-left: 5px solid #EA4335; }

.apex-form .apex-icon { color: #F57F17; }
.apex-form:hover { border-left: 5px solid #F57F17; }


/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 850px) {
    .values-grid {
        flex-direction: column;
    }
    
    .value-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .apex-contact-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    
    .apex-contact-heading {
        font-size: 1.7rem;
    }
}