/* ---- CSS Variables ---- */
:root {
    --primary-color: #1a1a1a;
    /* Deep Black */
    --accent-color: #D4AF37;
    /* Premium Gold/Orange Accent */
    --accent-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    /* Light Gray Background */
    --bg-white: #ffffff;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

/* ---- Reset & Base Setup ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.accent {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: #25D366;
    /* WhatsApp Green */
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-secondary:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px);
}

.w-100 {
    width: 100%;
}

/* ---- Floating CTA Buttons ---- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.float-btn.call-btn {
    background-color: var(--accent-color);
    animation: pulse-call 2s infinite;
}

.float-btn.wa-btn {
    background-color: #25D366;
    animation: pulse-wa 2s infinite;
    animation-delay: 1s;
    /* Stagger the animation so they pulse alternatively */
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.float-btn:hover {
    transform: scale(1.1);
}

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---- Hero Section ---- */
.hero {
    width: 100%;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
    height: auto;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ---- Swiper Customize ---- */
.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-color) !important;
    z-index: 3;
}

@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

.swiper-pagination {
    z-index: 3 !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--accent-color) !important;
}

/* ---- About Section ---- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    margin-top: 20px;
}

.about-features li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.about-features i {
    color: var(--accent-color);
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

/* ---- Services Section ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 12px;
    text-align: left;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.thumb-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.service-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-thumb {
    transform: scale(1.05);
}

.service-content {
    padding: 20px 20px 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #ff2a2a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #d00000;
}

/* ---- Why Choose Us Section ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 20px;
}

/* ---- Process Section ---- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.step {
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step h4 {
    margin-bottom: 10px;
}

/* ---- Gallery Section ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ---- Testimonials Section ---- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ---- FAQ Section ---- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
}

.faq-question i {
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* ---- Contact Section ---- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 20px;
}

.info-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 20px;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-item a {
    color: var(--text-light);
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
}

/* ---- Modal (Popup) Styles ---- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    overflow-y: auto;
    transform: translateY(50px);
    transition: all 0.4s ease-out;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
    background: #f0f0f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--bg-white);
}

.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-body img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
}

.modal-body p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.modal-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modal-body ul li {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.modal-body ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-color);
    position: absolute;
    left: -25px;
}

body.modal-open {
    overflow: hidden;
}

/* ---- Lightbox Styles ---- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10005;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
    object-fit: contain;
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--bg-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* ---- Footer ---- */
.footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
}

.footer-col p {
    color: #bbb;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    word-break: break-word;
    /* Ensure long emails wrap correctly */
}

.footer-contact-list li i {
    margin-top: 4px;
    /* Align icon with the first line of text */
}

.footer-col ul a {
    color: #bbb;
}

.footer-col ul a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #333;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    background-color: #ff2a2a;
    padding: 15px 0;
    font-weight: 600;
    color: #fff;
}

/* ---- Reveal Animation Classes ---- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive Design ---- */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
    }

    .nav-links.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Service Detail Page Styles
   ========================================= */

.service-detail-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    margin-top: 80px;
    /* Offset for fixed navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#sd-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    color: var(--bg-white);
}

.service-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

/* Intro */
.sd-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.sd-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Split Layout */
.sd-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 991px) {
    .sd-split-layout {
        grid-template-columns: 1fr;
    }
}

/* Features List */
.sd-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.sd-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-white);
}

.sd-feat-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.sd-feat-text h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sd-feat-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Gallery Grid */
.sd-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sd-gallery-img {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.sd-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sd-gallery-img:hover img {
    transform: scale(1.1);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 30px;
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    padding: 20px;
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 3px solid #eee;
}

.col-invisible {
    color: var(--primary-color);
    width: 50%;
}

.col-traditional {
    color: #888;
    width: 50%;
}

.comparison-table td {
    padding: 20px;
    border-bottom: 1px dashed #eee;
    font-size: 1.05rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.invisible-adv {
    font-weight: 600;
    color: var(--text-dark);
}

.traditional-dis {
    color: var(--text-light);
}

/* Service Detail Mobile Responsiveness */
@media (max-width: 768px) {
    .service-hero-content h1 {
        font-size: 2.2rem;
    }

    .service-detail-hero {
        min-height: 300px;
        height: 50vh;
    }

    .sd-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comparison-table th,
    .comparison-table td {
        font-size: 0.9rem;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .sd-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
    }
}