:root {
    --primary-color: #0f172a;
    /* Dark Blue */
    --secondary-color: #d32f2f;
    /* Red Accent */
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(211, 47, 47, 0.3);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(211, 47, 47, 0.4);
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    transition: var(--transition);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.logo-text small {
    font-size: 13px;
    color: var(--secondary-color);
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.btn) {
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover {
    color: var(--secondary-color);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../assets/images/hero.png') no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: #64748b;
    font-size: 18px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    text-align: center;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
}

.service-content p {
    color: #64748b;
    font-size: 15px;
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-box:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background-color: rgba(211, 47, 47, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 50px;
    transition: var(--transition);
}

.feature-box:hover i {
    background-color: var(--secondary-color);
    color: var(--white);
}

.feature-box h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}

/* Stats Section */
.stats-section {
    background: var(--gradient);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 40px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 500;
}

/* Testimonials */
.testimonials-section {
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-card .stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-card p {
    font-style: italic;
    color: #475569;
    margin-bottom: 25px;
    font-size: 16px;
}

.client-info h4 {
    color: var(--primary-color);
    font-weight: 700;
}

.client-info span {
    color: #94a3b8;
    font-size: 14px;
}

/* Gallery Section */
/* Gallery Carousel */
.gallery-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    width: calc(400px * 34);
    /* 17 original + 17 duplicated images */
    animation: scroll 60s linear infinite;
}

.gallery-carousel .gallery-item {
    width: 400px;
    height: 300px;
    padding: 0 10px;
    flex-shrink: 0;
}

.gallery-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-400px * 17));
        /* Scroll by width of original set */
    }
}

/* About Section */
.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    /*     box-shadow: var(--shadow-lg); */
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 800;
}

.about-text li {
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding-left: 0;
}

.about-text li::before {
    content: none;
}

.about-text li i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 18px;
}

.about-image {
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    flex: 0 0 55%;
    /* Increase width to make the image larger */
}

.about-text {
    flex: 1;
    /* Allow text to take remaining space */
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-info {
    flex: 0 1 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.contact-item {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 25px;
    background: rgba(211, 47, 47, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}





/* Footer */
footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 20px 0 10px;
    font-size: 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.footer-col h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-links i {
    width: 20px;
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background-color: #b71c1c;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        flex-direction: column;
        padding: 20px;
    }

    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-form {
        padding: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Terms Page */
.terms-section {
    padding: 120px 0 60px;
}

.terms-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.terms-content h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.terms-content h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.terms-content ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-color);
}

.terms-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.terms-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-color);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.call-btn {
    background-color: #007bff;
}

.whatsapp-btn {
    background-color: #25d366;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    color: #fff;
}