﻿/* =========================================================
   TRUSTROL LUBRICANTS – GLOBAL STYLES
   ========================================================= */

/* ---------- RESET & VARIABLES ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0a1a5c;
    --primary-blue-dark: #060f3a;
    --primary-blue-light: #12297a;
    --accent-green: #8bc34a;
    --accent-red: #ff2d55;
    --whatsapp-green: #25d366;
    --text-light: #ffffff;
    --text-muted: #d0d7f0;
    --text-dark: #0a1a5c;
    --text-yellow: #ffcc00; /* Added Yellow */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #0b1e6b 0%, #071243 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

/* Grid layout to handle Logo, Top-Info, and Nav perfectly */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 30px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 25px;
    row-gap: 2px;
}

/* ---------- LOGO ---------- */
.logo {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: auto;
}

/* ---------- TOP INFO BAR ---------- */
.top-info {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 12px;
    color: #fff;
    flex-wrap: wrap;
}

    .top-info span {
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .top-info span:first-child {
            color: var(--accent-red);
            font-weight: 600;
        }

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 6px;
}

    .social-icons i {
        font-size: 13px;
        color: #fff;
        cursor: pointer;
        transition: var(--transition);
    }

        .social-icons i:hover {
            color: var(--accent-green);
            transform: translateY(-2px);
        }

/* ---------- MAIN NAVIGATION ---------- */
.main-nav {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

    .nav-link i {
        font-size: 9px;
        transition: transform 0.3s ease;
    }

    .nav-item:hover > .nav-link,
    .nav-link:hover {
        color: var(--accent-green);
    }

.nav-item.active .nav-link {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

.nav-item.has-dropdown:hover > .nav-link i {
    transform: rotate(180deg);
}

/* ---------- DROPDOWN MENU ---------- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: #333;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

    .dropdown-menu li a:hover {
        background: #eef2ff;
        color: var(--primary-blue);
        border-left-color: var(--accent-green);
        padding-left: 26px;
    }

/* ---------- HAMBURGER (hidden on desktop) ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

    .hamburger span {
        width: 26px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
        transition: var(--transition);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

/* =========================================================
   HERO BANNER SLIDER (80vh)
   ========================================================= */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 450px;
    overflow: hidden;
    background: #000;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
        z-index: 2;
    }

/* Soft white gradient on left for desktop */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.18) 55%, rgba(255, 255, 255, 0) 100% );
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 45px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 40px;
}

    /* YELLOW TEXT APPLIED HERE */
    .slide-content h1 {
        grid-column: 1;
        grid-row: 1;
        align-self: end;
        font-size: clamp(24px, 3.4vw, 46px);
        color: var(--text-yellow); /* Changed to Yellow */
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8); /* Shadow for readability */
        font-weight: 700;
        line-height: 1.22;
        max-width: 680px;
        letter-spacing: -0.3px;
    }

    .slide-content p {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
        font-size: clamp(18px, 2.4vw, 32px);
        color: var(--text-yellow); /* Changed to Yellow */
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
        font-weight: 400;
        margin-top: 8px;
    }

/* ---------- SLIDER ARROWS ---------- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    color: var(--primary-blue);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

    .slider-arrow:hover {
        background: var(--primary-blue);
        color: #fff;
        transform: translateY(-50%) scale(1.08);
    }

    .slider-arrow.prev {
        left: 22px;
    }

    .slider-arrow.next {
        right: 22px;
    }

/* ---------- SLIDER DOTS ---------- */
.slider-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 11px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: var(--transition);
}

    .dot.active {
        background: var(--text-yellow);
        border-color: var(--text-yellow);
        transform: scale(1.25);
    }

/* =========================================================
   FLOATING WHATSAPP BUTTON
   ========================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 26px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    z-index: 1200;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================================================
   RESPONSIVE – TABLET / MOBILE
   ========================================================= */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .header-container {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
    }

    .logo {
        grid-row: 1;
    }

    .top-info {
        display: none; /* Hide top bar on mobile */
    }

    /* Slide-in mobile nav panel */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, #0b1e6b 0%, #071243 100%);
        padding: 85px 20px 30px;
        transition: right 0.4s ease;
        overflow-y: auto;
        z-index: 1050;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        display: block;
    }

        .main-nav.open {
            right: 0;
        }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 15px 8px;
        border-bottom: none !important;
    }

    .nav-item.active .nav-link {
        color: var(--accent-green);
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.22);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .nav-item.open .dropdown-menu {
        max-height: 320px;
        padding: 6px 0;
    }

    .dropdown-menu li a {
        color: var(--text-muted);
        padding: 11px 20px 11px 26px;
        border-left: none;
    }

        .dropdown-menu li a:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            padding-left: 26px;
        }

    .nav-item.has-dropdown.open > .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu.multi-column {
        display: block;
        width: 100%;
    }

    /* =======================================================
       MOBILE BANNER FIX
       ======================================================= */

    /* Dark overlay on mobile so yellow text pops */
    .slide-overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    /* Use Flexbox to perfectly center the text */
    .slide-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        gap: 10px;
    }

        .slide-content h1 {
            font-size: 28px;
            line-height: 1.3;
            margin-bottom: 5px;
            max-width: 100%;
        }

        .slide-content p {
            font-size: 18px;
            margin: 0;
        }
}

/* ---------- SMALL PHONES ---------- */
@media (max-width: 600px) {
    .header-container {
        padding: 8px 15px;
    }

    .logo-img {
        height: 42px;
    }

    .hero-slider {
        height: 60vh; /* Better height for mobile screens */
        min-height: 350px;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

        .slider-arrow.prev {
            left: 8px;
        }

        .slider-arrow.next {
            right: 8px;
        }

    .slider-dots {
        bottom: 16px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
    background: #ffffff;
    padding: 70px 0;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-text {
    flex: 1;
    max-width: 550px;
}

    .about-text h2 {
        font-size: 28px;
        color: #111;
        margin-bottom: 20px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .about-text p {
        font-size: 15px;
        color: #555;
        line-height: 1.8;
        margin-bottom: 30px;
    }

.btn-read-more {
    display: inline-block;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #e52e2e;
    border: 1px solid #e52e2e;
    background: transparent;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

    .btn-read-more:hover {
        background: #e52e2e;
        color: #ffffff;
    }

.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

    .about-image img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

/* =========================================================
   PRODUCTS SECTION
   ========================================================= */
.products-section {
    background: #f8f9fa;
    padding: 60px 0 90px;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #0a1a5c;
    font-weight: 700;
    margin-bottom: 45px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: #e52e2e;
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    position: relative;
    display: block;
    overflow: hidden;
    height: 220px;
    background: #000;
}

    .product-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        opacity: 0.85;
    }

    .product-card:hover img {
        transform: scale(1.1);
        opacity: 0.5;
    }

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    pointer-events: none;
}

.product-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
}

.product-card:hover .product-name {
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .about-text {
        max-width: 100%;
    }

    .about-image {
        justify-content: center;
        width: 80%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-text h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        height: 250px;
    }
}

/* =========================================================
   GLOBAL PRESENCE SECTION
   ========================================================= */
.global-presence-section {
    background-color: #ffffff;
    padding: 80px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.global-presence-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.gp-content {
    flex: 1;
    max-width: 550px;
}

.gp-title {
    font-size: 28px;
    color: #003a8c;
    font-weight: 700;
    margin-bottom: 20px;
}

.gp-desc {
    font-size: 14px;
    color: #888888;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.gp-stats {
    display: flex;
    gap: 60px;
}

.gp-stat-box {
    display: flex;
    flex-direction: column;
}

.gp-number {
    font-size: 80px;
    font-weight: 100;
    color: #ff4a4a;
    line-height: 0.9;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gp-label {
    font-size: 16px;
    color: #003a8c;
    line-height: 1.4;
}

    .gp-label strong {
        font-weight: 700;
    }

.gp-map {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .global-presence-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .gp-desc {
        text-align: center;
        margin: 0 auto 40px auto;
    }

    .gp-stats {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .gp-title {
        font-size: 24px;
    }

    .gp-stats {
        flex-direction: row;
        gap: 30px;
    }

    .gp-number {
        font-size: 60px;
    }

    .gp-label {
        font-size: 14px;
    }
}

/* =========================================================
   PARALLAX BANNER SECTION
   ========================================================= */
.parallax-banner {
    position: relative;
    background-image: url('image/engine-oil.webp');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 110px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 30, 10, 0.7);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
}

    .parallax-content h3 {
        color: #ffffff;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: clamp(22px, 3vw, 36px);
        font-weight: 700;
        line-height: 1.6;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        margin: 0;
    }

/* =========================================================
   ACHIEVEMENTS SECTION
   ========================================================= */
.achievements-section {
    background-color: #f2f2f2;
    padding: 50px 0;
}

.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.achievements-title {
    font-size: 28px;
    color: #111111;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.achievements-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cert-box {
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 100px;
}

    .cert-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

@media (max-width: 900px) {
    .achievements-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .achievements-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

    .parallax-banner {
        background-attachment: scroll;
        padding: 80px 20px;
    }
}

@media (max-width: 500px) {
    .cert-box {
        min-width: 100%;
        height: 120px;
    }
}

/* =========================================================
   FOOTER SECTION
   ========================================================= */
.site-footer {
    background-color: #000a7a;
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    border-top: 4px solid #e52e2e;
    position: relative;
    z-index: 10;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    color: #ffffff;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #e52e2e;
    }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-contact li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
        font-size: 13px;
        line-height: 1.6;
        color: #e2e8f0;
    }

    .footer-contact i {
        color: #e52e2e;
        font-size: 15px;
        margin-top: 3px;
    }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #e2e8f0;
        text-decoration: none;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        transition: color 0.3s ease;
    }

        .footer-links a i {
            color: #e52e2e;
            font-size: 10px;
        }

        .footer-links a:hover {
            color: #e52e2e;
        }

.footer-social {
    display: flex;
    gap: 10px;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #ffffff;
        border-radius: 3px;
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-social a:hover {
            background-color: #e52e2e;
            border-color: #e52e2e;
        }

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .newsletter-form input {
        width: 100%;
        padding: 12px 15px;
        border: none;
        border-radius: 2px;
        font-size: 14px;
        outline: none;
        color: #333;
    }

        .newsletter-form input::placeholder {
            color: #999;
        }

    .newsletter-form button {
        width: 100%;
        padding: 12px 15px;
        background-color: #e52e2e;
        color: #ffffff;
        border: none;
        border-radius: 2px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .newsletter-form button:hover {
            background-color: #cc1f1f;
        }

.footer-bottom {
    background-color: #000866;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        font-size: 13px;
        color: #d1d5db;
        white-space: nowrap;
    }

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact li {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer-contact i {
        margin-top: 0;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}
/* =========================================================
   ABOUT PAGE CUSTOM STYLES
   ========================================================= */
.tr-about-wrapper {
    background-color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #444;
}

.tr-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
}

/* Typography & Dividers */
.tr-section-title {
    font-size: 32px;
    color: #0a1a5c; /* Deep Blue */
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.tr-divider {
    width: 50px;
    height: 3px;
    background-color: #e52e2e; /* Red accent */
    margin-bottom: 30px;
}

.tr-content-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
    text-align: justify;
}

/* =========================================================
   FEATURES GRID (Why Trustrol / What makes us different)
   ========================================================= */
.tr-features-section {
    background-color: #f8f9fa; /* Light grey to separate section */
    max-width: 100%;
}

.tr-features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.tr-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tr-icon-list li {
        font-size: 16px;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        color: #333;
        line-height: 1.5;
    }

        .tr-icon-list li i {
            color: #e52e2e;
            margin-top: 4px;
            font-size: 14px;
        }

/* =========================================================
   WHO WE ARE (Split Layout)
   ========================================================= */
.tr-who-we-are {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tr-who-image {
    flex: 1;
}

    .tr-who-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.tr-who-content {
    flex: 1;
}

.tr-intro-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* Accordion */
.tr-accordion {
    border-top: 1px solid #e0e0e0;
}

.tr-accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.tr-accordion-btn {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 18px;
    color: #0a1a5c;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

    .tr-accordion-btn:hover {
        color: #e52e2e;
    }

    .tr-accordion-btn i {
        transition: transform 0.3s ease;
        color: #e52e2e;
    }

/* Active Accordion State */
.tr-accordion-item.active .tr-accordion-btn i {
    transform: rotate(180deg);
}

.tr-accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .tr-accordion-panel p {
        padding-bottom: 20px;
        font-size: 15px;
        line-height: 1.7;
        color: #666;
        margin: 0;
    }

/* =========================================================
   INFRASTRUCTURE GALLERY
   ========================================================= */
.tr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tr-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

    .tr-gallery-item img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        transition: transform 0.4s ease, opacity 0.4s ease;
        opacity: 0.9;
    }

    .tr-gallery-item:hover img {
        transform: scale(1.08);
        opacity: 0.6;
    }

.tr-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    pointer-events: none;
}

/* =========================================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================================= */
@media (max-width: 992px) {
    .tr-who-we-are {
        flex-direction: column;
        gap: 40px;
    }

    .tr-who-image img {
        max-width: 600px;
        margin: 0 auto;
        display: block;
    }
}

@media (max-width: 768px) {
    .tr-features-grid {
        grid-template-columns: 1fr; /* Stack into 1 column on mobile */
        gap: 40px;
    }

    .tr-section-title {
        font-size: 28px;
    }

    .tr-section {
        padding: 40px 20px;
    }

    .tr-content-text p {
        text-align: left; /* Left align is better for mobile reading */
    }
}
/* =========================================================
   CONTACT PAGE CUSTOM STYLES
   ========================================================= */
.tr-contact-wrapper {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.tr-contact-section {
    padding: 80px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tr-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Typography & Dividers */
.tr-section-title {
    font-size: 28px;
    color: #0a1a5c; /* Deep Blue */
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.tr-divider {
    width: 50px;
    height: 3px;
    background-color: #e52e2e; /* Red accent */
    margin-bottom: 30px;
}

/* =========================================================
   CONTACT INFO (Left Side)
   ========================================================= */
.tr-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .tr-contact-list li {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 25px;
        font-size: 15px;
        color: #444;
        line-height: 1.6;
    }

        /* Make anchor tags inside the list inherit text styles */
        .tr-contact-list li a {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            color: #444;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .tr-contact-list li a:hover {
                color: #0a1a5c;
            }

    .tr-contact-list i {
        color: #e52e2e;
        font-size: 18px;
        margin-top: 3px;
        width: 20px; /* Fixed width to align all icons */
        text-align: center;
    }

/* =========================================================
   INQUIRY FORM (Right Side)
   ========================================================= */
.tr-contact-form-wrap {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft card shadow */
}

.tr-form-group {
    margin-bottom: 20px;
}

/* Hide labels visually but keep for screen readers */
.tr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.tr-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .tr-form-control:focus {
        outline: none;
        border-color: #0a1a5c;
        box-shadow: 0 0 0 3px rgba(10, 26, 92, 0.1);
        background-color: #fff;
    }

    .tr-form-control::placeholder {
        color: #999;
    }

textarea.tr-form-control {
    resize: vertical;
    min-height: 120px;
}

.tr-btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #e52e2e; /* Red button */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

    .tr-btn-submit:hover {
        background-color: #cc1f1f;
        transform: translateY(-2px);
    }

    .tr-btn-submit:active {
        transform: translateY(0);
    }

/* =========================================================
   GOOGLE MAP SECTION
   ========================================================= */
.tr-map-section {
    width: 100%;
    line-height: 0; /* Removes tiny gap below iframe */
}

    .tr-map-section iframe {
        width: 100%;
        height: 450px; /* Adjust height as needed */
        border: none;
        display: block;
    }

/* =========================================================
   RESPONSIVE DESIGN (Tablet & Mobile)
   ========================================================= */
@media (max-width: 992px) {
    .tr-contact-container {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
        gap: 50px;
    }

    .tr-contact-section {
        padding: 60px 20px;
    }

    .tr-contact-form-wrap {
        padding: 30px;
    }
}

@media (max-width: 600px) {
    .tr-section-title {
        font-size: 24px;
    }

    .tr-contact-form-wrap {
        padding: 20px;
    }

    .tr-map-section iframe {
        height: 350px;
    }
}
/* =========================================================
   NEW CUSTOM MULTI-COLUMN CLASS (custom-grid-2)
   ========================================================= */
.dropdown-menu.custom-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two equal columns */
    width: 435px; /* Adjust width if needed */
    column-gap: 10px;
}

    /* Optional: Adds a subtle line between the columns */
    .dropdown-menu.custom-grid-2 li:nth-child(odd) {
        border-right: 1px solid #f0f0f0;
    }

/* Ensure it looks good on mobile screens */
@media (max-width: 1024px) {
    .dropdown-menu.custom-grid-2 {
        display: block; /* Stacks into a single column on mobile */
        width: 100%;
    }

        .dropdown-menu.custom-grid-2 li:nth-child(odd) {
            border-right: none; /* Removes the line on mobile */
        }
}

/* =========================================================
   VIDEO SECTION (NEW CLASSES)
   ========================================================= */
.tr-video-section {
    background-color: #ffffff;
    padding: 40px 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.tr-video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.tr-video-title {
    text-align: center;
    font-size: 28px;
    color: #0a1a5c; /* Deep Blue */
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tr-video-divider {
    width: 60px;
    height: 3px;
    background-color: #e52e2e; /* Red accent */
    margin: 0 auto 45px auto;
}

/* Grid Layout */
.tr-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Individual Video Card */
.tr-video-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

    .tr-video-card img {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9; /* Keeps perfect YouTube video proportions */
        object-fit: cover; /* This crops out the black bars automatically! */
        transition: transform 0.4s ease, opacity 0.4s ease;
        opacity: 0.85;
    }

    /* Hover Effects */
    .tr-video-card:hover img {
        transform: scale(1.08);
        opacity: 0.6;
    }

/* Play Button Overlay */
.tr-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(229, 46, 46, 0.9); /* Trustrol Red */
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

    /* Slight shift of the play icon to center it visually */
    .tr-play-btn i {
        margin-left: 4px;
    }

.tr-video-card:hover .tr-play-btn {
    background-color: #ffffff;
    color: #e52e2e;
    transform: translate(-50%, -50%) scale(1.15);
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 992px) {
    .tr-video-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
    }
}

@media (max-width: 600px) {
    .tr-video-section {
        padding: 50px 0;
    }

    .tr-video-container {
        padding: 0 20px;
    }

    .tr-video-grid {
        grid-template-columns: 1fr; /* 1 column for mobile */
        gap: 20px;
    }

    .tr-video-title {
        font-size: 24px;
    }
}
/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 26px; /* Sits just above the WhatsApp button */
    right: 30px; /* Centered over the WhatsApp button */
    width: 48px;
    height: 48px;
    background-color: #0a1a5c; /* Deep Blue */
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

    /* Show button when scrolled down */
    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Hover Effect */
    .back-to-top:hover {
        background-color: #e52e2e; /* Red */
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(229, 46, 46, 0.4);
    }

/* Mobile Responsive */
@media (max-width: 600px) {
    .back-to-top {
        bottom: 75px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}