/* ===================================================
   DewDream Services – Custom Styles
   Primary: #164084 | Secondary: #FC4C01
   =================================================== */

:root {
    --primary: #164084;
    --primary-dark: #0e2d5e;
    --primary-light: #1e5ab5;
    --secondary: #FC4C01;
    --secondary-light: #ff6b2b;
    --white: #ffffff;
    --light: #f8f9fc;
    --gray-100: #f1f3f7;
    --gray-200: #e2e6ee;
    --gray-500: #6c757d;
    --gray-700: #3a3f47;
    --gray-900: #1a1e25;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --shadow-sm: 0 2px 8px rgba(22, 64, 132, 0.08);
    --shadow-md: 0 4px 20px rgba(22, 64, 132, 0.12);
    --shadow-lg: 0 8px 40px rgba(22, 64, 132, 0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* === Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

h1, h2 {
    font-family: var(--font-display);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* === Top Bar === */
.top-bar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--secondary);
}

/* === Navbar === */
#mainNav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 8px 0;
    transition: var(--transition);
    z-index: 1030;
}

#mainNav.scrolled {
    padding: 4px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    padding: 4px 0;
    margin-right: 1.5rem;
}

.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

#mainNav.scrolled .navbar-logo {
    height: 46px;
}

.brand-accent {
    color: var(--secondary);
}

.navbar-toggler {
    border: 2px solid var(--primary);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(22, 64, 132, 0.25);
}

.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='%23164084' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-nav .nav-link {
    color: var(--gray-700) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary) !important;
    background: rgba(252, 76, 1, 0.06);
}

/* === CTA Button === */
.btn-cta {
    background: var(--secondary);
    color: var(--white) !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--secondary-light);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 76, 1, 0.35);
}

.btn-primary-custom {
    background: var(--primary);
    color: var(--white) !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 64, 132, 0.35);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white) !important;
    font-weight: 600;
    border-radius: 50px;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* === Hero Section === */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920&q=80') center/cover;
    opacity: 0.15;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23f8f9fc' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,64C960,75,1056,85,1152,80C1248,75,1344,53,1392,42.7L1440,32L1440,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom/100% 120px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-section .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    line-height: 1.8;
}

.hero-badge {
    display: inline-block;
    background: rgba(252, 76, 1, 0.2);
    color: var(--secondary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(252, 76, 1, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Section Styles === */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--light);
}

.section-white {
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(252, 76, 1, 0.1);
    color: var(--secondary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Service Cards === */
.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(22, 64, 132, 0.1), rgba(252, 76, 1, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    transform: scale(1.1);
}

.service-card h5 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* === Feature Cards === */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(22, 64, 132, 0.3);
}

/* === Testimonial Cards === */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card .client-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0;
}

.testimonial-card .client-title {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    color: rgba(22, 64, 132, 0.08);
}

/* === About Page === */
.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 80px;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1628177142898-93e36e4e3a50?w=1920&q=80') center/cover;
    opacity: 0.1;
}

.about-hero h1 {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 2;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    border-color: var(--secondary);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(22, 64, 132, 0.1), rgba(252, 76, 1, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--secondary);
    margin: 0 auto 1rem;
}

/* === Page Hero (reusable for inner pages) === */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23f8f9fc' d='M0,32L120,37.3C240,43,480,53,720,48C960,43,1200,21,1320,10.7L1440,0L1440,80L0,80Z'/%3E%3C/svg%3E") no-repeat bottom/100% 80px;
}

.page-hero h1 {
    color: var(--white);
    font-size: 3rem;
    position: relative;
    z-index: 2;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb {
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb-item.active {
    color: var(--secondary);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* === Contact Section === */
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-card .contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

/* === Form Styles === */
.form-control,
.form-select {
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(22, 64, 132, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

/* === Footer === */
.site-footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-brand {
    margin-bottom: 0.75rem;
}

.footer-logo {
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 8px 18px;
    display: block;
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
}

.footer-social {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    transition: var(--transition);
}

.footer-social:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* === Back to Top === */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: none;
    z-index: 1050;
    font-size: 1.2rem;
    padding: 0;
    align-items: center;
    justify-content: center;
}

#backToTop.visible {
    display: flex;
}

/* === CTA Banner === */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary), #e04300);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.5rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
}

/* === Booking Page === */
.booking-form {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.service-option {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.service-option:hover,
.service-option.selected {
    border-color: var(--secondary);
    background: rgba(252, 76, 1, 0.04);
}

.service-option input[type="radio"] {
    display: none;
}

.service-option i {
    font-size: 1.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.service-option span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* === Step Indicator === */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 36px;
    height: 36px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-500);
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--secondary);
    color: var(--white);
}

.step.completed .step-number {
    background: var(--primary);
    color: var(--white);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
}

.step.active .step-label {
    color: var(--secondary);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--gray-200);
    align-self: center;
    margin: 0 0.75rem;
}

.step.completed + .step-line,
.step-line.completed {
    background: var(--primary);
}

/* === Counter Section === */
.counter-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
}

.counter-item {
    text-align: center;
    color: var(--white);
}

.counter-item .counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

.counter-item .counter-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === Image overlap effect on About === */
.about-img-wrapper {
    position: relative;
}

.about-img-wrapper img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius);
    z-index: -1;
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: var(--radius);
        margin-top: 0.5rem;
        box-shadow: var(--shadow-md);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .cta-banner h2 {
        font-size: 1.75rem;
    }

    .about-img-wrapper::after {
        display: none;
    }
}