/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img, svg { max-width: 100%; height: auto; display: block; }
html, body { width: 100%; overflow-x: hidden; }

body {
    background-color: #fbfcfe;
    background-image: 
        linear-gradient(to right, rgba(226, 232, 240, 0.3) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(226, 232, 240, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #495057;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    color: #09479b;
    font-weight: 400; /* DM Serif Display is naturally bold */
}

a {
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Global Container */
.container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Common Layout Elements */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 24px;
}

.section-description strong {
    color: #09479b;
    font-weight: 700;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #eaf0f7;
    color: #2b6cb0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-quote {
    background-color: #0056d2;
    color: #ffffff;
    padding: 10px 24px;
}

.btn-quote:hover {
    background-color: #0045aa;
}

.btn-primary {
    background-color: #0056d2;
    color: #ffffff;
    padding: 14px 32px;
    margin-bottom: 32px;
}

.btn-primary:hover {
    background-color: #0045aa;
    box-shadow: 0 10px 20px -5px rgba(0, 86, 210, 0.3);
    transform: translateY(-2px);
}

.btn-white {
    background-color: #ffffff;
    color: #0056d2;
    padding: 14px 32px;
}

.btn-white:hover {
    background-color: #f1f5f9;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 1. Header & Navigation */
.header {
    padding: 4px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    height: 124px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Navigation Styles */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #09479b;
    cursor: pointer;
}
.nav-toggle .close-icon { display: none; }
.nav-toggle.active .menu-icon { display: none; }
.nav-toggle.active .close-icon { display: block; }

.nav-wrapper {
    display: none;
}
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-link {
    color: #495057;
    font-weight: 500;
}
.nav-link:hover {
    color: #0056d2;
}

@media (min-width: 769px) {
    .nav-wrapper {
        display: flex;
        align-items: center;
        flex: 1;
        justify-content: flex-end;
    }
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 36px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b4252;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
}

.dropdown-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #edf2f7;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: #0056d2;
}

/* 2. Hero Section */
.hero-section {
    padding: 60px 0 80px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content, 
.hero-image-wrapper {
    margin-top: 0;
    padding-top: 0;
}

.hero-content {
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content .section-description {
    max-width: 580px;
    margin-bottom: 36px;
}

.trust-markers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0056d2;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    font-size: 18px;
}

.trust-icon.bullet {
    font-size: 8px;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 36px;
}

/* 3. About Section */
.about-section {
    padding: 80px 0;
}

.about-image-wrapper {
    display: flex;
    justify-content: flex-start;
}

.about-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-img {
    width: 80%;
    height: auto;
    border-radius: 52px;
    object-fit: cover;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* 4. Mission & Vision Section */
.mission-vision-section {
    padding: 80px 0;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header.center .badge {
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #495057;
}

.cards-grid {
    gap: 40px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    border: 1px solid #edf2f7;
    height: 100%;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eaf0f7;
    color: #0056d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.card-desc {
    color: #495057;
    line-height: 1.6;
}

/* 5. Triple Split Feature Preview */
.feature-preview-section {
    padding: 80px 0;
}

.preview-image-wrapper {
    display: flex;
    justify-content: flex-start;
}

.preview-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.preview-img {
    width: 80%;
    border-radius: 58px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* 6. Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 0;
}

.why-choose-us-section .reverse {
    direction: rtl; /* simple trick to reverse on desktop if grid ordering isn't used */
}

@media (min-width: 992px) {
    .why-choose-us-section .reverse {
        direction: ltr;
    }
    .why-choose-us-section .why-content {
        order: 1;
        padding-right: 40px;
    }
    .why-choose-us-section .why-image-wrapper {
        order: 2;
        display: flex;
        justify-content: flex-end;
    }
}

.why-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-img {
    width: 80%;
    border-radius: 55px;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.15);
}

/* 7. Product Catalog / Showcase */
.products-section {
    padding: 80px 0;
}

.section-header.split {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

@media (min-width: 992px) {
    .section-header.split {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
    .split-left {
        max-width: 600px;
    }
    .split-right {
        max-width: 400px;
        text-align: right;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #0056d2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 9999px;
    z-index: 2;
}

.product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-img-wrapper:hover .product-img {
    transform: scale(1.05);
}

.product-title {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.product-specs {
    color: #495057;
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-link {
    color: #0056d2;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.product-link:hover {
    text-decoration: underline;
}

/* 8. Call to Action Banner */
.cta-section {
    padding: 40px 0 100px 0;
}

.cta-banner {
    background-color: #0052cc;
    border-radius: 32px;
    padding: 50px 60px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 992px) {
    .cta-banner {
        flex-direction: row;
    }
}

.cta-badge {
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 16px;
    font-weight: 400;
    color: white;
}

.cta-subtitle {
    max-width: 480px;
    opacity: 0.9;
    font-size: 16px;
    line-height: 1.5;
}

.cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cta-camera-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    display: block;
}

.cta-btn {
    background-color: #003b95;
    color: #ffffff;
    border-radius: 9999px;
    padding: 12px 34px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.cta-btn:hover {
    background-color: #002d72;
    transform: translateY(-1px);
}

/* 9. Modern Footer */
.footer {
    border-top: 1px solid #e2e8f0;
    padding: 80px 0 40px 0;
    background-color: #ffffff;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 60px;
    }
}

.footer-logo {
    height: 120px;
    margin-bottom: 0px;
}

.footer-desc {
    color: #495057;
    line-height: 1.6;
    max-width: 320px;
}

.footer-heading {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: #495057;
}

.footer-list a:hover {
    color: #0056d2;
}

.footer-contact-list {
    list-style: none;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #495057;
}

.footer-contact-list i {
    color: #0056d2;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* =========================================
   Product Catalog Pages (hd_product.html) 
   ========================================= */

.page-title-section {
    padding: 60px 0 20px 0;
    text-align: center;
}

.catalog-section {
    padding: 20px 0 80px 0;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 48px;
    }
}

.catalog-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid #edf2f7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.catalog-img-wrapper {
    background-color: #f8fafc;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #edf2f7;
}

.catalog-img {
    height: 200px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* Optional: blends white bg out if product has white bg */
}

.catalog-content {
    padding: 30px;
    flex-grow: 1;
}

.catalog-mp {
    display: inline-block;
    color: #0056d2;
    background-color: #eaf0f7;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.catalog-name {
    font-size: 1.4rem;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 4px;
}

.catalog-subtitle {
    font-size: 0.95rem;
    color: #4a5568;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.catalog-specs {
    list-style: none;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.catalog-specs li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
}

.catalog-specs li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #0056d2;
    font-weight: bold;
}

/* Bottom Showcase Banner */
.showcase-banner-section {
    padding-bottom: 60px;
}

.showcase-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.showcase-img {
    max-width: 820px;
    width: 100%;
    max-height: 820px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.22);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* 2. Tablet Breakpoint (Max 1024px) */
@media (max-width: 1024px) {
    /* Navigation */
    .header { padding: 4px 0; }
    .nav-container { padding: 16px 28px; }
    .nav-wrapper { gap: 18px; }
    .nav-menu { gap: 18px; }
    .dropdown-menu { right: 0; left: auto; }

    /* Hero Section */
    .hero-container { grid-template-columns: 1fr 1fr; }
    .hero-image-wrapper { max-width: 440px; margin: 0 auto; }
    .hero-title { font-size: 52px; }

    /* Product Listing Pages */
    .catalog-grid { gap: 36px 28px; }
    .catalog-img-wrapper { height: 180px; }
    .catalog-img { max-height: 160px; }

    /* CTA Banner */
    .cta-banner { padding: 36px 40px; }
    .cta-camera-img { max-width: 140px; }
}

/* 3. Mobile Landscape & Small Tablets (Max 768px) */
@media (max-width: 768px) {
    /* Navigation - Mobile Menu Drawer */
    .nav-toggle { display: block; }
    .nav-container { position: relative; }
    .nav-wrapper {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        padding: 24px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 24px;
    }
    .nav-wrapper.active { display: flex; }
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }
    .nav-link { display: block; width: 100%; }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 16px;
        background: transparent;
        display: none;
    }
    .dropdown.active .dropdown-menu { display: block; }
    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }

    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        flex-direction: column-reverse;
        display: flex;
    }
    .hero-image-wrapper {
        order: -1;
        max-width: 90%;
        margin: 0 auto 32px auto;
    }
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-title { font-size: 40px; line-height: 1.15; }

    /* Alternating Sections */
    .grid-2-col { grid-template-columns: 1fr; }
    .feature-row, .about-section, .why-choose-us, .vision-mission-section .grid-2-col {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .feature-content, .about-content, .why-content, .vision-content {
        align-items: center;
        text-align: center;
    }
    .feature-image-wrapper {
        order: -1;
        margin: 0 auto 32px auto;
    }

    /* Product Listing Pages */
    .catalog-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin: 0 auto;
    }
    .catalog-card { text-align: center; }
    .catalog-specs li { text-align: left; }

    /* Bottom Showcase Images */
    .showcase-banner, .showcase-img {
        max-height: 280px;
        width: 100%;
        border-radius: 20px;
    }

    /* CTA Banner */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    .cta-action { justify-content: center; }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand, .footer-contact-list { align-items: center; }
}

/* 4. Small Mobile Phones (Max 480px) */
@media (max-width: 480px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .hero-title { font-size: 32px; }
    .btn, .btn-quote, .btn-read-more {
        min-height: 44px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .catalog-name { font-size: 1.2rem; }
    .catalog-mp { font-size: 1.1rem; }
    .trust-bar {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}


/* =========================================
   Contact Page (contact.html)
   ========================================= */

.contact-section {
    padding: 20px 0 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    max-width: 1200px;
    margin: 40px auto 80px auto;
}

.map-container {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    min-height: 420px;
    height: 100%;
    width: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #eaf0f7;
    color: #0056d2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 13px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 18px;
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.contact-value:hover {
    color: #0056d2;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin: 0 auto;
    }
    .map-container {
        min-height: 320px;
        height: 320px;
    }
}
