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

:root {
    --primary-color: #002462; /* Theme blue */
    --secondary-color: #FF8C00; /* Accent orange */
    --text-color: #333333;
    --text-light: #ffffff;
    --bg-dark: rgba(0, 0, 0, 0.4);
}

html, body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden; /* Global fix to prevent horizontal scroll bars */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-hero {
    width: 95%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

.container-large {
    max-width: 95%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Top Bar Styles */
.top-bar {
    padding: 10px 0;
    color: var(--text-light);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.top-bar-left a {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}


.top-bar-left i {
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Main Header Styles */
.header {
    margin-top: 15px;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.header-inner {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Scrolled Sticky State */
.header-wrapper.scrolled {
    position: fixed !important;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.header-wrapper.scrolled .top-bar {
    display: none;
}

.header-wrapper.scrolled .header {
    margin-top: 0;
    padding: 0;
}

.header-wrapper.scrolled .header-inner {
    border-radius: 0;
    padding: 15px 30px;
    box-shadow: none;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-list a {
    color: #111;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    position: relative;
    padding: 6px 0;
}

.nav-list a i {
    font-size: 12px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--primary-color);
}

.nav-list a:hover::after, .nav-list a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #111;
    cursor: pointer;
}

/* Contact Button & General Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    white-space: nowrap;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Make the header button fully rounded to match the header pill shape */
.header-action .btn {
    border-radius: 50px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
}

.btn-primary::before {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    color: #ffffff;
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-outline::before {
    background-color: #ffffff;
}

.btn-outline:hover {
    color: var(--primary-color);
    border-color: #ffffff;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    padding: 30px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.02); /* Fixes thin line rendering gaps */
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Subtle dark overlay for text legibility */
    z-index: -1;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 120px; /* Pushes content down below the header */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 1000px; /* Increased to allow title to fit on 2 lines */
    color: #ffffff;
}

.hero-content h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 20px;
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 50px;
    display: inline-block;
}

.hero-content p {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 750px; /* Kept paragraph compact */
}

/* Hero Banner Custom Styles */
.hero-banner-box {
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 15px 40px 15px 25px;
    border-left: 4px solid var(--secondary-color);
    display: inline-block;
    margin-bottom: 20px;
    text-align: left;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 25px, 100% 100%, 0 100%);
    position: relative;
}

.hero-banner-box .hero-banner-title {
    background: none;
    border: none;
    padding: 0;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-banner-box .hero-banner-subtitle {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 500;
    color: var(--secondary-color);
    margin: 4px 0 0 0;
    letter-spacing: 0.5px;
}

/* Timeline Custom Styles */
.timeline-row { display: flex; gap: 15px; margin-bottom: 8px; align-items: flex-start; }
.timeline-text { margin: 0 !important; }
.company-name { display: inline-block; }
@media (min-width: 992px) {
    .timeline-text { white-space: nowrap; }
}
@media (max-width: 576px) {
    .timeline-row { flex-direction: column; gap: 2px; }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* About Section Styles */
.about-section {
    background-color: #ffffff;
    padding: 30px 0;
    position: relative;
    z-index: 1; /* Above background video */
    color: var(--text-color);
}

.about-inner {
    display: flex;
    align-items: center; /* Vertically centers the image relative to the content */
    gap: 60px;
}

.about-left, .about-right {
    flex: 1;
}

/* Image Collage */
.image-collage {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    max-width: 600px;
    margin: 0 auto;
    container-type: inline-size;
}

.image-collage img {
    border-radius: 3cqi;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
}

.img-secondary {
    width: 65%;
    height: 63%;
    top: 0;
    left: 0;
    z-index: 2;
}

.img-main {
    width: 58%;
    height: 73%;
    bottom: 0;
    right: 0;
    z-index: 3;
    border: 1.5cqi solid #ffffff; /* Creates cutout effect */
}

.experience-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38%;
    height: 31%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #03182b; /* Dark navy color */
    color: #ffffff;
    padding: 3cqi;
    border-radius: 3cqi;
    z-index: 4;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.experience-box h3 {
    font-size: 15cqi;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.experience-box p {
    font-size: 4.2cqi;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 0;
}

.contact-badge {
    position: absolute;
    top: 3%;
    right: 0;
    width: 22%;
    aspect-ratio: 1 / 1;
    background-color: var(--secondary-color); /* Updated to brand orange */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 10px 20px rgba(253, 131, 2, 0.3);
}

.contact-badge svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    animation: rotateText 15s linear infinite;
}

.contact-badge .inner-circle {
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: #03182b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
}

.contact-badge i {
    font-size: 5cqi;
    color: #ffffff;
}

@keyframes rotateText {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* About Right Content */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    border: 2px dotted var(--primary-color);
}

.badge-pill .dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Why Choose Section specific badge (Orange for dark background) */
.why-choose-section .badge-pill {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #ffffff;
}
.why-choose-section .badge-pill .dot {
    background-color: var(--secondary-color);
}

.section-title {
    font-size: 2.55rem;
    color: #333333;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

.section-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666666;
    margin-bottom: 20px; /* Reduced gap between paragraphs globally */
}

ul.section-desc li::marker {
    color: orange;
}

@media (max-width: 768px) {
    .section-desc {
        margin-bottom: 15px; /* Reduced gap between paragraphs for mobile view */
    }
}

/* Features */
.feature-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.feature-text p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-img {
    margin-left: auto;
    width: 140px;
    height: 100px;
    flex-shrink: 0;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.feature-divider {
    border: 0;
    height: 1px;
    background-color: #e2e8f0;
    margin: 25px 0;
}

/* About Actions */
.about-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn-play {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
    font-weight: 600;
    font-size: 1.05rem;
    white-space: nowrap;
}

.play-icon {
    width: 45px;
    height: 45px;
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.btn-play:hover .play-icon {
    transform: scale(1.1);
}

/* Group Companies Section */
.group-companies-section {
    padding: 30px 0;
    background-color: #f4f7fb;
    /* Scatter Bubble Pattern on light background (Mixed Blue and Orange) */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(16, 76, 174, 0.08) 40px, transparent 41px),
        radial-gradient(circle at 85% 30%, rgba(253, 131, 2, 0.08) 60px, transparent 61px),
        radial-gradient(circle at 80% 80%, rgba(16, 76, 174, 0.1) 45px, transparent 46px),
        radial-gradient(circle at 15% 85%, rgba(253, 131, 2, 0.06) 70px, transparent 71px),
        radial-gradient(circle at 45% 10%, rgba(16, 76, 174, 0.08) 25px, transparent 26px),
        radial-gradient(circle at 70% 65%, rgba(253, 131, 2, 0.1) 30px, transparent 31px),
        radial-gradient(circle at 55% 90%, rgba(16, 76, 174, 0.06) 90px, transparent 91px),
        radial-gradient(circle at 5% 50%, rgba(253, 131, 2, 0.08) 35px, transparent 36px),
        radial-gradient(circle at 95% 55%, rgba(16, 76, 174, 0.06) 50px, transparent 51px),
        radial-gradient(circle at 30% 70%, rgba(253, 131, 2, 0.08) 20px, transparent 21px),
        radial-gradient(circle at 60% 35%, rgba(16, 76, 174, 0.06) 40px, transparent 41px);
}

.interactive-timeline {
    width: 100%;
    margin-top: 30px; /* Reduced gap above the timeline globally */
}

.group-companies-section {
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9; /* Soft, light blue-gray background */
    z-index: 1;
    padding: 30px 0; /* Extremely tight padding for all screens */
}

/* Drastically cut gap between header and carousel globally */
.group-companies-section .section-header {
    margin-bottom: 15px !important;
}

/* Adjust text colors for light background */
/* Removed unique color for section title to match the rest of the site */

.group-companies-section .section-desc {
    color: #64748b;
}

/* Removed unique color for small title (badge-pill) to match the rest of the site */

.group-companies-section::before,
.group-companies-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
    transition: all 0.5s ease;
}

.group-companies-section::before {
    width: 450px;
    height: 450px;
    background: rgba(253, 131, 2, 0.12);
    top: -50px;
    left: -100px;
}

.group-companies-section::after {
    width: 600px;
    height: 600px;
    background: rgba(100, 116, 139, 0.1);
    bottom: -150px;
    right: -100px;
}

.logo-pagination-nav {
    position: relative;
    max-width: 700px;
    margin: 40px auto 0;
    height: 110px; /* Reduced Container height for smaller arc */
    z-index: 2;
}

.logo-pagination-nav::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(100, 116, 139, 0.08); 
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(40px);
}

.logo-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.logo-node {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0; 
    transform: translateX(-50%);
    width: 120px;
}

/* Active / Center Element */
.logo-node.pos-center {
    left: 50%;
    top: 0px;
    opacity: 1;
    z-index: 5;
}

.logo-node.pos-center .pagination-icon {
    width: 65px;
    height: 65px;
    font-size: 26px;
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(253, 131, 2, 0.3);
    background: var(--secondary-color);
    color: #ffffff;
}

.logo-node.pos-center .node-label {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Level 1 (Adjacent) */
.logo-node.pos-left-1, .logo-node.pos-right-1 {
    top: 20px;
    opacity: 0.8;
    z-index: 4;
}

.logo-node.pos-left-1 {
    left: 28%;
}

.logo-node.pos-right-1 {
    left: 72%;
}

.logo-node.pos-left-1 .pagination-icon, .logo-node.pos-right-1 .pagination-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

/* Level 2 (Outer) */
.logo-node.pos-left-2, .logo-node.pos-right-2 {
    top: 40px;
    opacity: 0.5;
    z-index: 3;
}

.logo-node.pos-left-2 {
    left: 10%;
}

.logo-node.pos-right-2 {
    left: 90%;
}

.logo-node.pos-left-2 .pagination-icon, .logo-node.pos-right-2 .pagination-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
}

.pagination-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 12px;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid rgba(253, 131, 2, 0.2);
    background: #ffffff; 
    color: var(--secondary-color);
}

.logo-node .node-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b; 
    text-align: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.no-transition, .no-transition * {
    transition: none !important;
}

.timeline-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid rgba(253, 131, 2, 0.2);
    color: var(--secondary-color);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.carousel-viewport {
    flex: 1;
    max-width: 800px;
    margin: 0;
    position: relative;
    overflow: hidden; /* Hides cards not currently active */
    padding: 5px 0; /* Reduced vertical padding for all screens */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.timeline-pane-wrapper {
    flex: 0 0 100%;
    padding: 0 15px; /* Adds gap between cards */
    box-sizing: border-box;
}

.timeline-pane {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: none; /* Removed box shadow */
    border: 1px solid rgba(253, 131, 2, 0.1);
    padding: 25px 30px; /* Reduced internal padding for all screens */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.timeline-pane h3 {
    font-size: 24px;
    color: #031b26;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: 700;
}

.timeline-pane p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px; /* Reduced gap between cards and dots globally */
    z-index: 5;
    position: relative;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(100, 116, 139, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dots .dot.active {
    background: var(--secondary-color);
    width: 25px;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .group-companies-section {
        padding: 25px 0; /* Ultra tight for mobile */
    }
    .group-companies-section .badge-pill {
        margin-bottom: 8px;
    }
    .group-companies-section .section-title {
        margin-bottom: 8px;
        font-size: 22px !important; 
    }
    .group-companies-section .section-desc {
        margin-bottom: 5px;
        font-size: 13px !important;
        line-height: 1.5;
    }
    .interactive-timeline {
        margin-top: 15px; /* Ultra tight */
    }
    .timeline-content-wrapper {
        position: relative;
        display: block;
    }
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        font-size: 14px;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }
    .carousel-btn.prev-btn {
        left: -5px;
    }
    .carousel-btn.next-btn {
        right: -5px;
    }
    .carousel-viewport {
        padding: 10px 0; /* Reduced vertical padding */
    }
    .timeline-pane-wrapper {
        padding: 0 10px;
    }
    .timeline-pane {
        padding: 30px 25px;
    }
    .timeline-pane h3 {
        font-size: 17px !important;
    }
    .timeline-pane p {
        font-size: 13px !important;
    }
    .carousel-dots {
        margin-top: 15px; /* Reduced from 25px */
    }
    
    /* Why Choose Section Mobile Adjustments */
    .why-choose-section {
        padding: 20px 0; /* Ultra tight for mobile */
    }
    .why-choose-section .section-header {
        margin-bottom: 20px; /* Reduced from 60px */
    }
    .why-choose-section .section-title {
        font-size: 19px !important; /* Small enough to fit in 2 lines on 320px */
        line-height: 1.3;
        margin-top: 0;
        max-width: 290px;
        margin-left: auto;
        margin-right: auto;
    }
    .why-choose-grid {
        gap: 10px; /* Reduced from 30px */
    }
    .feature-card {
        padding: 12px; /* Reduced from 15px */
    }
    .feature-info h3 {
        margin-bottom: 4px;
        font-size: 14px !important;
    }
    .feature-info p {
        font-size: 12px !important;
        line-height: 1.4;
    }
}

/* Services Section */
.services-section {
    background-color: #f8fafc; /* Very light blue/gray background */
    padding: 30px 0;
    position: relative;
    z-index: 1;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

/* Financing List & Card Styles */
.financing-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
}

.financing-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    align-items: center;
}
.financing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    background: #ffffff;
    border-color: var(--primary-color);
}
.financing-card .feature-icon {
    background-color: #ffffff;
    color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.financing-card:hover .feature-icon {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(5deg);
}
.financing-card .feature-text h4 {
    margin-bottom: 4px;
    font-size: 1.2rem;
}
.financing-card .feature-text p {
    margin: 0;
    font-size: 0.95rem;
}/* Services Section Background Dots */
.services-section {
    padding: 30px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
}

.services-grid::before,
.services-grid::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(rgba(11, 61, 145, 0.4) 3px, transparent 3px);
    background-size: 25px 25px;
    z-index: 0;
}

.services-grid::before {
    top: -30px;
    right: -30px;
}

.services-grid::after {
    bottom: -30px;
    left: -30px;
}

.service-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 388 / 255;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.service-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.service-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.service-content h3 {
    font-size: 22px;
    color: #031b26;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-content p {
    color: #717171;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #031b26;
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
    width: 100%;
    transition: color 0.3s;
    margin-top: auto; /* Pushes the link to the bottom */
}

.learn-more i {
    background-color: var(--secondary-color);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    transition: transform 0.3s;
}

.learn-more:hover {
    color: var(--secondary-color);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Industries Section */
.industries-section {
    padding: 30px 0;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f0f4f8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(16, 76, 174, 0.08);
    border-color: rgba(16, 76, 174, 0.2);
}

.industry-card .icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(16, 76, 174, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.industry-card:hover .icon-box {
    background-color: rgba(253, 131, 2, 0.15);
    color: var(--secondary-color);
}

.industry-card .industry-text {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

/* Why Choose Us Section */
.why-choose-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(253, 131, 2, 0.3); /* Added border color before hover */
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--secondary-color);
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(253, 131, 2, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.feature-card:hover .check-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.feature-info h3 {
    font-size: 15px !important;
    color: #031b26;
    margin-bottom: 8px;
    font-weight: 700;
}

.feature-info p {
    color: #64748b;
    font-size: 13px !important;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 30px 0;
    background-image: url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 27, 38, 0.65); /* Dark blue overlay */
    z-index: -1;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.cta-badge {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.cta-badge .dot {
    background-color: var(--secondary-color) !important;
}

.text-white {
    color: #ffffff !important;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Custom Branded Alert Modal */
.branded-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 145, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.branded-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.branded-alert-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.branded-alert-overlay.show .branded-alert-box {
    transform: translateY(0);
}

.branded-alert-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.branded-alert-icon.error {
    color: #e53e3e;
}

.branded-alert-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.branded-alert-message {
    color: #4a5568;
    margin-bottom: 20px;
}

.branded-alert-btn {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.branded-alert-btn:hover {
    background: var(--secondary-color);
}


/* Footer Section */
.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 30px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    gap: 30px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem !important;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col p {
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul:not(.contact-list) li a {
    color: #ffffff;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-col ul:not(.contact-list) li a::before {
    content: "\f054"; /* FontAwesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 10px;
    margin-right: 10px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.contact-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.developer-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-link:hover {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .company-tabs-container {
        gap: 20px;
    }
    /* .hero-content h2,
    .hero-content p {
        display: none;
    } */
    .company-tabs-sidebar {
        width: 300px;
    }
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid,
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .header-action {
        display: none;
    }
    
    .nav {
        display: none; /* Hidden by default, toggled by JS */
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 100;
        margin-top: 10px;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .top-bar-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .top-bar-left {
        flex-direction: row;
        gap: 10px;
        align-items: center;
    }
    
    .top-bar-left a span {
        display: none;
    }
    
    .top-bar-left a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background-color: var(--primary-color);
        color: #ffffff;
        border-radius: 4px;
        font-size: 14px;
        transition: background-color 0.3s;
    }
    
    .top-bar-left a:hover {
        background-color: var(--secondary-color);
    }
    
    .top-bar-left i {
        color: #ffffff;
    }
    
    .top-bar-right {
        gap: 5px;
    }
    
    .about-inner {
        flex-direction: column;
    }
    
    .about-left, .about-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Global Mobile Size Reductions */
    h2, .section-title {
        font-size: 24px !important;
    }
    h3 {
        font-size: 17px !important;
    }
    p, .section-desc {
        font-size: 13px !important;
    }
    .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    .header-inner {
        padding: 10px 15px;
    }
    .header {
        padding: 0 10px;
    }
    .logo img {
        height: 30px; /* Scale logo down on tiny screens */
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-content h1 {
        font-size: 1.4rem;
        word-wrap: break-word;
        font-weight: 500; /* Reduced font weight for mobile */
    }
    .company-tabs-container {
        flex-direction: column;
    }
    .company-tabs-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 10px 0;
    }
    .company-tab-btn {
        padding: 15px 20px;
        margin: 5px;
        border: 1px solid transparent;
    }
    .company-tab-btn.active {
        border: 1px solid var(--secondary-color);
    }
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Blueprint Grid Background */
.grid-background {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  background-image: linear-gradient(to right, #e2e8f0 1px, transparent 1px),
    linear-gradient(to bottom, #e2e8f0 1px, transparent 1px);
  background-size: 20px 30px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 60%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 60% at 50% 0%,
    #000 60%,
    transparent 100%
  );
}

.inner-banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1351 / 450;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    margin-top: 0;
    z-index: 1;
}

.inner-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

.inner-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    padding-top: clamp(30px, 6vw, 70px);
}

.inner-banner-title {
    font-size: clamp(1rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(4px, 1.2vw, 15px);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.inner-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: clamp(0.75rem, 1.8vw, 1.1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.inner-breadcrumbs a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.inner-breadcrumbs a:hover {
    color: var(--secondary-color);
}

.inner-breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 4px;
}

.inner-breadcrumbs .current {
    color: #ffffff;
    font-weight: 600;
}

/* Contact Page Styles */
.contact-section {
    padding: 30px 0;
    background-color: #f4f7fb;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.contact-info-card {
    background: #ffffff;
    color: var(--text-color);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-badge-text {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-card-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    color: #1e293b;
}

.contact-card-desc {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 30px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(16, 76, 174, 0.1);
    border: 1px solid rgba(16, 76, 174, 0.3);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-icon {
    background-color: rgba(253, 131, 2, 0.15);
    border-color: rgba(253, 131, 2, 0.3);
    color: var(--secondary-color);
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e293b;
}

.contact-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
}

.contact-text a {
    color: inherit;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: var(--secondary-color);
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.form-card-title {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.msg-group {
    margin-bottom: 25px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.1);
    background-color: #ffffff;
}

.submit-btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1199px) {
    .contact-grid {
        gap: 20px;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 25px;
    }
}

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

@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-card,
    .contact-form-card {
        padding: 30px 20px;
    }
}

/* Expertise Cards Animation & Style */
.expertise-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(16, 76, 174, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(253, 131, 2, 0.4);
}

.expertise-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(16, 76, 174, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.expertise-item:hover .expertise-icon-box {
    background-color: rgba(253, 131, 2, 0.1);
    color: var(--secondary-color);
    transform: rotate(360deg);
}

.expertise-text-span {
    font-weight: 600;
    color: #1e293b;
    transition: color 0.3s ease;
}

/* Services Page Styles */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 767px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
}

.service-detail-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(11, 61, 145, 0.18);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), #03182b);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), height 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
}

.service-detail-card:hover::before {
    width: 1500px;
    height: 1500px;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 24, 43, 0.15);
    border-color: #03182b;
}

.service-image {
    width: 35%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.1 / 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease;
}

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

.service-detail-card .service-content {
    width: 65%;
    padding: 25px 20px;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    align-content: center;
    align-items: center;
    column-gap: 12px;
}

@media (max-width: 768px) {
    .service-detail-card {
        flex-direction: column;
    }
    .service-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    .service-detail-card .service-content {
        width: 100%;
        padding: 30px 25px;
    }
}

.service-detail-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(253, 131, 2, 0.1);
    color: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-detail-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(253, 131, 2, 0.3);
    transform: rotateY(180deg);
}

.service-detail-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.service-detail-card:hover h3 {
    color: #ffffff;
}

.service-detail-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 15px 0 0 0;
    grid-column: 1 / -1;
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
    flex-grow: 1;
}

.service-detail-card:hover p {
    color: rgba(255, 255, 255, 0.85);
}

/* Industries Centered Grid Style */
.services-industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.industry-item {
    background: #ffffff;
    border: 1px solid rgba(16, 76, 174, 0.4);
    padding: 20px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex: 0 1 calc(33.333% - 25px);
    min-width: 320px;
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: rgba(253, 131, 2, 0.3);
    box-shadow: 0 12px 25px rgba(11, 61, 145, 0.06);
}

.industry-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(16, 76, 174, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.industry-item:hover .industry-icon {
    background-color: var(--secondary-color);
    color: #ffffff;
}

.industry-title {
    font-size: clamp(0.9rem, 1vw, 1rem);
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    min-height: 2.6em; /* Guarantee 2 lines of height for perfect grid alignment */
}

.industry-item:hover .industry-title {
    color: var(--primary-color);
}

/* Responsive constraints for laptop screen sizes */
@media (max-width: 1200px) {
    .industry-item {
        flex: 0 1 calc(33.333% - 20px);
    }
}

@media (max-width: 900px) {
    .industry-item {
        flex: 0 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .industry-item {
        flex: 0 1 100%;
    }
}

/* =========================================
   Presence Section (About Page)
   ========================================= */
.presence-section {
    width: 100%;
    position: relative;
    background: #f0f0f0;
    padding: 30px 0;
    overflow: hidden;
}

.presence-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        var(--primary-color) 25%,
        transparent 25%,
        transparent 50%,
        var(--primary-color) 50%,
        var(--primary-color) 75%,
        transparent 75%,
        transparent
    ),
    linear-gradient(
        -45deg,
        var(--primary-color) 25%,
        transparent 25%,
        transparent 50%,
        var(--primary-color) 50%,
        var(--primary-color) 75%,
        transparent 75%,
        transparent
    );
    background-size: 20px 20px;
    opacity: 0.02;
    z-index: 0;
}

.presence-section .container {
    position: relative;
    z-index: 1;
}

/* Industries Section Background Design */
@keyframes orbitSmall1 {
    0% { transform: rotate(0deg) translateX(30px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}
@keyframes orbitSmall2 {
    0% { transform: rotate(0deg) translateX(-40px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(-40px) rotate(-360deg); }
}
@keyframes orbitSmall3 {
    0% { transform: rotate(0deg) translateY(35px) rotate(0deg); }
    100% { transform: rotate(360deg) translateY(35px) rotate(-360deg); }
}

.services-industries-section {
    position: relative;
    padding: 30px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.bg-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
}

.circle-1 {
    width: 120px;
    height: 120px;
    background-color: rgba(11, 61, 145, 0.04);
    top: 15%;
    left: 10%;
    animation: orbitSmall1 20s linear infinite;
}

.circle-2 {
    width: 80px;
    height: 80px;
    background-color: rgba(253, 131, 2, 0.05);
    top: 60%;
    right: 15%;
    animation: orbitSmall2 15s linear infinite;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background-color: rgba(11, 61, 145, 0.03);
    bottom: -20px;
    left: 30%;
    animation: orbitSmall3 25s linear infinite;
}

.circle-4 {
    width: 90px;
    height: 90px;
    background-color: rgba(253, 131, 2, 0.04);
    top: -10px;
    right: 35%;
    animation: orbitSmall1 18s linear infinite reverse;
}

.circle-5 {
    width: 100px;
    height: 100px;
    background-color: rgba(253, 131, 2, 0.03);
    top: 40%;
    left: 55%;
    animation: orbitSmall2 22s linear infinite;
}

.circle-6 {
    width: 60px;
    height: 60px;
    background-color: rgba(11, 61, 145, 0.05);
    bottom: 10%;
    right: 5%;
    animation: orbitSmall3 18s linear infinite reverse;
}

.circle-7 {
    width: 140px;
    height: 140px;
    background-color: rgba(253, 131, 2, 0.03);
    top: 50%;
    left: -2%;
    animation: orbitSmall1 26s linear infinite;
}

.circle-8 {
    width: 70px;
    height: 70px;
    background-color: rgba(11, 61, 145, 0.04);
    top: 80%;
    left: 45%;
    animation: orbitSmall2 19s linear infinite reverse;
}

.services-industries-section .container {
    position: relative;
    z-index: 1;
}

/* =========================================
   Projects Page Styles
   ========================================= */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    /* Custom Scrollbar for better visibility */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f5f9;
}

/* Webkit custom scrollbar */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}
.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 0 0 12px 12px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.projects-table {
    width: 100%;
    min-width: 800px;
    border-collapse: collapse;
    text-align: left;
}

.projects-table thead {
    background: linear-gradient(to right, var(--primary-color), #0a2d6c);
    color: #ffffff;
}

.projects-table th {
    padding: 10px 6px;
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.projects-table th:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.projects-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #eef2f6;
    color: #334155;
    font-size: 0.9rem;
    vertical-align: middle;
    line-height: 1.4;
}

.projects-table td:not(:last-child) {
    border-right: 1px solid #eef2f6;
}

.projects-table tbody tr {
    transition: background-color 0.3s ease;
}

.projects-table tbody tr:hover {
    background-color: rgba(253, 131, 2, 0.04);
}

.projects-table tbody tr:last-child td {
    border-bottom: none;
}

.projects-table th:nth-child(1),
.projects-table td:nth-child(1) {
    width: 1%;
    white-space: nowrap;
    text-align: center;
}

.projects-table td:nth-child(1) {
    font-weight: 600;
    color: var(--secondary-color);
}

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

.project-type-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.project-type-card:hover {
    transform: translateY(-3px);
    border-color: rgba(11, 61, 145, 0.2);
    box-shadow: 0 8px 20px rgba(11, 61, 145, 0.08);
}

.project-type-card .type-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(16, 76, 174, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.project-type-card:hover .type-icon {
    background-color: rgba(253, 131, 2, 0.1);
    color: var(--secondary-color);
}

.project-type-card .type-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.3;
}

/* Projects Tabs */
.project-tab-btn {
    padding: 12px 32px;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
}

.project-tab-btn:hover {
    color: #0f172a;
}

.project-tab-btn.active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Projects Page Layout Styles */
.projects-intro-wrapper { padding-top: 30px; margin-bottom: 20px; }
.projects-intro-header { max-width: 800px; margin: 0 auto; }
.projects-intro-title { font-size: 2.2rem; margin-bottom: 15px; }
.project-tabs-container { margin-bottom: 15px; position: relative; z-index: 10; text-align: center; }
.project-tabs { 
    display: inline-flex; 
    padding: 6px; 
    gap: 6px; 
    background-color: #e2e8f0; 
    border-radius: 50px; 
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}
.projects-table-section, .project-types-section { padding: 15px 0 60px; }
.project-tab-content { display: none; }
.project-tab-content.active-tab { display: block; }
.project-tab-header-completed { max-width: 800px; margin: 0 auto; margin-bottom: 40px; text-align: center; }
.project-tab-header-types { max-width: 800px; margin: 0 auto; margin-bottom: 50px; text-align: center; }

/* Mobile Header & Banner Responsiveness Fix */
@media (max-width: 768px) {
    .header-wrapper:not(.scrolled) {
        position: relative !important;
    }
    .header {
        margin-top: 0 !important;
        padding: 0 10px !important;
    }
    .header-inner {
        padding: 8px 15px !important;
    }
    .inner-banner-content {
        padding-top: 20px !important;
    }
    .hero-inner {
        margin-top: 10px !important;
    }
    .section-title, h1, h2, .inner-banner-title, .hero-title {
        font-size: clamp(1.1rem, 5vw, 1.45rem) !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }
}

/* Expertise Grid Responsiveness */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
@media (max-width: 991px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 575px) {
    .expertise-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Project Tabs Mobile Responsiveness */
@media (max-width: 575px) {
    .project-tabs {
        display: flex;
        flex-direction: column;
        border-radius: 15px;
        width: 100%;
    }
    .project-tab-btn {
        width: 100%;
        border-radius: 10px;
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}

/* Mobile Nav Contact Link */
.mobile-nav-contact {
    display: none;
}
@media (max-width: 991px) {
    .mobile-nav-contact {
        display: block;
    }
}

/* Clients Section */
.clients-section {
    padding: 70px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.clients-carousel-wrapper {
    margin-top: 40px;
    width: 100%;
    position: relative;
}

.clients-carousel-track {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    cursor: grab;
    padding-bottom: 20px;
}

.clients-carousel-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.clients-carousel-track:active {
    cursor: grabbing;
}

.client-logo-card {
    flex: 0 0 auto;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
}

.client-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none; /* prevent dragging image instead of track */
}

@media (max-width: 768px) {
    .client-logo-card {
        width: 150px;
        height: 80px;
    }
}

/* Owl Carousel specific overrides */
.owl-carousel .client-logo-card { width: 100%; height: 100px; margin: 0 auto; flex: unset; }
.owl-carousel .client-logo-card img { width: auto !important; margin: 0 auto; }

/* Projects Pagination Styles */
.projects-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.projects-pagination button {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.projects-pagination button:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    border-color: #cbd5e1;
}
.projects-pagination button.active {
    background: var(--primary-color, #0a2d6c);
    color: #ffffff;
    border-color: var(--primary-color, #0a2d6c);
    box-shadow: 0 4px 10px rgba(10,45,108,0.3);
}
.projects-pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Project Gallery Styles */
.gallery-section {
    padding: 30px 0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #fff;
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}
.gallery-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}
.gallery-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.gallery-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
}
.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.gallery-modal-close:hover,
.gallery-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Gallery Modal Navigation Styles */
.gallery-modal-prev, .gallery-modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0,0,0,0.3);
}
.gallery-modal-next {
    right: 15px;
    border-radius: 3px 0 0 3px;
}
.gallery-modal-prev {
    left: 15px;
}
.gallery-modal-prev:hover, .gallery-modal-next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Responsive Gallery Grid */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}


/* Masonry Override for Gallery Page */
.masonry-grid {
    display: block !important;
    columns: 4 200px;
    column-gap: 20px;
}
.masonry-grid .gallery-item {
    margin-bottom: 20px;
    break-inside: avoid;
}
.masonry-grid .gallery-image {
    aspect-ratio: auto !important;
}

@media (max-width: 768px) {
    .masonry-grid {
        columns: 2;
        column-gap: 15px;
    }
}

/* Custom Gallery Styles */
.gallery-header {
    margin-bottom: 25px;
}

.gallery-description {
    margin-top: 15px;
    margin-bottom: 0;
}

.thin-icon {
    font-weight: 300;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

/* Dark Pattern Background */
.dark-pattern-bg {
    background-color: #0f172a;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.dark-pattern-bg .badge-pill {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background-color: transparent !important;
}
.dark-pattern-bg .badge-pill .dot {
    background-color: #ffffff !important;
}

#subsidy-structure {
    background-color: #f1f5f9;
}

#our-role .badge-pill {
    color: var(--primary-color, #0f172a) !important;
    border-color: var(--primary-color, #0f172a) !important;
}
