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

:root {
    --primary-color: #d4af37; /* Gold */
    --secondary-color: #0f172a; /* Dark Navy */
    --accent-color: #f1f5f9;
    --text-color: #334155;
    --bg-color: #ffffff;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 600;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: #b5952f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 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);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 90px; /* Limit logo height to reduce header spacing */
    width: auto;
}

.footer-logo {
    max-height: 80px; /* Larger logo in footer */
    width: auto;
    filter: brightness(0) invert(1); /* Optional: make logo white in footer if needed, but since it's an uploaded logo, let's just leave it as is and restrict size */
}

.footer .logo img {
    max-height: 60px; 
    filter: none; /* Reset if previously set */
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    transition: var(--transition);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    background: #000;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

.slide.slide-active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 15s infinite; /* Unique subtle zoom animation on the image */
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4); /* Dark Navy overlay for text readability */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide-content {
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Unique spring animation */
}

.slide.slide-active .slide-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s; /* Wait for slide to fade in before bringing text */
}

.slide-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.slide-content h1 span {
    color: var(--primary-color);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f8fafc;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

@keyframes kenburns {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Page Banners */
.page-banner {
    position: relative;
    padding: 140px 0 60px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6); /* Dark Navy overlay */
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner .section-title {
    color: #fff;
    margin-bottom: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.page-banner .section-title::after {
    background: var(--primary-color);
}

/* About Snippet */
.about-snippet {
    padding: 60px 0;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Services Sections */
.services-section {
    padding: 60px 0;
    background: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1); /* Unique zoom animation on hover */
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 60px 0;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--accent-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1); /* Unique 3D flip animation */
    background: var(--primary-color);
    color: #fff;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Our Works Section */
.our-works-section {
    padding: 60px 0;
    background: var(--accent-color);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.work-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow);
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.work-item:hover img {
    transform: scale(1.15) rotate(2deg); /* Unique rotate-zoom animation */
}

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

.work-text {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 0.1s;
}

.work-item:hover .work-text {
    transform: translateY(0);
}

.work-text h4 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.work-text p {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.testimonial-slider-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0 40px;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Smooth snap-like transition */
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--accent-color);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid transparent;
}

.testimonial-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    border-color: var(--primary-color);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #475569;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.rating {
    color: var(--primary-color);
    font-size: 1rem;
}

.test-nav-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.test-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.test-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}



/* Detailed Services Page */
.service-details {
    padding: 120px 0 60px;
}

.service-category {
    margin-bottom: 60px;
}

.service-category h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.detailed-service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.detailed-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.detailed-service-image {
    width: 100%;
    /* height: 180px; */
    overflow: hidden;
    position: relative;
}

.detailed-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.detailed-service-card:hover .detailed-service-image img {
    transform: scale(1.1) rotate(-1deg); /* Unique bouncy zoom animation */
}

.detailed-service-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.detailed-service-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.detailed-service-content p {
    font-size: 0.95rem;
    color: #64748b;
}

/* Why Choose Us Section */
.gallery-section {
    padding: 120px 0 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 300px;
}

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

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

/* Contact Section */
.contact-section {
    padding: 120px 0 60px;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background: var(--secondary-color);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 30px;
    display: flex;
    justify-content: center;
}

.info-item p {
    margin: 0;
    flex: 1;
    line-height: 1.6;
    word-break: break-word;
}

.contact-form-container {
    flex: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Floating Contact Icons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    z-index: -1;
    animation: ripple 2s infinite;
}

.call-btn {
    background: var(--primary-color);
}
.call-btn::before {
    background: var(--primary-color);
    animation-delay: 1s;
}

.wa-btn {
    background: #25D366; /* WhatsApp Green */
}
.wa-btn::before {
    background: #25D366;
}

.float-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #fff;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Hover Animation for Service Cards */
.hover-animate {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.hover-animate:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .testimonial-slide {
        flex: 0 0 calc(50% - 15px);
    }
    
    .hero-container, .about-wrapper, .contact-wrapper {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .btn-nav {
        display: none;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
