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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Sofia Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Reveal Animation */
.sr {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    filter: blur(2px);
    transition: transform 600ms cubic-bezier(.2,.8,.2,1), opacity 600ms cubic-bezier(.2,.8,.2,1), filter 600ms cubic-bezier(.2,.8,.2,1);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    perspective: 1000px;
}

.sr-show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
    transition-delay: var(--sr-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
    .sr,
    .sr-show {
        transition: none !important;
        transform: none !important;
        filter: none !important;
        opacity: 1 !important;
    }
}

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

body {
    overflow-x: hidden !important;
    margin-bottom: 0 !important;
}

/* Header */
/*header {
    position: absolute;
    width: 100%;
    top: 20px;
    z-index: 1000;
}*/

nav {
    background: rgba(15, 36, 25, 0.5);
    backdrop-filter: blur(5px);
    margin: 0;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem 0.8rem 2rem;
    padding-right: 4rem;
    position: relative;
    z-index: 10005;
    width: 100%;
}

.logo {
    font-size: 1.625rem;
    font-weight: 800;
    display: flex;
    gap: 4px;
}

.logo .track {
    color: #1a4d2e;
}

.logo .guard {
    color: #F99527;
}

.logo .africa {
    color: #1a4d2e;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.563rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.313rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #F99527;
}

.cta-button {
    background: #f6941e;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button::after {
    content: "→";
    font-size: 1.2em;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10003;
    transition: transform 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 30px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 30px;
}

/* Mobile CTA (hidden on desktop) */
.mobile-cta-wrapper {
    display: none;
}

/* Menu overlay - hidden on desktop */
.menu-overlay {
    display: none;
}

/* Stats Section */
.stats-section {
    background: #1A4D2E;
    margin-top: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    border-right: 2px solid #F99527;
    border-left: 2px solid #F99527;
}

.stat-item:first-child {
}

.stat-icon {
   margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F99527;
    margin-bottom: 0.5rem;
    line-height: 130%;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 130%;
}

/* Hero Section */
.hero {
    background-image: url('hero-img.png');
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center;
    height: 95vh;
    padding-top: 20px;
    animation: backgroundZoom 20s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-img2.png');
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    animation: backgroundTransition 20s ease-in-out infinite, backgroundZoom2 20s ease-in-out infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('hero-img3.png');
    background-size: 120%;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    animation: backgroundTransition3 20s ease-in-out infinite, backgroundZoom3 20s ease-in-out infinite;
    z-index: 0;
}

@keyframes backgroundZoom {
    0% {
        background-size: 120%;
    }
    50% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

@keyframes backgroundZoom2 {
    0% {
        background-size: 120%;
    }
    50% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

@keyframes backgroundZoom3 {
    0% {
        background-size: 120%;
    }
    50% {
        background-size: 100%;
    }
    100% {
        background-size: 120%;
    }
}

@keyframes backgroundTransition {
    0% {
        opacity: 0;
    }
    25% {
        opacity: 0;
    }
    33% {
        opacity: 1;
    }
    66% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes backgroundTransition3 {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    66% {
        opacity: 1;
    }
    83% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.nav-container {
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 140px;
}

.hero-box {
    background: #1A4D2E;
    padding: 2.188rem;
    max-width: 60%;
    border-radius: 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 110%;
    margin-bottom: 0.8rem;
}

.hero h1 .secure-cargo {
    color: #f6941e;
}

.hero h1 .west-africa {
    color: white;
}

.hero p {
    color: white;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 1.6rem;
    line-height: 130%;
}

.hero-cta {
    background: #fff;
    color: #0F2419;
    padding: 0.938rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 130%;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
    position: relative;
    overflow: visible;
}

.hero-cta.nav-btn {
    background: #F99527;
    color: #0F2419;
    padding: 0.844rem 1.315rem;
    font-size: 1.188rem;
}

/* Hide on desktop only */
@media (min-width: 1025px) {
    .mobile-hide {
        display: none !important;
    }
}


.hero-cta .btn-text {
    flex: 1;
    text-align: left;
}

.hero-cta .btn-arrow {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-cta .btn-arrow svg {
}

.hero-cta:hover {
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    background: #ffffff;
    padding: 4rem 0;
    padding-bottom: 10rem;
}

.services-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #1A4D2E;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    row-gap: 5rem;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: visible; /* Change from hidden to visible to allow content to extend outside */
    transition: transform 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-card:first-child {
    background-image: url('security-img.png');
    background-size: cover;
    background-position: center;
}

.service-card:nth-child(2) {
    background-image: url('realtime-img.png');
    background-size: cover;
    background-position: center;
}

.service-card:nth-child(3){
    background-image: url('insurance-img.png');
    background-size: cover;
    background-position: center;
}

.service-card:nth-child(4) {
    background-image: url('management-img.png');
    background-size: cover;
    background-position: center;
}

.service-card:nth-child(5) {
    background-image: url('risk-img.png');
    background-size: cover;
    background-position: center;
}

.service-card:nth-child(6) {
    background-image: url('control-img.png');
    background-size: cover;
    background-position: center;
}

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

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

.service-content {
    padding: 2rem;
    background: rgb(255, 255, 255);
    border-radius: 20px;
    position: relative;
    margin-bottom: -50px;
    box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.2);
    z-index: 10; /* Add higher z-index to ensure content stays visible */
}

.service-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F2419;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 110%;
}

.service-description {
    color: #153924;
    font-size: 1.125rem;
    line-height: 130%;
    margin-bottom: 2rem;
    font-weight: 600;
}

.service-cta {
    background: #1A4D2E;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: visible;
}

.service-cta:hover {
    transform: translateY(-2px);
    background-color: #0F2419;
}

.service-cta .btn-text {
    flex: 1;
    text-align: left;
}

.service-cta .btn-arrow {
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.service-cta .btn-arrow img {
}

/* Insurance Section */
.insurance-section {
    background-image: url('trust-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 4.375rem 0;
    overflow: hidden;
}


.insurance-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 0rem;
}

.insurance-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 110%;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.insurance-highlight {
    color: white;
    display: block;
}

.insurance-main {
    color: white;
    display: block;
}

.insurance-description {
    color: white;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 125%;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.insurance-cta {
    background: #F99527;
    color: #0F2419;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 130%;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: visible;
}

.insurance-cta:hover {
    transform: translateY(-2px);
    background-color: #f6941e;
}

.insurance-cta .btn-text {
    flex: 1;
    text-align: center;
}

.insurance-cta .btn-arrow {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.insurance-cta .btn-arrow img {
    
}

/* Why Choose Section */
.why-choose-section {
    background: #ffffff;
    padding: 6rem 0;
}

.why-choose-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #0F2419;
    margin-bottom: 6.5rem;
    text-transform: uppercase;
    width: 561px;
    margin-left: auto;
    margin-right: auto;
    line-height: 110%;
}

.features-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.7rem;
    position: relative;
    width: 100%;
    padding: 0 5rem;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-arrow:hover {
    transform: scale(1.1);
}

.nav-arrow-left {
    background: rgba(245, 245, 245, 0.6);
    margin-right: 0rem;
}

.nav-arrow-left img {
    transform: rotate(180deg);
}

.nav-arrow-right {
    background: #1A4D2E;
    margin-left: 0rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-card {
    background: #faf9f6;
    border: 1px solid #075726;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    padding-bottom: 2.1rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -102px auto 1rem auto;
    position: relative;
    z-index: 10;
}

.feature-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: #153924;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
    line-height: 110%;
}

.feature-description {
    color: #153924;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 130%;
}

.why-choose-cta {
    background: #F99527;
    color: #0F2419;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25rem;
    line-height: 130%;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: visible;
    margin: 0 auto;
}

.why-choose-cta:hover {
    transform: translateY(-2px);
    background-color: #f6941e;
}

.why-choose-cta .btn-text {
    flex: 1;
    text-align: center;
}

.why-choose-cta .btn-arrow {
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.why-choose-cta .btn-arrow img {
}

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

/* Quote Section */
.quote-section {
    padding: 0rem 0 13rem 0;
}

.quote-main-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    color: #0F2419;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quote-content {
    display: flex;
    flex-direction: row;
    gap: 0;
    max-width: 1185px;
    margin: 0 auto;
}

.quote-form-wrapper {
    background: #1A4D2E;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    width: 50%;
    z-index: 10;
    position: relative;
    right: -2rem;
    top: 5rem;
}

.quote-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    background: #faf9f6;
    border: none;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    font-family: 'Sofia Sans', sans-serif;
    font-size: 1.188rem;
    font-weight: 700;
    color: #0F2419;
    line-height: 130%;
}

.quote-form textarea {
    border-radius: 20px;
    resize: vertical;
    padding: 1.25rem 1.5rem;
}

.quote-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230F2419' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #0F2419;
    opacity: 1;
}

.quote-submit-btn {
    background: #F99527;
    color: #0F2419;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-family: 'Sofia Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: visible;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 1rem;
}

.quote-submit-btn:hover {
    transform: translateY(-2px);
    background-color: #f6941e;
}

.quote-submit-btn .btn-text {
    flex: 1;
    text-align: left;
}

.quote-submit-btn .btn-arrow {
    position: absolute;
    right: -38px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.quote-submit-btn .btn-arrow img {
}

.quote-image {
    background-image: url('quote-img.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 500px;
    width: 50%;
}

/* Footer */
.footer {
    background: #faf9f6;
    padding: 3.5rem 0 2rem 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact {
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
}

.contact-text {
    color: #1A4D2E;
    font-size: 1.188rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: #1A4D2E;
    text-decoration: none;
    font-size: 1.188rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-nav a:hover {
    color: #F99527;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
    margin-bottom: 1rem;
}

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

.copyright {
    color: #1A4D2E;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: #1A4D2E;
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: #F99527;
}

/* Tablet Responsive Styles */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Full page overlay for tablet */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 10000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav {
        padding: 0.8rem 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 420px;
        height: 100vh;
        background: rgba(26, 77, 46, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        transform: translate3d(calc(100% + 20px), 0, 0); /* overshoot to avoid subpixel sliver */
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
        backface-visibility: hidden;
        will-change: transform;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 10002;
        padding: 0;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li:first-child {
        margin-top: 80px;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 2rem;
    }
    
    .nav-links a {
        font-size: 1.4rem;
        padding: 1.5rem 2rem;
        display: block;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 700;
        text-transform: uppercase;
    }
    
    .nav-links a:hover {
        background: rgba(249, 149, 39, 0.1);
        color: #F99527;
    }
    
    .mobile-cta-wrapper {
        display: block;
        margin-top: 1rem;
        width: 100%;
        padding: 0 2rem;
    }
    
    .mobile-cta {
        background: #F99527;
        color: #0F2419;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 1.2rem !important;
        display: block;
        text-align: center;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-cta:hover {
        background-color: #f6941e;
        transform: translateY(-2px);
    }
    
    .hero-cta.nav-btn {
        display: none;
    }
    
    .hero-cta.nav-btn.mobile-menu-btn {
        display: inline-flex;
    }

    /* Hero tablet adjustments */
    .hero {
        height: 75vh;
        background-size: cover !important;
        animation: none;
    }

    .hero::before {
        background-size: cover !important;
        animation: backgroundTransition 20s ease-in-out infinite;
    }

    .hero::after {
        background-size: cover !important;
        animation: backgroundTransition3 20s ease-in-out infinite;
    }

    .hero-content {
        margin-top: 80px;
    }

    .hero-box {
        max-width: 75%;
        padding: 2.2rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 18px;
    }

    /* Stats section - 2 per row on tablets */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 1.8rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }

    /* Services section - 2 per row on tablets */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-title {
        font-size: 2.5rem;
    }

    /* Footer - tablet layout */
    .footer-top {
        gap: 1.5rem;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-contact {
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    /* Fix text overflow in footer for tablets */
    .contact-text,
    .footer-nav a,
    .copyright,
    .legal-link {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Quote section - show image on tablets */
    .quote-image {
        min-height: 400px;
        width: 100%;
    }
    
    /* Container width for tablets */
    .container {
        max-width: 85%;
    }

}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    /* Full page overlay for mobile */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 10000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    .hamburger {
        display: flex;
    }
    
    nav {
        padding: 0.8rem 1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 340px;
        height: 100vh;
        background: rgba(26, 77, 46, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        transform: translate3d(calc(100% + 20px), 0, 0); /* overshoot */
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
        backface-visibility: hidden;
        will-change: transform;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 10002;
        padding: 0;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links li:first-child {
        margin-top: 80px;
    }
    
    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 2rem;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        padding: 1.5rem 2rem;
        display: block;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 700;
        text-transform: uppercase;
    }
    
    .nav-links a:hover {
        background: rgba(249, 149, 39, 0.1);
        color: #F99527;
    }
    
    .mobile-cta-wrapper {
        display: block;
        margin-top: 1rem;
        width: 100%;
        padding: 0 2rem;
    }
    
    .mobile-cta {
        background: #F99527;
        color: #0F2419;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-weight: 800;
        text-transform: uppercase;
        font-size: 1.1rem !important;
        display: block;
        text-align: center;
        transition: all 0.3s ease;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mobile-cta:hover {
        background-color: #f6941e;
        transform: translateY(-2px);
    }
    
    .hero-cta.nav-btn {
        display: none;
    }
    
    .hero-cta.nav-btn.mobile-menu-btn {
        display: inline-flex;
    }

    /* Hero mobile adjustments */
    .hero {
        height: 65vh;
        background-size: cover !important;
        animation: none;
    }

    .hero::before {
        background-size: cover !important;
        animation: backgroundTransition 20s ease-in-out infinite;
    }

    .hero::after {
        background-size: cover !important;
        animation: backgroundTransition3 20s ease-in-out infinite;
    }

    .hero-content {
        margin-top: 50px;
    }

    .hero-box {
        max-width: 95%;
        padding: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 16px;
    }

    /* Stats section - 2 per row on mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        padding: 1.3rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Services section - 1 per row on mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .services-title {
        font-size: 2rem;
    }
    
    /* Reduce services section bottom padding on mobile */
    .services-section {
        padding-bottom: 8rem;
    }

    /* Footer - mobile layout */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-contact {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .legal-link {
        font-size: 0.95rem;
    }
    
    /* Fix text overflow in footer */
    .contact-text,
    .footer-nav a,
    .copyright,
    .legal-link {
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .service-content {
        padding: 1.5rem;
    }

    .insurance-section {
        padding: 4rem 0;
    }

    .insurance-title {
        font-size: 2.5rem;
    }

    .insurance-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .insurance-cta {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }

    .why-choose-section {
        padding: 2.5rem 0 4rem 0;
    }

    .why-choose-title {
        font-size: 2rem;
        margin-bottom: 5.5rem;
        width: 100%;
    }

    .features-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    .nav-arrow {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 5.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .why-choose-cta {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }

    .quote-main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .quote-content {
        display: flex;
        flex-direction: column;
    }

    .quote-form-wrapper {
        padding: 2rem 2rem 2.5rem 2rem;
    }
    
    .quote-form {
        gap: 0.875rem;
    }

    .quote-form-title {
        font-size: 1.5rem;
    }

    .quote-image {
        min-height: 450px;
        width: 100%;
        order: -1;
    }

    .quote-submit-btn {
        justify-content: center;
    }

    .quote-submit-btn .btn-text {
        text-align: center;
    }
    
    /* Container width for mobile */
    .container {
        max-width: 95%;
    }
    
    .quote-form-wrapper {
        background: #1A4D2E;
        padding: 1rem 1rem 2rem 1rem;
        display: flex;
        margin: -15rem auto 0 auto;
        width: 90%;
        z-index: 10;
        position: relative;
        right: 0rem;
        top: 0rem;
    }
    
    .quote-form {
        gap: 0.75rem;
    }
    
    /* Reduce quote section bottom padding on mobile */
    .quote-section {
        padding: 0rem 0 3rem 0;
    }
}