html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFFFF;
    color: #333333;
}
h1, h2, h3 {
    font-family: 'Cinzel', serif;
}
.text-accent {
    color: #D4AF37;
}
.bg-accent {
    background-color: #D4AF37;
}
.text-silver {
    color: #C0C0C0;
}
.bg-silver {
    background-color: #C0C0C0;
}
.bg-black {
    background-color: #0B0B0B;
}
.text-white {
    color: #FFFFFF;
}
.bg-white {
    background-color: #FFFFFF;
}
.bg-gradient-hero {
    background: linear-gradient(135deg, #0B0B0B 0%, #1e293b 50%, #D4AF37 100%);
}
.bg-gradient-section {
    background: linear-gradient(135deg, #FFFFFF 0%, #f8fafc 100%);
}
.card-glow {
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}
.card-glow:hover {
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px) scale(1.02);
}
.glow-effect {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.1;
}

/* Animated Gradient for Navbar */
header {
    background: linear-gradient(-45deg, #0B0B0B, #1e293b, #D4AF37, #0B0B0B);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
header.scrolled {
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95), rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.95));
    background-size: 400% 400%;
    animation: gradientShiftWhite 20s ease infinite;
    opacity: 0.98;
}
@keyframes gradientShiftWhite {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
header.scrolled .text-primary-dark {
    color: #0B0B0B;
}

/* Animated Gradient for Nav Links */
.nav-links a {
    background: linear-gradient(-45deg, #FFFFFF, #f8fafc, #D4AF37, #FFFFFF);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShiftText 20s ease infinite;
    color: white;
}
@keyframes gradientShiftText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
header.scrolled .nav-links a {
    background: linear-gradient(-45deg, #0B0B0B, #1e293b, #D4AF37, #0B0B0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShiftTextDark 20s ease infinite;
    color: #0B0B0B;
}
@keyframes gradientShiftTextDark {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.nav-links a:hover {
    -webkit-text-fill-color: #D4AF37 !important;
    background: none !important;
    animation: none !important;
}
header.scrolled .nav-links a:hover {
    -webkit-text-fill-color: #D4AF37 !important;
    background: none !important;
    animation: none !important;
}

.logo-text-mobile {
    color: white;
}
header.scrolled .logo-text-mobile {
    color: #0B0B0B;
}

/* Floating WhatsApp Button */
#whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Enhanced list items with subtle animation */
.service-list li {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.service-list li:hover {
    padding-left: 10px;
    background: rgba(212, 175, 55, 0.1);
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #D4AF37;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.service-list li:hover::before {
    transform: scaleY(1);
}

/* Portfolio image enhancements */
.portfolio-img {
    transition: all 0.5s ease;
    filter: brightness(0.9);
}
.portfolio-img:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* CTA button glow */
.cta-button {
    position: relative;
    overflow: hidden;
}
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.cta-button:hover::before {
    left: 100%;
}

/* Logo circle style */
.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.logo-circle:hover {
    transform: scale(1.1);
}

/* Smooth Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
#mobile-menu.open {
    max-height: 500px;
}
#mobile-menu a {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}
#mobile-menu a:hover {
    background: #f9fafb;
    padding-left: 1rem;
}
#mobile-menu a:last-child {
    border-bottom: none;
}

/* Responsive nav improvements */
@media (max-width: 768px) {
    nav.hidden.md\:flex {
        display: none !important;
    }
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 10;
    }
    .logo-text-mobile {
        display: inline;
    }
    .logo-img-desktop {
        display: none;
    }
}
@media (min-width: 769px) {
    .logo-text-mobile {
        display: none;
    }
    .logo-img-desktop {
        display: block;
    }
}

/* Service Palette Enhancements */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 4px solid #D4AF37;
}
.service-card:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
    transform: translateX(5px);
}
.service-icon {
    width: 24px;
    height: 24px;
    color: #D4AF37;
    margin-right: 0.75rem;
}

/* Animated Counters */
.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #D4AF37;
    transition: all 0.5s ease;
}

/* Icon Bounce on Hover */
.icon-bounce {
    transition: transform 0.3s ease;
}
.icon-bounce:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Glassmorphism for Footer */
.glassmorphism {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Floating Labels for Contact Form */
.floating-label-group {
    position: relative;
    margin-bottom: 2rem;
}
.floating-label-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: transparent;
}
.floating-label-input:focus {
    outline: none;
    border-color: #D4AF37;
}
.floating-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #9ca3af;
    transition: all 0.3s ease;
    pointer-events: none;
}
.floating-label-input:focus + .floating-label,
.floating-label-input:not(:placeholder-shown) + .floating-label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.875rem;
    color: #D4AF37;
    background: #FFFFFF;
    padding: 0 0.5rem;
}

/* Parallax for Hero */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Swiper Testimonials */
.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Team Card Hover */
.team-card {
    transition: all 0.4s ease;
    overflow: hidden;
}
.team-card:hover {
    transform: translateY(-10px);
}
.team-card img {
    transition: transform 0.4s ease;
}
.team-card:hover img {
    transform: scale(1.1);
}

/* Portfolio Filter */
.filter-btn {
    transition: all 0.3s ease;
}
.filter-btn.active {
    background: #D4AF37;
    color: white;
}

/* Smooth Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER STYLING --- */
footer {
    position: relative;
    overflow: hidden;
}

/* Animated gradient background for footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #0B0B0B, #1a1a1a, #2d2d2d, #0B0B0B);
    background-size: 400% 400%;
    animation: gradientShiftFooter 15s ease infinite;
    z-index: 0;
    opacity: 0.95;
}

@keyframes gradientShiftFooter {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ensure footer content is above the animated background */
footer .container,
footer > div {
    position: relative;
    z-index: 1;
}

/* Footer heading styling */
footer h3, footer h4 {
    font-family: 'Cinzel', serif;
    position: relative;
    transition: color 0.3s ease;
}

footer h3:hover, footer h4:hover {
    color: #D4AF37 !important;
}

/* Animated underline for footer headings */
footer h4 {
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}

footer h4::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: 0;
    background-color: #D4AF37;
    transition: width 0.4s ease;
}

footer h4:hover::after {
    width: 100%;
}

/* Footer links styling */
footer a {
    position: relative;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #D4AF37 !important;
    transform: translateX(5px);
}

/* Social media icons hover effect */
footer .social-links a,
footer .flex a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .social-links a:hover,
footer .flex a:hover {
    background-color: #D4AF37;
    color: #0B0B0B !important;
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

footer .social-links a i,
footer .flex a i {
    transition: transform 0.3s ease;
}

footer .social-links a:hover i,
footer .flex a:hover i {
    transform: scale(1.2);
}

/* Footer contact list items */
footer ul li {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 0.5rem;
}

footer ul li:hover {
    border-left-color: #D4AF37;
    padding-left: 1rem;
}

/* Footer bottom border animation */
footer .border-bottom,
footer hr {
    position: relative;
}

footer .border-bottom::after,
footer hr::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    animation: borderGrow 3s ease-in-out infinite;
}

@keyframes borderGrow {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

/* Copyright text styling */
footer .text-center.text-sm,
footer .text-center small {
    position: relative;
    padding-top: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer .text-center.text-sm:hover,
footer .text-center small:hover {
    opacity: 1;
}

/* Decorative dots pattern overlay for footer */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    background-image: radial-gradient(#D4AF37 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Utility class for footer hover effects */
.hover-accent:hover {
    color: #D4AF37 !important;
}

/* Footer column spacing */
footer .grid > div,
footer .row > div {
    margin-bottom: 1.5rem;
}

/* Footer icon styling */
footer i {
    transition: all 0.3s ease;
}

footer a:hover i {
    color: #D4AF37;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-form {
        padding: 1.5rem;
    }
    #map {
        height: 400px;
    }
    
    /* Footer responsive adjustments */
    footer h3 {
        font-size: 1.75rem !important;
    }
    
    footer .social-links a,
    footer .flex a {
        width: 40px;
        height: 40px;
    }
    
    footer ul li {
        font-size: 0.875rem;
    }
    
    footer .grid,
    footer .row {
        gap: 1rem;
    }
    
    footer .grid > div,
    footer .row > div {
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    footer .social-links,
    footer .flex {
        justify-content: center !important;
        margin-top: 1rem;
    }
    
    footer h4 {
        font-size: 1rem;
    }
    
    footer {
        text-align: center;
    }
    
    footer ul {
        text-align: center;
    }
    
    footer ul li {
        border-left: none;
        padding-left: 0;
    }
    
    footer ul li:hover {
        padding-left: 0;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 0.5rem;
    }
}