:root {
    --primary: #002244;
    --primary-light: #728ca6;
    --secondary: #FFD700;
    --accent: #E31E24;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    --header-height: 90px;
    --section-padding: 50px;
    --container-max-width: 1200px;

    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Titillium Web', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --bg-gray: #ececec;
    --top-bar-height: 35px;
}

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

/* Scroll Animation classes (WOW style) */
.reveal-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-ready.reveal {
    opacity: 1;
    transform: translateY(0);
}

.service-card.reveal-ready,
.team-card.reveal-ready {
    transform: none !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--gray-900);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none !important;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    text-decoration: none !important;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.project-item,
.service-img,
.member-img {
    background-color: var(--primary);
    /* Fallback background for industrial feel */
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding) 0;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: var(--primary-light);
}

.section-title span {
    color: var(--primary);
}

.compliance-content .section-title span {
    color: var(--secondary);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(227, 30, 36, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(227, 30, 36, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary span {
    display: inline-block;
    transition: var(--transition);
}

.btn-primary::after {
    content: '\f178';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 150%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-primary:hover span {
    transform: translateX(-150%);
    opacity: 0;
}

.btn-primary:hover::after {
    left: 50%;
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-outline-white {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    border: none;
}

.btn-white:hover {
    background-color: var(--bs-black);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--primary);
    border: none;
}

.btn-secondary:hover {
    background-color: #e6c200;
    box-shadow: var(--shadow-md);
}

.w-100 {
    width: 100%;
}

/* Header & Nav */
.top-bar {
    height: var(--top-bar-height);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-info {
    display: flex;
    gap: 30px;
}

.top-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-info i {
    color: var(--secondary);
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--white);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    position: fixed;
    top: 0;
    height: 75px;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.hide-mobile {
    display: flex;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 62px;
    transition: var(--transition);
}

.footer .logo {
    background-color: var(--white);
    display: inline-block;
    padding: 15px;
    border-radius: 12px;
}

.header.scrolled .logo img,
.footer .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
}

.nav-link {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 1.1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 0.7rem;
}

/* Custom Dropdown Styling */
.dropdown {
    position: relative;
}

.nav-list .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border: none;
    z-index: 1000;
    margin-top: 10px;
}

@media (min-width: 991px) {
    .dropdown-menu {
        display: inline-block;
    }
}

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

.dropdown-item {
    display: block;
    padding: 8px 20px;
    color: var(--primary) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-100);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--gray-50);
    padding-left: 25px;
}

.header.scrolled .nav-link {
    color: var(--gray-900);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-900);
}

.header.scrolled .nav-toggle {
    color: var(--gray-900);
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    height: calc(65vh - var(--header-height));
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
}

.hero-slide .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Owl Carousel Customizations */
.owl-theme .owl-dots {
    margin-top: 30px;
    width: 100%;
    text-align: center;
}

.owl-theme .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: var(--gray-300);
    transition: var(--transition);
    margin: 5px 7px;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: var(--secondary);
    width: 30px;
}

/* Specific for Hero Slider (Overlap allowed here) */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    margin-top: 0;
}

.hero-carousel .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.5);
}

.hero-carousel .owl-dot.active span {
    background: var(--accent);
}

/* Custom Nav for Hero Carousel */
.hero-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4) !important;
    color: var(--white) !important;
    border-radius: 50%;
    font-size: 1.5rem !important;
    transition: var(--transition) !important;
    opacity: 0;
    /* Hidden by default */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hero-carousel .owl-nav button.owl-prev {
    left: 40px;
}

.hero-carousel .owl-nav button.owl-next {
    right: 40px;
}

.hero-carousel:hover .owl-nav button {
    opacity: 0.6;
    /* Semi-transparent on carousel hover */
}

.hero-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    opacity: 1 !important;
    box-shadow: var(--shadow-md);
}

@media (max-width: 1280px) {
    .hero-slide {
        height: calc(50vh - var(--header-height));
    }
}

@media (max-width: 991px) {
    .hero-slide {
        height: calc(33vh - var(--header-height));
    }
}

@media (max-width: 767px) {
    .hero-slide {
        height: calc(40vh - var(--header-height));
    }

    .hero-carousel .owl-dots {
        bottom: 0;
    }

    .owl-theme .owl-dots .owl-dot.active span {
        width: 10px;
    }

    .owl-theme .owl-dots .owl-dot span {
        width: 5px;
        height: 5px;
    }

}

@media (max-width: 768px) {
    .hero-carousel .owl-nav {
        display: none;
        /* Hide nav on mobile for cleaner look */
    }
}

.hero-carousel .hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-carousel .hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
}

.hero-carousel .hero-content .hero-btns {
    opacity: 0;
    transform: translateY(30px);
}

.owl-item.active .hero-content h1 {
    animation: fadeInUp 0.8s forwards 0.2s;
}

.owl-item.active .hero-content p {
    animation: fadeInUp 0.8s forwards 0.4s;
}

.owl-item.active .hero-content .hero-btns {
    animation: fadeInUp 0.8s forwards 0.6s;
}

.bg-gray {
    background-color: var(--bg-gray);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
    align-items: center;
}

.about-img .img-box {
    position: relative;
}

.about-img img {
    border-radius: 8px;
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary);
    color: var(--primary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: floatCard 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-40px);
    }
}

.experience-card h3 {
    font-size: 3rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.vision-mission {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vm-item {
    display: flex;
    gap: 20px;
}

.vm-icon {
    min-width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
}

.vm-content h4 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.service-card:hover h3,
.service-card:hover .service-list li {
    color: var(--white);
}

.service-card:hover .btn-text {
    color: var(--secondary);
}

.service-card:hover .service-icon {
    color: var(--primary);
    background: var(--secondary);
}

.service-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: absolute;
    top: 120px;
    right: 20px;
    background: var(--primary-light);
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 50%;
    /* padding: 12px; */
    align-items: center;
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-list {
    margin-bottom: 0;
    padding: 0;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-size: 0.8rem;
    top: 2px;
}

.service-card:hover .service-list li::before {
    color: var(--secondary);
}

/* Services Section Zigzag */
.service-row {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    margin-bottom: 50px;
    scroll-margin-top: 120px
}

.service-row:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-row .service-img {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.service-row .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-row:hover .service-img img {
    transform: scale(1.05);
}

.service-card-zigzag {
    padding: 60px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.service-title-group {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.service-icon-static {
    width: 65px;
    height: 65px;
    background: var(--gray-100);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card-zigzag h3 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary);
    transition: var(--transition);
}

.service-card-zigzag p {
    font-size: 1.15rem;
    color: var(--gray-700);
    margin-bottom: 25px;
    transition: var(--transition);
}

/* Hover & Active effects for zigzag rows */
.service-row:hover .service-card-zigzag,
.service-row.active .service-card-zigzag {
    background: var(--primary);
}

.service-row:hover .service-card-zigzag h3,
.service-row.active .service-card-zigzag h3,
.service-row:hover .service-card-zigzag p,
.service-row.active .service-card-zigzag p,
.service-row:hover .service-card-zigzag .service-list li,
.service-row.active .service-card-zigzag .service-list li {
    color: var(--white);
}

.service-row:hover .service-icon-static,
.service-row.active .service-icon-static {
    background: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.service-row:hover .service-list li::before,
.service-row.active .service-list li::before {
    color: var(--secondary);
}

/* Solar Highlight */
.service-row.highlight {
    border: 2px solid var(--secondary);
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    text-align: center;
}

.client-badge {
    background: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-weight: 700;
}


/* Responsive adjustments */
@media (max-width: 991px) {
    .service-card-zigzag {
        padding: 25px;
    }

    .service-img {
        min-height: 300px;
    }

    .service-card-zigzag h3 {
        font-size: 1.8rem;
    }

    .service-icon-static {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-title-group {
        gap: 15px;
        margin-bottom: 20px;
    }
}

/* Team Section */
.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.member-img {
    position: relative;
    overflow: hidden;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.member-info {
    padding: 20px 15px;
    text-align: center;
    transition: var(--transition);
    background: var(--white);
    border-top: 3px solid var(--secondary);
    position: relative;
    z-index: 2;
}

.member-info h4 {
    color: var(--primary-light);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.member-info p {
    color: var(--gray-600);
    font-weight: 400;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Team Hover Effects */
.team-card:hover {
    border-color: var(--primary);
    box-shadow: none;
    /* No shadow */
    transform: none;
    /* No translation */
}

.team-card:hover .member-img img {
    transform: scale(1.05);
    /* Only internal zoom */
}

.team-card:hover .member-info {
    border-top-color: var(--primary);
}

.team-card:hover .member-info h4 {
    color: var(--primary);
}

/* Home Page Service Card Image */
.service-card .service-img {
    height: 150px;
    margin: -30px -30px 25px -30px;
    overflow: hidden;
}

.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card.highlight {
    background: var(--primary);
    color: var(--white);
}

.service-card.highlight h3 {
    color: var(--white);
}

.service-card.highlight .service-list li::before {
    color: var(--secondary);
}

/* Compliance Section */
.compliance {
    background: var(--primary);
    color: var(--white);
}

.compliance-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
    align-items: center;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.comp-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-item i {
    color: var(--secondary);
}

.compliance-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section */
.projects-ticker-container {
    background: var(--gray-100);
    padding: 18px 0;
    overflow: hidden;
    margin-bottom: 50px;
    white-space: nowrap;
    border-radius: 6px;
}

.projects-ticker {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.projects-ticker span {
    display: inline-block;
    padding: 0 40px;
    font-weight: 700;
    color: var(--gray-700);
    font-size: 1.1rem;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    height: 300px;
    background: var(--gray-200);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1544724569-5f546fd6f2b5?auto=format&fit=crop&q=80&w=800');
    background-size: cover;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px 5px;
    color: var(--white);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* Projects Sidebar/Flex Header */
.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-outline-dark {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-text {
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-text:hover {
    gap: 15px;
}

/* CTA Section */
.cta-section {
    padding: 0;
    /* Container handles padding */
    margin-bottom: 50px;
}

.cta-card-wrapper {
    background: linear-gradient(rgba(0, 34, 68, 0.9), rgba(0, 34, 68, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 60px 30px;
    color: var(--white);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.cta-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content h2 span {
    color: var(--secondary);
}

.cta-content p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.8;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 2.2rem;
    }

    .cta-section {
        margin-bottom: 60px;
    }
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.contact-footer li {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-footer li i {
    color: var(--secondary);
    margin-top: 5px;
}

/* Page Header */
.page-header {
    padding: 70px 0 60px;
    background: var(--primary);
    color: var(--white);
    text-align: center;
    background-image: url(../images/page-banner.jpg);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a {
    color: var(--secondary);
}

/* Testimonial Section */
.testimonial-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
    align-items: center;
}

.testimonial-img,
.testimonial-content {
    min-width: 0;
    /* Crucial for Owl Carousel inside CSS Grid */
}

.testimonial-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gray-800);
    margin-bottom: 30px;
    line-height: 1.4;
}

.client-meta h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.client-meta p {
    color: var(--primary-light);
    font-weight: 600;
}

.testimonial-item {
    width: 100%;
}

.testimonials-carousel {
    max-width: 100%;
    margin: 0;
}

.testimonials-carousel .owl-dots {
    text-align: left;
    margin-top: 40px;
}

/* Contact Section */
.contact-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
    padding: 50px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-details {
    margin-top: 25px;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}

.detail-item h4 {
    margin-bottom: 5px;
}

.detail-item p {
    overflow-wrap: break-word;
    word-break: break-word;
    /* For long email addresses */
}

.contact-form-box .form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    font-family: inherit;
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

select:invalid {
    color: rgba(var(--bs-body-color-rgb), .68);
}

/* Footer */
.footer {
    background: var(--bs-black);
    color: var(--white);
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px dashed rgb(222 226 230 / 20%)
}

.footer-bottom p {
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
    .header h1 {
        font-size: 3.2rem;
    }

    .about-wrapper,
    .compliance-wrapper,
    .contact-card,
    .testimonial-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .services-grid,
    .projects-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card {
        padding: 25px 20px;
    }
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-btns {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .page-header {
        padding: 30px 0 25px;
    }

    .section {
        padding: 30px 0;
    }

    .services-grid,
    .projects-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive Typography */
    h1,
    .hero-carousel .hero-content h1 {
        font-size: 30px !important;
        line-height: 1.2;
    }

    h2,
    .section-title {
        font-size: 28px !important;
    }

    h3 {
        font-size: 24px !important;
    }

    h4 {
        font-size: 21px !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 25px;
        transition: var(--transition);
        z-index: 2000;
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding-left: 20px !important;
        display: none;
        /* Toggle with JS or just keep it simple */
        background: transparent !important;
        border: none !important;
        width: 100% !important;
        margin-top: 5px !important;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        padding: 8px 0;
        border: none;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--primary);
    }

    .nav-toggle {
        display: block;
        z-index: 2001;
        position: relative;
    }

    .experience-card {
        position: relative;
        right: 0;
        bottom: 0;
        padding: 10px;
    }

    .experience-card p {
        margin: 0;
    }

    .logo img {
        max-width: 180px;
    }

    /* Testimonial Mobile Fix */
    .testimonial-img {
        height: 300px;
    }

    .testimonial-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .testimonial-wrapper {
        gap: 30px;
    }

    .quote-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}