:root {
    --primary-color: #B8860B;
    --secondary-color: #8B7355;
    --accent-color: #D4AF37;
    --primary-light: rgba(184, 134, 11, 0.1);
    --primary-medium: rgba(184, 134, 11, 0.2);
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --bg-light: #F8F6F0;
    --bg-white: #FFFFFF;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

* {
    scroll-behavior: smooth;
}

/* Remove blue border from all buttons */
button,
button:focus,
button:active,
button:focus-visible,
button:focus-within,
input[type="button"],
input[type="button"]:focus,
input[type="button"]:active,
input[type="button"]:focus-visible,
input[type="button"]:focus-within,
input[type="submit"],
input[type="submit"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus-visible,
input[type="submit"]:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* Remove blue border from all anchor tags */
a,
a:focus,
a:active,
a:focus-visible,
a:focus-within,
a:visited {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 50%, #ffffff 100%);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Animated background elements */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
}

.floating-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.12;
    animation: floatAround 20s infinite ease-in-out;
    pointer-events: none;
    filter: blur(1px);
    text-shadow: 0 0 10px rgba(184, 134, 11, 0.3);
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    font-size: 2.5rem;
}

.floating-icon:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
    animation-duration: 25s;
    font-size: 3.5rem;
}

.floating-icon:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 22s;
    font-size: 2.8rem;
}

.floating-icon:nth-child(4) {
    top: 50%;
    right: 10%;
    animation-delay: 6s;
    animation-duration: 28s;
    font-size: 3rem;
}

.floating-icon:nth-child(5) {
    bottom: 30%;
    right: 30%;
    animation-delay: 8s;
    animation-duration: 24s;
    font-size: 2.6rem;
}

.floating-icon:nth-child(6) {
    top: 70%;
    left: 50%;
    animation-delay: 10s;
    animation-duration: 26s;
    font-size: 3.2rem;
}

/* Water wave effect */
.water-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 200px;
    background: linear-gradient(90deg,
        rgba(184, 134, 11, 0.08) 0%,
        rgba(212, 175, 55, 0.12) 50%,
        rgba(184, 134, 11, 0.08) 100%);
    border-radius: 50% 50% 0 0;
    animation: waterWave 8s infinite ease-in-out;
    opacity: 0.5;
    filter: blur(2px);
}

.water-wave:nth-child(2) {
    animation-delay: 2s;
    height: 150px;
    opacity: 0.3;
}

.water-wave:nth-child(3) {
    animation-delay: 4s;
    height: 180px;
    opacity: 0.25;
}


/* Bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.15) 0%, rgba(184, 134, 11, 0.03) 100%);
    animation: bubble 15s infinite;
    pointer-events: none;
    border: 1px solid rgba(184, 134, 11, 0.1);
    backdrop-filter: blur(1px);
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.bubble:nth-child(3) {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 14s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 85%;
    animation-delay: 8s;
    animation-duration: 16s;
}

/* Section with animated background */
.section-with-bg {
    position: relative;
    overflow: hidden;
}

.section-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.section-content {
    position: relative;
    z-index: 1;
}

/* Blurry transparent backgrounds */
.blur-bg {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.blur-bg-light {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Card with animated background */
.card-animated-bg {
    position: relative;
    overflow: hidden;
}

.card-animated-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    animation: floatSlow 20s infinite ease-in-out;
    opacity: 0.3;
    z-index: 0;
}

.card-animated-bg > * {
    position: relative;
    z-index: 1;
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes floatAround {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, -50px) rotate(-5deg);
    }
    75% {
        transform: translate(-30px, -20px) rotate(3deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-30px) translateX(20px);
    }
    66% {
        transform: translateY(-15px) translateX(-20px);
    }
}

@keyframes waterWave {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(50px) translateY(-20px) scale(1.1);
        opacity: 0.5;
    }
}


@keyframes bubble {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Navbar with smooth transitions */
.navbar {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.2rem 0;
    background: transparent !important;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: none;
    transform: translateY(0);
}

/* Desktop: Always sticky and transparent initially */
@media (min-width: 992px) {
    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1030;
        background: transparent !important;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        box-shadow: none;
        padding: 1.5rem 0;
    }
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 0;
    transform: translateY(0);
}

.navbar.scrolled .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Desktop: Scrolled state with smooth transition */
@media (min-width: 992px) {
    .navbar.scrolled {
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        padding: 0.9rem 0;
        transform: translateY(0);
    }
}

.navbar.sticky-top {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: fadeInDown 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar.sticky-top .nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar.sticky-top .nav-link:hover {
    color: var(--accent-color) !important;
}

.navbar.sticky-top .navbar-brand {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.navbar.sticky-top .navbar-toggler {
    border-color: var(--primary-color);
}

.navbar.sticky-top .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28184, 134, 11, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .logo-img {
    max-height: 140px;
    height: auto;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Desktop: Logo size transition on scroll */
@media (min-width: 992px) {
    .navbar:not(.scrolled) .navbar-brand .logo-img {
        max-height: 140px;
        height: auto;
    }

    .navbar.scrolled .navbar-brand .logo-img {
        max-height: 80px;
        height: auto;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar:not(.scrolled) .nav-link {
    color: #FFFFFF !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar:not(.scrolled) .nav-link:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.8);
}

.navbar:not(.scrolled) .navbar-brand {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid transparent !important;
}

.navbar-toggler:focus {
    border-color: var(--primary-color) !important;
}

.navbar:not(.scrolled) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(184, 134, 11, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-link:hover::before {
    width: 300px;
    height: 300px;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Cards with floating effect */
.card {
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-img-top {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    border: none;
}

.card .image-wrapper {
    border-radius: 0;
    overflow: hidden;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* Animated elements */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Buttons with smooth transitions */
.btn {
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    outline: none !important;
    box-shadow: none !important;
}

.btn:focus,
.btn:active,
.btn:focus-visible,
.btn:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    border-color: transparent !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* WhatsApp float with pulse */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.2);
}

/* Back to top button */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #FFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(20px);
    outline: none !important;
}

.back-to-top:focus,
.back-to-top:active,
.back-to-top:focus-visible {
    outline: none !important;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3) !important;
    border: none !important;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(184, 134, 11, 0.5);
}

/* Footer */
.footer {
    margin-top: auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.social-links a {
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 0.5rem;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.15);
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

/* Section spacing */
section {
    padding: 5rem 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Decorative elements */
.section-divider {
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    margin: -50px 0;
}

.section-header {
    position: relative;
    margin-bottom: 3rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
}

/* Primary color accents */
.primary-accent {
    color: var(--primary-color);
}

.primary-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
}

.primary-bg-light {
    background: var(--primary-light);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Feature boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

/* Image placeholders with gradient */
.image-placeholder {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 3rem;
    min-height: 250px;
    border-radius: 0;
    overflow: hidden;
}

/* Decorative patterns */
.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(45deg, var(--primary-color) 0px, var(--primary-color) 1px, transparent 1px, transparent 20px);
    pointer-events: none;
}

/* Stats section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatSlow 20s infinite;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatSlow 25s infinite;
    animation-delay: 2s;
}

.stat-box {
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    color: var(--text-dark);
    font-weight: 500;
}

/* Image gallery enhancements */
.image-wrapper {
    position: relative;
    overflow: hidden;
}

.card .image-wrapper {
    border-radius: 20px 20px 0 0;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-wrapper:hover::after {
    opacity: 1;
}

/* Service cards with icons */
.service-card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary-color);
    overflow: hidden;
}

.service-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-left-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Hero section enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100%);
    transition: opacity 0.5s ease;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* Form inputs */
.form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(184, 134, 11, 0.15);
    transform: translateY(-2px);
}

/* Form labels */
.form-label,
.form-check-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label {
    font-size: 0.95rem;
}

/* Alert animations */
.alert {
    border-radius: 15px;
    animation: fadeInUp 0.5s ease-out;
    border: none;
    box-shadow: var(--shadow-soft);
}

/* Smooth scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Image hover effects */
img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover img {
    transform: scale(1.1);
}

/* Text animations */
h1, h2, h3, h4, h5, h6 {
    transition: color 0.3s ease;
}

/* Loading shimmer effect */
.shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar {
        flex-wrap: wrap;
        position: relative;
        z-index: 1030;
    }

    .navbar .container {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
    }

    .navbar-toggler {
        z-index: 1031;
        position: relative;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.25rem 0.75rem;
        flex-shrink: 0;
    }

    .navbar-toggler-icon {
        display: inline-block !important;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
    }

    .mobile-header-row {
        width: 100%;
        padding: 0.5rem 0;
        position: relative;
        z-index: 1;
    }

    .mobile-logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .navbar-collapse {
        width: 100%;
        order: 3;
        margin-top: 0.5rem;
        padding: 1.5rem 1rem;
        position: relative;
        z-index: 1032;
        background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 30%, #f5f2eb 60%, #f8f6f0 100%);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border-radius: 0 0 15px 15px;
        overflow: hidden;
        animation: slideDown 0.3s ease-out;
        border-top: 2px solid rgba(184, 134, 11, 0.2);
    }

    /* Ensure all nav-links in mobile menu are dark and readable */
    .navbar-collapse .nav-link {
        color: #000000 !important;
        text-shadow: none !important;
    }

    .navbar-collapse .nav-link:hover {
        color: #6B520F !important;
        text-shadow: none !important;
    }

    .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
        opacity: 0.6;
        z-index: 1;
    }

    .navbar-collapse::after {
        display: none;
    }

    .navbar-collapse.show {
        display: block !important;
        animation: slideDown 0.3s ease-out;
    }

    .navbar-collapse:not(.show) {
        display: none !important;
    }

    /* Prevent auto-opening */
    .navbar-collapse.collapsing {
        transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        overflow: hidden;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes shimmer {
        0% {
            left: -100%;
        }
        100% {
            left: 100%;
        }
    }

    .navbar-nav {
        text-align: center;
        position: relative;
        z-index: 1;
        padding: 0.5rem 0;
    }

    .navbar-nav.me-auto,
    .navbar-nav.ms-auto {
        margin: 0 !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
        position: relative;
        z-index: 1;
        margin: 0.25rem 0;
        padding: 0 0.5rem;
    }

    .navbar-nav .nav-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
        border-radius: 0 3px 3px 0;
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 0;
    }

    .navbar-nav .nav-item:hover::before {
        height: 60%;
        opacity: 1;
    }

    .navbar-nav .nav-link {
        position: relative;
        z-index: 1;
        pointer-events: auto !important;
        cursor: pointer;
        padding: 0.75rem 1.5rem !important;
        margin: 0.25rem 0 !important;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.8);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: #000000 !important;
        font-weight: 600;
        display: block;
        border: 1px solid rgba(0, 0, 0, 0.08);
        text-shadow: none !important;
    }

    .navbar-nav .nav-link:hover {
        background: linear-gradient(135deg, rgba(184, 134, 11, 0.15) 0%, rgba(212, 175, 55, 0.2) 100%);
        color: #6B520F !important;
        transform: translateX(5px);
        border-color: rgba(184, 134, 11, 0.3);
        box-shadow: 0 2px 8px rgba(184, 134, 11, 0.2);
    }

    .navbar-nav .nav-link:active {
        transform: translateX(3px) scale(0.98);
        color: #5A4509 !important;
    }

    .navbar-brand.d-none.d-lg-block {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .navbar-brand .logo-img {
        max-height: 60px;
        height: 60px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 75px;
        right: 15px;
    }

    .nav-link {
        padding: 0.5rem !important;
        margin: 0.25rem 0;
    }

    section {
        padding: 3rem 0;
    }
}

/* Smooth page transitions */
main {
    animation: fadeIn 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
