/* --- Brand Theme Definition & Reset --- */
:root {
    --primary: #0A1931;       /* Deep Authority Blue */
    --secondary: #00A8CC;     /* Vibrant Print Cyan / Teal */
    --accent: #FFC947;        /* Attention / Quality Highlight Gold */
    --bg-light: #F7F9FC;      /* Clean Minimal Canvas Ice Grey */
    --text-dark: #1E293B;     /* Readability Charcoal */
    --text-muted: #64748B;    /* Muted Slate Subtitles */
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 20px rgba(10, 25, 49, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 8px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* --- Top Bar Styling --- */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i, .badge i {
    color: var(--secondary);
    margin-right: 6px;
}

.badge {
    background-color: rgba(0, 168, 204, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
    border: 1px solid var(--secondary);
    font-weight: 600;
}

/* --- Header & Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    backdrop-filter: blur(8px);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;        /* Restricts the logo height to keep the header compact */
    width: auto;         /* Automatically calculates the width to maintain aspect ratio */
    display: block;
    object-fit: contain; /* Ensures the logo image scales cleanly without distortion */
    padding: 5px 0;      /* Adds a little breathing room top and bottom */
}

.logo h2 {
    color: var(--primary);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo h2 span {
    color: var(--secondary);
}

.logo p {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--secondary);
}

.btn-nav {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 6px;
}

.btn-nav:hover {
    background-color: #008ba8;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color:  #FF6600;
    color: var(--white);
}
 
.btn-primary:hover {
    background-color: #008ba8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #132c54;
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #132c54;
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    border: none;
}

/* --- Hero Section --- */
.hero {
    padding: 80px 0;
    background: linear-gradient(rgba(10, 25, 49, 0.95), rgba(10, 25, 49, 0.98)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
}


.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    align-items: center;
    gap: 50px;
}

.tagline {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: 46px;
    color: #FFFFFF;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: var(--bg-light);
    margin-bottom: 30px;
}


.hero-image-wrapper {
    position: relative;
    overflow: visible;
}

.hero-img {
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-5deg);
    border-left: 5px solid var(--secondary);
}
/* Stack all images on top of one another and hide them by default */
.hero-image-wrapper .hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out; /* Smooth cross-fade transition */
    backface-visibility: hidden;
    border-radius: 8px; /*optional*/
}

/* Bring the active image to the top layer smoothly */
.hero-image-wrapper .hero-img.active {
    position: relative; /* Keeps the first image defining the natural layout height */
    opacity: 1;
    z-index: 2;
}

/* Force subsequent active stacked images to remain perfectly layered */
.hero-image-wrapper .hero-img.active ~ .hero-img.active {
    position: absolute;
}
.experience-badge {
    z-index: 10 !important;
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: #FF6600;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 140px;
}
    
.experience-badge h3 {
    font-size: 24px;
    font-weight: 800;
    color:var(--white);
    
}

.experience-badge p {
    color: var(--white);
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    margin: 4px 0 0 0;
    letter-spacing: 0.5px;
}
/* --- Highlights Section --- */
.highlights {
    background-color:linear-gradient(rgba(10, 25, 49, 0.95), rgba(10, 25, 49, 0.98)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
     background-color:linear-gradient(rgba(10, 25, 49, 0.95), rgba(10, 25, 49, 0.98)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
}

.highlight-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
   border-color: #132c54;
}

.highlight-card:hover {
    border-bottom: 3px solid var(--secondary);
    transform: translateY(-5px);
}

.highlight-card i {
    font-size: 32px;
    color: var(--secondary);
}

.highlight-card h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.highlight-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* --- Global Subsections --- */
.sub-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--secondary);
    display: block;
    margin-bottom: 10px;
}

.sub-title.light {
    color: var(--accent);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 15px;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background-color:rgb(220, 234, 240);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.img-main {
    width: 85%;
    box-shadow: var(--shadow);
}

.img-sub {
    width: 50%;
    position: absolute;
    bottom: -30px;
    right: 0;
    border: 6px solid var(--bg-light);
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.core-values {
    margin-top: 30px;
}

.val {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.val i {
    color: var(--secondary);
    margin-top: 4px;
}

/* Executive Leadership Banner Styling */
.leadership-spotlight {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 40px 0 60px 0;
    min-height: 380px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.spotlight-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.spotlight-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark gradient fade on the left to make text pop while keeping the right side clear */
    background: linear-gradient(90deg, #0b1528 0%, rgba(11, 21, 40, 0.88) 55%, rgba(11, 21, 40, 0.2) 100%);
}

.spotlight-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 40px 50px;
    text-align: left;
}

.spotlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.spotlight-content h2 {
    font-size: 30px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}

.spotlight-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.spotlight-stats {
    display: flex;
    gap: 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.stat-num {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #00b4d8;
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .leadership-spotlight {
        min-height: auto;
    }
    .spotlight-overlay {
        background: linear-gradient(180deg, rgba(11, 21, 40, 0.4) 0%, rgba(11, 21, 40, 0.95) 70%);
    }
    .spotlight-content {
        padding: 160px 20px 30px 20px;
        text-align: center;
    }
    .spotlight-stats {
        justify-content: center;
    }
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background-color: var(--white);
}
/* --- Expand Products Section Safely to Match Header Margins --- */
#services .container {
    max-width: 1400px;  /* Caps how wide the layout can grow on large desktop screens */
    width: 90%;         /* Keeps it fluidly centered on laptops */
    margin: 0 auto;     /* Perfectly centers the entire block on the desktop screen */
    padding: 0 40px;    /* Forces a clean, guaranteed gap on the left and right margins */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color:rgb(220, 234, 240);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-img-h img {
    border-radius: 0;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 30px;
}

.srv-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    display: block;
    margin-bottom: 8px;
}

.service-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-content li i {
    color: var(--secondary);
}
/* --- Wide Feature Layout (Immigration Suite Breakout) --- */
.service-card-wide {
    grid-column: 1 / -1; /* Spans across all available columns in your CSS grid */
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 25, 49, 0.95), rgba(10, 25, 49, 0.98)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
}
.service-card-wide h3{
    color: white;
}
.service-card-wide p{
color: var(--bg-light);
}

/* Force both sides to share exactly half the space */
.service-card-wide .service-img-h,
.service-card-wide .service-content {
    flex: 1;
    width: 50%;
}

/* Fix image behavior for the side-by-side stretch */
.service-card-wide .service-img-h img {
    height: 100%;
    min-height: 380px; /* Gives the card a stable height matching long lists */
    object-fit: cover;
}

/* Arrange list items cleanly in columns so the list doesn't get too long */
.service-card-wide ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
    color: var(--bg-light);
}

/* --- Mobile Responsive Handling --- */
@media (max-width: 768px) {
    .service-card-wide {
        flex-direction: column; /* Stack image on top of text on smaller screens */
    }
    .service-card-wide .service-img-h,
    .service-card-wide .service-content {
        width: 100%;
    }
    .service-card-wide .service-img-h img {
        min-height: 220px;
    }
    .service-card-wide ul {
        grid-template-columns: 1fr; /* Single column layout for mobile reading */
    }
}
/* --- Read More Navigation Interaction Hooks --- */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary, #00A3C4);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary, #0A1931);
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

/* --- High-Contrast Read More Button for Dark Wide Cards --- */
.service-card-wide .read-more-btn {
    color: var(--secondary, #00A3C4);
    font-weight: 600;
}

/* Smoothly transitions the text color and arrow icon to pure white on hover */
.service-card-wide .read-more-btn:hover {
    color: #FFFFFF !important;
}

/* --- Window Overlay Modals System Structural Layout --- */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 49, 0.75); /* Modern deep matching overlay blur background */
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999; /* Higher priority layer above sticky navigation headers */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* When active, display smooth animation fade in */
.service-modal.modal-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: var(--white, #ffffff);
    width: 90%;
    max-width: 650px;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-modal.modal-open .modal-box {
    transform: translateY(0);
}

.featured-service-card {
    display: flex;
    align-items: center;
    background:rgb(220, 234, 240);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
}

.featured-service-img {
    flex: 1;
    max-height: 280px;
} 

.featured-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-service-content {
    flex: 1.2;
    padding: 30px 40px;
}
.featured-service-content ul {
    list-style: none;
}

.featured-service-content li {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-service-content li i {
    color: var(--secondary);
}

/* Exit Button Symbol UI Component */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: var(--white);
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 10;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #FF4A4A;
}

/* Modal Internal Body Asset Styling */
.modal-body img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.modal-body {
    padding: 30px;
}

.modal-body h2 {
    font-size: 24px;
    color: #0A1931;
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-body p {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-body h3 {
    font-size: 16px;
    color: #0A1931;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Highlighted item capabilities checklist badges */
.modal-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.modal-tags span {
    font-size: 13px;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.modal-tags i {
    color: #00A3C4;
}

/* Responsive adjustment for small phones */
@media (max-width: 576px) {
    .modal-tags {
        grid-template-columns: 1fr;
    }
    .modal-body {
        padding: 20px;
    }
}

/* --- Products Showcase Styles --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.product-img-box {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #f0f4f8;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition);
}

.product-card:hover .product-img-box img {
    transform: scale(1.06);
}

/* Category Badge over the images */
.prod-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.product-meta {
    padding: 20px;
 background-color:rgb(220, 234, 240);
}

.product-meta h3 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.product-meta p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- Products Mobile Grid Breakpoints --- */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-img-box {
        height: 200px;
    }
}

/* --- Registrations Suite --- */
.registrations {
    background: linear-gradient(rgba(10, 25, 49, 0.95), rgba(10, 25, 49, 0.98)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 90px 0;
}

.text-center {
    text-align: center;
}

.registrations h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.reg-lead {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 18px;
    opacity: 0.9;
}

.clients-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    align-items: stretch;
}

.client-badge {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    text-align: center;
    transition: var(--transition);
}

.client-badge:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.client-badge i {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 15px;
    display: inline-block;
}

.client-badge h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.client-badge p {
    font-size: 12px;
   color: var(--white);
}

.cta-inline a {
    color: var(--secondary);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary);
}

/* --- Seamless Auto-Scrolling Clients Ticker --- */
.clients-section {
    background-color: #F8FAFC; /* Soft off-white break before the contact area */
    padding: 40px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
}

.clients-title {
    text-align: center;
    margin-bottom: 25px;
}

.clients-title span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}
/* --- Mobile Responsive Handling for Badges --- */
@media (max-width: 1024px) {
    .clients-logos {
        flex-wrap: wrap;       /* Lets cards wrap to next row gracefully on medium iPads/Tablets */
        justify-content: center;
    }
    .client-badge {
        flex: unset;
        width: calc(33.33% - 20px); /* Sets up clean 3 columns on tablet viewpoints */
    }
}

@media (max-width: 768px) {
    .client-badge {
        width: calc(50% - 20px);    /* Sets up clean 2 columns on small tablet profiles */
    }
}

@media (max-width: 480px) {
    .client-badge {
        width: 100%;                /* Stacks vertically 1-by-1 on mobile screens */
        max-width: 100%;
    }
}

/* Wrapper to crop out overflow scrollbars */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

/* Linear infinitely gliding container tracking element */
.slider-track {
    display: flex;
    width: calc(250px * 28); /* Width calculated by item base width * total items combined (14 + 14) */
    animation: scrollTicker 45s linear infinite;
}

/* Pause scroll when the user points/hovers over a logo to inspect or read a label */
.slider-track:hover {
    animation-play-state: paused;
}

/* Individual Slide Core Blocks */
.slide-item {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 30px;
    flex-shrink: 0;
}

/* Client Logo Configurations */
.slide-item img {
    height: 90px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    filter: none; 
    opacity: 0.9;
    transition: var(--transition);
}

/* Light up logo colored style on hover interaction */
.slide-item:hover img {
    opacity: 1;
}

/* Flexible Label Option Text Layout */
.slide-item span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.3px;
    white-space: nowrap;
    opacity: 0.8;
}

/* The infinite animation formula translating exactly halfway across duplicate groups */
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 14)); /* Translates precisely by length of first group */
    }
}

/* --- Contact & Gateway Forms --- */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.info-blocks {
    margin: 40px 0;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.info-block i {
    font-size: 24px;
    color: var(--secondary);
    background: var(--white);
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.info-block h5 {
    font-size: 16px;
    color: var(--primary);
}

.info-block p {
    color: var(--text-muted);
}

.gateways h5 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.gateway-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.gt-btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.gt-btn.wa {
    background-color: #25D366;
}

.gt-btn.call {
    background-color: var(--primary);
}

.gt-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* --- Quotation Form Block --- */
.form-wrapper {
    background-color: rgb(220, 234, 240);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-wrapper h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.form-wrapper p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    outline: none;
    background-color: #FAFCFF;
    font-size: 15px;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary);
    background-color: var(--white);
}

.form-feedback {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
}

.form-feedback.success {
    background-color: #DCFCE7;
    color: #15803D;
}

.form-feedback.hidden {
    display: none;
}

/* --- Footer Elements --- */
footer {
    background-color: #050E1E;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.foot-about h3, .footer-grid h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.foot-about h3 span {
    color: var(--secondary);
}

.foot-links display, .foot-links a {
    display: block;
    margin-bottom: 12px;
}

.foot-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 0;
    font-size: 14px;
}

.fb-flex {
    display: flex;
    justify-content: space-between;
}

/* --- Responsive Adaptations (Mobile / Tablet Setup) --- */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .img-main {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bar-flex, .fb-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .top-bar {
        display: none; /* Hide top bar elements on tight mobile view for space */
    }
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    .nav-links.active {
        max-height: 350px;
    }
    .nav-links a {
        width: 100%;
        padding: 15px 24px;
        border-bottom: 1px solid #F1F5F9;
    }
    .btn-nav {
        border-radius: 0;
    }
    .highlights-grid, .services-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
/* --- Our Team Section --- */
.team {
    padding: 70px 0;
    background: linear-gradient(rgba(10, 25, 49, 0.95), rgba(10, 25, 49, 0.98)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80');
}
.team .section-header h2 {
    color: var(--white);
}

.team .section-header p {
   color: var(--white);
    opacity: 0.9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-img-container {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.team-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition);
}

.team-card:hover .team-img-container img {
    transform: scale(1.05);
}

/* Hover overlay links for social interaction */
.team-socials {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(10, 25, 49, 0.9), transparent);
    padding: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
    opacity: 0;
}

.team-card:hover .team-socials {
    bottom: 0;
    opacity: 1;
}

.team-socials a {
    width: 36px;
    height: 36px;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.team-socials a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 4px;
}

.team-info .role {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

/* Responsive breakpoint overrides */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}