:root {
    /* Pastel & Premium Coastal Palette */
    --bg-body: #f8fbfd;
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #f3e8ff 100%);
    --bg-nav: rgba(255, 255, 255, 0.85);

    --primary-accent: #0f4c75;
    --secondary-accent: #d4af37;
    --accent-gold: #c5a02e;
    --text-main: #2d3748;
    --text-muted: #64748b;

    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(15, 76, 117, 0.08);
    --backdrop-blur: blur(20px);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-sans: 'Outfit', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2.5rem;
    --spacing-lg: 6rem;
    --spacing-xl: 12rem;

    /* Animation Durations */
    --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ATMOSPHERE & VIBE */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.ambient-light {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3), transparent 60%);
    top: -200px;
    left: -200px;
    z-index: -1;
    filter: blur(100px);
    animation: pulseLight 15s infinite alternate;
}

.ambient-light.secondary {
    top: auto;
    bottom: -200px;
    left: auto;
    right: -200px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.25), transparent 60%);
    animation-delay: 5s;
}

@keyframes pulseLight {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1) translate(20px, 20px);
        opacity: 0.7;
    }

    100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.5;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Heart Cursor Animation */
.heart-trail {
    position: absolute;
    color: #ff6b6b;
    /* Pastel Pinkish Red */
    pointer-events: none;
    transform: translate(-50%, -50%);
    /* Center on cursor */
    animation: heartFloat 1s ease-out forwards;
    z-index: 99999;
}

@keyframes heartFloat {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -100px) scale(0.5);
        /* Float up and shrink */
    }
}

/* Heart Trail Cursor Animation */
.heart-trail {
    position: absolute;
    color: var(--secondary-accent);
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: heartFloat 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 10000;
}

@keyframes heartFloat {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.5);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -150px) scale(1.5);
    }
}

/* ATMOSPHERE */
body {
    background: var(--bg-body);
    min-height: 100vh;
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="%23ff6b6b" stroke="%23ffffff" stroke-width="1"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>') 16 16, auto;
}

/* Page Border for Luxury Feel */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 20px solid #fff;
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 900px) {
    body::after {
        border-width: 10px;
    }
}

/* Fix Visibility Issues */
p,
li {
    color: var(--text-main);
    font-weight: 400;
}

.text-muted {
    color: var(--text-muted);
    /* Darker gray, not light gray */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-gold {
    color: var(--primary-accent);
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    /* Reduced padding */
    border-radius: 50px;
    /* Pill shape for premium feel */
    text-transform: uppercase;
    font-size: 0.85rem;
    /* Slightly smaller font */
    letter-spacing: 1.5px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    display: inline-block;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-accent) 0%, #1a5f8a 100%);
    color: #fff;
    box-shadow: 0 10px 25px rgba(15, 76, 117, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a5f8a 0%, var(--primary-accent) 100%);
    z-index: -1;
    opacity: 0;
    transition: 0.4s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 76, 117, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    /* More visible background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(15, 76, 117, 0.2);
    /* Darker border */
    color: var(--primary-accent);
    /* Dark text for visibility */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #fff;
    color: var(--primary-accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

/* Navigation Refined */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

header.scrolled {
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

header.scrolled .logo-img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    font-weight: 400;
    position: relative;
    transition: color 0.4s ease;
}

header.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-accent);
    transition: width 0.4s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


/* Hero Section Refined */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
    /* Backdrop for images */
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
    transition: transform var(--transition-slow);
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    z-index: 2;
    padding: 4rem;
    background: transparent;
    /* Remove the old boxed look */
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    color: #fff;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 300;
    overflow: hidden;
}

/* Word reveal effect */
.reveal-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.reveal-word span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible .reveal-word span {
    transform: translateY(0);
}

.hero h4 {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--secondary-accent);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #fff;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary-accent);
    animation: scrollLineMove 2s infinite cubic-bezier(0.7, 0, 0.3, 1);
}

@keyframes scrollLineMove {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* Glass Cards & Grid Refresh */
.section-padding {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    position: relative;
    /* display: inline-block; Removed to allow text-align center */
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-accent);
    margin: 1rem auto 0;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    /* More subtle border */
    padding: 4rem 2.5rem;
    /* Larger padding */
    border-radius: 12px;
    /* Sharper corners for luxury feels */
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    /* Bouncy feel */
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.card-glass:hover::before {
    left: 100%;
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-15px) scale(1.01);
    border-color: var(--primary-accent);
    box-shadow: 0 30px 60px rgba(15, 76, 117, 0.1);
}

.card-glass i {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 1.5rem;
    animation: floating 3s ease-in-out infinite;
}

/* Stagger floating animations to look natural */
.card-glass:nth-child(2) i {
    animation-delay: 0.5s;
}

.card-glass:nth-child(3) i {
    animation-delay: 1s;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.card-glass h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-glass p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Luxury Property Cards */
.grid-properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

/* Testimonials Section */
.grid-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2.5rem !important;
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-accent);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.guest-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.guest-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guest-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.guest-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Luxury Property Cards Refined */
.prop-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.prop-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 40px 80px rgba(15, 76, 117, 0.1);
}

.prop-image-wrap {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.prop-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.prop-card:hover .prop-image-wrap img {
    transform: scale(1.1);
}

.prop-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: all 0.8s;
}

.prop-card:hover .prop-image-wrap::after {
    left: 150%;
}

.prop-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.prop-card:hover .prop-image-wrap img {
    transform: scale(1.1);
}

.prop-details {
    padding: 2rem;
    background: #fff;
    position: relative;
    top: 0;
    margin: 0;
    border: none;
    box-shadow: none;
}

.prop-price {
    color: var(--primary-accent);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.prop-details h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.prop-meta {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-main);
    /* Ensure visible on white card */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(15, 76, 117, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Footer */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #fff;
    padding-top: 5rem;
    color: var(--text-main);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    line-height: 1.8;
}

.footer-column h4 {
    color: var(--primary-accent);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a:hover {
    color: var(--primary-accent);
    padding-left: 5px;
}

.copy {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Delay classes for staggered appearance */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Text specific reveal */
.reveal-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textUp 0.8s forwards;
}

@keyframes textUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
.hamburger {
    display: none;
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
        color: #fff;
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        background: #000;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: 0.4s;
        border-left: 1px solid #333;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .prop-details {
        margin: 0;
        top: 0;
        border: none;
        background: #111;
    }
}

/* Subpage Hero with Image */
.page-header {
    padding: 12rem 0 6rem;
    position: relative;
    background: #0f4c75;
    /* Fallback */
    color: #fff;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

.page-header h1,
.page-header p {
    color: #fff !important;
    /* Force white text on dark bg */
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    z-index: 0;
    transition: transform 5s ease-out;
}

.page-header:hover .page-header-bg {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

/* Premium Feature Cards */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.premium-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    /* ALIGNMENT FIX */
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.5) 0%, rgba(243, 232, 255, 0.5) 100%);
    opacity: 0;
    z-index: -1;
    transition: 0.4s;
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 76, 117, 0.1);
    border-color: rgba(15, 76, 117, 0.1);
}

.premium-card:hover::before {
    opacity: 1;
}

.premium-card i {
    font-size: 2.5rem;
    color: var(--secondary-accent);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    margin: 0 auto 1.5rem auto;
    /* ALIGNMENT FIX */
}

.premium-card:hover i {
    background: var(--primary-accent);
    color: #fff;
    transform: rotateY(180deg);
}

.premium-card h3 {
    color: var(--primary-accent);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.premium-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Floating Social Media Icons */
.floating-socials {
    position: fixed;
    right: 20px;
    bottom: 30px;
    /* Positioned at bottom right */
    display: flex;
    flex-direction: column-reverse;
    /* Stack upwards */
    gap: 15px;
    z-index: 9999;
}

.social-float-btn {
    width: 55px;
    height: 55px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--primary-accent);
    font-size: 1.8rem;
    text-decoration: none;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.social-float-btn:hover {
    transform: scale(1.15) translateY(-5px);
    color: #fff;
}

.social-float-btn.whatsapp {
    color: #25D366;
}

.social-float-btn.whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.social-float-btn.instagram {
    color: #E1306C;
}

.social-float-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.social-float-btn.facebook {
    color: #1877F2;
}

.social-float-btn.facebook:hover {
    background: #1877F2;
    color: #fff;
}

/* Tooltip on hover */
.social-float-btn::before {
    content: attr(aria-label);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
}

.social-float-btn:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Background Floating Shapes Animation */
.bg-shape-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

/* Background Floating Icons */
.bg-shape {
    position: absolute;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    opacity: 0.05;
    font-size: 6rem;
    /* Reduced base size */
    color: var(--primary-accent);
    animation: floatShape 20s infinite linear alternate;
    z-index: -1;
    pointer-events: none;
    line-height: 1;
}

/* Shape 1: Flight & Holiday */
.bg-shape:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-duration: 25s;
}

.bg-shape:nth-child(1)::before {
    content: "\f072";
    /* Plane */
    transform: rotate(-15deg);
    display: block;
    font-size: 8rem;
    /* Reduced */
}

.bg-shape:nth-child(1)::after {
    content: "\f030";
    /* Camera */
    position: absolute;
    top: 150px;
    left: 100px;
    color: var(--secondary-accent);
    transform: rotate(15deg);
    font-size: 5rem;
    /* Reduced */
    opacity: 0.7;
}

/* Shape 2: Beach & Toys */
.bg-shape:nth-child(2) {
    bottom: 15%;
    right: 8%;
    animation-duration: 30s;
    animation-delay: -5s;
    color: var(--secondary-accent);
}

.bg-shape:nth-child(2)::before {
    content: "\f5ca";
    /* Umbrella Beach */
    transform: rotate(10deg);
    display: block;
    font-size: 9rem;
    /* Reduced */
}

.bg-shape:nth-child(2)::after {
    content: "\f1e3";
    /* Ball (Toy) */
    position: absolute;
    bottom: 120px;
    right: 80px;
    color: #e11d48;
    transform: rotate(-20deg);
    font-size: 4rem;
    /* Reduced */
}

/* Shape 3: Toys & Travel */
.bg-shape:nth-child(3) {
    top: 40%;
    right: 15%;
    animation-duration: 35s;
    animation-delay: -10s;
    color: #e11d48;
    /* Playful Pinkish */
}

.bg-shape:nth-child(3)::before {
    content: "\f12e";
    /* Puzzle Piece (Toy) */
    transform: rotate(20deg);
    display: block;
    font-size: 6rem;
    /* Reduced */
}

.bg-shape:nth-child(3)::after {
    content: "\f21a";
    /* Ship */
    position: absolute;
    top: -100px;
    right: -50px;
    color: var(--primary-accent);
    transform: rotate(-5deg);
    font-size: 7rem;
    /* Reduced */
    opacity: 0.5;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(60px, 80px) rotate(10deg);
        /* Increased movement */
    }

    66% {
        transform: translate(-50px, 30px) rotate(-10deg);
        /* Increased movement */
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Premium Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 117, 0.4);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 30px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px;
    box-shadow: 0 15px 30px rgba(15, 76, 117, 0.3);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary-accent);
    margin-bottom: 15px;
}

.modal-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-btn {
    background: var(--primary-accent);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(15, 76, 117, 0.2);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 76, 117, 0.3);
    background: #1a5f8a;
}

/* Powered By Branding */
.powered-by {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
    opacity: 0.8;
}

.powered-by a {
    color: #0f4c75;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.powered-by a:hover {
    color: #d4af37;
    opacity: 1;
}

.powered-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}

/* Sidebar branding adjustment */
.sidebar-branding {
    margin-top: auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

.sidebar-branding a {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.sidebar-branding a:hover {
    color: #fff;
}