/* Color Variables */
:root {
    --bg-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #666;
    --header-bg: #fff;
    --card-bg: #fff;
    --primary-color: #0056b3;
    --accent-color: #ff6b6b;
    --footer-bg: #002b5e;
    --shadow: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f1f1f1;
    --text-muted: #aaa;
    --header-bg: #1e1e1e;
    --card-bg: #242424;
    --primary-color: #4da3ff;
    --accent-color: #ff8787;
    --footer-bg: #111;
    --shadow: rgba(255, 255, 255, 0.05);
}

/* General Reset & OVERFLOW FIX */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

/* General Reset & OVERFLOW FIX */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
    /* Navbar er height er jonno jaiga chharabe */
}

body {
    max-width: 100vw;
    overflow-x: hidden;
    /* Eta sudhu body te thakbe */
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Header & Navbar */
header {
    background-color: var(--header-bg);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-color);
    cursor: pointer;
}

.header-call {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/banner.jpg') center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #ff5252;
}

/* Sections */
.services,
.gallery,
.reviews,
.contact {
    padding: 80px 50px;
    text-align: center;
}

.services h2,
.gallery h2,
.reviews h2,
.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.gallery-subtitle {
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 22px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Our Specialties */
.features h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.features {
    padding: 80px 50px;
    text-align: center;
}

/* --- STATIC REVIEWS SECTION --- */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.review-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-name {
    font-weight: bold;
    font-size: 18px;
    color: var(--text-color);
}

.review-stars {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
}


/* Contact & General Components */
.call-btn-large {
    font-size: clamp(16px, 4vw, 22px);
    padding: 20px 30px;
    border-radius: 50px;
    background-color: #28a745;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
    animation: pulse 2s infinite;
    margin-bottom: 40px;
    display: inline-block;
}

.extra-info p {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--text-color);
}

.extra-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

footer {
    background-color: var(--footer-bg);
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .services,
    .gallery,
    .reviews,
    .contact {
        padding: 50px 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: var(--header-bg);
        padding: 20px;
        border-radius: 5px;
        width: 200px;
        box-shadow: 0 5px 15px var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 20px;
        right: 20px;
    }
}

/* --- FAQ SECTION --- */
.faq {
    padding: 80px 50px;
    text-align: center;
    background-color: var(--bg-color);
}

.faq h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(0, 86, 179, 0.05);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.4s ease;
}

/* When FAQ is active (open) */
.faq-question.active i {
    transform: rotate(180deg);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-color);
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq {
        padding: 50px 20px;
    }

    .faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .faq-answer p {
        padding: 0 15px 15px 15px;
        font-size: 15px;
    }
}

/* --- Custom Logo Image Style --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;

}

.logo img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;


}

/* Logo decrease for Mobile */
@media (max-width: 768px) {
    .logo img {
        height: 40px;
        width: 40px;
    }
}



/* Features  */
.features {
    padding: 20px 50px 60px 50px;
    background: var(--bg-main);
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: -20px;
    background: var(--bg-sec);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 1500px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.feature-box {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 45px;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 20px;
}

.feature-box p {
    color: var(--text-sec);
    font-size: 15px;
}

@media (max-width: 900px) {
    .features-wrapper {
        padding: 30px 0px;
        grid-template-columns: repeat(2, 1fr);
    }
}


/* --- Call To Action (Book a Call) Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), #007b80);
    /* Teal Gradient */
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 50px auto 0 auto;
    /* Uporer section theke faka korar jonno */
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    box-shadow: 0 15px 30px rgba(0, 173, 181, 0.3);
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 15px;
    color: #ffffff;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e0f7f8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: #ffffff;
    color: var(--primary) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    padding: 15px 40px;
    border-radius: 50px;
}

.cta-btn i {
    margin-right: 8px;
    animation: pulse-icon 2s infinite;

}

.cta-btn:hover {
    /* background: #f1f1f1;
    color: #008f96 !important; */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
        border-radius: 15px;
    }
}
    
/* Footer */
.modern-footer {
    background: #111;
    color: #fff;
    padding: 60px 50px 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-col p {
    color: #aaa;
    font-size: 14px;
    max-width: 300px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 13px;
}