/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #0C2C52; /* Dark Blue */
    --secondary-color: #B12027; /* Red */
    --dark-color: #1A1A1A;
    --light-color: #F5F5F5;
    --gray-color: #777777;
    --border-color: #E5E5E5;
    --success-color: #28A745;
    --white: #FFFFFF;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden; /* Prevent elements from causing horizontal scroll */
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(12, 44, 82, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    box-shadow: 0 6px 12px rgba(12, 44, 82, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 8px rgba(177, 32, 39, 0.2);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    box-shadow: 0 6px 12px rgba(177, 32, 39, 0.3);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* ===== HEADER STYLES ===== */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    max-width: 100%;
    overflow: hidden;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    overflow: hidden; /* Add overflow hidden to prevent scrollbar */
}

.logo {
    display: flex;
    align-items: center;
    overflow: hidden; /* Add overflow hidden to prevent scrollbar */
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    max-height: 60px; /* Ensure the image doesn't grow beyond its container */
}

nav {
    margin-left: auto;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--white);
}

nav ul li a.active {
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    margin-left: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    max-width: 100vw; /* Ensure it doesn't exceed viewport width */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden; /* Prevent video overflow */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
}

/* Desktop/Mobile video control */
.desktop-video {
    display: block;
}

.mobile-video {
    display: none;
}

/* Mobile devices only */
@media screen and (max-width: 767px) {
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-buttons-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 80px;
    display: flex;
    justify-content: center;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin: 0 auto;
}

.hero-buttons .btn {
    padding: 16px 36px;
    font-size: 1.2rem;
    min-width: 200px;
    transition: all 0.3s ease;
    border-width: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.hero-buttons .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.hero-buttons .btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.hero-buttons .btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease forwards;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(177, 32, 39, 0.3);
    z-index: -1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--white);
    opacity: 0.9;
    line-height: 1.6;
    max-width: 90%;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 120px 0; /* Increased padding for better spacing */
    background-color: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 44, 82, 0.03) 0%, rgba(12, 44, 82, 0.06) 100%);
    z-index: 0;
}

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

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

/* Large service cards grid */
.services-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Increased spacing between cards */
    margin-top: 60px;
}

/* New large card design */
.service-card-large {
    width: 100%;
    height: 520px; /* Increased height by approximately 60% */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    transition: all 0.4s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.service-card-large:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-image {
    width: 100%;
    height: 270px;
    position: relative;
    overflow: hidden;
}

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

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

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(12, 44, 82, 0.4), rgba(12, 44, 82, 0.7));
    z-index: 1;
}

.service-content {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-card-large h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.service-card-large h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.service-card-large p {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #B12027; /* As requested */
    color: var(--white);
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    align-self: flex-start;
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.2);
    border: 2px solid #B12027;
}

.service-btn:hover {
    background-color: transparent;
    color: #B12027;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(177, 32, 39, 0.3);
}

/* Responsive styles for service cards */
@media screen and (max-width: 992px) {
    .services-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-card-large {
        height: 480px;
    }
}

@media screen and (max-width: 768px) {
    .services-grid-large {
        grid-template-columns: 1fr;
    }
    
    .service-card-large {
        height: auto;
        max-height: 520px;
    }
    
    .service-image {
        height: 220px;
    }
}

@media screen and (max-width: 576px) {
    .services {
        padding: 80px 0;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-card-large h3 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    
    .service-card-large h3::after {
        width: 60px;
        height: 3px;
    }
    
    .service-card-large p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .service-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
    padding: 80px 0;
    background-color: #0C2C52;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before,
.why-choose-us::after {
    display: none;
}

.why-choose-us .section-title {
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
}

.why-choose-us .section-title::after {
    background-color: var(--secondary-color);
}

.choose-us-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.benefit-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
}

.benefit-card:hover,
.benefit-card.active {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.15);
    transform: translateX(10px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.2);
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.benefit-content p {
    color: var(--dark-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefit-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.benefit-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 5px solid #f5f5f5;
    transition: all 0.3s ease;
}

@media screen and (max-width: 992px) {
    .choose-us-content {
        flex-direction: column;
    }
    
    .benefit-cards {
        order: 2;
    }
    
    .benefit-image {
        order: 1;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 576px) {
    .benefit-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ===== EXPERIENCE SECTION ===== */
.experience-section {
    background-color: #B12027;
    color: #FFFFFF;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 25vh; /* Set to approximately 1/4 of viewport height */
    display: flex;
    align-items: center;
    max-width: 100%;
    overflow-x: hidden;
}

.experience-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #FFFFFF;
}

.experience-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

.stat-column {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.stat-column:hover {
    transform: translateY(-10px);
    filter: brightness(1.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
    color: #FFFFFF;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stat-suffix {
    font-size: 2rem;
    font-weight: 700;
    display: inline-block;
    color: #FFFFFF;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.stat-column:hover .stat-number,
.stat-column:hover .stat-suffix {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.stat-description {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.stat-column:hover .stat-description {
    letter-spacing: 1.5px;
}

.stat-value {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    .experience-section {
        padding: 40px 0;
    }
    
    .experience-stats {
        flex-direction: column;
    }
    
    .stat-column {
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-suffix {
        font-size: 1.8rem;
    }
    
    .stat-description {
        font-size: 1rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 44, 82, 0.03) 0%, rgba(12, 44, 82, 0.06) 100%);
    z-index: 0;
}

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
    height: 350px; /* Increased height to accommodate for rotation */
    margin-bottom: 30px;
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Changed from hidden to visible to show edges */
    padding: 40px; /* Added padding to ensure visibility during transformations */
}

.testimonial {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(12, 44, 82, 0.1);
    position: relative;
    border-left: 4px solid var(--secondary-color);
    max-width: 100%;
    box-sizing: border-box;
    transform-origin: center center; /* Ensure transformations happen from the center */
}

.testimonial::after {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(12, 44, 82, 0.05);
    z-index: 0;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn, .next-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(12, 44, 82, 0.2);
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 44, 82, 0.3);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D9D9D9;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background-color: var(--secondary-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #051a33 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/pattern.png');
    opacity: 0.05;
    z-index: 1;
}

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

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

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

.cta-section .btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(177, 32, 39, 0.3);
}

.cta-section .btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    box-shadow: 0 6px 12px rgba(177, 32, 39, 0.4);
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4);
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary-color);
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-height: 70px;
    width: auto;
    margin-bottom: 15px;
    background-color: #0C2C52;
    padding: 0;
    border-radius: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--white);
    opacity: 0.8;
}

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

.footer-links li a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.contact-info-item {
    transition: transform 0.3s ease;
}

.contact-info-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-text {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.5;
    font-weight: 500;
}

.directions-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
}

.directions-btn i {
    margin-right: 8px;
}

.directions-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.2);
}

/* ===== MOBILE MENU STYLES ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--secondary-color);
}

.mobile-menu::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 30px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: -1;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu nav {
    display: block;
    width: 100%;
}

.mobile-menu nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: flex;
}

.mobile-menu nav ul li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
}

.mobile-menu nav ul li a {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    padding: 10px 0;
    display: block;
    position: relative;
    text-align: center;
}

.mobile-menu nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.mobile-menu nav ul li a:hover::after,
.mobile-menu nav ul li a.active::after {
    width: 50px;
}

.mobile-menu nav ul li a.active {
    font-weight: 700;
}

.mobile-menu .cta-buttons {
    display: none;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-menu-close:hover {
    color: var(--secondary-color);
    transform: rotate(90deg);
}

body.menu-open {
    overflow: hidden;
}

/* Additional animations for mobile menu items */
.mobile-menu nav ul li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInDown 0.4s forwards;
}

.mobile-menu nav ul li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu nav ul li:nth-child(2) { animation-delay: 0.2s; }
.mobile-menu nav ul li:nth-child(3) { animation-delay: 0.3s; }
.mobile-menu nav ul li:nth-child(4) { animation-delay: 0.4s; }
.mobile-menu nav ul li:nth-child(5) { animation-delay: 0.5s; }
.mobile-menu nav ul li:nth-child(6) { animation-delay: 0.6s; }

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

/* ===== RESPONSIVE STYLES ===== */
@media screen and (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }
}

@media screen and (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    /* Fix mobile menu display - only show on mobile devices */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        padding: 10px 20px;
        margin: 0 auto;
    }
    
    .hero-buttons-container {
        width: 100%;
        padding-bottom: 50px;
    }
    
    .testimonial-slider {
        padding: 0 10px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    /* Remove duplicate mobile menu toggle rule - it's already handled in the 992px media query */
    /* .mobile-menu-toggle {
        display: block;
    } */
    
    /* nav {
        display: none;
    } */
}

@media screen and (max-width: 576px) {
    .hero {
        padding-top: 80px;
        height: auto;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .hero-buttons .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .highlight::after {
        height: 8px;
        bottom: 2px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Initial state for service cards before animation */
.service-card-large {
    opacity: 0;
    transform: translateY(30px);
}

.service-card-large.fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

.slide-in-left {
    animation: slideInFromLeft 1s ease forwards;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInFromRight 1s ease forwards;
}

/* ===== RESPONSIVE STYLES FOR HERO ===== */
@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 90%;
        max-width: 300px;
    }
    
    .hero-buttons-container {
        padding-bottom: 60px;
    }
}

/* Video play button (shown if autoplay is prevented) */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(177, 32, 39, 0.8);
    border: none;
    color: white;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

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

/* ===== CUSTOM FREIGHT QUOTE SECTION ===== */
.custom-quote-section {
    padding: 80px 0;
    background-color: #0C2C52;
    position: relative;
}

.custom-quote-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
}

.map-container {
    flex: 1;
    height: 600px;
    position: relative;
}

.form-container {
    flex: 1;
    padding: 40px;
    background-color: var(--white);
    position: relative;
}

/* New styles for the updated layout */
.custom-quote-section .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-bottom: 30px;
}

.map-section {
    padding: 30px 0;
}

.map-section .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
}

.map-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
}

.map-section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

.map-section .map-container {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.quote-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.quote-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

.quote-description {
    color: var(--gray-color);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.custom-quote-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.form-field {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-field.half {
    flex: 0.5;
}

.form-field label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: var(--dark-color);
}

.form-field input:focus,
.form-field select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(12, 44, 82, 0.1);
    background-color: var(--white);
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2C52' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

.shipping-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

.mode-option {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.mode-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.mode-option label {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--dark-color);
}

.mode-option input[type="checkbox"]:checked + label {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.mode-option input[type="checkbox"]:focus + label {
    box-shadow: 0 0 0 2px rgba(12, 44, 82, 0.2);
}

.mode-option label:hover {
    background-color: #e9e9e9;
}

.mode-option input[type="checkbox"]:checked + label:hover {
    background-color: var(--primary-color);
    opacity: 0.9;
}

.consent-field {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.consent-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.consent-field label {
    font-size: 0.85rem;
    color: var(--dark-color);
    line-height: 1.4;
    font-weight: normal;
    margin-bottom: 0;
}

.quote-submit-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    width: 100%;
    align-self: center;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.2);
}

.quote-submit-btn:hover {
    background-color: #940d14;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(177, 32, 39, 0.3);
}

/* Responsive styles for the custom quote section */
@media screen and (max-width: 992px) {
    .custom-quote-container {
        flex-direction: column;
    }
    
    .map-container {
        height: 300px;
    }
    
    .form-container {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .custom-quote-section {
        padding: 60px 0;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-field.half {
        flex: 1;
    }
    
    .shipping-modes {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .mode-option {
        width: 100%;
    }
    
    .mode-option label {
        width: 100%;
        text-align: center;
    }
    
    .quote-title {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 576px) {
    .custom-quote-section {
        padding: 40px 0;
    }
    
    .map-container {
        height: 300px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .quote-title {
        font-size: 1.5rem;
    }
    
    .quote-description {
        font-size: 0.9rem;
    }
    
    .quote-submit-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .custom-quote-section .container,
    .map-section .container {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .map-section h3 {
        font-size: 1.5rem;
    }
    
    .map-section .map-container {
        height: 250px;
    }
}

/* ===== NEW LOCATION SECTION ===== */
.location-section {
    width: 100%;
    position: relative;
    background-color: #0C2C52;
    overflow: hidden;
}

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

.map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    margin: 0 auto;
}

.map-area {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    filter: grayscale(15%);
    transition: filter 0.4s ease;
}

.map-area:hover {
    filter: grayscale(0%);
}

.map-area iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.contact-card {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
    z-index: 10;
    width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-card:hover {
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-card-inner {
    padding: 40px;
}

.contact-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.contact-info-item.hover {
    transform: translateX(5px);
}

.contact-info-item:hover i {
    transform: scale(1.2);
    color: var(--primary-color);
}

.contact-info-item i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.info-text {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.5;
    font-weight: 500;
}

.directions-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
}

.directions-btn i {
    margin-right: 8px;
}

.directions-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.2);
}

/* Responsive styles for the location section */
@media screen and (max-width: 1200px) {
    .contact-card {
        right: 5%;
        width: 350px;
    }
}

@media screen and (max-width: 992px) {
    .map-wrapper {
        height: 500px;
    }
    
    .contact-card {
        width: 320px;
    }
    
    .contact-card-inner {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .map-wrapper {
        flex-direction: column;
        height: auto;
    }
    
    .map-area {
        height: 400px;
    }
    
    .contact-card {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: -50px auto 50px;
        z-index: 20;
    }
    
    .contact-card:hover {
        transform: translateY(-5px);
    }
}

@media screen and (max-width: 576px) {
    .map-area {
        height: 300px;
    }
    
    .contact-card-inner {
        padding: 25px;
    }
    
    .contact-card h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .contact-info-item {
        margin-bottom: 15px;
    }
    
    .directions-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== CAREERS SECTION ===== */
.careers-section {
    padding: 40px 0;
    background-color: #FFFFFF;
}

.careers-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
}

.careers-image {
    flex: 1;
    max-width: 50%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.careers-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

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

.careers-card {
    flex: 1;
    max-width: 50%;
    padding: 30px;
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    box-sizing: border-box;
}

.careers-card h2 {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.careers-card p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #333333;
    font-weight: 400;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.careers-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFFFFF;
    color: #0C2C52;
    border: 2px solid #0C2C52;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    align-self: center;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.careers-btn:hover {
    background-color: #F5F5F5;
}

/* Media Queries for Careers Section */
@media screen and (max-width: 992px) {
    .careers-content {
        flex-direction: column;
    }
    
    .careers-image, .careers-card {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .careers-image {
        max-height: 400px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 576px) {
    .careers-card {
        padding: 20px;
    }
    
    .careers-card h2 {
        font-size: 30px;
    }
    
    .careers-card p {
        font-size: 14px;
    }
}

.form-field.focused label {
    color: var(--secondary-color);
}

.form-field input.error,
.form-field select.error {
    border-color: #d32f2f;
    background-color: rgba(211, 47, 47, 0.05);
}

.success-message {
    text-align: center;
    padding: 30px;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.success-message p {
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FREIGHT QUOTE SECTION ===== */
.freight-quote-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--white) 100%);
    text-align: center;
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    z-index: 2;
    border-top: 4px solid var(--secondary-color);
}

.freight-quote-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.freight-quote-section p {
    color: var(--dark-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.quote-form {
    padding-top: 20px;
}

.form-fields {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    color: var(--dark-color);
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(12, 44, 82, 0.1);
    outline: none;
    background-color: #FFFFFF;
}

.form-group input::placeholder {
    color: #777777;
    opacity: 0.8;
}

.quote-btn {
    background-color: var(--secondary-color);
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: auto;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(177, 32, 39, 0.2);
}

.quote-btn:hover {
    background-color: #940d14;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.3);
}

/* Responsive styles for the quote form */
@media screen and (max-width: 992px) {
    .freight-quote-section {
        padding: 50px 20px;
    }
    
    .quote-container {
        max-width: 90%;
        padding: 30px;
    }
    
    .freight-quote-section h2 {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .form-fields {
        flex-direction: column;
        gap: 15px;
    }
    
    .freight-quote-section h2 {
        font-size: 1.8rem;
    }
    
    .freight-quote-section p {
        font-size: 1rem;
    }
    
    .quote-btn {
        width: 100%;
        max-width: 300px;
        margin-top: 10px;
    }
}

@media screen and (max-width: 576px) {
    .freight-quote-section {
        padding: 40px 15px;
    }
    
    .quote-container {
        padding: 25px 20px;
    }
    
    .freight-quote-section h2 {
        font-size: 1.5rem;
    }
}

/* Form Section Header */
.form-section-header {
    background-color: #0C2C52;
    color: white;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.form-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.form-section-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

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

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

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

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

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--white);
    opacity: 0.8;
}

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

.footer-column p {
    margin-bottom: 20px;
    color: var(--white);
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(12, 44, 82, 0.97);
    color: white;
    padding: 12px 15px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cookie-icon {
    font-size: 22px;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.cookie-text p {
    margin: 0 0 10px;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 5px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background-color: var(--secondary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #dd2a36;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(177, 32, 39, 0.3);
}

.cookie-btn-necessary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-necessary:hover {
    border-color: white;
    transform: translateY(-2px);
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-link:hover {
    color: white;
}

@media screen and (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cookie-icon {
        margin-bottom: 5px;
    }
    
    .cookie-buttons {
        flex-direction: row;
        width: 100%;
        margin-top: 10px;
    }
    
    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* Fix for sections that might overflow */
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ensure full width sections don't overflow */
.experience-section,
.freight-quote-section,
.testimonials,
.why-choose-us,
.careers-section,
.map-section,
.cta-section,
footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Additional fixes for components that might cause overflow */
.testimonial-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.testimonial {
    max-width: 100%;
    box-sizing: border-box;
}

/* Fix for card layouts */
.service-card-large, 
.benefit-card,
.stat-column,
.careers-card,
.careers-image,
.form-container,
.map-container,
.contact-card {
    max-width: 100%;
    box-sizing: border-box;
}

/* Additional viewport fix */
@media screen and (max-width: 992px) {
    html, body {
        width: 100%;
        overflow-x: hidden;
        position: relative;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .services-grid,
    .services-grid-large,
    .benefit-cards,
    .experience-stats,
    .footer-columns {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }
}

/* Responsive styles for testimonials */
@media screen and (max-width: 992px) {
    .testimonial-slider {
        max-width: 90%;
        padding: 30px; /* Slightly reduced padding for medium screens */
    }
    
    .testimonial {
        padding: 25px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .testimonial-slider {
        max-width: 100%;
        padding: 20px 0;
        height: auto;
        margin-bottom: 20px;
    }
    
    .testimonial {
        padding: 20px;
        margin: 0 auto;
        width: 90%;
        box-shadow: 0 8px 16px rgba(12, 44, 82, 0.1);
    }
    
    .testimonial-author img {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

@media screen and (max-width: 576px) {
    .testimonial-slider {
        padding: 10px 0;
    }
    
    .testimonial {
        padding: 15px;
        width: 95%;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Form field focus and error states */
.form-field.field-focus {
    transition: all 0.3s ease;
}

.form-field.field-focus label {
    color: var(--primary-color);
    font-weight: 600;
}

.form-field input.error,
.form-field select.error {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

/* Button processing and success states */
.quote-submit-btn.processing {
    position: relative;
    background-image: linear-gradient(to right, var(--secondary-color), #d42731);
}

.quote-submit-btn.processing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

.quote-submit-btn.success {
    background-color: #28A745 !important;
    background-image: none;
}

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

/* Mobile specific form styles */
@media (max-width: 767px) {
    .form-field {
        position: relative;
    }
    
    .form-field label {
        transition: all 0.3s ease;
    }
    
    .form-field.field-focus input,
    .form-field.field-focus select {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(12, 44, 82, 0.1);
    }
    
    /* Make the form more touch-friendly */
    .form-row {
        margin-bottom: 20px;
    }
    
    /* Style for checkbox/radio touch areas */
    .mode-option label {
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Phone number link styling */
.info-text a,
.contact-info li a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

/* Subtle underline effect on hover */
.info-text a::after,
.contact-info li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.info-text a:hover::after,
.contact-info li a:hover::after {
    width: 100%;
}

/* Mobile-specific enhancements */
@media (max-width: 767px) {
    .info-text a,
    .contact-info li a {
        padding: 4px 0;
        display: inline-block;
    }
} 