/*#region General Styling */

/* Fonts */
:root {
    --heading-font: "Orbitron", sans-serif;
    --default-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --nav-font: "Orbitron", sans-serif;
    /*    --default-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Nunito", sans-serif;
    --nav-font: "Ubuntu", sans-serif;*/
}
/* Color Variables */
:root {
    --background-color: #E6E7E8;
    --default-color: #333333;
    --heading-color: #1A1A1A;
    --accent-color: #ED1D24;
    --surface-color: #FFFFFF;
    --contrast-color: #FFFFFF;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

.light-background {
    --background-color: #F5F5F5;
    --surface-color: #FFFFFF;
    --default-color: #333333;
}

.dark-background {
    --background-color: #1A1A1A;
    --surface-color: #2D2D2D;
    --default-color: #CCCCCC;
    --heading-color: #FFFFFF;
    --contrast-color: #FFFFFF;
}

:root {
    scroll-behavior: smooth;
}
/* Text Gradient Shift */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

body {
    font-family: var(--default-font);
    color: var(--default-color);
    background-color: var(--background-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 20%);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

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

    a:hover {
        color: #ff5252;
    }

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section {
    padding: 100px 0;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
}

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

    .section-header .section-tag {
        display: inline-block;
        color: var(--accent-color);
        font-family: var(--heading-font);
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 15px;
        padding: 8px 20px;
        background: rgba(237, 29, 36, 0.1);
        border-radius: 20px;
    }

    .section-header h2 {
        font-size: 42px;
        margin-bottom: 20px;
        font-weight: 900;
        text-shadow: 0 2px 8px rgba(237, 29, 36, 0.3);
        background: linear-gradient(135deg, var(--accent-color), #1A0B0B);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: fadeIn 1s ease-out 0.5s both, gradientShift 8s ease infinite;
        background-size: 200% 200%;
    }

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 32px;
    }
}

.section-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--default-color);
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    color: var(--contrast-color);
    box-shadow: 0 4px 15px rgba(237, 29, 36, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(237, 29, 36, 0.4);
        color: var(--contrast-color);
    }

.btn-secondary {
    background: transparent;
    color: var(--heading-color);
    border: 2px solid var(--accent-color);
}

    .btn-secondary:hover {
        background: var(--accent-color);
        color: var(--contrast-color);
        transform: translateY(-2px);
    }
/*#endregion */

/*#region Hero 2 */
.hero-2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0 40px;
    position: relative;
    overflow: hidden;
}

    .hero-2::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(237, 29, 36, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(237, 29, 36, 0.05) 0%, transparent 50%), linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
        pointer-events: none;
    }

    .hero-2 .container {
        position: relative;
        z-index: 2;
        height: 100%;
    }

.product-hero-carousel {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 180px);
}

.swiper-wrapper {
    height: 100% !important;
    align-items: center;
}

.swiper-slide {
    height: 100% !important;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    width: 100%;
    padding: 20px 0;
}

.row.g-0.align-items-center {
    min-height: 500px;
}

@media (max-width: 992px) {
    .hero-2 {
        padding: 20px 0 40px;
    }

    .row.g-0.align-items-center {
        min-height: auto;
    }

    .order-lg-2 {
        margin-bottom: 40px;
    }
}


.hero-text-content {
    padding-right: 40px;
}

@media (max-width: 992px) {
    .hero-text-content {
        padding-right: 0;
        text-align: center;
    }
}

.category-label {
    display: inline-block;
    background: rgba(237, 29, 36, 0.15);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border: 1px solid rgba(237, 29, 36, 0.3);
    backdrop-filter: blur(5px);
}

.display-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--heading-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

    .display-title .accent-text {
        background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
    }

@media (max-width: 1200px) {
    .display-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .display-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .display-title {
        font-size: 32px;
    }
}

.hero-description {
    font-size: 18px;
    color: var(--default-color);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
    text-align: center; /* Add this line */
    margin-left: auto; /* Add this if not already present */
    margin-right: auto; /* Add this if not already present */
}

@media (max-width: 992px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.action-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .action-buttons {
        justify-content: center;
    }
}

.btn-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    color: var(--contrast-color);
    border-radius: 4px;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(237, 29, 36, 0.3);
    text-decoration: none;
}

    .btn-primary-action:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(237, 29, 36, 0.4);
        color: var(--contrast-color);
    }

.btn-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: transparent;
    color: var(--heading-color);
    border-radius: 4px;
    font-family: var(--heading-font);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    gap: 10px;
}

    .btn-secondary-action:hover {
        background: var(--accent-color);
        color: var(--contrast-color);
        transform: translateY(-3px);
    }

    .btn-secondary-action i {
        font-size: 20px;
    }

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
}

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

.hero-stats .stat-number {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    text-shadow: 0 2px 8px rgba(237, 29, 36, 0.3);
}

.hero-stats .stat-label {
    font-size: 14px;
    color: var(--default-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 8px;
    font-weight: 500;
}

.hero-image-section {
    position: relative;
    height: 100%;
    min-height: 500px;
    max-height: 600px;
}

.hero-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(237, 29, 36, 0.2);
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide-active .hero-product-image {
    transform: scale(1.02);
}

.hero-image-section:hover .hero-product-image {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    padding: 12px 24px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(237, 29, 36, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 2;
}

    .floating-badge .badge-text {
        color: var(--contrast-color);
    }

    .floating-badge:hover {
        transform: translateY(-5px);
        border-color: var(--accent-color);
    }

.badge-text {
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.swiper-pagination {
    position: relative !important;
    margin-top: 20px;
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(237, 29, 36, 0.15);
    opacity: 1 !important;
    transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 10px rgba(237, 29, 36, 0.5) !important;
}


@media (max-width: 1200px) {
    .hero-image-section {
        min-height: 450px;
        max-height: 550px;
    }
}

@media (max-width: 992px) {
    .hero-image-section {
        min-height: 400px;
        max-height: 500px;
    }

    .hero-text-content {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .hero-image-section {
        min-height: 350px;
        max-height: 450px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary-action,
    .btn-secondary-action {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-image-section {
        min-height: 300px;
        max-height: 400px;
    }

    .display-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        gap: 20px;
    }

        .hero-stats .stat-number {
            font-size: 28px;
        }
}


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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-text-content[data-aos="fade-right"] {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image-section[data-aos="zoom-in"] {
    animation: scaleIn 0.8s ease forwards;
}


.product-hero-carousel {
    opacity: 0;
    animation: fadeIn 0.5s ease 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/*#endregion Hero 2 */

/*#region Trust Bar */
.trust-bar {
    padding: 20px 0;
    background: rgba(10, 20, 41, 0.9);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

    .trust-item:hover {
        transform: translateY(-2px);
    }

    .trust-item i {
        color: var(--accent-color);
        font-size: 24px;
    }

@media (max-width: 768px) {
    .trust-logos {
        justify-content: center;
        gap: 20px;
    }
}
/*#endregion Trust Bar */

/*#region Trust Bar */
.trust-bar {
    padding: 20px 0;
    background: rgba(10, 20, 41, 0.9);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .trust-item i {
        color: var(--accent-color);
        font-size: 24px;
    }

    .trust-item span {
        color: var(--contrast-color);
    }

@media (max-width: 768px) {
    .trust-logos {
        justify-content: center;
        gap: 20px;
    }
}
/*#endregion Trust Bar */

/*#region About */

.about-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(237, 29, 36, 0.3);
    background: linear-gradient(135deg, var(--accent-color), #1A0B0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out 0.5s both, gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

.about-content p {
    font-size: 16px;
    color: var(--default-color);
    margin-bottom: 20px;
}

.value-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .value-item i {
        color: var(--accent-color);
        font-size: 18px;
    }

    .value-item span {
        color: var(--heading-color);
        font-size: 14px;
        font-weight: 500;
    }

.about-image-stack {
    position: relative;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

    .main-image img {
        width: 100%;
        height: 400px;
        object-fit: contain;
    }

.secondary-image {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--background-color);
}

    .secondary-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

.experience-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    /*background: rgba(1, 10, 26, 0.9);*/
    background: rgba(237, 29, 36, 0.15);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

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

    .badge-content .years {
        display: block;
        font-family: var(--heading-font);
        font-size: 24px;
        font-weight: 800;
        color: var(--accent-color);
        line-height: 1;
    }

    .badge-content .label {
        display: block;
        font-size: 12px;
        color: var(--default-color);
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 5px;
    }
/*#endregion About */

/*#region Services */
.service-card {
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent-color);
        box-shadow: 0 15px 30px rgba(237, 29, 36, 0.2);
    }

    /*.service-card.featured {
    border-color: var(--accent-color);
}*/

    .service-card.featured::before {
        content: 'Featured';
        position: absolute;
        top: 15px;
        right: 15px;
        background: var(--accent-color);
        color: var(--contrast-color);
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        z-index: 2;
    }

.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-icon {
    position: absolute;
    bottom: 5px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(237, 29, 36, 0.3);
}

.service-content {
    padding: 40px 25px 25px;
}

    .service-content h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .service-content p {
        color: var(--default-color);
        margin-bottom: 20px;
        font-size: 14px;
    }

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

    .service-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 8px;
        font-size: 14px;
        color: var(--heading-color);
    }

        .service-features li i {
            color: var(--accent-color);
            font-size: 12px;
        }

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .service-link:hover {
        gap: 12px;
    }
/*#endregion Services */

/*#region Projects */
.project-card {
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-10px);
        border-color: var(--accent-color);
        box-shadow: 0 15px 30px rgba(237, 29, 36, 0.2);
    }

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.5s ease;
    }

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 10, 26, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-category {
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.project-overlay h4 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.project-overlay p {
    color: var(--default-color);
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
}

.project-link {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-info {
    padding: 25px;
}

    .project-info h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

.project-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

    .project-stats span {
        display: flex;
        align-items: center;
        gap: 5px;
        color: var(--default-color);
        font-size: 12px;
    }

    .project-stats i {
        color: var(--accent-color);
        font-size: 14px;
    }
/*#endregion Projects */

/*#region Industries */
.industry-card {
    background: var(--surface-color);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

    .industry-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.industry-icon {
    width: 60px;
    height: 60px;
    background: rgba(237, 29, 36, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-color);
    font-size: 28px;
}

.industry-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.industry-card p {
    color: var(--default-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.industry-link {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
/*#endregion Industries */

/*#region CTA */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.cta-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(237, 29, 36, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(194, 196, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(90deg, rgba(237, 29, 36, 0.03) 1px, transparent 1px), linear-gradient(rgba(237, 29, 36, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.5;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

.cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 900;
    color: var(--heading-color);
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.7;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .cta-features .feature {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(237, 29, 36, 0.05), rgba(194, 196, 198, 0.05));
        border-radius: 12px;
        border-left: 4px solid var(--accent-color);
        transition: all 0.3s ease;
    }

        .cta-features .feature:hover {
            transform: translateX(10px);
            box-shadow: 0 5px 20px rgba(237, 29, 36, 0.15);
        }

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(237, 29, 36, 0.3);
}

    .feature-icon i {
        color: white;
        font-size: 24px;
    }

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .feature-content strong {
        color: var(--heading-color);
        font-size: 18px;
        font-weight: 700;
    }

    .feature-content span {
        color: #666;
        font-size: 14px;
    }

.cta-action-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(237, 29, 36, 0.1);
}

.urgency-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #856404;
}

    .urgency-banner i {
        font-size: 18px;
        animation: rotate 2s linear infinite;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-action-card .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .cta-action-card .btn-primary::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .cta-action-card .btn-primary:hover::before {
        width: 300px;
        height: 300px;
    }

    .cta-action-card .btn-primary i {
        transition: transform 0.3s ease;
    }

    .cta-action-card .btn-primary:hover i {
        transform: translateX(5px);
    }

.cta-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #999;
}

    .cta-divider::before,
    .cta-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #ddd;
    }

    .cta-divider span {
        padding: 0 15px;
        font-size: 14px;
        font-weight: 600;
    }

.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 30px;
    background: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

    .btn-secondary:hover {
        background: var(--accent-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(237, 29, 36, 0.3);
    }

.trust-indicators {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

    .trust-indicators .indicator {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #666;
        font-size: 14px;
        font-weight: 600;
    }

        .trust-indicators .indicator i {
            color: #ffc107;
            font-size: 16px;
        }

@media (max-width: 991px) {
    .cta-card {
        padding: 35px 25px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .cta-action-card {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .cta-section {
        padding: 50px 0;
    }

    .cta-card {
        padding: 25px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-features .feature {
        padding: 15px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

        .feature-icon i {
            font-size: 20px;
        }

    .trust-indicators {
        flex-direction: column;
        gap: 15px;
    }
}
/*#endregion CTA */

/*#region Contact */
.contact-form {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

    .contact-form .form-control {
        background: var(--surface-color);
        border: 2px solid var(--border-color);
        color: var(--heading-color);
        padding: 15px 20px;
        border-radius: 8px;
        font-size: 15px;
        transition: all 0.3s ease;
        font-family: var(--default-font);
    }

        .contact-form .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 4px rgba(237, 29, 36, 0.1);
            outline: none;
            background: white;
        }

        .contact-form .form-control::placeholder {
            color: #999;
            font-weight: 400;
        }

        .contact-form .form-control:hover {
            border-color: rgba(237, 29, 36, 0.3);
        }

    /* Validation styling */
    .contact-form .text-danger {
        display: block;
        margin-top: 8px;
        font-size: 13px;
        color: #dc3545;
        font-weight: 500;
    }

    .contact-form .input-validation-error {
        border-color: #dc3545 !important;
        background-color: #fff5f5 !important;
    }

    .contact-form .field-validation-error {
        color: #dc3545;
        font-size: 13px;
        margin-top: 5px;
        display: block;
    }

    /* Submit button enhancement */
    .contact-form .btn-primary {
        width: 100%;
        padding: 18px;
        font-size: 16px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
        transition: all 0.3s ease;
    }

        .contact-form .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(237, 29, 36, 0.4);
        }

        .contact-form .btn-primary i {
            font-size: 18px;
        }

    /* Textarea specific styling */
    .contact-form textarea.form-control {
        resize: vertical;
        min-height: 150px;
        line-height: 1.6;
    }

/* Contact info cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--surface-color);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: var(--accent-color);
    }

    .info-item i {
        color: var(--accent-color);
        font-size: 28px;
        margin-top: 5px;
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(237, 29, 36, 0.1);
        border-radius: 10px;
    }

    .info-item h4 {
        font-size: 18px;
        margin-bottom: 12px;
        color: var(--heading-color);
        font-weight: 700;
    }

    .info-item p {
        color: var(--default-color);
        font-size: 14px;
        margin-bottom: 8px;
        line-height: 1.6;
    }

        .info-item p:last-child {
            margin-bottom: 0;
        }

    .info-item a {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .info-item a:hover {
            color: #ff5252;
            text-decoration: underline;
        }

/* Alert styling */
.alert {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .alert i {
        font-size: 24px;
        margin-right: 15px;
    }

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #dc3545;
    color: #721c24;
}

.alert ul {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px;
}

    .alert ul li {
        margin-bottom: 5px;
    }

/* Loading state for form submission */
.contact-form.submitting {
    opacity: 0.6;
    pointer-events: none;
}

    .contact-form.submitting .btn-primary::after {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid white;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
        margin-left: 10px;
    }

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-form {
        padding: 30px 25px;
        margin-bottom: 40px;
    }

    .info-item {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 25px 20px;
    }

    .info-item {
        flex-direction: row;
        padding: 20px;
    }

        .info-item i {
            font-size: 24px;
            width: 36px;
            height: 36px;
        }

        .info-item h4 {
            font-size: 16px;
        }

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

/* Focus visible for accessibility */
.contact-form .form-control:focus-visible {
    outline: 3px solid rgba(237, 29, 36, 0.3);
    outline-offset: 2px;
}

/* Character count for textarea (optional enhancement) */
.contact-form .char-count {
    text-align: right;
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

    .contact-form .char-count.warning {
        color: #ff9800;
    }

    .contact-form .char-count.danger {
        color: #dc3545;
    }
/*#endregion Contact */

/*#region Footer */
.footer {
    padding: 60px 0 30px;
    /*background: rgba(1, 10, 26, 0.95);*/
    border-top: 1px solid var(--border-color);
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 2px 8px rgba(237, 29, 36, 0.3);
    background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    color: var(--default-color);
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-certifications {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cert-badge {
    background: rgba(237, 29, 36, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

    .footer-links a {
        color: var(--default-color);
        font-size: 14px;
        transition: color 0.3s ease;
    }

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

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

    .social-links a {
        width: 40px;
        height: 40px;
        background: var(--surface-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--default-color);
        font-size: 18px;
        transition: all 0.3s ease;
    }

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--default-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--accent-color);
}

/*#endregion Footer */

/*#region Scroll Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

    .scroll-top.active {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover {
        background: #ff5252;
        transform: translateY(-5px);
    }
/*#endregion Scroll Top */

/*#region Animations */
[data-aos] {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
}

    [data-aos="fade-up"].aos-animate {
        transform: translateY(0);
        opacity: 1;
    }

[data-aos="fade-right"] {
    transform: translateX(-30px);
    opacity: 0;
}

    [data-aos="fade-right"].aos-animate {
        transform: translateX(0);
        opacity: 1;
    }

[data-aos="fade-left"] {
    transform: translateX(30px);
    opacity: 0;
}

    [data-aos="fade-left"].aos-animate {
        transform: translateX(0);
        opacity: 1;
    }

[data-aos="zoom-in"] {
    transform: scale(0.9);
    opacity: 0;
}

    [data-aos="zoom-in"].aos-animate {
        transform: scale(1);
        opacity: 1;
    }
/*#endregion Animations */

/*#region Responsive */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .section-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .section {
        padding: 80px 0;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-actions {
        justify-content: center;
    }

    .value-points {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .secondary-image {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 20px;
    }

    .experience-badge {
        position: relative;
        top: 0;
        left: 0;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }
}
/*#endregion Responsive */

/*#region Emergency Banner */

.emergency-banner {
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    padding: 15px 0;
    text-align: center;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 600;
}

    .emergency-content i {
        font-size: 24px;
        animation: pulse 2s infinite;
    }

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.emergency-phone {
    color: var(--contrast-color);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 10px;
}

    .emergency-phone:hover {
        text-decoration: underline;
        color: var(--default-color);
    }

.response-time {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .emergency-content {
        flex-direction: column;
        gap: 8px;
    }

    .emergency-phone {
        font-size: 18px;
    }
}


/*#endregion Emergency Banner*/

/*#region Why Choose Us */


.why-choose-us .advantage-card {
    background: var(--surface-color);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

    .why-choose-us .advantage-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--contrast-color);
    font-size: 30px;
}

.why-choose-us .advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.why-choose-us .advantage-card p {
    color: var(--default-color);
    font-size: 14px;
    margin-bottom: 0;
}

/*#endregion Why Choose Us*/

/*#region Service Areas */


.service-areas .area-card {
    background: var(--surface-color);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

    .service-areas .area-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent-color);
        box-shadow: 0 10px 30px rgba(237, 29, 36, 0.1);
    }

    .service-areas .area-card.primary {
        border-color: var(--accent-color);
        background: linear-gradient(135deg, var(--surface-color), rgba(237, 29, 36, 0.05));
    }

    .service-areas .area-card h3 {
        font-size: 22px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .service-areas .area-card h3 i {
            color: var(--accent-color);
        }

    .service-areas .area-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .service-areas .area-card li {
        padding: 8px 0;
        color: var(--default-color);
        border-bottom: 1px solid var(--border-color);
        font-size: 15px;
    }

        .service-areas .area-card li:last-child {
            border-bottom: none;
        }

/*#endregion Service Areas*/

/*#region Clickable Contact Links */

.contact-info a,
.footer-contact a,
.emergency-phone {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

    .contact-info a:hover,
    .footer-contact a:hover,
    .emergency-phone:hover {
        opacity: 0.8;
        text-decoration: underline;
    }




/*#endregion Clickable Contact Links*/

/*#region Blog */

.blog-card {
    background: var(--surface-color);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

    .blog-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent-color);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(237, 29, 36, 0.15);
    color: var(--heading-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: rgba(237, 29, 36, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

    .blog-content h3 a {
        color: var(--heading-color);
        text-decoration: none;
    }

        .blog-content h3 a:hover {
            color: var(--accent-color);
        }

.blog-content p {
    color: var(--default-color);
    font-size: 14px;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

    .blog-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
        color: var(--default-color);
        font-size: 12px;
    }

.read-more {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-secondary:hover {
        background: var(--accent-color);
        color: white;
    }

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

.mt-5 {
    margin-top: 3rem;
}
/*#endregion Blog*/

/*#region Modal Styles */




.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .modal.active {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background-color: var(--surface-color);
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Close button at top right */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--surface-color);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

    .modal-close:hover {
        background: var(--accent-color);
        border-color: var(--accent-color);
        color: white;
    }

.modal-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.modal-body {
    padding: 35px;
    padding-top: 30px;
}

.modal-tag {
    display: inline-block;
    background: rgba(237, 29, 36, 0.1);
    color: var(--accent-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.modal-date {
    display: inline-block;
    margin-left: 10px;
    color: var(--default-color);
    font-size: 14px;
}

.modal-title {
    font-size: 2.2rem;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.modal-text {
    font-size: 1.1rem;
    color: var(--default-color);
    line-height: 1.7;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

    .modal-text p {
        margin-bottom: 20px;
    }

.modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

    .modal-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
        color: var(--default-color);
        font-size: 14px;
    }

/* Responsive */
@media (max-width: 768px) {
    .row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .modal-content {
        max-height: 95vh;
    }

    .modal-body {
        padding: 25px 20px;
    }

    .modal-title {
        font-size: 1.8rem;
    }

    .modal-image {
        height: 250px;
    }
}

/*#endregion */

/*#region DESKTOP FOOTER FIXED RIGHT & MOBILE FOOTER FIXED BOTTOM*/
/* Floating Action Buttons with Hero Styling */
.floating-action-buttons {
    position: fixed;
    z-index: 9999;
}

.hero-floating-elements {
    pointer-events: none;
}

.floating-button-wrapper {
    pointer-events: auto;
    position: relative;
}
/* Desktop Floating Buttons */
.desktop-floating-buttons {
    bottom: 90px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}
/* Mobile Floating Buttons */
.mobile-floating-buttons {
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

    .mobile-floating-buttons .mobile-buttons-container {
        display: flex;
        gap: 15px;
        background: rgba(20, 24, 36, 0.9);
        backdrop-filter: blur(15px);
        border-radius: 50px;
        padding: 15px 25px;
        border: 1px solid rgba(0, 102, 255, 0.3);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }
/* Floating Particles */
/*.floating-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 15s infinite ease-in-out;
}*/

.desktop-floating-buttons .floating-particle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: -50px;
    right: -30px;
    animation-delay: 0s;
    animation-duration: 20s;
}

.desktop-floating-buttons .floating-particle:nth-child(2) {
    width: 80px;
    height: 80px;
    bottom: -40px;
    right: -20px;
    animation-delay: 5s;
    animation-duration: 25s;
}

.desktop-floating-buttons .floating-particle:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 50%;
    right: -10px;
    animation-delay: 10s;
    animation-duration: 15s;
}

.mobile-floating-buttons .floating-particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: -30px;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.mobile-floating-buttons .floating-particle:nth-child(2) {
    width: 60px;
    height: 60px;
    bottom: -20px;
    right: 20%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.mobile-floating-buttons .floating-particle:nth-child(3) {
    width: 40px;
    height: 40px;
    top: -20px;
    right: 30%;
    animation-delay: 7s;
    animation-duration: 16s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.2;
    }

    25% {
        transform: translate(10px, -15px) scale(1.1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-5px, -25px) scale(0.9);
        opacity: 0.3;
    }

    75% {
        transform: translate(15px, -15px) scale(1.05);
        opacity: 0.5;
    }
}
/* Floating Button Base Styles */
.floating-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.floating-btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
/* Phone Button */
.floating-btn-phone {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

    .floating-btn-phone::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.6s;
    }

    .floating-btn-phone:hover::before {
        left: 100%;
    }

    .floating-btn-phone:hover .floating-btn-glow {
        opacity: 1;
    }
/* Email Button */
.floating-btn-email {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

    .floating-btn-email::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.6s;
    }

    .floating-btn-email:hover::before {
        left: 100%;
    }

    .floating-btn-email:hover .floating-btn-glow {
        opacity: 1;
    }
/* WhatsApp Button */
.floating-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

    .floating-btn-whatsapp::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.6s;
    }

    .floating-btn-whatsapp:hover::before {
        left: 100%;
    }

    .floating-btn-whatsapp:hover .floating-btn-glow {
        opacity: 1;
    }
/* Hover Effects */
.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.floating-btn-phone:hover {
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.6);
}

.floating-btn-email:hover {
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.6);
}

.floating-btn-whatsapp:hover {
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.6);
}

.floating-btn i {
    font-size: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 3;
}

.floating-btn:hover i {
    transform: scale(1.2);
}
/* Desktop Tooltips */
.desktop-floating-buttons .floating-btn-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(20, 24, 36, 0.95);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(0, 102, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

    .desktop-floating-buttons .floating-btn-tooltip::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -6px;
        transform: translateY(-50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background: rgba(20, 24, 36, 0.95);
        border-right: 1px solid rgba(0, 102, 255, 0.3);
        border-bottom: 1px solid rgba(0, 102, 255, 0.3);
    }

.desktop-floating-buttons .floating-btn:hover .floating-btn-tooltip {
    opacity: 1;
    transform: translateX(0);
}
/* Mobile Labels */
.mobile-floating-buttons .floating-btn-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.8;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.mobile-floating-buttons .floating-btn:hover .floating-btn-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}
/* Mobile specific button sizing */
.mobile-floating-buttons .floating-btn {
    width: 50px;
    height: 50px;
}

    .mobile-floating-buttons .floating-btn i {
        font-size: 20px;
    }
/* Responsive adjustments */
@media (max-width: 768px) {
    .desktop-floating-buttons {
        display: none;
    }

    .mobile-floating-buttons {
        display: flex;
    }

        .mobile-floating-buttons .mobile-buttons-container {
            padding: 12px 20px;
        }

        .mobile-floating-buttons .floating-btn {
            width: 45px;
            height: 45px;
        }

            .mobile-floating-buttons .floating-btn i {
                font-size: 18px;
            }

        .mobile-floating-buttons .floating-btn-label {
            font-size: 11px;
            bottom: -22px;
        }
}

@media (min-width: 769px) {
    .mobile-floating-buttons {
        display: none;
    }

    .desktop-floating-buttons {
        display: flex;
    }
}
/* Accessibility and touch improvements */
.floating-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.5);
}

.floating-btn:active {
    transform: scale(0.95);
}
/* Animation delays for staggered appearance */
.desktop-floating-buttons .floating-button-wrapper:nth-child(2) {
    animation-delay: 200ms !important;
}

.desktop-floating-buttons .floating-button-wrapper:nth-child(3) {
    animation-delay: 300ms !important;
}

.mobile-floating-buttons .floating-button-wrapper:nth-child(2) {
    animation-delay: 150ms !important;
}

.mobile-floating-buttons .floating-button-wrapper:nth-child(3) {
    animation-delay: 200ms !important;
}

.mobile-bar-fixed-bottom {
    display: none; /* Hidden by default on desktop */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #2d2d2d;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* High z-index to stay above other content */
    padding: 10px 0;
    justify-content: space-around;
    align-items: center;
}
/* Show only on mobile devices (screens smaller than 768px) */
@media (max-width: 767px) {
    .mobile-bar-fixed-bottom {
        display: flex !important;
    }

    .desktop-bar-fixed-right {
        display: none;
    }
}
/* Individual buttons */
.btn-phone-mobile-bar-fixed-bottom,
.btn-email-mobile-bar-fixed-bottom,
.btn-whatsapp-mobile-bar-fixed-bottom {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    background-color: var(--accent-color);
}


    .btn-phone-mobile-bar-fixed-bottom:hover, .btn-email-mobile-bar-fixed-bottom:hover, .btn-whatsapp-mobile-bar-fixed-bottom:hover {
        background-color: var(--accent-color);
        transform: scale(1.1);
    }
    /* Icon styling */
    .btn-phone-mobile-bar-fixed-bottom i,
    .btn-email-mobile-bar-fixed-bottom i,
    .btn-whatsapp-mobile-bar-fixed-bottom i {
        font-size: 24px;
    }
/* Add padding to body to prevent content from being hidden behind the fixed footer */
@media (max-width: 767px) {
    body {
        padding-bottom: 80px; /* Height of mobile bar + some spacing */
    }
}

@media (max-width: 767px) {
    .custom-chat-btn {
        bottom: 90px !important; /* Position above mobile footer */
    }

    .custom-chat-window {
        bottom: 90px !important; /* Position above mobile footer */
        height: calc(100vh - 170px) !important; /* Adjust height to fit above mobile footer */
    }
}
/*#endregion*/

/*#region Success-Popup Section*/

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #82a698 100%);
}

.company-intro .card {
    transition: transform 0.3s ease;
}

    .company-intro .card:hover {
        transform: translateY(-5px);
    }

@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Beautiful Success Popup Styles */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeInOverlay 0.4s ease-out;
}

.success-popup-container {
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: popupSlideIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-popup-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, #82a698 100%);
    border-radius: 25px;
    padding: 3rem 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(102, 126, 234, 0.4), 0 15px 30px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
}

    .success-popup-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
        pointer-events: none;
        border-radius: 25px;
    }

    /* Floating sparkles background */
    .success-popup-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3) 2px, transparent 2px), radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.2) 1px, transparent 1px), radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.3) 2px, transparent 2px), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
        background-size: 100px 100px, 150px 150px, 200px 200px, 120px 120px;
        animation: sparkleFloat 8s ease-in-out infinite;
        opacity: 0.6;
        pointer-events: none;
    }

.success-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-checkmark {
    position: relative;
    z-index: 2;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #f5d489;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #f5d489, 0 0 0 rgba(76, 175, 80, 0.3);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #f5d489;
    fill: rgba(76, 175, 80, 0.1);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #f5d489;
    stroke-width: 4;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFD700;
    opacity: 0;
    animation: particleExplode 1.2s ease-out forwards;
}

.particle-1 {
    animation-delay: 0.6s;
}

.particle-2 {
    animation-delay: 0.7s;
}

.particle-3 {
    animation-delay: 0.8s;
}

.particle-4 {
    animation-delay: 0.9s;
}

.particle-5 {
    animation-delay: 1.0s;
}

.particle-6 {
    animation-delay: 1.1s;
}

.success-content {
    text-align: center;
    position: relative;
    z-index: 2;
    color: #f5d489 !important;
}

.success-title {
    font-size: 1.5rem !important;
    font-weight: 900;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.success-message {
    font-size: 1.1rem !important;
    margin-bottom: 1rem;
    line-height: 1.5;
    animation: fadeInUp 0.6s ease-out 0.5s both;
    text-align: center !important;
}

.success-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,0.25);
    border: 2px solid rgba(245,212,137,1);
    color: #f5d489 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 16px;
}

    .success-close:hover {
        transform: rotate(40deg) scale(1.1);
    }

/* Enhanced Animations */
@keyframes fadeInOverlay {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    100% {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.7) translateY(-50px) rotateX(10deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.05) translateY(10px) rotateX(-2deg);
    }

    100% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.8;
    }
}

@keyframes slideInBounce {
    0% {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }

    50% {
        transform: translateY(10px) scale(1.05);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        /*box-shadow: inset 0 0 0 30px #4CAF50, 0 0 20px rgba(76, 175, 80, 0.5);*/
        /*box-shadow: inset 0 0 0 30px #82a698, 0 0 20px rgba(76, 175, 80, 0.5);*/
    }
}

@keyframes particleExplode {
    0% {
        opacity: 1;
        transform: scale(0) rotate(0deg);
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1) rotate(180deg);
    }
}

.particle-1 {
    top: -10px;
    left: 50%;
    animation-name: particleExplode1;
}

.particle-2 {
    top: 20px;
    right: -10px;
    animation-name: particleExplode2;
}

.particle-3 {
    bottom: -10px;
    left: 30%;
    animation-name: particleExplode3;
}

.particle-4 {
    top: 30%;
    left: -10px;
    animation-name: particleExplode4;
}

.particle-5 {
    top: 10px;
    left: 20%;
    animation-name: particleExplode5;
}

.particle-6 {
    bottom: 20px;
    right: 20%;
    animation-name: particleExplode6;
}

@keyframes particleExplode1 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(0, -30px) scale(1);
    }
}

@keyframes particleExplode2 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(30px, -20px) scale(1);
    }
}

@keyframes particleExplode3 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-10px, 30px) scale(1);
    }
}

@keyframes particleExplode4 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-30px, 0) scale(1);
    }
}

@keyframes particleExplode5 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(20px, -15px) scale(1);
    }
}

@keyframes particleExplode6 {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-20px, 25px) scale(1);
    }
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .success-popup-container {
        width: 95%;
        margin: 1rem;
    }

    .success-popup-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .success-title {
        font-size: 1rem;
    }

    .checkmark {
        width: 60px;
        height: 60px;
    }

    .success-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
}

/* Auto-close popup after delay */
.success-popup-overlay.auto-closing .success-popup-card {
    animation: popupSlideOut 0.5s ease-in-out 4s forwards;
}

.success-popup-overlay.auto-closing {
    animation: fadeOutOverlay 0.5s ease-in-out 4.3s forwards;
}

@keyframes popupSlideOut {
    0% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
    }

    100% {
        transform: scale(0.8) translateY(-30px) rotateX(5deg);
        opacity: 0;
    }
}

@keyframes fadeOutOverlay {
    0% {
        opacity: 1;
        backdrop-filter: blur(10px);
    }

    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/*#endregion Success-Popup Section*/

/* #region FIXES CSS*/

/* Fix 1: Prevent horizontal overflow on html and body */
html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--default-font);
    color: var(--default-color);
    background-color: var(--background-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.8) 0%, transparent 20%), radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 20%);
    line-height: 1.6;
    overflow-x: hidden; /* Keep this */
    width: 100%; /* ADD THIS */
    position: relative; /* ADD THIS */
    min-height: 100vh;
}

/* Fix 2: Prevent container overflow */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* ADD THIS */
    box-sizing: border-box; /* ADD THIS */
}

/* Fix 3: Fix row overflow issues */
.row {
    margin-left: 0; /* ADD THIS */
    margin-right: 0; /* ADD THIS */
}

/* Fix 5: Ensure all sections stay within bounds */
.section {
    padding: 100px 0;
    position: relative;
    width: 100%; /* ADD THIS */
    overflow: hidden; /* ADD THIS - prevents child elements from extending beyond */
}

/* Fix 7: Prevent hero section overflow */
.hero-2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 20px 0 40px;
    position: relative;
    overflow: hidden;
    width: 100%; /* ADD THIS */
}

/* Fix 8: Fix CTA section background elements */
.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
    width: 100%; /* ADD THIS */
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(90deg, rgba(237, 29, 36, 0.03) 1px, transparent 1px), linear-gradient(rgba(237, 29, 36, 0.03) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: gridMove 20s linear infinite;
        opacity: 0.5;
        width: 100%; /* ADD THIS */
    }

/* Fix 9: Ensure floating buttons don't cause overflow */
.floating-action-buttons {
    position: fixed;
    z-index: 9999;
    max-width: 100vw; /* ADD THIS */
}

.desktop-floating-buttons {
    bottom: 90px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
    max-width: calc(100vw - 40px); /* ADD THIS */
}

/* Fix 10: Prevent footer overflow */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    width: 100%; /* ADD THIS */
    overflow: hidden; /* ADD THIS */
}

/* Fix 11: Fix modal overflow */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-x: hidden; /* ADD THIS */
    overflow-y: auto; /* ADD THIS */
}

/* Fix 12: Ensure all images are responsive */
img {
    max-width: 100%; /* ADD THIS */
    height: auto; /* ADD THIS */
}

/* Fix 13: Fix specific sections that might overflow */
.trust-bar,
.emergency-banner,
.contact,
.why-choose-us,
.service-areas,
.blog {
    width: 100%; /* ADD THIS */
    overflow-x: hidden; /* ADD THIS */
}

/* Fix 14: Additional safeguard for all major containers */
section,
footer,
main {
    max-width: 100vw; /* ADD THIS */
    overflow-x: hidden; /* ADD THIS */
}

/* Fix 15: Prevent text from causing overflow */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    word-wrap: break-word; /* ADD THIS */
}

/* Fix 16: Mobile specific fixes */
@media (max-width: 768px) {
    body {
        padding-bottom: 80px;
        overflow-x: hidden !important; /* IMPORTANT */
        position: relative;
        width: 100%;
    }

    .container {
        padding: 0 15px; /* Reduce padding on mobile */
    }

    /* Ensure mobile footer doesn't cause overflow */
    .mobile-bar-fixed-bottom {
        width: 100%;
        left: 0;
        right: 0;
        overflow-x: hidden;
    }

    /* Fix mobile buttons */
    .mobile-floating-buttons .mobile-buttons-container {
        max-width: calc(100vw - 40px);
    }
}
html, body {
    overflow-x: visible !important;
}
/* #endregion */

/* #region Feature Cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.feature-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s ease-out backwards;
}

    .feature-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .feature-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .feature-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .feature-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .feature-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-color), #ff5252);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(237, 29, 36, 0.2);
        border-color: rgba(237, 29, 36, 0.3);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(237, 29, 36, 0.1), rgba(255, 82, 82, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(237, 29, 36, 0.4);
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.feature-card:hover .feature-icon::after {
    animation: none;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
    color: var(--accent-color);
}

.feature-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--default-color);
    opacity: 0.9;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(237, 29, 36, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::after {
    opacity: 1;
}

/* Accent decoration */
.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 900;
    color: rgba(237, 29, 36, 0.05);
    transition: all 0.4s ease;
    line-height: 1;
}

.feature-card:hover .feature-number {
    color: rgba(237, 29, 36, 0.15);
    transform: scale(1.2);
}

/* #endregion Feature Cards */

/* #region FAQ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.5s ease-out backwards;
}

    .faq-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .faq-item:nth-child(2) {
        animation-delay: 0.15s;
    }

    .faq-item:nth-child(3) {
        animation-delay: 0.2s;
    }

    .faq-item:nth-child(4) {
        animation-delay: 0.25s;
    }

    .faq-item:nth-child(5) {
        animation-delay: 0.3s;
    }

    .faq-item:nth-child(6) {
        animation-delay: 0.35s;
    }

    .faq-item:nth-child(7) {
        animation-delay: 0.4s;
    }

    .faq-item:hover {
        border-color: rgba(237, 29, 36, 0.3);
        box-shadow: 0 4px 20px rgba(237, 29, 36, 0.15);
        transform: translateX(5px);
    }

    .faq-item.active {
        border-color: var(--accent-color);
        box-shadow: 0 6px 25px rgba(237, 29, 36, 0.2);
    }

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    transition: all 0.3s ease;
    user-select: none;
}

    .faq-question::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--accent-color), #ff5252);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

.faq-item.active .faq-question::before {
    transform: scaleY(1);
}

.faq-question:hover {
    background: rgba(237, 29, 36, 0.03);
}

.faq-question-text {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-color);
    flex: 1;
    transition: color 0.3s ease;
}

@media (max-width: 768px) {
    .faq-question-text {
        font-size: 16px;
    }
}

.faq-item.active .faq-question-text {
    color: var(--accent-color);
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(237, 29, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    .faq-icon::before,
    .faq-icon::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 2px;
        background: var(--accent-color);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-icon::after {
        transform: rotate(90deg);
    }

.faq-item.active .faq-icon {
    background: var(--accent-color);
    transform: rotate(180deg);
}

    .faq-item.active .faq-icon::before,
    .faq-item.active .faq-icon::after {
        background: white;
    }

    .faq-item.active .faq-icon::after {
        transform: rotate(0deg);
        opacity: 0;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    animation: slideDown 0.4s ease-out;
}

.faq-answer-content {
    padding: 0 30px 30px 30px;
    color: var(--default-color);
    line-height: 1.8;
    font-size: 16px;
}

@media (max-width: 768px) {
    .faq-answer-content {
        padding: 0 20px 25px 20px;
        font-size: 15px;
    }

    .faq-question {
        padding: 20px;
    }
}

/* Decorative elements */
.faq-number {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 700;
    color: rgba(237, 29, 36, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-number,
.faq-item.active .faq-number {
    opacity: 1;
    left: 10px;
}

.faq-item.active .faq-number {
    color: var(--accent-color);
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(237, 29, 36, 0.05), rgba(255, 82, 82, 0.05));
    border-radius: 12px;
    border: 2px dashed rgba(237, 29, 36, 0.2);
}

    .faq-cta h3 {
        font-size: 24px;
        margin-bottom: 15px;
        color: var(--heading-color);
    }

    .faq-cta p {
        font-size: 16px;
        margin-bottom: 25px;
        color: var(--default-color);
    }
/* #endregion FAQ */

/* #region Our Commitment, Vision, Value */
.commitment-wrapper {
    display: block;
}

.commitment-content {
    animation: fadeIn 0.8s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

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

    .commitment-content h3 {
        font-size: 32px;
        margin-bottom: 25px;
        color: var(--accent-color);
    }

    .commitment-content p {
        font-size: 18px;
        line-height: 1.8;
        margin-bottom: 20px;
        opacity: 0.9;
    }

.commitment-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .commitment-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.pillar-item {
    background: var(--surface-color);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out backwards;
    text-align: left;
}

    .pillar-item:nth-child(1) {
        animation-delay: 0.1s;
    }

    .pillar-item:nth-child(2) {
        animation-delay: 0.2s;
    }

    .pillar-item:nth-child(3) {
        animation-delay: 0.3s;
    }

    .pillar-item:nth-child(4) {
        animation-delay: 0.4s;
    }

    .pillar-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 25px rgba(237, 29, 36, 0.2);
    }

    .pillar-item h4 {
        font-size: 20px;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .pillar-item h4 i {
            color: var(--accent-color);
            font-size: 24px;
        }

    .pillar-item p {
        font-size: 16px;
        margin: 0;
        opacity: 0.85;
    }

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Vision Section */
.vision-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
    background: linear-gradient(135deg, rgba(237, 29, 36, 0.1), rgba(255, 82, 82, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 0.8s ease-out, pulse 2s ease-in-out infinite;
}

    .vision-icon-wrapper::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid var(--accent-color);
        animation: ripple 2s ease-out infinite;
    }

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.vision-icon-wrapper i {
    font-size: 50px;
    color: var(--accent-color);
}

.vision-statement {
    font-size: 24px;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--heading-color);
    animation: fadeIn 0.8s ease-out 0.2s backwards;
}

.vision-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeIn 0.8s ease-out 0.4s backwards;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.vision-goal {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out backwards;
}

    .vision-goal:nth-child(1) {
        animation-delay: 0.5s;
    }

    .vision-goal:nth-child(2) {
        animation-delay: 0.6s;
    }

    .vision-goal:nth-child(3) {
        animation-delay: 0.7s;
    }

    .vision-goal:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 30px rgba(237, 29, 36, 0.2);
    }

.vision-goal-icon {
    width: 60px;
    height: 60px;
    background: rgba(237, 29, 36, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.vision-goal:hover .vision-goal-icon {
    background: var(--accent-color);
    transform: rotate(360deg);
}

.vision-goal-icon i {
    font-size: 28px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.vision-goal:hover .vision-goal-icon i {
    color: white;
}

.vision-goal h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.vision-goal p {
    font-size: 16px;
    margin: 0;
    opacity: 0.85;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeIn 0.6s ease-out backwards;
}

    .value-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .value-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .value-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .value-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .value-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .value-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--accent-color), #ff5252);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.4s ease;
    }

    .value-card:hover::before {
        transform: scaleX(1);
    }

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 40px rgba(237, 29, 36, 0.2);
    }

.value-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--heading-font);
    font-size: 60px;
    font-weight: 900;
    color: rgba(237, 29, 36, 0.05);
    line-height: 1;
    transition: all 0.4s ease;
}

.value-card:hover .value-number {
    color: rgba(237, 29, 36, 0.15);
    transform: scale(1.2);
}

.value-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(237, 29, 36, 0.1), rgba(255, 82, 82, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
}

    .value-icon-wrapper::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid var(--accent-color);
        opacity: 0;
        animation: pulse-ring 2s infinite;
    }

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.value-card:hover .value-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color), #ff5252);
    transform: rotate(360deg) scale(1.1);
}

.value-icon-wrapper i {
    font-size: 36px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.value-card:hover .value-icon-wrapper i {
    color: white;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.value-card:hover h3 {
    color: var(--accent-color);
}

.value-card p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(237, 29, 36, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover::after {
    opacity: 1;
}

/* Icon placeholder styles */
.icon-placeholder {
    font-style: normal;
}
/* #endregion */


/*#region Header */

.header {
    background-color: #ffffff;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}
    .header .logo {
        line-height: 1;
    }

        .header .logo img {
            max-height: 60px;
            margin-right: 14px;
            margin-top: 14px;
            box-shadow: var(--accent-color) 1px 1px 1px,var(--accent-color) -1px 1px 1px,var(--accent-color) 1px -1px 1px,var(--accent-color) -1px -1px 1px;
        }
    /* Header when scrolled - add more shadow */
    .header.scrolled {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    /* Light Background variant */
    .header.light-background {
        background-color: #ffffff;
    }

    /* Logo Styles */
    .header .logo {
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .header .logo-text {
        font-size: 24px;
        font-weight: 700;
        color: #2c3e50;
        letter-spacing: 1px;
        transition: color 0.3s ease;
    }

    .header .logo:hover .logo-text {
        color: #3498db;
    }

/* Navigation Menu */
.navmenu {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .navmenu ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a {
        color: #2c3e50;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        transition: color 0.3s ease;
        display: block;
        white-space: nowrap;
    }

        .navmenu a:hover,
        .navmenu a:focus {
            color: var(--accent-color);
        }

    .navmenu .dropdown a {
        display: flex;
        align-items: center;
    }

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #2c3e50;
    transition: color 0.3s ease;
}

    .mobile-nav-toggle:hover {
        color: #3498db;
    }

/* Tablet Styles */
@media (max-width: 1199px) {
    .navmenu ul {
        gap: 20px;
    }

    .navmenu a {
        font-size: 15px;
    }

    .header .logo-text {
        font-size: 20px;
    }
}

/* Mobile Styles */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navmenu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        z-index: 999;
    }

        .navmenu.mobile-nav-active {
            right: 0;
        }

        .navmenu ul {
            flex-direction: column;
            gap: 0;
            width: 100%;
        }

        .navmenu li {
            width: 100%;
            border-bottom: 1px solid #f0f0f0;
        }

            .navmenu li:last-child {
                border-bottom: none;
            }

        .navmenu a {
            padding: 15px 0;
            font-size: 16px;
            width: 100%;
        }

    .header .logo-text {
        font-size: 18px;
    }

    .header {
        padding: 12px 0;
    }
}

/* Small Mobile Devices */
@media (max-width: 575px) {
    .header .logo-text {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .mobile-nav-toggle {
        font-size: 24px;
    }

    .navmenu {
        width: 100%;
        top: 60px;
        height: calc(100vh - 60px);
    }

    .header {
        padding: 10px 0;
    }
}

/* Overlay for mobile menu */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-nav-overlay.active {
        display: block;
        opacity: 1;
    }

@media (max-width: 1199px) {
    .mobile-nav-overlay {
        display: none;
    }

        .mobile-nav-overlay.active {
            display: block;
        }
}

/*#endregion Header */

