/* ==========================================================================
   SEAVERSE EXIM PRIVATE LIMITED - Corporate B2B Design System & Styles
   ========================================================================== */

:root {
    /* Corporate Luxury Navy & White Palette */
    --brand-navy: #0B192C;
    --brand-navy-dark: #07101D;
    --brand-navy-medium: #1E3E62;
    --brand-navy-light: #EBF3FA;
    --brand-primary: #1E3E62; 
    --brand-accent: #C5A880; /* Subtle Gold/Brass Accent */
    --brand-chilly-red: #FF3A3A; 
    --brand-gradient-quote: linear-gradient(90deg, #1E3E62 0%, #0B192C 100%);
    --brand-gradient-action: linear-gradient(90deg, #FF3A3A 0%, #FF7F00 100%);
    --brand-gradient-footer: linear-gradient(110deg, #07101D 0%, #0B192C 60%, #1E3E62 100%);
    --brand-light-bg: #F8FAFC; 
    --brand-dark: #0F172A; 
    --brand-body: #475569; 
    --brand-white: #FFFFFF;
    --brand-border: rgba(15, 23, 42, 0.09);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --card-shadow: 0 10px 30px rgba(11, 25, 44, 0.07);
    --card-shadow-hover: 0 20px 45px rgba(11, 25, 44, 0.14);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --glass-border: 1px solid rgba(255, 255, 255, 0.85);
    --glass-blur: 16px; 
    --glass-shadow: 0 12px 36px 0 rgba(11, 25, 44, 0.08);
}

/* Animations */
@keyframes infiniteZoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes spin { 
    to { transform: rotate(360deg); } 
}

/* Base Setup */
html { 
    scroll-behavior: smooth;
    scroll-padding-top: 90px; 
}

#preloader {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: -9999 !important;
}

body {
    font-family: var(--font-body);
    color: var(--brand-body);
    font-weight: 400;
    line-height: 1.7;
    background-color: var(--brand-white);
    overflow-x: hidden;
    position: relative; 
}

/* Subtle Fixed Ambient Background (Global Trade & Maritime Shipping Routes) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../assets/global_trade_bg.jpg') no-repeat center center; 
    background-size: cover;
    animation: infiniteZoom 25s ease-in-out infinite;
    opacity: 0.14; 
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-heading); 
    color: var(--brand-navy); 
    font-weight: 700; 
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }

.text-navy { color: var(--brand-navy) !important; }
.text-navy-medium { color: var(--brand-navy-medium) !important; }
.text-chilly { color: var(--brand-chilly-red) !important; }
.bg-navy { background-color: var(--brand-navy) !important; }
.bg-navy-light { background-color: var(--brand-navy-light) !important; }
.bg-light-green { background-color: transparent !important; }

/* Subtitle Pill */
.sub-title {
    display: inline-block; 
    font-family: var(--font-heading); 
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-navy-medium); 
    background-color: rgba(30, 62, 98, 0.08);
    border: 1px solid rgba(30, 62, 98, 0.2);
    padding: 0.35rem 1rem; 
    border-radius: 50px; 
    margin-bottom: 1rem;
}

.section-title {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--brand-navy);
}

/* Buttons */
.btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.65rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-navy {
    background-color: var(--brand-navy);
    color: #FFFFFF !important;
    border: 1.5px solid var(--brand-navy);
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.2);
}
.btn-navy:hover {
    background-color: var(--brand-navy-medium);
    border-color: var(--brand-navy-medium);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 25, 44, 0.3);
}

.btn-outline-navy {
    color: var(--brand-navy);
    background-color: transparent;
    border: 1.5px solid var(--brand-navy);
}
.btn-outline-navy:hover {
    background-color: var(--brand-navy);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(11, 25, 44, 0.2);
}

.btn-outline-brochure {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}
.btn-outline-brochure:hover {
    background-color: #ffffff;
    color: var(--brand-navy) !important;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-quote, .btn-chilly {
    background: var(--brand-gradient-action);
    border: none;
    color: #FFFFFF !important;
    padding: 0.75rem 1.85rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 58, 58, 0.25);
}
.btn-quote:hover, .btn-chilly:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 58, 58, 0.4);
    color: #FFFFFF !important;
}

.btn-outline-dark { 
    border: 1.5px solid var(--brand-navy); 
    color: var(--brand-navy); 
    border-radius: 8px;
}
.btn-outline-dark:hover { 
    background-color: var(--brand-navy); 
    color: var(--brand-white); 
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1.5px solid #ffffff;
    color: #ffffff;
    border-radius: 8px;
}
.btn-outline-light:hover { 
    color: var(--brand-navy); 
    background-color: #ffffff; 
    border-color: #ffffff; 
    transform: translateY(-2px);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px; 
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-green 2.2s infinite;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #20BA5A;
    color: #FFF;
    transform: scale(1.1);
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

/* Preloader Override */
#preloader, .preloader, body #preloader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -9999 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Navbar — Matching Footer Luxury Navy Gradient Background Effect */
.navbar { 
    transition: all 0.35s ease; 
    padding: 14px 0; 
    background: var(--brand-gradient-footer) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 20px rgba(7, 16, 29, 0.25);
}
.navbar.scrolled { 
    padding: 9px 0; 
    background: var(--brand-gradient-footer) !important;
    box-shadow: 0 6px 25px rgba(7, 16, 29, 0.45) !important; 
}
.navbar-brand { 
    font-family: var(--font-heading); 
    font-weight: 800; 
    font-size: 1.35rem; 
    display: flex; 
    align-items: center; 
    color: #ffffff !important;
}
.navbar-brand img { 
    height: 44px; 
    width: auto; 
    margin-right: 12px; 
    background-color: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}
.navbar-brand:hover img {
    transform: scale(1.06);
}

.navbar-nav .nav-link {
    font-family: var(--font-heading); 
    font-weight: 600; 
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.35rem; 
    padding: 0.45rem 0.2rem;
    position: relative;
    transition: color 0.25s ease;
}

.navbar-nav .nav-link::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    right: 0;
    height: 2.5px; 
    background: #ffffff !important; 
    border-radius: 2px;
    transform: scaleX(0); 
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active { 
    color: #ffffff !important; 
}
.navbar-nav .nav-link:hover::after, 
.navbar-nav .nav-link.active::after { 
    transform: scaleX(1); 
}

.navbar-toggler { 
    border: 1px solid rgba(255, 255, 255, 0.25); 
    padding: 0.5rem;
}
.navbar-toggler-icon {
    filter: invert(1);
}

.dropdown-menu {
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 30px rgba(11, 25, 44, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
}
.dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-dark);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background-color: var(--brand-navy-light);
    color: var(--brand-navy);
    padding-left: 1.25rem;
}

.navbar-toggler { 
    border: none; 
    padding: 0.5rem;
}
.navbar-toggler:focus { 
    box-shadow: none; 
}

/* Hero Section */
#hero {
    height: auto; 
    min-height: 88vh;
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden; 
    background: none; 
    padding-top: 110px;
    padding-bottom: 70px;
}
#hero .hero-content { 
    position: relative; 
    z-index: 2; 
}

.hero-carousel { 
    box-shadow: 0 15px 40px rgba(11, 25, 44, 0.14); 
    border-radius: 1.25rem; 
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-carousel .carousel-inner, 
.hero-carousel .carousel-item img { 
    border-radius: 1.25rem; 
    height: 400px;
    object-fit: cover;
}

.carousel-slide-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(11, 25, 44, 0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    #hero { padding: 110px 0 60px 0; min-height: auto;}
    .hero-content { text-align: center; }
    .hero-carousel { margin-top: 40px; }
    .d-flex.gap-2 { justify-content: center; }
}

/* Sections */
.section-padding { 
    padding: clamp(65px, 8vh, 95px) 0; 
    position: relative; 
    z-index: 1; 
}
section:not(.bg-light-green):not(#hero) { 
    background-color: var(--brand-white); 
}

/* Category Headers */
.category-header-wrap {
    margin-bottom: 1.75rem;
}
.category-header {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-left: 5px solid var(--brand-navy);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(11, 25, 44, 0.04);
}

/* Product Cards (B2B International Standards) */
.product-card {
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    height: 100%;
    background: var(--glass-bg); 
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(15, 23, 42, 0.09); 
    border-radius: 14px; 
    box-shadow: var(--card-shadow);
    text-decoration: none; 
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); 
    overflow: hidden;
}
.product-card:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 62, 98, 0.3);
}
.product-card .card-img-wrapper,
.product-card .product-img-wrapper {
    position: relative;
    overflow: hidden;
    background: #F1F5F9;
    height: 220px;
    border-radius: 10px 10px 0 0;
}
.product-card .card-img-top,
.product-card .product-img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.product-card:hover .card-img-top,
.product-card:hover .product-img { 
    transform: scale(1.06); 
}
.product-card .card-body,
.product-card .product-body { 
    padding: 1.5rem; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}
.product-card .card-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem; 
    color: var(--brand-navy); 
}
.product-card .card-text {
    color: var(--brand-body);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(15, 23, 42, 0.12);
    padding-top: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    color: #64748B;
}
.product-meta-row strong {
    color: var(--brand-navy);
}

.product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
}
.product-card-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

/* Expanding Portfolio Section */
.portfolio-expansion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.expansion-item {
    background: #FFFFFF;
    border: 1px dashed rgba(30, 62, 98, 0.3);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    transition: all 0.25s ease;
}
.expansion-item:hover {
    background: var(--brand-navy-light);
    border-style: solid;
    border-color: var(--brand-navy-medium);
    transform: translateY(-3px);
}
.expansion-item h6 {
    color: var(--brand-navy);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.expansion-tag {
    font-size: 0.76rem;
    color: var(--brand-navy-medium);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Product Bottom CTA Box */
.product-bottom-cta {
    background: linear-gradient(135deg, #0B192C 0%, #1E3E62 100%);
    box-shadow: 0 15px 40px rgba(11, 25, 44, 0.18);
}

/* Government Certification Cards */
.cert-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 1.75rem;
    width: 100%;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    border-top: 4px solid var(--brand-navy-medium);
    display: flex;
    flex-direction: column;
}
.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}
.cert-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--brand-navy-light);
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.cert-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}
.cert-card p {
    font-size: 0.9rem;
    color: var(--brand-body);
    margin-bottom: 1rem;
    flex-grow: 1;
}
.cert-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background-color: var(--brand-navy-light);
    color: var(--brand-navy);
    border: 1px solid rgba(30, 62, 98, 0.15);
}

/* Gallery Cards */
.gallery-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--brand-border);
    height: 260px;
    background: #f8fafc;
    transition: all 0.35s ease;
}
.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-card:hover img {
    transform: scale(1.06);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 16, 29, 0.85) 0%, rgba(7, 16, 29, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: #ffffff;
}
.gallery-overlay h6 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.gallery-overlay span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Blog & Testimonial Cards */
.blog-card, .testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 1.75rem;
    width: 100%;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover, .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}
.blog-date {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-navy-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.blog-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 0.75rem;
}
.blog-card p, .testimonial-card p {
    font-size: 0.92rem;
    color: var(--brand-body);
    margin-bottom: 1rem;
    flex-grow: 1;
}
.rating-stars {
    color: #F59E0B;
    margin-bottom: 0.75rem;
}
.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}
.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.client-name {
    font-weight: 700;
    color: var(--brand-navy);
    font-size: 0.95rem;
    margin-bottom: 0;
}
.client-location {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0;
}

/* Feature Cards (Why Us) */
.feature-card {
    background: var(--glass-bg); 
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--brand-border); 
    border-radius: 14px; 
    padding: 2rem 1.75rem; 
    width: 100%; 
    height: 100%;
    transition: all 0.35s ease; 
    box-shadow: var(--card-shadow);
    border-top: 4px solid var(--brand-navy);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}
.feature-card h5 { 
    color: var(--brand-navy); 
    font-weight: 700; 
    margin-bottom: 0.65rem; 
    font-size: 1.15rem;
}
.feature-card p { 
    color: var(--brand-body); 
    margin-bottom: 0; 
    font-size: 0.93rem; 
}

/* Contact Items */
.contact-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 1.75rem; 
}
.contact-item .icon-box-phone {
    flex-shrink: 0; 
    width: 54px; 
    height: 54px;
    background-color: var(--brand-navy-light); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 1.25rem;
    transition: transform 0.3s ease;
}
.contact-item .icon-box-phone svg {
    fill: var(--brand-navy); 
    width: 24px;
    height: 24px;
}
.contact-item:hover .icon-box-phone { 
    transform: scale(1.08); 
}

.contact-item .icon-box {
    flex-shrink: 0; 
    width: 54px; 
    height: 54px;
    background-color: var(--brand-navy-light); 
    color: var(--brand-navy);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-right: 1.25rem;
    transition: transform 0.3s ease;
}
.contact-item:hover .icon-box {
    transform: scale(1.08);
}
.contact-item h5 { 
    color: var(--brand-navy); 
    font-weight: 700; 
    margin-bottom: 0.25rem; 
}
.contact-item p, .contact-item a {
    color: var(--brand-body); 
    text-decoration: none; 
    margin-bottom: 0; 
    font-size: 1rem; 
    word-break: break-word;
    transition: color 0.2s;
}
.contact-item a:hover { 
    color: var(--brand-navy-medium); 
}

/* Social Icon Button */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icon-btn:hover {
    background: #ffffff;
    color: var(--brand-navy);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form-card {
    background: var(--glass-bg); 
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--brand-border); 
    box-shadow: var(--card-shadow);
    padding: 2.25rem; 
    border-radius: 16px;
}
.contact-form .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 0.35rem;
}
.contact-form .form-control, .contact-form .form-select {
    background-color: #FFFFFF !important; 
    border: 1px solid #CBD5E1 !important; 
    border-radius: 6px !important;
    box-shadow: none !important; 
    color: var(--brand-dark) !important;
    padding: 0.65rem 0.85rem; 
    margin-bottom: 1.15rem;
    font-size: 0.92rem;
    transition: border-color 0.25s ease;
}
.contact-form .form-control:focus, .contact-form .form-select:focus { 
    border-color: var(--brand-navy) !important; 
    box-shadow: 0 0 0 3px rgba(11, 25, 44, 0.08) !important;
}

/* Google Map */
.google-map-container {
    border-radius: 14px; 
    overflow: hidden; 
    box-shadow: var(--card-shadow);
    border: 1px solid var(--brand-border); 
    height: 380px; 
    margin-bottom: 2rem;
}
.google-map-container iframe { 
    width: 100%; 
    height: 100%; 
    border: 0; 
}

/* Footer */
.footer-wavy-wrapper {
    position: relative; 
    background: var(--brand-gradient-footer);
    padding-top: 80px; 
    padding-bottom: 0; 
    color: rgba(255, 255, 255, 0.92);
}
.footer-wavy-svg {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%;
    overflow: hidden; 
    line-height: 0; 
    transform: translateY(-1px);
}
.footer-wavy-svg svg {
    position: relative; 
    display: block; 
    width: calc(100% + 1.3px); 
    height: 80px;
}
.footer-wavy-svg .wave-fill { 
    fill: var(--brand-white); 
}
.footer-wavy-wrapper .container { 
    padding-top: 2.5rem; 
    padding-bottom: 1.5rem; 
}
.footer-wavy-wrapper .navbar-brand { 
    color: var(--brand-white); 
}
.footer-wavy-wrapper h5 { 
    color: var(--brand-white); 
    font-weight: 700; 
    margin-bottom: 1.15rem; 
}
.footer-wavy-wrapper .footer-links { 
    list-style: none; 
    padding-left: 0; 
}
.footer-wavy-wrapper .footer-links li { 
    margin-bottom: 0.55rem; 
}
.footer-wavy-wrapper .footer-links a, 
.footer-wavy-wrapper .footer-links p {
    color: rgba(255, 255, 255, 0.85); 
    text-decoration: none; 
    transition: all 0.2s ease;
    font-size: 0.92rem;
}
.footer-wavy-wrapper .footer-links a:hover {
    color: #ffffff; 
    padding-left: 5px;
}
.footer-wavy-wrapper hr { 
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
    opacity: 1; 
    margin-top: 2rem; 
    margin-bottom: 1.5rem; 
}

/* Modals */
.modal-content { 
    border-radius: 14px; 
    border: none; 
    box-shadow: 0 25px 60px rgba(7, 16, 29, 0.3); 
    overflow: hidden;
}
.modal-header { 
    border-bottom: 1px solid rgba(15, 23, 42, 0.08); 
    padding: 1.25rem 1.5rem;
    background-color: #F8FAFC;
}
.modal-logo { 
    height: 32px; 
    width: auto; 
    margin-right: 12px; 
}

/* Product Detail Modal Specifics */
.modal-product-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--brand-border);
}
.spec-table {
    font-size: 0.88rem;
    margin-bottom: 0;
}
.spec-table th {
    background-color: #F1F5F9;
    color: var(--brand-navy);
    font-weight: 600;
    width: 40%;
}
.spec-table td {
    color: var(--brand-dark);
}

/* Scroll Animations — content must stay visible even if JS/cache fails */
.animate-on-scroll {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.animate-on-scroll.visible,
.animate-on-scroll.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Responsive Media Queries */
@media (max-width: 575.98px) {
    .navbar-brand { font-size: 1.1rem; }
    .btn { width: 100%; margin-bottom: 8px; } 
    .product-card-actions { grid-template-columns: 1fr; }
    .nav-item.ms-lg-3.d-flex { flex-direction: column; width: 100%; gap: 8px !important;}
    .text-center-mobile { text-align: center; }
    .contact-item { flex-direction: column; align-items: center; text-align: center; }
    .contact-item .icon-box, .contact-item .icon-box-phone { margin-right: 0; margin-bottom: 1rem; }
    h1 { line-height: 1.2; }
    .navbar-collapse { padding-top: 15px; }
    .navbar-nav .nav-link { margin: 3px 0; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 24px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 767.98px) {
    .footer-quick-links, .footer-sister-concerns { display: none; }
}

/* Glassy Certificate Preview Lightbox Modal & Interactive Cards */
.glass-modal-content {
    background: linear-gradient(135deg, rgba(7, 16, 29, 0.94) 0%, rgba(11, 25, 44, 0.96) 60%, rgba(30, 62, 98, 0.94) 100%) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6) !important;
    border-radius: 20px !important;
}

.glass-modal-header {
    background: rgba(255, 255, 255, 0.06) !important;
}

.glass-proof-container {
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.1), 0 12px 35px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cert-card {
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.09);
    overflow: hidden;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 25, 44, 0.15) !important;
    border-color: rgba(30, 62, 98, 0.35) !important;
}

.cert-card-preview-btn {
    cursor: pointer;
    transition: all 0.25s ease;
}
.cert-card-preview-btn:hover {
    background-color: var(--brand-navy-light) !important;
    border-color: var(--brand-navy) !important;
    transform: translateY(-2px);
}
