/* ==========================================================================
   Divine Matrix Institute - Premium CSS
   ========================================================================== */

:root {
    /* Brand Master Colors */
    --brand-primary: #174A5A;
    --brand-primary-dark: #0F1B22;
    --brand-secondary: #F4F6F8;
    --brand-accent: #C8A24D;
    --brand-accent-hover: #E5C878;
    --brand-accent-glow: rgba(200, 162, 77, 0.4);
    --bg-light: #F4F6F8;
    --gradient-conic: radial-gradient(circle at center, #174A5A 0%, #0F1B22 100%);

    /* Theme - Light (Default) */
    --bg-main: #FFFFFF;
    --bg-alt: #F4F6F8;
    --bg-dark: #0F1B22;
    --card-bg: #FFFFFF;

    /* Text System */
    --text-heading: #1E2A30;
    --text-subheading: #4F636B;
    --text-body: #4F636B;
    --text-muted: #7A8F98;
    --text-gold: #C8A24D;
    --text-light: #FFFFFF;
    --text-off-white: #E8EDF0;

    /* Gradients */
    --gradient-gold: linear-gradient(90deg, #C8A24D, #E5C878);
    --gradient-cosmic: linear-gradient(135deg, #F4F6F8, #FFFFFF, #E8EDF0);
    --gradient-gold-radial: radial-gradient(circle, rgba(200, 162, 77, 0.1), transparent 70%);
}

body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.text-gold {
    color: var(--brand-accent) !important;
}

.text-heading {
    color: var(--text-heading) !important;
}

.text-light {
    color: var(--text-off-white) !important;
}

.text-subheading {
    color: var(--text-subheading) !important;
}

.text-white {
    color: var(--text-light) !important;
}

.text-light-muted {
    color: var(--text-muted) !important;
}

.bg-brand-dark {
    background-color: var(--bg-dark) !important;
}

.opacity-05 {
    opacity: 0.05 !important;
}

.opacity-10 {
    opacity: 0.1 !important;
}

/* Navbar */
.navbar {
    background-color: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-logo {
    height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.scrolled .nav-logo {
    height: 65px;
}

@media (max-width: 991.98px) {
    .nav-logo {
        height: 60px;
    }

    .scrolled .nav-logo {
        height: 55px;
    }

    .navbar-brand {
        margin-right: 0;
    }
}

.nav-link {
    color: #FFFFFF !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scrolled .nav-link {
    color: var(--brand-primary) !important;
    text-shadow: none;
}

.nav-dark-links .nav-link {
    color: var(--brand-primary) !important;
    text-shadow: none;
}

.scrolled .navbar-brand {
    color: var(--brand-accent) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.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='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.scrolled .navbar-toggler-icon,
.nav-dark-links .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='%23174A5A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Buttons */
.btn-primary-brand {
    background-color: var(--brand-primary);
    color: #FFFFFF !important;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(23, 74, 90, 0.4);
}

.btn-primary-brand:hover {
    background-color: #1F5F73;
    transform: translateY(-2px);
}

.btn-primary-brand:active {
    background-color: #123C48;
}

.btn-gold-gradient {
    background: var(--gradient-gold);
    color: #0F1B22 !important;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-gold-gradient:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 0 20px rgba(200, 162, 77, 0.5);
}

.btn-outline-gold {
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--brand-accent);
    color: #FFFFFF !important;
    box-shadow: 0 10px 20px rgba(200, 162, 77, 0.2);
}

.shadow-gold {
    box-shadow: 0 10px 30px rgba(200, 162, 77, 0.15);
}

/* Hero Section - Maintaining Dark Vision for Contrast */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: radial-gradient(circle at center, #174A5A 0%, #0F1B22 70%);
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 40px;
        display: flex;
    }

    .hero-section h1 {
        font-size: 1rem !important;
        letter-spacing: 1px !important;
        line-height: 1.5;
        margin-bottom: 1rem !important;
        padding: 0 15px;
    }

    .hero-section p.lead {
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
        line-height: 2 !important;
        margin-top: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 10px;
    }

    .hero-section .btn {
        width: 100%;
        margin-bottom: 10px;
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Subtle Vignette Overlay for Depth */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

#canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section h1,
.hero-section h2,
.hero-section p,
.hero-section .lead {
    color: #FFFFFF !important;
}

.hero-section .text-gold {
    color: var(--brand-accent) !important;
}

/* Global Section Optimization */
section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
    padding: 100px 0;
    position: relative;
}

/* Symmetrical Hero Service List */
.hero-service-container {
    padding: 1.5rem;
    position: relative;
    transition: background-color 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(200, 162, 77, 0.1);
    border-radius: 20px;
}

@media (min-width: 768px) {
    .hero-service-container {
        position: absolute !important;
        bottom: -20px;
        /* Positioned near the bottom of the hero content area */
        width: 280px;
        z-index: 10;
        backdrop-filter: blur(10px);
        background: rgba(15, 27, 34, 0.4);
    }

    .hero-service-container.left {
        left: -80px;
        /* Spread out to the left */
        text-align: right;
    }

    .hero-service-container.right {
        right: -80px;
        /* Spread out to the right */
        text-align: left;
    }

    .hero-service-container.left .hero-service-list li {
        justify-content: flex-end;
        display: flex;
        align-items: center;
    }

    .hero-service-container.right .hero-service-list li {
        justify-content: flex-start;
        display: flex;
        align-items: center;
    }
}

.hero-service-container:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 162, 77, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-service-list {
    margin: 0;
    padding: 0;
}

.hero-service-list li {
    font-family: 'Outfit', sans-serif;
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    opacity: 0.85;
}

.hero-service-list li:last-child {
    margin-bottom: 0;
}

.hero-service-list li:hover {
    opacity: 1;
    color: var(--brand-accent);
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .hero-service-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-service-container.left,
    .hero-service-container.right {
        text-align: center;
    }

    .hero-service-list li {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.5rem;
    }
}

/* Cards & Containers */
.service-card {
    background: #FFFFFF;
    border: 1px solid rgba(200, 162, 77, 0.2);
    border-radius: 20px !important;
    padding: 2.5rem 1.5rem !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-accent);
    box-shadow: 0 20px 40px rgba(200, 162, 77, 0.12);
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.rounded-5 {
    border-radius: 2rem !important;
}

.shadow-premium {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04) !important;
}

.shadow-gold-subtle {
    box-shadow: 0 10px 20px rgba(200, 162, 77, 0.15) !important;
}

.service-card-image-wrap {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(200, 162, 77, 0.3);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(23, 74, 90, 0.2);
}


.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-detail-card:hover .service-card-img {
    transform: scale(1.08);
}

.service-detail-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-detail-card .mt-auto {
    margin-top: auto;
}

.service-card:hover .icon-box {
    background: #174A5A;
    box-shadow: 0 0 30px rgba(23, 74, 90, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.2);
    transform: rotateY(360deg) scale(1.05);
    border-color: var(--brand-accent);
}

.service-card:hover .icon-box i {
    color: var(--brand-primary) !important;
    transform: scale(1.1);
}

/* Service Price Tag Styling */
.service-price-tag {
    background: rgba(200, 162, 77, 0.08);
    border: 1px solid rgba(200, 162, 77, 0.2);
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.service-detail-card:hover .service-price-tag {
    background: rgba(200, 162, 77, 0.15);
    border-color: rgba(200, 162, 77, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 162, 77, 0.1);
}

.price-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-accent);
    font-family: 'Outfit', sans-serif;
}

/* Product Cards */
.product-image-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 162, 77, 0.1);
    transition: all 0.5s ease;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-card:hover .product-image-container {
    border-color: var(--brand-accent);
    box-shadow: 0 10px 30px rgba(200, 162, 77, 0.2);
}

/* Custom 5-column grid for Bootstrap 5 */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 33.3333%;
    }
}

@media (max-width: 767.98px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 50%;
    }

    .w-100-mobile {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* Divider */
.divider {
    height: 3px;
    width: 60px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* Utilities */
.max-w-700 {
    max-width: 700px;
}

.tracking-widest {
    letter-spacing: 4px;
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.opacity-05 {
    opacity: 0.05 !important;
}

.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-15 {
    opacity: 0.15 !important;
}

.opacity-20 {
    opacity: 0.2 !important;
}

.opacity-75 {
    opacity: 0.75 !important;
}

/* Border Utilities */
.border-gold {
    border-color: var(--brand-accent) !important;
}

.border-opacity-25 {
    border-color: rgba(200, 162, 77, 0.25) !important;
}

/* Mission/Vision Cards */
.mission-vision-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08) !important;
}

.shadow-premium {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.shadow-gold-subtle {
    box-shadow: 0 10px 20px rgba(200, 162, 77, 0.15);
}

.icon-box-premium {
    transition: all 0.4s ease;
}

.mission-vision-card:hover .icon-box-premium {
    transform: rotateY(180deg);
    background: var(--brand-accent) !important;
}

/* Counter Styles */
.counter {
    display: inline-block;
}

/* Global Page Components */
.page-header {
    padding: 180px 0 120px;
    background: var(--gradient-cosmic);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    border-bottom: 1px solid rgba(200, 162, 77, 0.1);
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 162, 77, 0.15), transparent 70%);
    filter: blur(80px);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* Star Particles Overlay */
.stars-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    animation: starFloat 100s linear infinite;
}

.stat-box,
.contact-info-card,
.contact-form {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--brand-accent);
    padding: 35px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.stat-box:hover,
.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-accent);
    box-shadow: 0 20px 50px rgba(23, 74, 90, 0.08);
}

/* Form Controls */
.form-label {
    color: var(--text-subheading);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    background-color: var(--brand-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-heading);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* ===== FIX TEXT SELECTION & VISIBILITY (UNIVERSAL) ===== */
input, textarea, select {
  -webkit-text-fill-color: #111111 !important; /* FORCE DARK TEXT */
  opacity: 1 !important;
}

select option {
  background-color: #ffffff !important;
  color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #111111 !important;
}

.form-select {
    background-color: var(--brand-secondary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--text-heading);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    height: auto;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%232563eb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}


.social-icon:hover {
    background: var(--gradient-gold);
    color: var(--brand-primary);
    transform: translateY(-3px);
}

/* Footer & Social */
.footer {
    background: linear-gradient(135deg, #0F1B22, #142B34);
    position: relative;
    border-top: 2px solid var(--brand-accent);
    overflow: hidden;
    color: var(--text-body);
}

.footer .stars-overlay {
    opacity: 0.15;
}

.footer::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 162, 77, 0.08), transparent 70%);
    filter: blur(80px);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.footer-link {
    color: #C9D6DC;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    margin-bottom: 0.8rem;
}

.footer-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -4px;
    background: var(--brand-accent);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--brand-accent);
}

.footer-link:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(200, 162, 77, 0.3);
}

.social-icon:hover {
    background: var(--brand-accent);
    color: #0F1B22 !important;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 0 20px rgba(200, 162, 77, 0.5);
    border-color: var(--brand-accent);
}


/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--brand-primary);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(23, 74, 90, 0.4);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(200, 162, 77, 0.2);
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(15deg);
    color: white;
    background-color: var(--brand-accent);
    box-shadow: 0 0 30px rgba(200, 162, 77, 0.5);
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        bottom: 110px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Footer Shimmer & Newsletter */
.shimmer-text {
    background: linear-gradient(90deg, #C8A24D 0%, #FFF 50%, #C8A24D 100%);
    background-size: 200% auto;
    color: #C8A24D;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 50px 0 0 50px !important;
    padding-left: 20px;
}

.newsletter-form .form-control:focus {
    border-color: var(--brand-accent) !important;
    box-shadow: none !important;
}

.newsletter-form .btn-newsletter {
    border-radius: 0 50px 50px 0 !important;
    background: var(--brand-accent);
    color: #0F1B22;
    border: none;
    padding: 0 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn-newsletter:hover {
    background: var(--brand-accent-hover);
    box-shadow: 0 0 20px rgba(200, 162, 77, 0.4);
}

/* Scoped Dark Form Controls (for Footer, Modals, and Heros) */
.bg-brand-dark .form-control,
.bg-brand-dark .form-select,
.footer .form-control,
.footer .form-select,
.modal-content .form-control,
.modal-content .form-select,
.cta-section .form-control,
.cta-section .form-select {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: white !important;
    padding: 12px 20px;
}

.bg-brand-dark .form-control:focus,
.bg-brand-dark .form-select:focus,
.footer .form-control:focus,
.footer .form-select:focus,
.modal-content .form-control:focus,
.modal-content .form-select:focus,
.cta-section .form-control:focus,
.cta-section .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3) !important;
    color: white !important;
}

.bg-brand-dark .form-control::placeholder,
.footer .form-control::placeholder,
.modal-content .form-control::placeholder,
.cta-section .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Magical Glow Animation */
.glow-text {
    animation: breathingGlow 4s ease-in-out infinite;
}

@keyframes breathingGlow {

    0%,
    100% {
        text-shadow: 0 5px 25px rgba(0, 0, 0, 0.9), 0 0 10px rgba(255, 255, 255, 0.3);
    }

    50% {
        text-shadow: 0 5px 25px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.7);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes starFloat {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1000px 1000px;
    }
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Interaction Utilities */
.hover-zoom {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.image-wrapper:hover .hover-zoom {
    transform: scale(1.1);
}

.hover-translate-x {
    transition: all 0.4s ease;
}

.hover-translate-x:hover {
    transform: translateX(10px);
    background-color: rgba(200, 162, 77, 0.05) !important;
    border-color: rgba(200, 162, 77, 0.3) !important;
}

.scale-hover {
    transition: transform 0.3s ease;
}

.btn:hover .scale-hover {
    transform: translateX(5px);
}

.opacity-20 {
    opacity: 0.2;
}

.transition-all {
    transition: all 0.3s ease;
}

.hover-zoom {
    transition: transform 0.5s ease;
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.hover-translate-y {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-translate-y:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6) !important;
    border-color: rgba(200, 162, 77, 0.4) !important;
}

/* Accordions */
.accordion-item {
    background-color: transparent;
    border: 1px solid rgba(200, 162, 77, 0.2);
    margin-bottom: 15px;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-alt);
    color: var(--text-heading);
    font-weight: 600;
    border-radius: 12px !important;
    box-shadow: none !important;
    padding: 1.2rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(200, 162, 77, 0.05);
    color: var(--brand-accent);
}

.accordion-button::after {
    filter: sepia(1) saturate(5) hue-rotate(5deg);
}

.accordion-body {
    background-color: #FFFFFF;
    color: var(--text-body);
    border-top: 1px solid rgba(200, 162, 77, 0.1);
}

/* About Page Spacing Adjustments */
.about-page section {
    padding: 100px 0;
}

.section-title-premium {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title-premium::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--brand-accent);
    border-radius: 2px;
}

/* ====== COURSES PAGE PREMIUM UI ====== */
.courses-page .page-header {
    background: linear-gradient(135deg, rgba(244, 246, 248, 0.9), rgba(255, 255, 255, 0.9)), url('../assets/sacred_pattern.webp');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-heading);
}

.hero-title span {
    color: var(--brand-accent);
}

.hero-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin-top: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Course Category Filter (Modern Pills) */
.course-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.course-filter .filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid #e5e7eb;
    background: white;
    font-size: 14px;
    color: var(--text-body);
    font-weight: 500;
    transition: all 0.3s ease;
}

.course-filter .filter-btn:hover {
    background: var(--brand-accent);
    color: white;
    border-color: var(--brand-accent);
    transform: translateY(-2px);
}

.course-filter .filter-btn.active {
    background: var(--brand-accent);
    color: white;
    border-color: var(--brand-accent);
    box-shadow: 0 4px 15px rgba(200, 162, 77, 0.3);
}

/* Professional Course Cards */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #f1f1f1;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 162, 77, 0.2);
}

/* Course Card Content */
.course-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    overflow: hidden;
}

.course-icon i {
    width: 100%;
    height: 100%;
    background: rgba(200, 162, 77, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: var(--brand-accent);
}

.course-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.course-card:hover .course-icon {
    background: var(--brand-accent);
    color: white;
    transform: rotateY(360deg);
}

.course-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    margin-top: 20px;
    color: var(--text-heading);
}

.course-desc {
    font-size: 15px;
    color: #6b7280;
    margin: 15px 0;
    line-height: 1.6;
}

.course-meta {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-detail-card .text-light-muted {
    flex-grow: 1;
}

.course-price {
    font-weight: 700;
    color: var(--brand-primary);
    font-size: 20px;
}

.course-duration {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.consultation {
    color: var(--brand-accent) !important;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Course Badge */
.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--brand-accent);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Course Button */
.course-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    border-radius: 50px;
    background: var(--brand-primary);
    color: white !important;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.course-btn:hover {
    background: var(--brand-primary-dark);
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(23, 74, 90, 0.3);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }

    .course-card {
        padding: 25px;
    }
}

/* Animated Background Gradient */
.services-section-animated {
    background: linear-gradient(-45deg, #0b1c2d, #102d44, #091824, #1a2f4a);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    position: relative;
    overflow: hidden;
}

.services-section-animated .service-detail-card h2,
.services-section-animated .service-detail-card h4,
.services-section-animated .service-detail-card p,
.services-section-animated .service-detail-card li {
    color: #fff !important;
    /* Ensure readable text on dark background */
}

.services-section-animated .service-detail-card .text-light-muted {
    color: #C9D6DC !important;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Visual Hierarchy Dividers */
.service-detail-card h2::after {
    content: "";
    width: 40px;
    height: 2px;
    background: #d4af37;
    display: block;
    margin-top: 10px;
    border-radius: 2px;
}

/* ====== PRODUCTS SECTION ====== */
.product-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: default;
}

.product-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 0 30px rgba(200, 162, 77, 0.4), 0 20px 50px rgba(0, 0, 0, 0.4) !important;
    border-color: rgba(200, 162, 77, 0.6) !important;
    background: rgba(200, 162, 77, 0.08) !important;
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-card p {
    flex-grow: 1;
}

.product-card:hover .icon-box {
    background: rgba(200, 162, 77, 0.15);
    box-shadow: 0 0 25px rgba(200, 162, 77, 0.5);
    border-color: var(--brand-accent);
}

/* Animation delay extensions */
.delay-4 {
    animation-delay: 1.2s;
}

.delay-5 {
    animation-delay: 1.5s;
}

/* Section tag */
.section-tag {
    display: block;
    text-transform: uppercase;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(rgba(15, 27, 34, 0.92), rgba(15, 27, 34, 0.92)), url('../assets/sacred_pattern.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-top: 1px solid rgba(200, 162, 77, 0.15);
    border-bottom: 1px solid rgba(200, 162, 77, 0.15);
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(200, 162, 77, 0.08) 0%, transparent 70%);
    animation: rotateSlow 30s linear infinite;
    z-index: 0;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Mobile-Friendly Premium Enhancements
   ========================================================================== */

@media (max-width: 991.98px) {

    /* Mobile Navbar Improvements */
    .navbar-collapse {
        background: var(--brand-primary-dark);
        margin: 0.5rem -1rem -1rem -1rem;
        padding: 1.5rem;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(200, 162, 77, 0.1);
        border-top: none;
    }

    .nav-link {
        padding: 0.8rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-shadow: none !important;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .scrolled .navbar-collapse {
        background: #FFFFFF;
        border-color: rgba(0, 0, 0, 0.05);
    }

    .scrolled .nav-link {
        color: var(--brand-primary) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Hero Responsive Typography */
    .hero-section {
        padding-top: 140px !important;
        padding-bottom: 80px !important;
    }

    .hero-section h1 {
        font-size: 1rem !important;
        letter-spacing: 2px !important;
        line-height: 1.5 !important;
    }

    .hero-section p.lead {
        font-size: 0.85rem !important;
        letter-spacing: 1.5px !important;
        line-height: 2 !important;
        margin-bottom: 2.5rem !important;
    }

    .hero-section .btn {
        padding: 0.9rem 2rem !important;
        font-size: 1rem !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Section Spacing */
    section {
        padding: 50px 0 !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.8rem !important;
    }

    .display-6 {
        font-size: 1.6rem !important;
    }

    /* About Section Image Adjustments */
    .image-wrapper {
        margin-bottom: 2rem;
    }

    /* Service Card Mobile Tuning */
    .service-card {
        padding: 2rem 1.2rem !important;
    }

    .service-card-image-wrap {
        width: 100px !important;
        height: 100px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 130px !important;
    }

    .hero-section h1 {
        font-size: 0.9rem !important;
    }

    .hero-section p.lead {
        font-size: 0.8rem !important;
        line-height: 2 !important;
    }
}

@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 0.85rem !important;
    }
}

/* ====== CONSULTATION PROCESS ====== */
.process-wrapper {
    position: relative;
    padding: 20px 0;
}

.process-step {
    z-index: 2;
}

.step-icon-wrap {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border: 2px solid var(--brand-accent);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    box-shadow: 0 0 15px rgba(200, 162, 77, 0.1);
}

.step-number {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.process-step:hover .step-icon-wrap {
    background: var(--brand-accent);
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 10px 25px rgba(200, 162, 77, 0.4);
}

.process-step:hover .step-number {
    color: #FFFFFF !important;
}

.process-step h5 {
    color: var(--text-heading);
    transition: all 0.3s ease;
}

.process-step:hover h5 {
    color: var(--brand-accent);
}

/* Horizontal connectors for desktop */
@media (min-width: 992px) {
    .process-step::after {
        content: "";
        position: absolute;
        top: 30px;
        /* Aligned with center of 60px icon */
        left: 60%;
        width: 80%;
        height: 1px;
        background: linear-gradient(90deg, var(--brand-accent), transparent);
        z-index: 1;
        opacity: 0.3;
    }

    .col-lg-2:last-child .process-step::after {
        display: none;
    }
}

/* ====== DIVINE SPARK (Spirit Points) ====== */
.divine-spark {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff5e5e;
    /* Coral red from user image */
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 94, 94, 0.8);
    animation: sparkling 2.5s infinite ease-in-out;
}

.divine-spark::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: rgba(255, 94, 94, 0.3);
    animation: pulseSpark 2.5s infinite ease-in-out;
}

@keyframes sparkling {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 10px rgba(255, 94, 94, 0.8);
    }

    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 20px rgba(255, 94, 94, 1);
    }
}

@keyframes pulseSpark {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.8);
        opacity: 0.5;
    }
}

/* Background Sparkle Sprinkles */
.sparkle-sprinkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.sparkle-sprinkle.gold {
    background-color: var(--brand-accent);
    box-shadow: 0 0 8px var(--brand-accent);
}

.sparkle-sprinkle.red {
    background-color: #ff5e5e;
    box-shadow: 0 0 8px #ff5e5e;
}

/* ====== PREMIUM BOOKING MODAL REDESIGN ====== */
#bookingModal .modal-content {
    background: linear-gradient(135deg, #0F1B22 0%, #174A5A 50%, #0F1B22 100%) !important;
    border: 1px solid rgba(200, 162, 77, 0.4) !important;
    border-radius: 28px !important;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(200, 162, 77, 0.15) !important;
    overflow: hidden;
    position: relative;
}

/* Subtle glowing accent in background */
#bookingModal .modal-content::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(200, 162, 77, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

#bookingModal .modal-header {
    background: rgba(255, 255, 255, 0.04);
    padding: 2.5rem 3rem 1.8rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    z-index: 2;
}

#bookingModal .modal-title {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #FFD700, #C8A24D, #FFD700);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 4s linear infinite;
}

@keyframes goldShimmer {
    to { background-position: 200% center; }
}

#bookingModal .modal-body {
    padding: 3rem !important;
    z-index: 2;
    position: relative;
    background: rgba(15, 27, 34, 0.3);
}

#bookingModal .form-label {
    color: #F8FAFC !important; /* Pure off-white for maximum legibility */
    font-weight: 600 !important;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#bookingModal .form-control, 
#bookingModal .form-select {
    background: rgba(0, 0, 0, 0.3) !important; /* Deeper contrast for inputs */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 14px !important;
    color: #FFFFFF !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

#bookingModal .form-control::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
    font-style: italic;
    opacity: 0.7;
}

#bookingModal .form-control:focus, 
#bookingModal .form-select:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: #C8A24D !important;
    box-shadow: 0 0 20px rgba(200, 162, 77, 0.3), inset 0 0 10px rgba(200, 162, 77, 0.1) !important;
    transform: translateY(-2px);
    outline: none !important;
}

#bookingModal select option {
  background-color: #0F1B22 !important; /* Matching dark theme for dropdown options */
  color: #FFFFFF !important;
  padding: 10px;
}

#bookingModal .btn-gold-gradient {
    height: 65px;
    border-radius: 50px !important;
    background: linear-gradient(90deg, #C8A24D, #E5C878, #C8A24D) !important;
    background-size: 200% auto !important;
    color: #0F1B22 !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    letter-spacing: 2px !important;
    text-shadow: none !important;
    box-shadow: 0 15px 35px rgba(200, 162, 77, 0.4) !important;
    transition: all 0.4s ease !important;
    margin-top: 1.5rem;
}

#bookingModal .btn-gold-gradient:hover {
    background-position: right center !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 45px rgba(200, 162, 77, 0.5) !important;
}

#bookingModal .btn-close-white {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#bookingModal .btn-close-white:hover {
    background-color: #C8A24D;
    opacity: 1;
    transform: rotate(90deg);
}

#bookingModal .text-gold {
    color: #FFD700 !important; /* Brighter gold for better visibility */
}

@media (max-width: 767.98px) {
    #bookingModal .modal-body {
        padding: 2rem !important;
    }
    #bookingModal .modal-header {
        padding: 2rem 2rem 1.5rem !important;
    }
    #bookingModal .modal-title {
        font-size: 1.75rem !important;
    }
}

/* ====== TEXT SELECTION FIX (TRANSFORMATION FROM FLUTTER REQUEST) ====== */
/* Global premium selection highlight - removes broken white background */
::selection {
    background: rgba(200, 162, 77, 0.4) !important; /* Soft Gold Highlight */
    color: #FFFFFF !important;
    text-shadow: none;
}

::-moz-selection {
    background: rgba(200, 162, 77, 0.4) !important;
    color: #FFFFFF !important;
}

/* Apply selection fixes and custom cursor color to modal inputs */
#bookingModal .form-control, 
#bookingModal .form-select, 
#bookingModal textarea {
    caret-color: #C8A24D !important; /* Premium Gold Cursor */
}

/* Ensure no white background overlay on long-press or selection in forms */
#bookingModal .form-control::selection {
    background: rgba(212, 175, 55, 0.3) !important;
}

/* Floating Action Buttons */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    color: #FFF;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.scroll-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 120px;
    right: 45px;
    background: var(--gradient-gold);
    color: #0F1B22;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(200, 162, 77, 0.4);
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 85px;
        right: 22.5px;
    }
}
