/* ==========================================================================
   Custom Bootstrap Styles for Logistics Website
   ========================================================================== */

/* Root Variables */
:root {
    --primary-color: #ef644c;
    --secondary-color: #fac12e;
    --dark-color: #1f1f1f;
    --text-color: #333333;
    --light-text: #bebebe;
    --white: #ffffff;
    --border-radius: 25px;
}

/* Typography */
body {
    font-family: "Manrope", sans-serif;
    color: var(--text-color);
    font-size: 18px;
    line-height: 1.667;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

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

* {
    box-sizing: border-box;
}

/* Prevent horizontal overflow on all containers */
.container,
.container-fluid {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure rows don't cause overflow */
.row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
}

/* Fix for images and iframes */
img,
iframe {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h1 {
    font-size: 80px;
}
h2 {
    font-size: 60px;
}
h3 {
    font-size: 40px;
}
h4 {
    font-size: 30px;
}
h5 {
    font-size: 25px;
}

/* Responsive Typography */
@media (max-width: 1200px) {
    h1 {
        font-size: 60px;
    }
    h2 {
        font-size: 50px;
    }
    h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }

    .custom-navbar {
        padding: 12px 0;
    }

    .custom-navbar .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .custom-navbar .container-fluid.px-4 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .main-menu .nav-link {
        margin: 5px 0;
        text-align: center;
        padding: 10px 20px !important;
        width: 100%;
        display: block;
        background: transparent !important;
        color: rgba(255, 255, 255, 0.9) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .main-menu .nav-link.active {
        background: linear-gradient(
            135deg,
            var(--primary-color),
            #ff7a65
        ) !important;
        color: var(--white) !important;
        border-radius: 50px !important;
        padding: 12px 30px !important;
        margin: 10px auto 15px auto !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 200px;
        min-width: 120px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(239, 100, 76, 0.4) !important;
    }

    .main-menu .nav-link.active::before {
        display: none !important;
    }

    .navbar-collapse {
        background: rgba(31, 31, 31, 0.98);
        padding: 20px;
        margin-top: 15px;
        border-radius: 15px;
        flex-direction: column;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100%;
        display: none !important; /* Ensure menu is hidden by default */
    }

    /* Only show when Bootstrap adds .show class */
    .navbar-collapse.show {
        display: flex !important;
    }

    .custom-navbar .navbar-nav.main-menu {
        align-items: center;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .custom-navbar .navbar-nav.main-menu .nav-item {
        width: 100%;
        text-align: center;
    }

    .custom-navbar .navbar-nav.main-menu .nav-item:first-child {
        width: 100%;
    }

    .custom-navbar .navbar-collapse {
        flex-grow: 0;
        justify-content: flex-start !important;
    }

    .navbar-toggler {
        order: 2;
        margin-left: auto;
        padding: 6px 10px;
    }

    .navbar-brand {
        order: 1;
        flex: 0 0 auto;
    }

    /* Prevent navbar from closing unexpectedly */
    .custom-navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1030;
        transition: none;
    }

    /* Smooth transition when menu opens */
    .navbar-collapse.collapsing {
        transition: height 0.35s ease;
        display: flex !important;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Utilities */
.rounded-custom {
    border-radius: var(--border-radius) !important;
}

.bg-dark-custom {
    background-color: var(--dark-color) !important;
}

.bg-accent {
    background-color: var(--primary-color) !important;
}

.text-accent {
    color: var(--primary-color) !important;
}

/* Navigation */
.custom-navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(239, 100, 76, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

.custom-navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.custom-navbar .container-fluid {
    overflow: visible;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.custom-navbar .navbar-collapse {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.custom-navbar .navbar-nav.main-menu {
    align-items: center;
    margin: 0;
    position: absolute;
    left: 40%;
    transform: translateX(-50%);
}

/* Keep the button on the right */
.custom-navbar .navbar-collapse > .d-none.d-lg-flex {
    position: absolute;
    right: 0;
    margin-left: auto;
}

.navbar-brand {
    position: relative;
    transition: transform 0.3s ease;
    transform-origin: center;
    display: inline-block;
    z-index: 1;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    filter: drop-shadow(0 2px 8px rgba(239, 100, 76, 0.3));
    transition: filter 0.3s ease;
    display: block;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 4px 12px rgba(239, 100, 76, 0.5));
}

.site-logo {
    height: 54px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.main-menu {
    gap: 10px;
}

.main-menu .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 28px !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;
}

.main-menu .nav-link::before {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    transition: width 0.3s ease;
}

.main-menu .nav-link:hover {
    color: var(--white) !important;
    background: rgba(239, 100, 76, 0.1);
    transform: translateY(-2px);
}

.main-menu .nav-link:hover::before {
    width: 60%;
}

.main-menu .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), #ff7a65);
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(239, 100, 76, 0.4);
}

.main-menu .nav-link.active::before {
    display: none;
}

.phone-number {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-number::before {
    content: "📞";
    font-size: 20px;
}

.nav-icon {
    color: var(--white);
    font-size: 20px;
    transition: all 0.3s ease;
}

.nav-icon:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: 2px solid rgba(239, 100, 76, 0.5);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10;
    position: relative;
}

.navbar-toggler:hover {
    background: rgba(239, 100, 76, 0.1);
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(239, 100, 76, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(239, 100, 76, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-custom-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff7a65);
    color: var(--white);
    border: 2px solid transparent;
    padding: 15px 40px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(239, 100, 76, 0.35);
}

.btn-custom-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-custom-primary:hover::before {
    left: 100%;
}

.btn-custom-primary:hover {
    background: linear-gradient(135deg, #ff7a65, var(--primary-color));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(239, 100, 76, 0.5);
}

.btn-link-arrow {
    color: var(--white);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-link-arrow:hover {
    color: var(--primary-color);
    gap: 15px;
}

/* Hero Slider */
.hero-slider {
    margin-top: 80px;
}

.hero-slide {
    height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    color: var(--white);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-text {
    color: var(--white);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1.2s ease;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: auto;
    bottom: 30px;
    opacity: 1;
}

.carousel-control-prev {
    right: 150px;
    left: auto;
}

.carousel-control-next {
    right: 80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--primary-color);
}

/* Video Button */
.video-button {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--white);
    z-index: 10;
}

.video-icon {
    width: 130px;
    height: 130px;
    background-color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    transition: all 0.3s ease;
}

.video-button:hover .video-icon {
    background-color: var(--primary-color);
    transform: scale(0.95);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease;
}

.animate-fade-in-delay {
    animation: fadeInUp 1.2s ease;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1.4s ease;
}

/* Info Cards */
.info-cards-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.info-card {
    height: 340px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.1),
        rgba(250, 193, 46, 0.1)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.2)
    );
    transition: all 0.5s ease;
}

.info-card:hover .info-card-overlay {
    background: linear-gradient(
        to top,
        rgba(239, 100, 76, 0.9),
        rgba(0, 0, 0, 0.4)
    );
}

.info-card-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.info-card:hover .info-card-content {
    transform: translateY(-10px);
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(239, 100, 76, 0.3);
}

.info-card h4 {
    transition: color 0.3s ease;
}

.info-card:hover h4 {
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.divider-line {
    width: 300px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.divider-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Section Headers */
.section-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 2px;
}

.section-title {
    margin-top: 20px;
    /* max-width: 800px; */
    font-size: 70px;
    text-align: left;
}

/* Services Section */
.services-section {
    padding: 150px 0;
}

.service-item {
    padding: 40px 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    background: transparent;
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.05),
        rgba(250, 193, 46, 0.05)
    );
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-item:hover::before {
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(239, 100, 76, 0.15);
}

.service-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent,
        var(--primary-color),
        transparent
    );
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.service-item:hover:not(:last-child)::after {
    opacity: 0.6;
}

.service-icon {
    font-size: 61px;
    color: var(--text-color);
    margin-bottom: 30px;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-item:hover .service-icon {
    color: var(--primary-color);
    transform: scale(1.1) rotateY(360deg);
}

.service-item h4 {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-item:hover h4 {
    color: var(--primary-color);
}

.service-description {
    max-width: 70%;
}

/* Fontello Icon Font Definitions */
@font-face {
    font-family: "fontello";
    src: url("../fonts/fontello/fontello.eot?12345678");
    src: url("../fonts/fontello/fontello.eot?12345678#iefix")
            format("embedded-opentype"),
        url("../fonts/fontello/fontello.woff2?12345678") format("woff2"),
        url("../fonts/fontello/fontello.woff?12345678") format("woff"),
        url("../fonts/fontello/fontello.ttf?12345678") format("truetype"),
        url("../fonts/fontello/fontello.svg?12345678#fontello") format("svg");
    font-weight: normal;
    font-style: normal;
}

/* Base icon styles */
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: 0.2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Service Icons - Fallback Unicode Symbols */
.icon-air-delivery:before {
    content: "✈️";
} /* Delivery truck symbol */
.icon-container:before {
    content: "🚚";
} /* Package symbol */
.icon-trolley:before {
    content: "🛒";
} /* Shopping cart symbol */
.icon-supply-chain:before {
    content: "🔗";
} /* Link/chain symbol */
.icon-half-logo:before {
    content: "⚡";
} /* Lightning bolt symbol */

/* Statistics Icons - Fallback Unicode Symbols */
.icon-light-delivery:before {
    content: "🚚";
} /* Delivery truck symbol */
.icon-light-container:before {
    content: "📦";
} /* Container symbol */
.icon-light-directions:before {
    content: "🧭";
} /* Compass symbol */
.icon-light-storage:before {
    content: "🏪";
} /* Store symbol */
.icon-light-clock:before {
    content: "⏰";
} /* Clock symbol */

/* Additional common icons */
.icon-truck:before {
    content: "🚛";
} /* Truck symbol */
.icon-ship:before {
    content: "🚢";
} /* Ship symbol */
.icon-plane:before {
    content: "✈";
} /* Airplane symbol */
.icon-warehouse:before {
    content: "🏭";
} /* Factory symbol */
.icon-global:before {
    content: "🌍";
} /* Globe symbol */
.icon-time:before {
    content: "⏰";
} /* Clock symbol */
.icon-check:before {
    content: "✅";
} /* Check mark symbol */
.icon-phone:before {
    content: "📞";
} /* Phone symbol */
.icon-email:before {
    content: "📧";
} /* Email symbol */
.icon-location:before {
    content: "📍";
} /* Location pin symbol */

/* Marquee Section */
.marquee-section {
    background-color: var(--dark-color);
    color: var(--white);
    overflow: hidden;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    flex-wrap: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* About Video Section */
.about-video-section {
    padding: 100px 0;
}

.video-preview {
    position: relative;
    overflow: hidden;
}

.video-preview img {
    transition: transform 0.5s ease;
}

.video-preview:hover img {
    transform: scale(1.05);
}

/* Clients Section */
.client-logo {
    padding: 30px;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Statistics Section */
.stat-item {
    padding: 60px 40px;
    border-right: 1px solid #e5e5e5;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.02)
    );
}

.stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.03),
        rgba(250, 193, 46, 0.03)
    );
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(239, 100, 76, 0.1);
    border-right-color: var(--primary-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 70px;
    color: #c5c5c5;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    display: inline-block;
}

.stat-item:hover .stat-icon {
    color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

.stat-number {
    font-size: 60px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 20px 0;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #ff7a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
}

.stat-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

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

/* Text Stroke Effect */
.text-stroke {
    color: transparent;
    -webkit-text-stroke: 2px var(--primary-color);
    text-stroke: 2px var(--primary-color);
}

.text-stroke-outline {
    font-size: 80px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
}

/* Quote Section */
.quote-section {
    padding: 150px 0;
    background: linear-gradient(
            180deg,
            rgba(31, 31, 31, 0) 0%,
            var(--dark-color) 20%
        ),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231F1F1F" d="M0,96L1440,192L1440,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: top center;
    position: relative;
}

.quote-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    --background-overlay: "";
    background-image: linear-gradient(180deg, #1f1f1f00 20%, #1f1f1f 85%);
    pointer-events: none;
    z-index: 1;
}

.quote-section .container-fluid,
.quote-section .row,
.quote-section .col-lg-6 {
    position: relative;
    z-index: 2;
}

.quote-form-wrapper {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    position: relative;
    border: 1px solid rgba(239, 100, 76, 0.1);
    transition: all 0.3s ease;
}

.quote-form-wrapper:hover {
    box-shadow: 0 30px 80px rgba(239, 100, 76, 0.2);
    transform: translateY(-5px);
}

.quote-form-wrapper h3 {
    position: relative;
    padding-bottom: 15px;
}

.quote-form-wrapper h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 2px;
}

.form-control,
.form-select {
    padding: 15px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:hover,
.form-select:hover {
    border-color: #d0d0d0;
    background: #ffffff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.3rem rgba(239, 100, 76, 0.15);
    background: #ffffff;
    transform: translateY(-2px);
}

.form-floating > label {
    color: #999;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-color);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 100, 76, 0.25);
}

.quote-info {
    padding: 50px;
}

.call-box {
    background: linear-gradient(135deg, var(--primary-color), #ff7a65);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(239, 100, 76, 0.3);
}

.call-box::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    transition: transform 0.5s ease;
}

.call-box:hover::before {
    transform: translate(-25%, -25%);
}

.call-box:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(239, 100, 76, 0.4);
}

/* Testimonials Section */
.testimonials-section {
    padding: 15px 0 150px 0;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author h5 {
    font-size: 20px;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--light-text);
    margin: 0;
}

/* Awards Section */
.awards-section {
    padding: 150px 0;
}

.awards-grid {
    margin: 0;
}

.award-card {
    background: linear-gradient(135deg, #ffffff, #fafafa);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.award-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.1),
        rgba(250, 193, 46, 0.1)
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.award-card:hover::before {
    opacity: 1;
}

.award-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 50px rgba(239, 100, 76, 0.2);
    border-color: var(--primary-color);
}

.award-year {
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color), #ff7a65);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    transition: transform 0.3s ease;
}

.award-card:hover .award-year {
    transform: scale(1.1);
}

.award-icon {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    color: var(--primary-color);
    opacity: 0.4;
    z-index: 1;
    transition: all 0.5s ease;
}

.award-card:hover .award-icon {
    opacity: 1;
    transform: rotate(15deg) scale(1.2);
    color: var(--secondary-color);
}

.award-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.5;
    margin-top: 50px;
    text-align: left;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.award-card:hover .award-title {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer-card {
    min-height: 340px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.footer-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.footer-cta {
    padding: 60px;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

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

/* ============================================
   Page-Specific Enhancements 
   ============================================ */

/* Page Headers (About & Contact) */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header .hero-slide {
    position: relative;
    transition: transform 0.3s ease;
}

.page-header:hover .hero-slide {
    transform: scale(1.02);
}

.page-header .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(31, 31, 31, 0.85),
        rgba(239, 100, 76, 0.3)
    );
    transition: background 0.5s ease;
}

.page-header:hover .hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(31, 31, 31, 0.75),
        rgba(239, 100, 76, 0.4)
    );
}

.page-header .hero-title {
    position: relative;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 30px;
    display: inline-flex;
    animation: fadeInUp 1s ease;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
    display: inline-block;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "→";
}

/* Contact Page Enhancements */
.contact-form-wrapper {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(239, 100, 76, 0.1) !important;
}

.contact-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.02),
        rgba(250, 193, 46, 0.02)
    );
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-form-wrapper:hover::before {
    opacity: 1;
}

.contact-form-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(239, 100, 76, 0.15);
    border-color: rgba(239, 100, 76, 0.3) !important;
}

.contact-form-wrapper h4 {
    position: relative;
    z-index: 1;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.contact-form-wrapper h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 2px;
    animation: expandWidth 1.5s ease infinite;
}

@keyframes expandWidth {
    0%,
    100% {
        width: 60px;
    }
    50% {
        width: 80px;
    }
}

.contact-form-wrapper form {
    position: relative;
    z-index: 1;
}

/* Contact Info Boxes */
.contact-info-box {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 15px;
    position: relative;
}

.contact-info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.05),
        rgba(250, 193, 46, 0.05)
    );
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-box:hover::before {
    opacity: 1;
}

.contact-info-box:hover {
    transform: translateX(10px);
}

.contact-info-box h5 {
    position: relative;
    transition: color 0.3s ease;
}

.contact-info-box:hover h5 {
    color: var(--primary-color);
}

.contact-info-box a {
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-info-box a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

/* About Page - Timeline Cards */
.timeline-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
}

.timeline-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(239, 100, 76, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.timeline-card:hover::before {
    left: 100%;
}

.timeline-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 45px rgba(239, 100, 76, 0.15);
    border-color: var(--primary-color);
}

.timeline-card .timeline-period {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.timeline-card:hover .timeline-period {
    transform: scale(1.1);
    text-shadow: 0 2px 10px rgba(239, 100, 76, 0.3);
}

.timeline-card h4 {
    transition: color 0.3s ease;
}

.timeline-card:hover h4 {
    color: var(--primary-color);
}

.timeline-card p {
    position: relative;
    z-index: 1;
}

/* About Page - Team Cards */
.team-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    background: #ffffff;
    border: 2px solid transparent;
}

.team-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.05),
        rgba(250, 193, 46, 0.05)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-card:hover::before {
    opacity: 1;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(239, 100, 76, 0.2);
    border-color: var(--primary-color);
}

.team-card .team-image {
    position: relative;
    overflow: hidden;
}

.team-card .team-image img {
    transition: transform 0.5s ease;
    width: 100%;
    display: block;
}

.team-card:hover .team-image img {
    transform: scale(1.1) rotate(2deg);
}

.team-card .team-info {
    position: relative;
    z-index: 1;
    padding: 25px;
    transition: all 0.3s ease;
}

.team-card:hover .team-info {
    background: rgba(255, 255, 255, 0.95);
}

.team-card .team-info h5 {
    transition: color 0.3s ease;
    margin-bottom: 8px;
}

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

.team-card .team-info p {
    color: #666;
    transition: color 0.3s ease;
    margin: 0;
}

.team-card:hover .team-info p {
    color: var(--text-color);
}

.team-card .team-social {
    position: absolute;
    bottom: -50px;
    right: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.team-card:hover .team-social {
    bottom: 20px;
    opacity: 1;
}

.team-card .team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    margin-left: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-card .team-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) rotate(360deg);
}

/* Map Enhancement */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.map-container iframe {
    transition: filter 0.5s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) !important;
}

/* CTA Section Enhancement */
.cta-section {
    position: relative;
    padding: 80px 0;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(239, 100, 76, 0.02),
        rgba(250, 193, 46, 0.02)
    );
    z-index: 0;
}

.cta-section h2 {
    animation: fadeInLeft 0.8s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive Adjustments */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .hero-slide {
        height: 700px;
    }

    .hero-title {
        font-size: 60px;
    }

    .section-title {
        font-size: 60px;
    }

    .services-section,
    .about-video-section,
    .quote-section,
    .testimonials-section,
    .awards-section {
        padding: 120px 0;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .hero-slide {
        height: 600px;
    }

    .hero-title {
        font-size: 50px;
    }

    .section-title {
        font-size: 48px;
    }

    .services-section,
    .about-video-section,
    .quote-section,
    .testimonials-section,
    .awards-section {
        padding: 80px 0;
    }

    .stat-item,
    .service-item {
        border-right: none;
        border-bottom: 1px solid #ddd;
        margin-bottom: 30px;
    }

    .stat-item:last-child,
    .service-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .navbar-nav {
        background: rgba(31, 31, 31, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-slide {
        height: 500px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.2;
    }

    .hero-text {
        font-size: 14px;
    }

    .section-title {
        font-size: 38px;
    }

    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 28px;
    }
    h4 {
        font-size: 24px;
    }
    h5 {
        font-size: 20px;
    }

    .info-card {
        height: 250px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .divider-line {
        width: 150px;
    }

    .video-button,
    .carousel-control-prev,
    .carousel-control-next {
        bottom: 15px;
    }

    .video-icon,
    .video-play-btn {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }

    .service-description {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .service-item {
        padding: 30px 15px;
        margin-bottom: 20px;
    }

    .stat-item {
        padding: 40px 20px;
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-icon {
        font-size: 50px;
    }

    .award-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .award-title {
        font-size: 14px;
    }

    .quote-form-wrapper {
        padding: 30px 20px !important;
    }

    .footer-cta {
        padding: 40px 20px !important;
    }

    .footer-card {
        min-height: 250px;
        margin-bottom: 20px;
    }

    .text-stroke[style*="font-size"] {
        font-size: 9rem !important;
    }

    .marquee-content {
        font-size: 14px !important;
    }

    .marquee-content .mx-4 {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }

    /* Mobile overflow prevention */
    .page-header {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .page-header .hero-slide {
        min-height: 400px;
    }

    .contact-info-box,
    .timeline-card,
    .team-card {
        margin-bottom: 20px;
    }

    .map-container iframe {
        height: 350px;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-slide {
        height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    h1 {
        font-size: 32px;
    }
    h2 {
        font-size: 28px;
    }
    h3 {
        font-size: 24px;
    }
    h4 {
        font-size: 20px;
    }
    h5 {
        font-size: 18px;
    }

    .services-section,
    .about-video-section,
    .quote-section,
    .testimonials-section,
    .awards-section {
        padding: 60px 0;
    }

    .info-card {
        height: 200px;
        padding: 15px;
    }

    .service-item {
        padding: 20px 10px;
    }

    .stat-item {
        padding: 30px 15px;
    }

    .stat-number {
        font-size: 32px;
    }

    .stat-icon {
        font-size: 40px;
    }

    .award-card {
        padding: 15px 10px;
    }

    .award-title {
        font-size: 13px;
        margin-top: 30px;
    }

    .award-year {
        font-size: 16px;
    }

    .award-icon {
        font-size: 16px;
    }

    .quote-form-wrapper {
        padding: 20px 15px !important;
    }

    .btn-custom-primary {
        padding: 12px 30px;
        font-size: 12px;
    }

    .scroll-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    .navbar-brand img,
    .site-logo {
        height: 40px !important;
        max-width: 150px;
        width: auto;
    }

    .custom-navbar {
        padding: 15px 0;
    }

    .phone-number {
        display: none;
    }

    .marquee-content {
        font-size: 12px !important;
    }

    .marquee-content .mx-4 {
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d55540;
}

/* Bottom Section */
.bottom-section {
    min-height: 80px;
    display: flex;
    align-items: center;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 100, 76, 0.3);
}

.scroll-to-top-btn:hover {
    background-color: #d55540;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 100, 76, 0.4);
}

.scroll-to-top-btn:active {
    transform: translateY(-1px);
}

/* ============================================
   Additional Mobile Responsive Fixes
   ============================================ */

@media (max-width: 768px) {
    /* Force hide phone number on tablets and below */
    .phone-number {
        display: none !important;
    }

    /* Adjust button sizing */
    .btn-custom-primary {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Fix page header for mobile */
    .page-header .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .page-header h1.hero-title {
        font-size: 34px !important;
    }

    /* Contact page specific fixes */
    .contact-form-wrapper {
        margin-top: 30px;
    }

    .contact-info-box p {
        font-size: 15px;
    }

    /* About page specific fixes */
    .timeline-card h4 {
        font-size: 20px;
    }

    .team-card .team-info h5 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    /* Strict overflow prevention for small mobile */
    body,
    html {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Navigation adjustments */
    .navbar-brand img,
    .site-logo {
        height: 38px !important;
        max-width: 140px !important;
    }

    .custom-navbar {
        padding: 15px 0 !important;
    }

    .custom-navbar .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .navbar-toggler {
        padding: 5px 8px !important;
        font-size: 14px;
    }

    .navbar-collapse {
        padding: 15px !important;
        margin-top: 10px !important;
    }

    .main-menu .nav-link {
        padding: 8px 15px !important;
        font-size: 14px !important;
        margin: 3px 0 !important;
        background: transparent !important;
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .main-menu .nav-link.active {
        background: linear-gradient(
            135deg,
            var(--primary-color),
            #ff7a65
        ) !important;
        color: var(--white) !important;
        border-radius: 50px !important;
        padding: 10px 25px !important;
        margin: 8px auto 12px auto !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 180px;
        min-width: 100px;
        box-shadow: 0 4px 15px rgba(239, 100, 76, 0.4) !important;
    }

    .btn-custom-primary {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* Page header mobile optimization */
    .page-header {
        max-width: 100vw !important;
        overflow: hidden !important;
    }

    .page-header .hero-slide {
        min-height: 300px !important;
        background-position: center !important;
    }

    .page-header h1.hero-title {
        font-size: 26px !important;
        padding: 0 10px;
        line-height: 1.3;
    }

    .breadcrumb {
        padding: 5px 10px;
        font-size: 11px;
    }

    .breadcrumb-item {
        font-size: 11px;
    }

    /* Contact page mobile fixes */
    .contact-form-wrapper {
        padding: 15px !important;
        margin: 20px 0;
    }

    .contact-form-wrapper h4 {
        font-size: 18px;
    }

    .contact-info-box {
        padding: 12px;
        margin-bottom: 12px;
    }

    .contact-info-box h5 {
        font-size: 15px;
    }

    .contact-info-box p {
        font-size: 14px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    /* About page mobile fixes */
    .timeline-card {
        padding: 15px !important;
        margin-bottom: 15px;
    }

    .timeline-card .timeline-period {
        font-size: 14px !important;
    }

    .timeline-card h4 {
        font-size: 18px;
    }

    .timeline-card p {
        font-size: 14px;
    }

    .team-card {
        margin-bottom: 20px;
    }

    .team-card .team-info {
        padding: 10px !important;
    }

    .team-card .team-info h5 {
        font-size: 16px;
    }

    .team-card .team-info p {
        font-size: 13px;
    }

    /* Map mobile optimization */
    .map-container {
        margin: 0 !important;
        padding: 0 !important;
    }

    .map-container iframe {
        height: 250px !important;
        width: 100% !important;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 25px 0 !important;
    }

    .cta-section h2 {
        font-size: 22px !important;
        margin-bottom: 15px;
    }

    .cta-section .container {
        padding: 0 15px !important;
    }

    /* Footer mobile adjustments */
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }

    /* Ensure all sections respect viewport width */
    section {
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    [class*="col-"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Hide elements that might cause overflow */
    .hero-slide {
        transform: none !important;
    }

    /* Fix any fixed width elements */
    * {
        max-width: 100% !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }

    iframe {
        max-width: 100% !important;
    }
}
