/* Variables */
:root {
    --dark-blue: #020742;
    --dark-orange: #cf3506;
    --white: #ffffff;
    --light-blue: #303f9f;
    --transparent-blue: rgba(251, 251, 251, 0.9);
    --transparent-orange: rgba(255, 87, 34, 0.9);
    --black:#3a3939;
    --bluey:rgba(244, 244, 252, 0.9);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-blue);
    background-color: var(--white);
}

/* Header Styles */
.top-header {
    background-color: var(--dark-blue);
    padding: 10px 0;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 0 50px;
}

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

.contact-info a:hover {
    color: var(--dark-orange);
}

nav {
    background-color: var(--white);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--dark-orange);
}

.quote-btn {
    background-color: var(--dark-orange);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quote-btn:hover {
    background-color: var(--dark-blue);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlideshow 16s infinite;
}

.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 4s; }
.hero-slideshow img:nth-child(3) { animation-delay: 8s; }
.hero-slideshow img:nth-child(4) { animation-delay: 12s; }

@keyframes fadeSlideshow {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 0; }
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(26, 35, 126, 0.7);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left; /* Align text to the left */
    max-width: 1200px; /* Set a max-width for better readability */
    width: 90%; /* Make it wider (adjust as needed) */
    margin: 0 auto; /* Center the content horizontally */
    padding-left: 50px; /* Add left padding to push content away from the edge */
    color: var(--white);
}
.bbbee-badge h1 {
    font-size: 2rem; /* Increase font size for the badge */
}

.hero-content h2 {
    font-size: 3rem; /* Increase font size for the main heading */
    margin-bottom: 30px; /* Add space below the heading */
}

.cta-buttons .btn {
    font-size: 1.2rem; /* Increase font size for buttons */
}

/* About Section */
.about {
    padding: 60px 20px; /* Reduced padding */
    background-color: #f9f9f9;
    overflow: hidden;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
    max-width: 500px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 15px; /* Reduced margin */
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px; /* Reduced margin */
}

.about-text .btn {
    margin-top: 15px; /* Reduced margin */
}

.mission-vision {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced gap */
}

.card {
    background-color: var(--white);
    padding: 20px; /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2rem;
    color: var(--dark-orange);
    margin-bottom: 10px; /* Reduced margin */
}

.card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px; /* Reduced margin */
}

.card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .mission-vision {
        max-width: 100%;
    }

    .card {
        text-align: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    margin: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--dark-orange);
    color: var(--white);
}

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

/* Section Styles */
.section-title {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 30px; /* Reduced margin */
    position: relative;
    padding-bottom: 15px; /* Reduced padding */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--dark-orange);
}

/* Service Cards */
.services {
    padding: 60px 20px; /* Reduced padding */
    background-color: var(--bluey);
}

.section-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px; /* Reduced margin */
}

.service-category {
    margin-bottom: 40px; /* Reduced margin */
}

.category-title {
    text-align: center;
    color: var(--black);
    font-size: 1.8rem;
    margin-bottom: 30px; /* Reduced margin */
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--dark-orange);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; /* Reduced gap */
}

.service-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

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

.service-item h4 {
    font-size: 1.5rem;
    color: var(--black);
    margin: 15px 15px 10px; /* Reduced margin */
}

.service-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 15px 15px; /* Reduced margin */
}

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

    .category-title {
        font-size: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 60px 20px; /* Reduced padding */
    background-color: var(--bluey);
}

.section-title {
    text-align: center;
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 15px; /* Reduced margin */
    position: relative;
}

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

.section-subtitle {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 40px; /* Reduced margin */
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Header */
.top-header {
    background-color: var(--dark-blue);
    padding: 10px 0;
    font-size: 0.9rem;
}

.contacting {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacting a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contacting a:hover {
    color: var(--dark-orange);
}

.contacting i {
    font-size: 1rem;
    color: var(--dark-orange);
    transition: color 0.3s ease;
}

.contacting a:hover i {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contacting {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .contacting a {
        font-size: 0.85rem;
    }
}

/* Contact Info */
.contact-info {
    background-color: #f9f9f9;
    padding: 30px; /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px; /* Reduced gap */
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--dark-orange);
    margin-top: 5px;
}

.info-item p, .info-item address {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.working-hours {
    margin-top: 15px; /* Reduced margin */
}

.working-hours h4 {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 10px;
}

.working-hours p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.response-time {
    font-weight: 500;
    color: var(--dark-orange);
}

/* Contact Form */
.contact-form {
    background-color: #f9f9f9;
    padding: 20px; /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 10px;
}

.contact-form p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px; /* Reduced margin */
}

.form-group {
    margin-bottom: 15px; /* Reduced margin */
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px; /* Reduced padding */
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--dark-orange);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px; /* Reduced height */
}

.btn-primary {
    background-color: var(--dark-orange);
    color: var(--white);
    border: none;
    padding: 10px 25px; /* Reduced padding */
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
}

/* Google Maps */
.map {
    margin-top: 40px; /* Reduced margin */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

    .contact-info, .contact-form {
        padding: 15px; /* Reduced padding */
    }
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px 20px 20px; /* Reduced padding */
    font-size: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px; /* Reduced padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    margin-bottom: 15px; /* Reduced margin */
}

.footer-section h4 {
    font-size: 1.3rem;
    color: var(--dark-orange);
    margin-bottom: 15px; /* Reduced margin */
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--dark-orange);
}

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

.footer-section ul li {
    margin-bottom: 10px; /* Reduced margin */
}

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

.footer-section ul li a:hover {
    color: var(--dark-orange);
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--dark-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px; /* Reduced padding */
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    margin: 0;
}

/* Hover Effects */
.footer-section ul li:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--dark-blue);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 15px; /* Reduced padding */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 1.8em;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px; /* Reduced padding */
}

/* Clients Section */
.clients {
    padding: 60px 20px; /* Reduced padding */
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 30px; /* Reduced margin */
    position: relative;
}

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

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px; /* Reduced gap */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px; /* Reduced padding */
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.client-item img {
    width: 100px;
    height: auto;
    margin-bottom: 10px; /* Reduced margin */
    transition: transform 0.3s ease;
}

.client-item:hover img {
    transform: scale(1.1);
}

.client-item h4 {
    font-size: 1.1rem;
    color: var(--black);
    margin: 0;
    transition: color 0.3s ease;
}

.client-item:hover h4 {
    color: var(--dark-orange);
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px; /* Reduced gap */
    }

    .client-item img {
        width: 80px;
    }

    .client-item h4 {
        font-size: 1rem;
    }
}