/* Reset default styles */
/* Primary Color: #ed1a22 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Minerva Modern", sans-serif;
}

/* Load Minerva Modern font */
@font-face {
    font-family: "Minerva Modern";
    font-style: normal;
    font-weight: normal;
    src: url("../fonts/MinervaModern_Regular.otf") format("opentype");
}

body {
    background: #fff;
    color: #1a1a1a;
    line-height: 1.4;
    scroll-behavior: smooth;
    font-family: "Minerva Modern", sans-serif;
    font-size: 14px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 1.2rem 5%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.shrink {
    padding: 0.8rem 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 5rem;
    height: 5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #ed1a22;
    transform: translateY(-2px);
}

.nav-icons a {
    color: #1a1a1a;
    margin-left: 1.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.nav-icons a:hover {
    color: #ed1a22;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/images/billboard.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 1.5rem;
}

.hero-content h1 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.hero-content p {
    font-size: 1rem;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background-color: white;
    border: 1px solid #e0e0e0;
}

.contact-heading {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 6px;
    color: #ed1a22;
}

.contact-subheading {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #444;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 20px;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-control {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #ed1a22;
}

.submit-btn {
    margin-top: 10px;
    padding: 12px 36px;
    font-size: 16px;
    color: #ed1a22;
    background: transparent;
    border: 1px solid #ed1a22;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.submit-btn:hover {
    background-color: #ed1a22;
    color: white;
}


/* Sections */
.section {
    padding: 4rem 5%;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    color: #ed1a22;
    margin-bottom: 2rem;
    position: relative;
}

.section h2::after {
    content: "";
    width: 40px;
    height: 1px;
    background: #ed1a22;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}

.section h2.visible::after {
    width: 60px;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Us Section */
.about-section {
    background: #f9f9f9;
    text-align: center;
}

.about-section p {
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: #333;
    font-weight: 500;
    text-align: center;
    max-width: 800px;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stat {
    text-align: center;
    margin: 1rem;
}

.stat h3 {
    font-size: 2.8rem;
    color: #ed1a22;
    font-weight: 700;
}

.stat p {
    font-size: 1rem;
    color: #666;
}

/* Why Choose Us Section */
.why-choose-us {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        linear-gradient(#a93030 1px, transparent 1px),
        linear-gradient(90deg, #db1c1c 1px, transparent 1px);
    background-size: 100% 100%, 25px 25px, 25px 25px;
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border: solid 1px #ddd;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: #ed1a22;
    transition: height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.why-card:hover::before {
    height: 100%;
}

.why-card h3 {
    font-size: 1.2rem;
    color: #ed1a22;
    margin-bottom: 0.8rem;
    font-weight: 700;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.why-card:hover h3 {
    transform: translateX(6px);
}

.why-card p {
    font-size: 0.95rem;
    color: #666;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.why-card:hover p {
    transform: translateX(4px);
}


/* Services Section */
.services-section {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        linear-gradient(#ef0000 1px, transparent 1px),
        linear-gradient(90deg, #fe0c0c 1px, transparent 1px);
    background-size: 100% 100%, 25px 25px, 25px 25px;
    position: relative;
    overflow-x: clip;
}

.services-grid-wrapper {
    position: relative;
}

.services-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1rem 0.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.services-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.service-card {
    flex: 0 0 300px;
    background: #fff;
    padding: 1.5rem;
    text-align: center;
    border: solid 1px #ddd;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                box-shadow 0.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
                opacity 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0;
    background: #ed1a22;
    transition: height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 1.2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-card:hover img {
    transform: scale(1.03);
}

.service-card h3 {
    color: #ed1a22;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-card:hover h3 {
    transform: translateX(4px);
}

.service-card p {
    color: #666;
    font-size: 0.9rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.service-card:hover p {
    transform: translateX(3px);
}

.view-all-btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: #ed1a22;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    margin-top: 1rem;
    border: 2px solid #ed1a22;
}

.view-all-btn:hover {
    background: #fff;
    color: #ed1a22;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 26, 34, 0.3);
}

.scroll-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: absolute;
    width: calc(100% - 2rem);
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.scroll-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ddd;
    color: #ed1a22;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    pointer-events: auto;
}

.scroll-btn:hover {
    background: #ed1a22;
    color: #fff;
    transform: scale(1.05);
}

.scroll-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 26, 34, 0.3);
}

/* Articles Section */
.articles-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    padding: 20px 0;
}

/* Main content - CORRECTED */
.main-content {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Featured Article - CORRECTED */
.featured-article {
    display: flex;
    flex-direction: column;
}

/* Other Articles Wrapper - NEW RULE */
.other-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.featured-article img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.article-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 10px;
}

.article-title {
    color: #d81920;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 10px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.featured-article .article-title {
    font-size: 24px;
    margin-top: 15px;
}

.article-title:hover {
    color: #b0151a;
}

.article-excerpt {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sidebar */
.sidebar {
    flex: 1;
}

.sidebar-title {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 25px;
    color: #333;
    letter-spacing: 1px;
}

.popular-articles {
    list-style: none;
    padding: 0;
}

.popular-article {
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    padding: 10px;
    border-left: 3px solid #d81920;
}

.popular-article:hover {
    transform: translateX(5px);
}

.popular-article-title {
    color: #d81920;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.popular-article-title:hover {
    color: #b0151a;
}

.popular-article-excerpt {
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Testimonials Section */
#testimonials {
    background: #f9f9f9;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-left: 4px solid #ed1a22;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-card h4 {
    font-size: 1rem;
    color: #333;
    font-weight: 700;
}

/* Our Reach Section */
.reach-section {
    background: #e2e2e2;
    text-align: center;
}

.reach-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.reach-card {
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reach-card:hover {
    transform: scale(1.05);
}

.reach-card h3 {
    font-size: 1.2rem;
    color: #ed1a22;
    font-weight: 700;
}

/* Our Clients Section */
.clients-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: center;
}

.client-logo {
    width: 130px;
    height: 90px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, transform 0.2s ease, opacity 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0);
    transform: scale(1.1);
    opacity: 1;
}
/* Our Team Section - Redesigned (Non-Card) */
#team {
    background: #f9f9f9;
    padding: 4rem 5%;
}

#team h2 {
    text-align: center;
    font-size: 2rem;
    color: #ed1a22;
    margin-top: 0;
    margin-bottom: 3rem; /* Increased bottom margin for more space */
    position: relative;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers team members horizontally */
    gap: 2rem; /* Adjust gap as needed */
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    /* Remove background and box-shadow for a cleaner look */
    /* background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    padding: 0; /* Remove padding from the container */
    transition: transform 0.3s ease; /* Slight transform on hover */
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 150px; /* Adjust image size as needed */
    height: 150px; /* Maintain a square aspect ratio */
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.8rem;
    border: 3px solid #ddd; /* Optional: subtle border */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    transition: transform 0.2s ease-in-out;
}

.team-member:hover img {
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1.1rem;
    color: #333; /* Darker color for better readability */
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.team-member p {
    font-size: 0.9rem;
    color: #777; /* Slightly lighter text for the role */
    font-style: italic; /* Optional: italicize the role */
}
/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 70%;
    border-radius: 12px;
}

.lightbox .caption {
    color: #fff;
    font-size: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ed1a22;
}

/* Contact Us Section */
.contact-section {
    text-align: center;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        linear-gradient(#f0f0f0 1px, transparent 1px),
        linear-gradient(90deg, #f0f0f0 1px, transparent 1px);
    background-size: 100% 100%, 25px 25px, 25px 25px;
    position: relative;
    overflow: hidden;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-icon img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 5%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #ed1a22;
    font-weight: 700;
}

.footer-column p,
.footer-column a {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ed1a22;
}

.footer-map {
    flex: 1.5;
    min-width: 280px;
}

.footer-map img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #333;
}

.footer-bottom {
    flex-basis: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

.footer-bottom a {
    color: #ed1a22;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 3%;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-icons {
        display: flex;
        gap: 1rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.8rem;
    }
    .section {
        padding: 3rem 3%;
    }
    .articles-container {
        flex-direction: column;
    }
    .other-articles {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .clients-grid {
        gap: 1.5rem;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-member img {
        width: 130px;
        height: 130px;
    }
    footer {
        flex-direction: column;
        text-align: center;
    }
    .footer-map {
        order: -1;
        width: 100%;
    }
    .whatsapp-icon img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
    }
    .hero-content p {
        font-size: 0.7rem;
    }
    .client-logo {
        width: 100px;
        height: 70px;
    }
    .footer-column {
        min-width: 100%;
    }
}
