:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #AA8C2C;
    --bg-dark: #153448;
    /* Deep Blue from logo */
    --bg-card: #1C4259;
    /* Slightly lighter blue for contrast */
    --text-main: #F0F8FF;
    /* AliceBlue for readability on blue */
    --text-muted: #B0C4DE;
    /* LightSteelBlue for muted text */
    --accent-blue: #3c8dad;
    /* Logo wave blue */
    /* For trading up colors if needed, though gold is primary */
    --accent-red: #ff3b30;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold-primary);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    /* Metallic Gold Gradient */
    background: linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    background-size: 200% auto;
    color: #000;
    font-weight: 800;
    padding: 20px 40px;
    /* Slightly larger */
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(191, 149, 63, 0.5);
    /* Gold Glow */
    border: 2px solid #fff;
    /* White border for contrast */
    cursor: pointer;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
    /* For shine effect */
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background-position: right center;
    /* animate gradient */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(191, 149, 63, 0.8);
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Header */
/* Header */
header {
    position: absolute;
    width: 100%;
    z-index: 10;
    top: 0;
}

.guarantee-banner {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), var(--gold-dark));
    color: #000;
    text-align: center;
    padding: 10px 0;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-inner {
    padding: 20px 0;
}

.logo-container img {
    height: 120px;
    /* Increased from 80px */
    display: block;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Taller hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    background: radial-gradient(circle at center, #1C4259 0%, #153448 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(60, 141, 173, 0.15) 0%, transparent 40%);
    /* accent-blue glow */
    pointer-events: none;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: auto;
    padding-bottom: 40px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--gold-light);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gold-light);
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--bg-card);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.3);
    /* Gold glow */
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

/* Results Gallery */
.results {
    padding: 80px 0;
    background: var(--bg-dark);
}

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

.result-item {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s;
}

.result-item:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.result-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid var(--gold-primary);
    object-fit: cover;
}

/* Floating CTA */
.floating-cta-container {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 100;
    padding: 0 20px;
    pointer-events: none;
    /* Let clicks pass through around the button */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta-btn {
    pointer-events: auto;
    background: var(--gold-primary);
    color: #000;
    font-weight: 800;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    animation: pulse 2s infinite;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 70vh;
        padding-top: 110px;
        /* Reduced to bring content closer to banner */
    }

    /* Hide static CTA on mobile, rely on floating one */
    .hero .btn-primary {
        display: none !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        /* Stack images on mobile */
    }

    .floating-cta-container {
        bottom: 20px;
    }
}

/* New Hero Sub Headline */
.hero-sub-headline {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 2rem;
    padding-top: 2rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .hero-sub-headline {
        font-size: 1.5rem;
    }

    .faq-item.active .faq-question i {
        transform: rotate(180deg);
    }

    .faq-item.active .faq-answer {
        max-height: 200px;
        /* Adjust based on content */
    }
}

/* Global FAQ Styles (moved out of media query) */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--gold-primary);
}

.faq-question {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question span {
    color: var(--text-main);
}

.faq-question i {
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(255, 255, 255, 0.02);
}

.faq-answer p {
    padding: 20px 25px;
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Javascript toggle classes */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Increased to accommodate longer answers */
}

/* Footer Horizontal Menu */
.footer-menu-horizontal {
    margin: 20px 0;
}

.footer-menu-horizontal ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.footer-menu-horizontal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}


.footer-menu-horizontal a:hover {
    color: var(--gold-primary);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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