/* Global Styles */
html,
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

/* Color Variables */
:root {
    --primary-gold: #D4AF37;
    --primary-gold-dark: #b8962e;
    --bg-dark: #0a0a0a;
    --bg-light: #f4f4f4;
    --bg-beige: #f9f5f0;
    --text-light: #ffffff;
    --text-dark: #333333;
}

/* Loader */
.loading {
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pulsing-logo {
    width: 80px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    animation: pulse 2s infinite;
}

.waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave {
    position: absolute;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    width: 80px;
    height: 80px;
    animation: wave 2s infinite linear;
}

.wave:nth-child(1) {
    animation-delay: 0s;
}

.wave:nth-child(2) {
    animation-delay: 0.6s;
}

.wave:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes wave {
    0% {
        transform: scale(1);
        opacity: 1;
        border-width: 3px;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
        border-width: 0px;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

.section-title {
    color: var(--primary-gold);
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
}

.bg-dark .section-title::after {
    background-color: var(--bg-light);
    /* Or Keep gold if needed */
}

.section-header p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Navigation */
.navbar {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-gold) !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-gold);
}

.btn-quote {
    border: 1px solid var(--primary-gold);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--primary-gold) !important;
}

.btn-quote:hover {
    background-color: var(--primary-gold);
    color: var(--bg-dark) !important;
}

/* Hero Section */
header#hero {
    height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 80px;
    /* Offset for fixed nav */
    position: relative;
}

.hero-img {
    max-height: 400px;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
    animation: pulse-scale 4s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse-scale 4s ease-in-out infinite;
}

@keyframes pulse-scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.btn-primary {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--bg-dark);
    font-weight: 600;
    padding: 10px 30px;
}

.btn-primary:hover {
    background-color: var(--primary-gold-dark);
    border-color: var(--primary-gold-dark);
    color: var(--bg-dark);
}

.btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
    padding: 10px 30px;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-white {
    background-color: #ffffff;
}

.bg-beige {
    background-color: var(--bg-beige);
}

/* About Section */
.about-img-wrapper {
    position: relative;
    padding: 20px;
}

.bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 80%;
    background-color: var(--primary-gold);
    opacity: 0.1;
    z-index: -1;
    border-radius: 20px;
}

/* Services Cards */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #fdf8eb;
    /* Light Gold */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: var(--primary-gold);
    font-size: 28px;
    transition: background-color 0.3s, color 0.3s;
}

.service-card:hover .icon-box {
    background-color: var(--primary-gold);
    color: #fff;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Features/Why Us */
.feature-box {
    padding: 20px;
}

.feature-box h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid var(--primary-gold);
}

/* Pricing */
.pricing-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
    height: 100%;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--primary-gold);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.popular:hover {
    transform: scale(1.08);
}

.tag {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-gold);
    color: #fff;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header {
    background-color: #fcfcfc;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.pricing-header .price span {
    font-size: 1rem;
    color: #999;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    padding: 30px;
    margin: 0;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.pricing-features li i {
    color: var(--primary-gold);
    margin-right: 10px;
    margin-top: 5px;
}

/* Contact Form */
.contact-form .form-control {
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 5px;
}

/* Calendly Button */
.btn-calendly {
    background: #0069ff;
    /* Calendly Blue */
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 105, 255, 0.3);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-calendly:hover {
    background: #005ce6;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 105, 255, 0.4);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }

    header#hero {
        height: auto;
        padding: 140px 0 80px;
        text-align: center;
    }

    .hero-img {
        margin-top: 40px;
        max-height: 300px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {

    /* Global Typography & Spacing */
    h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .section-padding {
        padding: 40px 0;
    }

    p {
        font-size: 0.95rem;
    }

    .lead {
        font-size: 1rem;
    }

    /* Navbar */
    .navbar-collapse {
        background-color: var(--bg-dark);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        border: 1px solid rgba(212, 175, 55, 0.2);
    }

    .navbar-nav {
        text-align: center;
    }

    .nav-link {
        margin-left: 0;
        margin-bottom: 15px;
        display: inline-block;
        font-size: 1.1rem;
    }

    /* Hero */
    header#hero {
        padding: 100px 0 50px;
    }

    .hero-img {
        display: none;
    }

    /* Buttons */
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .d-flex.mt-4 {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .d-flex.mt-4 a {
        width: 80%;
        margin-right: 0 !important;
        text-align: center;
    }

    /* About Section */
    .about-img-wrapper {
        text-align: center;
        margin-bottom: 30px;
    }

    .about-img {
        max-width: 80%;
        height: auto !important;
    }

    /* Services */
    .service-card {
        margin: 0 auto 25px;
        max-width: 320px;
        /* Prevent full width stretching */
        padding: 30px 20px;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    /* Why Us / Features */
    .feature-box-single {
        padding: 25px 20px;
    }

    .feature-box-single h4 {
        font-size: 1.4rem;
    }

    .feature-box-single i {
        font-size: 1.5rem !important;
    }

    /* Pricing */
    .pricing-card {
        padding: 25px 20px;
        margin-bottom: 30px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .pricing-header h3 {
        font-size: 1.4rem;
    }

    .pricing-header .price {
        font-size: 2.2rem;
    }

    .pricing-features {
        padding: 20px 0;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }
}

/* Fix Visibility on Light Backgrounds */
.bg-light p,
.bg-white p,
.bg-light li,
.bg-white li {
    color: #444;
    /* Ensure readable contrast */
    text-shadow: none !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Features/Why Us - Redesigned */
.feature-box-single {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-box-single h4 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.feature-box-single p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Pricing - Dark & Glow (akcallers style) */
#pricing {
    background-color: #050505;
    /* Very dark background */
}

#pricing .section-title {
    color: var(--primary-gold);
}

#pricing p {
    color: #ccc;
}

.pricing-card {
    background: #111;
    border: 2px solid var(--primary-gold);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
}

.pricing-card.popular {
    border: 1px solid var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    z-index: 1;
}

.pricing-card.popular:hover {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4), inset 0 0 30px rgba(212, 175, 55, 0.1);
    border-color: var(--primary-gold);
}

.pricing-header {
    background-color: transparent;
    padding: 0 0 20px 0;
    text-align: left;
    border-bottom: 1px solid #333;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.pricing-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    /* White price */
}

.pricing-header .price span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}

.pricing-header .strikethrough {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
    margin-bottom: 5px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 30px 0;
    margin: 0;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: #ddd;
}

.pricing-features li .svg-inline--fa {
    color: #fff;
    /* White checkmarks */
    background: var(--primary-gold);
    border-radius: 50%;
    padding: 3px;
    font-size: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    margin-top: 5px;
}

.btn-pricing {
    width: 100%;
    background: #fff;
    color: #000;
    border-radius: 30px;
    padding: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-pricing:hover {
    background: #ddd;
    transform: scale(1.02);
}

.popular .btn-pricing {
    background: var(--primary-gold);
    color: #000;
}

.popular .btn-pricing:hover {
    background: #fff;
}

/* New Social Links */
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: #fff !important;
    transform: translateY(-3px);
}