/* 
   VectorShip Cargo Line - MODERN ASYMMETRIC THEME
   Theme: Strict White, Deep Navy, Modern Grid
*/

/* Custom Elements Display Fix */
app-navbar,
app-footer {
    display: block;
    width: 100%;
}

:root {
    /* Color Palette - Strict White & Navy */
    --primary-dark: #154156;
    /* Deep Navy - Logo Color */
    --primary-light: #FFFFFF;
    /* STRICT WHITE - No Off-Whites */
    --accent-navy: #154156;
    /* Monochromatic Accent */

    --text-main: #154156;
    /* Dark Blue-Grey for high contrast text */
    --text-light: #555555;
    /* Muted Grey */
    --white: #FFFFFF;

    /* Typography - Bold & Impactful */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Font Weights */
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* Letter Spacing */
    --ls-tight: -0.02em;
    --ls-normal: 0;
    --ls-wide: 0.05em;
    --ls-caps: 2px;
    --ls-heading: -0.015em;

    /* Spacing */
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 10rem;

    /* Shadows - Sharp & Modern */
    --shadow-card: 0 10px 40px rgba(10, 25, 47, 0.08);
    --shadow-hover: 0 20px 60px rgba(10, 25, 47, 0.12);

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
    --transition-smooth: 0.6s var(--ease-out);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-bold);
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: var(--ls-heading);
}

h1 {
    font-size: 5rem;
    font-weight: var(--fw-extrabold);
    letter-spacing: -2px;
}

h2 {
    font-size: 3.5rem;
    font-weight: var(--fw-bold);
    letter-spacing: -1px;
}

h3 {
    font-size: 2rem;
}

p {
    color: var(--text-light);
    line-height: 1.7;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

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

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

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

.text-center-widget {
    max-width: 80%;
    margin: 0 auto;
}

.text-light {
    color: var(--text-light);
}

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

/* Spacing */
.mt-sm {
    margin-top: 20px;
}

.mt-md {
    margin-top: 30px;
}

.mt-lg {
    margin-top: 40px;
}

.mt-xl {
    margin-top: 50px;
}

.mb-xs {
    margin-bottom: 10px;
}

.mb-sm {
    margin-bottom: 20px;
}

.mb-md {
    margin-bottom: 25px;
}

.mb-lg {
    margin-bottom: 30px;
}

.mb-xl {
    margin-bottom: 80px;
}

.pt-sm {
    padding-top: 20px;
}

.pt-xl {
    padding-top: 50px;
}

.border-top-light {
    border-top: 1px solid #eee;
}

/* Typography */
.fs-sm {
    font-size: 1rem;
}

.fs-md {
    font-size: 1.15rem;
}

.fs-lg {
    font-size: 1.5rem;
}

.fs-xl {
    font-size: 2.5rem;
}

.fs-2xl {
    font-size: 3rem;
}

.fw-300 {
    font-weight: var(--fw-light);
}

.fw-500 {
    font-weight: var(--fw-medium);
}

.fw-600 {
    font-weight: var(--fw-semibold);
}

.fw-700 {
    font-weight: var(--fw-bold);
}

/* Images & Visuals */
.img-fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.br-sm {
    border-radius: 8px;
}

/* Animation Delays */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

.delay-6 {
    animation-delay: 0.6s;
}

/* Grid Utilities */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.text-navy {
    color: var(--primary-dark);
}

/* Buttons - Minimalist */
.btn {
    display: inline-block;
    padding: 18px 40px;
    font-size: 0.9rem;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    border: 1px solid var(--primary-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border-color: #ddd;
}

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

/* Navbar - Minimal */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: 0.4s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

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

.nav-link {
    font-size: 0.85rem;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    color: var(--primary-dark);
    position: relative;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    z-index: 1010;
}

.bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-dark);
    transition: 0.3s var(--ease-out);
}

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

.nav-links .btn {
    padding: 12px 28px;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* CENTERED TYPOGRAPHIC HERO */
.hero {
    min-height: 85vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.home .hero {
    background: var(--white);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0px;
}

.hero-text {
    z-index: 2;
    width: 100%;
    text-align: center;
}

.hero-visual {
    display: none;
}

.hero h1 {
    font-size: 5rem;
    font-weight: var(--fw-extrabold);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.5rem;
    margin: 0 auto 3rem auto;
    font-weight: var(--fw-light);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(21, 65, 86, 0.1);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--fw-bold);
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    color: var(--text-light);
    font-weight: var(--fw-semibold);
}

/* Advantage Section */
.advantage-section {
    padding: 100px 0;
    background: #fbfbfb;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.advantage-card {
    background: var(--white);
    padding: 50px;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--primary-dark);
}

.advantage-card h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Home page spacing and layout */
.home .hero {
    height: auto;
    padding: 120px 0 0px;
}

.home .hero-buttons {
    margin-bottom: 50px;
}

.home .stats-row {
    padding-top: 30px;
}

.home .services-preview {
    padding: 90px 0;
}

.home .advantage-section {
    padding: 90px 0;
}

.home .advantage-grid {
    margin-top: 40px;
}

.home .about-section {
    padding: 80px 0;
}

.home .about-grid {
    gap: 80px;
}

.home .cta-section {
    padding: 100px 0;
    background: var(--primary-dark);
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 3rem;
}

.section-intro p {
    margin: 0 auto;
}

.about-heading {
    font-size: 3rem;
    margin-bottom: 30px;
}

.about-cta {
    margin-top: 20px;
    display: inline-block;
}

.cta-actions {
    margin-top: 40px;
}

.cta-primary {
    padding: 20px 50px;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    position: relative;
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}


/* SERVICES - MASONRY / BROKEN GRID */
.services-preview {
    padding: 80px 0;
}

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

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

.service-card {
    background: var(--white);
    padding: 60px 40px;
    border: 1px solid #f0f0f0;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

/* Offset second card for masonry feel */
.services-grid .service-card:nth-child(2) {
    transform: translateY(40px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
}

.services-grid .service-card:nth-child(2):hover {
    transform: translateY(30px);
    /* Adjust for offset */
    box-shadow: var(--shadow-card);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.service-card .link-arrow {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-top: auto;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
}

.service-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* INNER PAGES - CLEAN CENTERED LAYOUT */
.page-header {
    padding: 180px 0 80px;
    background: var(--white);
    color: var(--primary-dark);
    text-align: center;
}

.page-header h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.page-header p {
    font-size: 1.5rem;
    margin: 0 auto;
    /* Center the block */
}

.service-detail {
    padding-bottom: var(--spacing-xl);
}


.service-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    margin-bottom: 120px;
    text-align: left;
    /* Reset text align */
}

/* Zig-Zag Alternation */
.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    width: 50%;
    /* Half width */
    max-width: none;
    flex-shrink: 0;
    height: 400px;
    /* Consistent height */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-row:hover .service-image img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.service-text {
    width: 45%;
    /* Text takes other half */
    max-width: none;
    margin: 0;
}

.service-text h2 {
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.service-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-list {
    text-align: left;
    display: block;
    margin: 0;
}

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

.service-list li::before {
    content: '•';
    color: var(--primary-dark);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Mobile Responsiveness for Services */

/* Footer - Minimal Text Only */
footer {
    padding: 100px 0 30px;
    border-top: 1px solid #eee;
    background: var(--white);
    color: var(--text-main);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    font-weight: var(--fw-semibold);
    margin-bottom: 30px;
}

.footer-col p {
    max-width: 400px;
    font-size: 1.1rem;
}

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

.footer-col a {
    color: var(--text-light);
    font-size: 1.1rem;
}

.footer-col a:hover {
    color: var(--primary-dark);
}

.footer-bottom {
    text-align: left;
    color: #999;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 1px solid #f5f5f5;
}

.container-para {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 auto 3rem auto;
    font-weight: var(--fw-light);
}


/* Responsive */

/* Animations */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) forwards;
}

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

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s var(--ease-out);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- ABOUT PAGE STYLES --- */
.about-section {
    padding: 50px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-dark);
}

.about-text p {
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.feature-list {
    margin-top: 40px;
}

.feature-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    font-size: 1.1rem;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
}

.about-image {
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-image img {
    transition: transform 1s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Mission & Vision */
.mission-vision {
    padding: 50px 0;
    background: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background: var(--white);
    padding: 60px;
    border: 1px solid #eee;
    transition: var(--transition-smooth);
}

.mv-card:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-card);
}

.mv-card h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.mv-card p {
    font-size: 1.2rem;
    line-height: 1.8;
}




/* --- CONTACT PAGE STYLES --- */
.contact-section {
    padding: 100px 0;
    background: #fbfbfb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.contact-card {
    background: var(--white);
    padding: 50px 40px;
    border: 1px solid #eee;
    text-align: center;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.contact-card:hover {
    border-color: var(--primary-dark);
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
}

.contact-card .icon {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: block;
}

.contact-card h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: var(--ls-caps);
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-weight: var(--fw-semibold);
}

.contact-card p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.contact-card a {
    color: var(--primary-dark);
    font-weight: var(--fw-semibold);
}

/* Map/Branch Section */
.branch-section {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid #eee;
}

.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.branch-image {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}


.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: var(--fw-semibold);
    color: var(--primary-dark);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    border-radius: 0;
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-dark);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.05);
}

.contact-form h3 {
    margin-bottom: 40px;
    font-size: 2rem;
}


/* Services Page - Full Screen Slider Redesign */
body.services-page {
    overflow-x: hidden;
}

.service-detail {
    padding: 0;
    margin: 0;
}

.service-detail .container {
    padding: 0;
    max-width: 100%;
    margin: 0;
    width: 100%;
}

.services-carousel-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    /* Full viewport height */
    padding-top: 110px;
    /* Space for Navbar */
    overflow: hidden;
    margin: 0;
    background: #ffffff;
    /* Fallback */
    display: flex;
    justify-content: center;
}

.services-carousel {
    height: 100%;
    width: 100%;
    max-width: 1400px;
    /* Match global .container */
    position: relative;
}

.service-slide {
    position: absolute;
    top: 0;
    left: 40px;
    /* Match global .container padding */
    right: 40px;
    /* Match global .container padding */
    width: auto;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    /* Split Layout */
    z-index: 1;
    background: var(--white);
    gap: 40px;
    align-items: center;
}

.service-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Split Layout: Image Left, Content Right */
.slide-image {
    flex: 1;
    height: 60%;
    /* Reduce height slightly for better aesthetics */
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Subtle radius */
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
    /* Slow zoom effect */
}

.service-slide.active .slide-image img {
    transform: scale(1.1);
}

.slide-content {
    flex: 1;
    /* Content takes equal width */
    height: auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
    line-height: 1.1;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease 0.3s;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease 0.5s;
}

.slide-content .service-list {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease 0.7s;
}

/* Animation triggers when active */
.service-slide.active .slide-content h2,
.service-slide.active .slide-content p,
.service-slide.active .slide-content .service-list {
    opacity: 1;
    transform: translateY(0);
}

.service-list li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-main);
    font-weight: var(--fw-medium);
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-dark);
    border-radius: 50%;
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(10, 25, 47, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

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

.prev-btn {
    left: 40px;
}

.next-btn {
    right: 40px;
}


.carousel-dots {
    position: absolute;
    bottom: 40px;
    left: 55%;
    /* Align with content area slightly */
    transform: translateX(0);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(10, 25, 47, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--primary-dark);
    transform: scale(1.3);
}

/* Page Header Override for Services (Hide it) */
.services-page header.page-header {
    display: none;
}

/* Responsive */
/* --- RESPONSIVE DESIGN --- */

/* Laptops & Tablets (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 3.5rem;
    }

    .hero .container,
    .grid-3-col,
    .about-grid,
    .mv-grid,
    .advantage-grid,
    .cta-grid,
    .contact-info-container,
    .branch-grid,
    .services-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-section {
        padding: 80px 0;
    }

    .hero-visual {
        height: 350px;
        order: -1;
    }

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

    .hero-buttons,
    .stats-row {
        justify-content: center;
    }

    .hero {
        height: auto;
        padding: 120px 0;
    }

    .services-grid .service-card:nth-child(2) {
        transform: none;
    }

    .services-grid .service-card:nth-child(2):hover {
        transform: translateY(-10px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        gap: 35px;
        z-index: 1000;
        overflow-y: auto;
        padding: 100px 0;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-100%);
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .about-image,
    .branch-image {
        height: 300px;
    }

    /* Carousel Specifics */
    .service-slide {
        flex-direction: column;
    }

    .slide-image {
        flex: 0 0 50%;
        height: 50%;
    }

    .slide-content {
        flex: 0 0 50%;
        height: 50%;
        width: 100%;
        padding: 40px 30px;
        justify-content: flex-start;
    }

    .slide-content h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .carousel-dots {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev-btn,
    .next-btn {
        bottom: 50%;
        transform: translateY(50%);
        background: rgba(255, 255, 255, 0.8) !important;
        top: auto;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

/* Small Tablets & Mobile Landscape (900px) */
@media (max-width: 900px) {
    .service-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 80px;
        text-align: left;
    }

    .service-image {
        width: 100%;
        height: 300px;
    }

    .service-text {
        width: 100%;
    }

    .about-image {
        height: 400px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Mobile Phones (768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.8rem;
    }

    h2,
    .fs-2xl {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-row {
        flex-direction: column;
        gap: 30px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .navbar {
        padding: 15px 0;
    }

    .section-intro,
    .about-text,
    .branch-text,
    .footer-col p {
        text-align: inherit;
        max-width: 100%;
    }
}