/* ==========================================================================
   The Faith Industries Limited - Executive Accessories Industry Theme
   Official Brand Color Palette:
   - Primary Cyan Blue: #00ADEE
   - Primary Magenta Pink: #EB008B
   - Corporate Navy: #002060 / #06152d
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark-navy: #06152d;
    --bg-navy-card: #0a1d37;
    
    /* Exact Brand Palette from Faith Logo */
    --primary-cyan: #00ADEE;
    --primary-magenta: #EB008B;
    --primary-navy: #002060;
    
    --primary-emerald: #00ADEE; /* Cyan Primary */
    --primary-emerald-hover: #0093ce;
    --accent-magenta: #EB008B;
    --accent-gold: #d4af37;
    
    --text-dark: #0f172a;
    --text-muted: #475467;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    --border-light: #e2e8f0;
    --border-cyan: rgba(0, 173, 238, 0.3);
    --border-magenta: rgba(235, 0, 139, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(0, 173, 238, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 32, 96, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 32, 96, 0.12);
    
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ADEE 0%, #EB008B 100%);
    border-radius: var(--radius-full);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--primary-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}
a:hover {
    color: var(--primary-magenta);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gradient Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-emerald {
    background: linear-gradient(135deg, #00ADEE 0%, #EB008B 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 173, 238, 0.35);
}
.btn-emerald:hover {
    background: linear-gradient(135deg, #EB008B 0%, #00ADEE 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(235, 0, 139, 0.45);
}

.btn-navy {
    background: var(--primary-navy);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 32, 96, 0.2);
}
.btn-navy:hover {
    background: linear-gradient(135deg, #00ADEE 0%, #002060 100%);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-navy {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}
.btn-outline-navy:hover {
    background: var(--primary-navy);
    color: #ffffff;
}

/* Badge Pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(0, 173, 238, 0.12) 0%, rgba(235, 0, 139, 0.12) 100%);
    border: 1px solid var(--primary-cyan);
    border-radius: var(--radius-full);
    color: var(--primary-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Top Info Bar */
.top-info-bar {
    background: var(--bg-dark-navy);
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}
.top-info-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.top-info-left, .top-info-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.top-info-link {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.top-info-link:hover {
    color: var(--primary-cyan);
}

/* Smart Executive Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: var(--transition-smooth);
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 42px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-navy);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: linear-gradient(90deg, #00ADEE 0%, #EB008B 100%);
    border-radius: 2px;
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-cyan);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-quote-btn {
    padding: 9px 18px;
    font-size: 0.82rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.4rem;
    color: var(--primary-navy);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 6px;
}
.mobile-drawer-cta {
    display: none;
}

/* Industrial Hero Carousel */
.hero-carousel-section {
    position: relative;
    background: var(--bg-dark-navy);
    color: #ffffff;
    min-height: 540px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(6, 21, 45, 0.94) 0%, rgba(6, 21, 45, 0.75) 60%, rgba(6, 21, 45, 0.4) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 60px 0;
}
.hero-slide-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #ffffff;
    margin: 16px 0 20px;
    font-weight: 800;
}
.hero-slide-subtitle {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 32px;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    margin: 12px 0 16px;
    color: var(--primary-navy);
}
.section-title span {
    color: var(--primary-cyan);
}
.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background: #ffffff;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img-box {
    position: relative;
}
.about-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-badge {
    position: absolute;
    bottom: -20px; right: -20px;
    background: linear-gradient(135deg, #00ADEE 0%, #EB008B 100%);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 173, 238, 0.4);
    text-align: center;
}
.about-badge h3 {
    font-size: 2.2rem;
    color: #ffffff;
    line-height: 1;
}
.about-badge p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Product Catalog */
.products-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.cat-tab-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--primary-navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}
.cat-tab-btn:hover, .cat-tab-btn.active {
    background: linear-gradient(135deg, #00ADEE 0%, #EB008B 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 173, 238, 0.35);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-cyan);
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #f1f5f9;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: linear-gradient(135deg, #EB008B 0%, #00ADEE 100%);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-cat {
    font-size: 0.78rem;
    color: var(--primary-cyan);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}
.product-title {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}
.product-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex-grow: 1;
}

/* Machinery & Capacity Section */
.capacity-section {
    padding: 80px 0;
    background: var(--bg-dark-navy);
    color: #ffffff;
}
.capacity-section .section-title {
    color: #ffffff;
}

.capacity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.capacity-card {
    background: var(--bg-navy-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition-smooth);
}
.capacity-card:hover {
    border-color: var(--primary-magenta);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(235, 0, 139, 0.25);
}
.capacity-icon {
    width: 54px; height: 54px;
    margin: 0 auto 16px;
    border-radius: var(--radius-full);
    background: rgba(0, 173, 238, 0.15);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.capacity-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-magenta);
    font-family: var(--font-heading);
    margin-bottom: 6px;
}

/* CERTIFICATIONS SHOWCASE SECTION */
.certifications-section {
    padding: 80px 0;
    background: #ffffff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.cert-card-embedded {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.cert-card-embedded:hover {
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.cert-card-header {
    padding: 18px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cert-header-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
.cert-badge-icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-md);
    background: rgba(0, 173, 238, 0.12);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.cert-header-title-box {
    flex: 1;
    min-width: 0;
}
.cert-card-title {
    font-size: 1.1rem;
    color: var(--primary-navy);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 4px;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
}
.cert-card-number {
    font-size: 0.82rem;
    color: var(--primary-cyan);
    font-weight: 700;
}

.cert-header-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.cert-validity-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: rgba(0, 32, 96, 0.06);
    color: var(--primary-navy);
    border: 1px solid rgba(0, 32, 96, 0.12);
}

.cert-pdf-viewport-wrapper {
    position: relative;
    width: 100%;
    background: #0f172a;
}
.cert-pdf-toolbar {
    background: #1e293b;
    color: #94a3b8;
    padding: 6px 16px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #334155;
}

.cert-pdf-viewport {
    position: relative;
    width: 100%;
    height: 280px;
    background: #f8fafc;
    overflow: hidden;
}
.cert-pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #ffffff;
}

.cert-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.cert-summary-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    line-height: 1.5;
}

.cert-meta-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-light);
}

.cert-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* OUR CLIENTS INFINITE AUTO-CAROUSEL / MARQUEE */
.clients-section {
    padding: 65px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.clients-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.clients-carousel-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: marquee 25s linear infinite;
}

.clients-carousel-wrapper:hover .clients-carousel-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo-box {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75px;
    width: 160px;
    flex-shrink: 0;
}
.client-logo-box:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-md);
}
.client-logo-img {
    max-height: 42px;
    max-width: 115px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition-smooth);
}
.client-logo-box:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Why Choose Us Grid */
.marketing-section {
    padding: 80px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    transition: var(--transition-smooth);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
    width: 52px; height: 52px;
    border-radius: var(--radius-md);
    background: rgba(0, 173, 238, 0.1);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.news-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}
.news-body {
    padding: 20px;
}
.news-date {
    font-size: 0.78rem;
    color: var(--primary-cyan);
    font-weight: 700;
    margin-bottom: 6px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}
.contact-info-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    background: rgba(0, 173, 238, 0.1);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 18px;
}
.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 6px;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition-smooth);
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 173, 238, 0.2);
    background: #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#contactAlert {
    padding: 16px 22px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    display: none;
    font-size: 0.95rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}
#contactAlert.success {
    display: block;
    background: #ecfdf5;
    border: 2px solid #10b981;
    color: #064e3b;
}
#contactAlert.error {
    display: block;
    background: #fef2f2;
    border: 2px solid #ef4444;
    color: #7f1d1d;
}

/* PDF Viewer Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(6, 21, 45, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.modal-close-btn {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    width: 34px; height: 34px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background: var(--bg-dark-navy);
    color: #94a3b8;
    padding: 70px 0 24px;
    border-top: 4px solid;
    border-image: linear-gradient(90deg, #00ADEE 0%, #EB008B 100%) 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 40px;
}

.footer-heading {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #94a3b8;
}
.footer-links a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Media Queries (No Horizontal Overflow)
   ========================================================================== */

@media (max-width: 1024px) {
    .site-header {
        padding: 10px 0;
    }
    .main-nav {
        display: none;
    }
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        border-top: 1px solid var(--border-light);
        z-index: 999;
    }
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .mobile-toggle {
        display: block;
    }
    .mobile-drawer-cta {
        display: block;
        width: 100%;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-info-bar {
        padding: 6px 0;
        font-size: 0.76rem;
    }
    .top-info-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .top-location-hide, .top-badge-hide {
        display: none;
    }
    .header-quote-btn {
        display: none;
    }
    .logo-img {
        height: 34px;
        max-width: 125px;
    }

    .hero-carousel-section {
        min-height: 460px;
    }
    .hero-slide-content {
        padding: 36px 0;
    }
    .hero-slide-title {
        font-size: 1.9rem;
    }
    .hero-slide-subtitle {
        font-size: 0.92rem;
    }

    .about-img {
        height: 260px;
    }
    .about-badge {
        position: relative;
        bottom: auto; right: auto;
        margin: -36px auto 0;
        width: 160px;
        padding: 14px;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
    .cert-pdf-viewport {
        height: 220px;
    }
    .cert-card-actions {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-card, .contact-info-card {
        padding: 22px;
    }
}

/* Floating Click-to-Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #00ADEE 0%, #EB008B 100%);
    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 173, 238, 0.4);
    z-index: 1500;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}
.scroll-top-btn.active {
    opacity: 1;
    pointer-events: auto;
}
.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 30px rgba(235, 0, 139, 0.5);
    color: #ffffff;
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px; right: 20px;
        width: 42px; height: 42px;
        font-size: 1rem;
    }
}
