/* Reset CSS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root{
    --main-color:#E42E2D;
}

body {
    direction: rtl;
    background-color: black;
}

/* Navbar Styling */
.navbar {
    position: fixed; /* Fixed at the top */
    top: 20px; /* Adds a gap from the top */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the navbar */
    background-color: rgba(0, 0, 0, 0.8); /* Slightly transparent black for a modern look */
    padding: 15px 40px; /* Adequate padding for spacing */
    display: flex;
    justify-content: center; /* Center the content */
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Thin border with slight transparency */
    border-radius: 25px; /* Rounded corners for a modern feel */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Softer shadow for a professional look */
    backdrop-filter: blur(5px); /* Adds a glass-like blur effect */
    z-index: 1000;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}


/* Container داخل Navbar لتوسيط المحتويات */
.container {
    max-width: 800px; /* تحافظ على الحد الأقصى للعرض */
    width: 100%;
    margin: 0 auto;
    padding: 0 30px; /* مسافات جانبية */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* List and links styling */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar .nav-link {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s, transform 0.3s;
    border-radius: 10px;
    white-space: nowrap; /* Prevents line breaks */
}

/* Animation for hover effect */
.navbar .nav-link:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}

/* Underline effect */
.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--main-color);
    transition: width 0.3s ease, left 0.3s ease;
}

/* Hover and active state for the underline */
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
    left: 0;
}

/* Active link style */
.navbar .nav-link.active {
    color: var(--main-color);
}

/* Hamburger Menu Styling */
.hamburger {
    display: none; /* إخفاء الـ hamburger على الشاشات الكبيرة */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hero Section Styling */
.hero-section {
    background-image: url('../photo/b.jpg'); /* Ensure the path is correct */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align content to the left in RTL */
    padding: 80px 20px; /* Top padding for navbar */
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    direction: rtl; /* Set the page direction to RTL */
    height: 95vh;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0; /* Align the gradient from the right */
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 50%, transparent); /* Black layer transitioning to transparent */
    z-index: 1;
}

.hero-section .content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    text-align: right; /* Align text to the right */
    animation: slideInRTL 1s ease-out, fadeIn 2s ease-in;
    background: rgba(0, 0, 0, 0.7); /* Dark transparent background for the content */
    border-right: 5px solid var(--main-color); /* Modern accent border on the right */
    border-radius: 0 15px 15px 0; /* Rounded corners on the right */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* Soft shadow */
}

.hero-section h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: typingRTL 3s steps(30, end) forwards;
    overflow: hidden; /* Hide the overflowing part for typing animation */
    white-space: nowrap; /* Prevent line breaks */
    border-left: 3px solid white; /* Typing cursor effect */
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    animation: fadeInText 3s ease-in 1s forwards; /* Fade-in effect for text */
}

/* Buttons */
.buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-end; /* Align buttons to the right */
}

.btn {
    padding: 12px 25px;
    border: none;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 30px;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn.primary {
    background-color: var(--main-color);
    color: black;
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn.primary:hover {
    background-color: #d18e00;
    transform: scale(1.05);
}

.btn.secondary:hover {
    background-color: white;
    color: black;
    transform: scale(1.05);
}

/* Animation keyframes */
@keyframes slideInRTL {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes typingRTL {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Big Section Styling */
.big-section {
    background-color: #f0f0f0;
    padding: 50px;
    width: 100%;
    max-width: 1400px; /* Maximum width for the section */
    margin: 0 auto; /* Center horizontally */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Soft shadow for professional look */
    border-radius: 10px; /* Slight rounding for the entire big section */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Inner Section Styling */
.inner-section {
    background-color: #007BFF; /* Inner section background */
    border-radius: 5% 5% 0 0; /* Rounded top corners */
    padding: 40px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-title {
    color: #fff ;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Box Container and Box Styling */
.box-container {
    display: flex;
    justify-content: space-between; /* Ensure boxes are spaced evenly */
    gap: 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.feature-box {
    background-color: #ffffff;
    color: #333;
    border-radius: 15px;
    width: 23%; /* Width for 4 boxes in one row */
    min-width: 200px; /* Minimum width to maintain box size */
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}
/* Services Section Styling */
.services-section {
    background-color: #000000;
    width: 100%;
    border-radius: 5% 5% 0 0; /* Rounded top corners */
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: bold;
}

/* Service Boxes */
.box-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.service-box {
    background-color: #ffffff;
    width: 22%;
    min-width: 200px;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 3s;
    overflow: hidden;
}

.service-box:hover {
    background-color: #f0a500;
    transition: background-color 3s ease-in;
}

.service-box .icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
}

.service-box h4 {
    margin-top: 60px; /* Space below the icon */
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.service-box p {
    font-size: 1rem;
    color: #666;
}

/* Nested Section Styling */

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.col {
    flex: 1;
    min-width: 45%;
}

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    padding: 20px;
}

/* Animation for the Nested Section */
.animate-image {
    width: 100%;
    height: auto;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.image-col:hover .animate-image {
    transform: translateX(0);
    opacity: 1;
}

.text-col h2, .text-col p {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
}

.text-col:hover h2, .text-col:hover p {
    transform: translateX(0);
    opacity: 1;
}
/* Agency Section Styling */
.agency-section {
    width: 100%;
    max-width: 1200px;
    padding: 50px;
    background-color: #2b2b2b;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Intro Section */
.intro h3 {
    margin-bottom: 10px;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.image-item{
    color: #ddd;
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Fun Fact Section */
.fun-fact {
    background-color: #3b3b3b;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.fun-fact h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #f0a500;
}

.facts-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.fact-item {
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 22%;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.fact-item:hover {
    background-color: #f0a500;
}

.fact-item h4 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fact-item p {
    font-size: 0.9rem;
    color: #ddd;
}
.agency-section{
    margin: auto;
}
span{
    color: var(--main-color);
}
/* Services Section */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.box-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Box Styles */
.service-box {
    background: linear-gradient(135deg, #ffffff, #f1f1f1);
    border-radius: 20px;
    width: 22%;
    min-width: 250px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s, background 0.4s;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-box img.icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center;
}

.service-box h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.service-box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    transform: translateZ(50px);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Enhanced Hover Effects */
.service-box:hover {
    transform: translateY(-20px) scale(1.05) rotateY(3deg) rotateX(3deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
}

.service-box:hover img.icon {
    transform: rotateY(180deg) scale(1.2);
}

.service-box:hover p {
    transform: translateZ(0);
}

/* Animation on Load */
@keyframes fadeIn3D {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9) rotateY(-10deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateY(0);
    }
}

.service-box {
    animation: fadeIn3D 0.8s ease-out forwards;
    opacity: 0;
}

/* Gradient Overlay Effect */
.service-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    border-radius: 20px;
    transform: scale(1.1);
}

.service-box:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Light Reflection Effect */
.service-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0.05;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: transform 0.8s, opacity 0.8s;
    pointer-events: none;
}

.service-box:hover::after {
    opacity: 0.15;
    transform: translate(-40%, -40%) rotate(90deg);
}
@media (max-width:768px) {
    .service-box{
        margin: auto;
        width: 90%;
    }
}


.container {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.col {
    flex: 1;
    min-width: 45%;
}

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

/* Text Animation */
.text-col h2, .text-col p {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Image Animation */
.animate-image {
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
    transform: scale(1.1);
    opacity: 0;
}
/* Full Width Section Styling */
.full-width-section {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 50px 0;
    margin: 20px 0;
    overflow: hidden;
    position: relative;
    color:white;
    direction: ltr;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Column Styling */
.col {
    flex: 1;
    min-width: 45%;
}

.image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.8s ease;
}

.text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: right;
}

.text-col h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white !important;
}

.text-col p {
    font-size: 1rem;
    color: white !important;
    line-height: 1.6;

}

/* Image Animation */
.animate-image {
    width: 100%;
    height: auto;
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

/* Section Reveal Animation */
.full-width-section:hover .animate-image {
    transform: translateX(0);
    opacity: 1;
}

.full-width-section:hover .text-col {
    transform: translateX(0);
    opacity: 1;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col {
        min-width: 100%;
    }

    .image-col {
        margin-bottom: 20px;
    }

    .text-col {
        padding: 10px;
    }
}

/* Full Width Section Styling */
.full-width-section {
    width: 100%;
    color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.col {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border-radius: 5px;
    text-align: right;
}
.intro h3{
    text-align: center;
    color: white;
}
/* Full-width section with cover image */
.full-width-cover {
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('https://via.placeholder.com/1920x1080'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Call button styling */
.call-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.call-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
/* Contact Form Section */
.contact-form-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

.contact-form-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.maintenance-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.submit-button {
    padding: 15px;
    font-size: 1.2rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* Map and Details Section */
.map-details-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    gap: 20px;
    margin-top: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    flex: 1;
}

.map-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item .icon {
    width: 20px;
    height: 20px;
}

.info-item h4 {
    font-size: 1.2rem;
    color: #333;
}

/* Contact Form Section */
.contact-form-section {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.contact-form-section h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-align: center;
    color: #007BFF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
}

/* Form Styling */
.maintenance-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    padding: 15px;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s, background-color 0.3s;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
    font-size: 0.9rem;
}

/* Submit Button Styling */
.submit-button {
    padding: 15px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--main-color), #69c26f);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(100, 187, 0, 0.3);
}

.submit-button:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 91, 187, 0.5);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 91, 187, 0.3);
}

/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.main-color{
    color: var(--main-color);
}

.full-width-section p{
    text-align: right;
}
/* Text Styling */
.text-content {
    
    word-spacing: 0.15em; /* Adjust the spacing between words */
    line-height: 2; /* Adjust the line height for better readability */
    font-size: 1.1rem; /* Font size */
    text-align: justify;
    
}
.full-width-cover{
    height: 50vh;
    background-image: url('../img/CallusCover.webp');
    margin: 20px;
}
/* Black overlay */
.full-width-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1; /* Ensures the overlay is above the background but below the button */
}

/* Call button styling */
.call-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 2; /* Ensures the button is above the overlay */
    position: relative; /* To make sure it sits above the overlay */
}

.call-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
/* Full-width section with cover image */
.full-width-cover {
    width: 100%;
    background-image: url('../img/CallusCover.webp'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Black overlay */
.full-width-cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 1;
    transition: background-color 0.3s ease; /* Transition for hover effect */
}

/* Hover effect for the overlay */
.full-width-cover:hover::before {
    background-color: rgba(0, 0, 0, 0.7); /* Darkens the overlay on hover */
}

/* Call button styling */
.call-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    background-color: var(--main-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    z-index: 2;
    position: relative;
}

/* Button hover effect */
.call-button:hover {
    background-color: #0056b3;
    transform: scale(1.1); /* Slightly scales the button for a dynamic effect */
}
.image-item p {
    font-size: 1.4em;
    word-spacing: 0.18em;
    text-align: justify;
}
.cover-2{
    background-image: url(../img/CoverCallUs2.avif);
}
.contact-form-section label{
    color: white !important;
}
.contact-form-section h2{
    color: var(--main-color);
}
/* Container Styling */
.map-info {
    border: 2px solid white;
    border-radius: 10px;
    padding: 20px;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Item Styling */
.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease;
}

.info-item:last-child {
    border-bottom: none; /* Remove border for the last item */
}

.icon {
    width: 25px;
    height: 25px;
    filter: invert(100%); /* Make the icon white */
}

/* Text Styling */
.info-item h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
    color: white;
}

/* Hover Effect */
.map-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.info-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-info {
        width: 90%;
        padding: 15px;
    }

    .info-item {
        padding: 8px;
    }

    .info-item h4 {
        font-size: 0.9rem;
    }
}

/* Footer Styling */
.site-footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    position: relative;
}

.site-footer p {
    margin: 0;
    padding: 10px 0;
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #007BFF; /* Change link color on hover for emphasis */
}

.footer-link:active {
    color: #0056b3; /* Darker shade when clicked */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 5px;
    }
}
.company{
    color: var(--main-color);
    font-size: 1.6em;
    font-weight: 700;
}
.services-section{
    margin-top: 10px;
}
html {
    scroll-behavior: smooth;
}

.nav-link {
    transition: color 0.3s;
    cursor: pointer;
}
/* Responsive Styling for Tablet Screens */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 30px; /* Reduce padding */
    }

    .navbar ul {
        gap: 20px; /* Reduce the gap between links */
    }

    .navbar .nav-link {
        padding: 8px 12px; /* Reduce padding for links */
        font-size: 14px; /* Reduce font size */
    }
}

/* Responsive Styling for Mobile Screens */
@media (max-width: 480px) {
    .navbar {
        padding: 8px 20px; /* Further reduce padding for mobile */
    }

    .navbar ul {
        gap: 15px; /* Further reduce the gap between links */
    }

    .navbar .nav-link {
        padding: 6px 10px; /* Further reduce padding for links */
        font-size: 10px; /* Further reduce font size */
    }

    .hamburger {
        display: flex; /* Show the hamburger menu on small screens */
    }

    /* Hide the list of links when using the hamburger menu */

    /* When the hamburger menu is active, show the menu */
    .navbar.active ul {
        display: flex;
    }
}

/* Responsive Styles */

/* Tablet screens */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px; /* Reduce padding for smaller screens */
        height: 80vh; /* Adjust height */
    }

    .hero-section .content {
        max-width: 100%; /* Full width for the content */
        padding: 15px; /* Reduce padding */
        font-size: 1rem; /* Adjust font size */
    }

    .hero-section h2 {
        font-size: 2.2rem; /* Adjust heading size */
    }

    .hero-section p {
        font-size: 1rem; /* Adjust paragraph font size */
    }

    .buttons {
        gap: 15px; /* Reduce button gap */
    }

    .btn {
        padding: 10px 20px; /* Adjust button padding */
        font-size: 0.9rem; /* Reduce font size */
    }
}

/* Mobile screens */
@media (max-width: 480px) {
    .hero-section {
        padding: 40px 10px; /* Further reduce padding */
        height: 70vh; /* Adjust height */
    }

    .hero-section .content {
        padding: 10px; /* Reduce content padding */
        border-right: 3px solid var(--main-color); /* Make accent border smaller */
        border-radius: 0 10px 10px 0; /* Smaller border radius */
    }

    .hero-section h2 {
        font-size: 1.8rem; /* Smaller heading size for mobile */
    }

    .hero-section p {
        font-size: 0.9rem; /* Smaller paragraph font size */
    }

    .buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: flex-start; /* Align buttons to the left */
        gap: 10px; /* Reduce button gap */
    }

    .btn {
        padding: 8px 15px; /* Further reduce button padding */
        font-size: 0.8rem; /* Further reduce button font size */
    }
}
/* Responsive Styles */

/* Tablet Screens */
@media (max-width: 768px) {
    .services-section {
        padding: 30px; /* Reduce padding for smaller screens */
    }

    .section-title {
        font-size: 2rem; /* Adjust title size */
        margin-bottom: 30px; /* Adjust spacing */
    }

    .box-container {
        gap: 15px; /* Reduce gap between service boxes */
        flex-direction: column; /* Stack boxes vertically */
        align-items: center; /* Center-align the boxes */
    }

    .service-box {
        width: 100%; /* Full width for each service box */
        max-width: 450px; /* Set a max width for consistency */
    }

    .row {
        flex-direction: column; /* Stack columns vertically */
        gap: 30px; /* Add spacing between the image and text */
    }

    .col {
        min-width: 100%; /* Full width for each column */
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .services-section {
        padding: 20px; /* Further reduce padding for mobile */
    }

    .section-title {
        font-size: 1.8rem; /* Smaller font size for mobile */
        margin-bottom: 20px;
    }

    .service-box {
        padding: 15px; /* Reduce padding inside the service boxes */
        font-size: 0.9rem; /* Adjust font size */
    }

    .service-box h4 {
        font-size: 1.2rem; /* Smaller heading size */
    }

    .service-box p {
        font-size: 0.9rem; /* Smaller paragraph size */
    }

    .container {
        padding: 0 10px; /* Add padding for better fit */
    }

    .row {
        gap: 15px; /* Adjust gap between rows */
    }

    .full-width-section {
        padding: 20px 0; /* Adjust padding for nested section */
    }

    .call-button {
        width: 100%; /* Full width button for mobile */
        padding: 10px 0; /* Adjust button padding */
        font-size: 0.9rem; /* Smaller button font size */
    }
}
/* Responsive Styles */

/* Tablet Screens */
@media (max-width: 768px) {
    .agency-section {
        padding: 30px; /* Reduce padding for smaller screens */
    }

    .intro h2 {
        font-size: 2rem; /* Adjust title size */
        margin-bottom: 15px; /* Adjust spacing */
    }

    .intro p {
        font-size: 0.9rem; /* Reduce paragraph font size */
        line-height: 1.5;
    }

    .image-grid {
        grid-template-columns: 1fr; /* Stack images vertically */
        gap: 20px; /* Adjust gap between images */
    }

    .image-item {
        text-align: center;
        margin: 0 auto; /* Center the images */
    }

    .image-item img {
        max-width: 90%; /* Adjust image size for tablets */
    }

    .facts-grid {
        flex-direction: column; /* Stack fun facts vertically */
        align-items: center;
        gap: 15px; /* Reduce gap between fact items */
    }

    .fact-item {
        width: 80%; /* Full width for each fact item */
    }

    .container {
        gap: 30px; /* Adjust gap between elements */
    }

    .row {
        flex-direction: column; /* Stack rows vertically */
        gap: 20px; /* Adjust gap between columns */
    }

    .col {
        min-width: 100%; /* Full width for each column */
    }

    .text-col {
        padding: 15px; /* Reduce padding for text column */
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .agency-section {
        padding: 20px; /* Further reduce padding for mobile */
    }

    .intro h2 {
        font-size: 1.6rem; /* Smaller heading size for mobile */
        margin-bottom: 10px;
    }

    .intro p {
        font-size: 0.8rem; /* Smaller paragraph font size */
    }

    .image-grid {
        gap: 15px; /* Further reduce gap */
    }

    .image-item img {
        max-width: 100%; /* Full width for mobile */
    }

    .fun-fact {
        padding: 20px; /* Reduce padding for fun fact section */
    }

    .fact-item {
        width: 100%; /* Full width for each fact item */
        padding: 15px; /* Reduce padding */
        margin: 0 auto; /* Center-align fact items */
    }

    .text-col h2 {
        font-size: 1.4rem; /* Smaller heading size for text column */
    }

    .text-col p {
        font-size: 0.8rem; /* Smaller paragraph size */
    }

    .container {
        padding: 0 10px; /* Add side padding for better fit */
    }

    .call-button {
        width: 100%; /* Full width button for mobile */
        padding: 10px; /* Adjust button padding */
        font-size: 0.8rem; /* Smaller button font size */
    }

    .row {
        gap: 10px; /* Adjust gap between rows */
    }
}
/* Tablet Screens */
@media (max-width: 768px) {
    .map-details-section {
        flex-direction: column; /* Stack map and details vertically */
        align-items: center;
        padding: 30px;
    }

    .map-info {
        max-width: 100%; /* Full width for details section */
        align-items: center;
        text-align: center; /* Center-align text */
    }

    .map-container {
        max-width: 100%; /* Full width for map */
        margin-top: 20px;
    }

    .info-item h4 {
        font-size: 1rem; /* Adjust font size for smaller screens */
    }

    .icon {
        width: 25px; /* Reduce icon size */
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .map-details-section {
        padding: 20px;
    }

    .info-item {
        flex-direction: column; /* Stack icons and text vertically */
        align-items: center;
    }

    .icon {
        margin-bottom: 5px; /* Add space between icon and text */
    }

    .info-item h4 {
        font-size: 0.9rem; /* Further reduce font size */
    }

    .map-container {
        height: 300px; /* Reduce map height */
    }
}
/* Responsive Styles */

/* Tablet Screens */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 20px; /* Reduce padding for smaller screens */
        max-width: 90%; /* Increase width to use more space */
    }

    .contact-form-section h2 {
        font-size: 1.6rem; /* Adjust heading size */
    }

    .form-group label {
        font-size: 0.9rem; /* Smaller font size for labels */
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.9rem; /* Smaller font size for inputs */
        padding: 8px; /* Reduce padding in inputs */
    }

    .submit-button {
        padding: 12px; /* Adjust button padding */
        font-size: 1rem; /* Smaller font size for button */
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .contact-form-section {
        padding: 15px; /* Further reduce padding for mobile */
        max-width: 100%; /* Full width for mobile */
    }

    .contact-form-section h2 {
        font-size: 1.4rem; /* Smaller heading size for mobile */
    }

    .form-group label {
        font-size: 0.8rem; /* Further reduce font size for labels */
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.8rem; /* Further reduce font size for inputs */
        padding: 6px; /* Further reduce padding in inputs */
    }

    .submit-button {
        padding: 10px; /* Adjust button padding */
        font-size: 0.9rem; /* Further reduce button font size */
    }
}
/* Responsive Styles */

/* Tablet Screens */
@media (max-width: 768px) {
    .full-width-cover {
        height: 35vh; /* Adjust height for tablets */
    }

    .call-button {
        padding: 12px 25px; /* Adjust button padding */
        font-size: 1rem; /* Smaller font size for the button */
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .full-width-cover {
        height: 20vh; /* Further adjust height for mobile */
    }

    .call-button {
        padding: 10px 20px; /* Adjust button padding */
        font-size: 0.9rem; /* Further reduce font size for the button */
    }
}
/* Responsive Styles */

/* Tablet Screens */
@media (max-width: 768px) {
    .agency-section {
        padding: 30px; /* Reduce padding for smaller screens */
    }

    .intro h2 {
        font-size: 2rem; /* Adjust heading size */
        margin-bottom: 15px; /* Adjust spacing */
    }

    .intro p {
        font-size: 0.9rem; /* Reduce paragraph font size */
    }

    .image-grid {
        grid-template-columns: 1fr; /* Stack images vertically */
        gap: 15px; /* Adjust gap between images */
    }

    .image-item {
        text-align: center; /* Center-align text in image items */
    }

    .fun-fact {
        padding: 20px; /* Reduce padding for fun fact section */
    }

    .fact-item {
        width: 100%; /* Full width for each fact item */
        padding: 15px; /* Reduce padding */
        margin: 0 auto; /* Center-align fact items */
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .agency-section {
        padding: 20px; /* Further reduce padding for mobile */
    }

    .intro h2 {
        font-size: 1.5rem; /* Smaller heading size for mobile */
        margin-bottom: 10px; /* Adjust margin */
    }

    .intro p {
        font-size: 0.8rem; /* Smaller paragraph size */
    }

    .image-grid {
        gap: 10px; /* Further reduce gap */
    }

    .image-item h2 {
        font-size: 1.2rem; /* Smaller heading size for image item */
    }

    .image-item p {
        font-size: 0.8rem; /* Smaller paragraph size for image item */
    }

    .fun-fact {
        padding: 15px; /* Reduce padding for fun fact section */
    }

    .fact-item {
        width: 100%; /* Full width for each fact item */
        padding: 10px; /* Further reduce padding */
    }

    .fact-item h4 {
        font-size: 1.5rem; /* Smaller heading size for facts */
    }

    .fact-item p {
        font-size: 0.8rem; /* Smaller paragraph size for facts */
    }
}
.full-width-cover{
    width: 98%;
    margin: auto;
}