@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --primary-red: #C73036;
    --dark-red: #A52127;
    --light-red: #E8555A;
    --accent-gray: #E8E8E8;
    --dark-gray: #2C2C2C;
    --medium-gray: #666666;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-primary: #1A1A1A;
     --footer-bg: #1E1E1E;
    --text-secondary: #555555;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(199, 48, 54, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 25px rgba(199, 48, 54, 0.12);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-primary) !important;
    font-size: 1.4rem;
}

.navbar-brand img {
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red) !important;
}

.navbar-toggler {
    border: 2px solid var(--primary-red);
    padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(199, 48, 54, 0.25);
}

/* Hero Section */
/* ===== Hero Banner with overlapping text ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background: url('images/mainimg.jpeg') center center / cover no-repeat;
    overflow: hidden;
}

/* dark gradient so text stays readable over the photo */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-red);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 650px;
}

.hero-buttons {
    margin-bottom: 3rem;
}

.btn-outline-light-custom {
    background: transparent;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: #fff;
    color: var(--primary-red);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    display: block;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* mobile */
@media (max-width: 768px) {
    .hero-section { padding: 120px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-overlay { background: rgba(0, 0, 0, 0.7); }
    .hero-stats { gap: 1.5rem; }
}
/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    /* background: linear-gradient(90deg, var(--primary-red), var(--light-red)); */
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    /* <!-- max-width: 700px; --> */
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(199, 48, 54, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 2.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(199, 48, 54, 0.05) 0%, transparent 70%);
    transform: translate(40%, -40%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(199, 48, 54, 0.15);
    border-color: var(--primary-red);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.service-icon {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--primary-red);
    font-size: 0.8rem;
}

/* Works Section */
.works-section {
    background: white;
}

.work-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.work-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-gray), var(--light-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(199, 48, 54, 0.1), rgba(199, 48, 54, 0.05));
}

.work-image i {
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.3;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    transform: translateY(60%);
    transition: all 0.4s ease;
}

.work-card:hover .work-overlay {
    transform: translateY(0);
}

.work-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.work-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Clients Section */
.clients-section {
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
}

.client-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(199, 48, 54, 0.12);
    border-color: var(--primary-red);
}

/* .client-logo {
    max-width: 150px;
    max-height: 80px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
} */

.client-card:hover .client-logo {
    opacity: 1;
    filter: grayscale(0%);
}

/* .client-placeholder {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--medium-gray);
    text-align: center;
} */

.client-card {
    background: white;
    border-radius: 15px;
    padding: 1.25rem;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(199, 48, 54, 0.12);
    border-color: var(--primary-red);
}

.client-logo {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-card:hover .client-logo {
    transform: scale(1.05);
}

.client-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--medium-gray);
    text-align: center;
    line-height: 1.3;
}

.client-placeholder {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--medium-gray);
    text-align: center;
}


/* Units Section */
.units-section {
    background: white;
}

.unit-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.unit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(199, 48, 54, 0.15);
}

.unit-header {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 2rem;
    text-align: center;
}

.unit-number {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.3;
    line-height: 1;
}

.unit-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 1rem;
}

.unit-body {
    padding: 2.5rem;
}

.unit-info {
    margin-bottom: 2rem;
}

.unit-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unit-info h4 i {
    color: var(--primary-red);
}

.unit-info p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

.unit-capabilities {
    list-style: none;
    padding: 0;
}

.unit-capabilities li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(199, 48, 54, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.unit-capabilities li i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px;
    opacity: 0.5;
}

.contact-cta-content {
    position: relative;
    z-index: 1;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-gray);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--footer-bg);
}

.contact-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--footer-bg);
}

.btn-light-custom {
    background: white;
    color: var(--primary-red);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-light-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
    color: var(--primary-red);
}

/* Footer Base */
footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 4rem 0 1rem;
}

/* About Section */
.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-about img {
    height: 40px;
}
.footer-about p {
    opacity: 0.9;
    line-height: 1.8;
    color: var(--text-light);
}

/* Map Section */
.footer-map h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Contact Info */
.footer-contact-info {
    list-style: none;
    padding: 0;
}
.footer-contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--text-light);
}
.footer-contact-info li i {
    color: var(--light-red);
    margin-top: 0.25rem;
}

/* Social Icons */
.footer-social {
    margin-top: 1.5rem;
}
.footer-social a {
    color: var(--white);
    font-size: 1.1rem;
    margin-right: 0.75rem;
    display: inline-block;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    color: var(--light-red);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(199, 48, 54, 0.3);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(199, 48, 54, 0.4);
}

.scroll-top.show {
    display: flex;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }

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

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/*-----------------------*/
/* Smooth fade and glow hover effects */
.btn-primary-custom, .btn-secondary-custom, .btn-light-custom {
  transition: all 0.4s ease, box-shadow 0.4s ease;
}

.btn-primary-custom:hover, .btn-secondary-custom:hover, .btn-light-custom:hover {
  box-shadow: 0 0 25px rgba(199, 48, 54, 0.4);
  transform: translateY(-4px);
}

@keyframes moveBg {
  0% { transform: translate(0,0); }
  50% { transform: translate(20px,20px); }
  100% { transform: translate(0,0); }
}





.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}



.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

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

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.8rem;
}

.gallery-card {
    display: none;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Active pagination button matches your red theme */
.page-item.active .page-link {
    background-color: #c0392b;
    border-color: #c0392b;
}

.page-link {
    color: #c0392b;
}

.page-link:hover {
    color: #fff;
    background-color: #c0392b;
    border-color: #c0392b;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}