/* Reset and Base Styles */
:root {
    --bg-main: #f9f9fa;
    /* Light, clean background */
    --bg-darker: #ffffff;
    /* Pure white sections */
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    /* Dark charcoal text */
    --text-muted: #5e5e6e;
    /* Softer text for descriptions */
    --accent: #2c5282;
    /* Professional, premium deep blue */
    --accent-hover: #1a365d;
    --border-color: #e2e8f0;
    /* Subtle light gray border */

    --font-main: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.bg-darker {
    background-color: var(--bg-darker);
}

.bg-white {
    background-color: #ffffff;
}

.accent {
    color: var(--accent);
}

.text-muted {
    color: var(--text-muted);
}

/* Typography */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.2);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 6px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 22px 0;
    z-index: 1000;
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

/* Subpages: no dark hero, so navbar is white from start */
.navbar.subpage {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Ensures visibility on both light & photo backgrounds */
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
    transition: opacity 0.2s;
}

.logo-img:hover {
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a.active-page {
    color: var(--accent);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active-page::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: all 0.35s ease;
    transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Section Spacing */
.section {
    padding: 100px 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    background: #1a2a3a;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/banner-2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.45;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 42, 58, 0.85) 0%, rgba(44, 82, 130, 0.6) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 8%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-deco {
    position: absolute;
    top: 20%;
    right: 12%;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphBlob 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes morphBlob {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(44, 82, 130, 0.1);
}

.stat-item {
    text-align: center;
    padding: 24px 60px;
    flex: 1;
    max-width: 260px;
    border-right: 1px solid rgba(44, 82, 130, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    font-size: 2.8rem;
    color: var(--accent);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 4px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.features-list {
    margin-top: 30px;
}

.features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.image-placeholder img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.section-header {
    margin-bottom: 60px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-img {
    height: 240px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(44, 82, 130, 0.08);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 5rem;
    color: rgba(44, 82, 130, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), #1a365d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author h4 {
    margin-bottom: 3px;
    font-size: 1rem;
}

.author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Pricing Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header p {
    color: var(--text-muted);
    margin-top: 10px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #f0f4f8;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
    min-height: 24px;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #1a2a4a 0%, #12203a 100%);
    padding: 80px 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    margin-top: 14px;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 10px;
    font-size: 0.92rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    padding: 20px 0;
    text-align: center;
}

/* Social Media Footer */
.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
    margin-bottom: 0 !important;
    padding-left: 16px !important;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.social-btn svg {
    flex-shrink: 0;
}

.social-btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    color: inherit;
}

.social-btn span small {
    font-size: 0.72rem;
    opacity: 0.7;
    font-weight: 400;
}



/* Animations */
.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal,
.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    visibility: visible;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Subpages */
.subpage-header {
    padding: 160px 0 90px;
    background: linear-gradient(135deg, #1a365d 0%, var(--accent) 60%, #2d6aa0 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subpage-header::before {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg-main);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.subpage-header::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.subpage-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.subpage-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}

.flow-step {
    text-align: center;
    position: relative;
}

.flow-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.flow-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 2rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(44, 82, 130, 0.1);
}

.flow-step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.flow-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Expansion Sections (USPs, Mini Gallery, CTA) */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.usp-item {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.usp-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.usp-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.usp-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.usp-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.gallery-preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    height: 250px;
}

.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 82, 130, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.preview-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.gallery-preview-item:hover img {
    transform: scale(1.1);
}

.gallery-preview-item:hover .preview-overlay {
    opacity: 1;
}

.gallery-preview-item:hover .preview-overlay span {
    transform: translateY(0);
}

.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.92) 0%, rgba(44, 82, 130, 0.9) 100%), url('images/parallax-e.webp') center/cover no-repeat;
    position: relative;
}

/* Contact Page CSS */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent);
    background-color: #f1f5f9;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.contact-map-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        margin-bottom: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        min-height: 400px;
    }

    .flow-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background-color: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        position: static;
        background: transparent;
        padding-top: 60px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .visual-choices {
        flex-direction: column;
    }
}

/* ============================================
   CALCULATOR — New Styles (Multi-Service)
   ============================================ */

.calc-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.08), rgba(44, 82, 130, 0.04));
    border: 1px solid rgba(44, 82, 130, 0.2);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.form-header .calc-badge {
    display: block;
    text-align: center;
}

/* Progress connector between steps */
.progress-connector {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    transition: background-color 0.4s ease;
    align-self: center;
    margin-bottom: 20px;
    /* aligns with dot baseline */
}

.progress-connector.filled {
    background-color: var(--accent);
}

/* Progress step with label */
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    /* override old calc-progress positioning */
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
}

.step-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.progress-step.active .step-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(44, 82, 130, 0.15);
}

.progress-step.active .step-label {
    color: var(--accent);
    font-weight: 700;
}

.progress-step.completed .step-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.progress-step.completed .step-dot::after {
    content: '✓';
}

/* Hide the old ::before pseudo-connector */
.calc-progress::before {
    display: none;
}

/* The new progress bar layout */
.calc-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* Multi-service choice cards */
.multi-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.multi-choices .choice-card {
    cursor: pointer;
    position: relative;
}

.multi-choices .choice-card input[type="checkbox"] {
    display: none;
}

.choice-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.25s ease;
}

.multi-choices .choice-card.selected .card-content {
    border-color: var(--accent);
    background-color: rgba(44, 82, 130, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.15);
}

.multi-choices .choice-card.selected .choice-check {
    opacity: 1;
    transform: scale(1);
}

.choice-title {
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.choice-desc {
    font-size: 0.85rem;
    margin-top: 4px;
}

/* Service Detail Blocks */
.service-detail-block {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    background: #fdfdfe;
}

.service-detail-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

/* Radio pills in calc */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    background: #fff;
}

.radio-option:hover {
    border-color: var(--accent);
    background: rgba(44, 82, 130, 0.03);
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
}

.price-hint {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(44, 82, 130, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
}

.calc-input-field {
    width: 100%;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.calc-input-field:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #f0f4f8;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.field-hint {
    margin-top: 8px;
    font-size: 0.83rem;
    color: var(--text-muted);
}

/* Trust badges in step 3 */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-bottom: 4px;
}

.trust-badges span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(44, 82, 130, 0.07);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Calc error messages */
.calc-error-msg {
    color: #dc2626;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 16px;
    margin-top: 8px;
}

/* Price reveal card on step 4 */
.price-reveal-card {
    background: linear-gradient(135deg, rgba(44, 82, 130, 0.04), rgba(44, 82, 130, 0.01));
    border: 1px solid rgba(44, 82, 130, 0.15);
    border-radius: 12px;
    padding: 30px;
    margin: 24px auto;
    max-width: 480px;
}

.price-reveal-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-reveal-amount {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 10px 0;
    line-height: 1;
}

.price-reveal-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.success-checkmark {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.success-cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* Responsive for calculator */
@media (max-width: 768px) {
    .multi-choices {
        grid-template-columns: 1fr;
    }

    .radio-group {
        gap: 8px;
    }

    .trust-badges {
        gap: 10px;
    }

    .price-reveal-amount {
        font-size: 2.4rem;
    }

    .calc-progress {
        gap: 2px;
    }

    .step-label {
        display: none;
    }
}


.calc-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.calc-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-step h3 {
    margin-bottom: 24px;
    text-align: center;
}

.visual-choices {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.choice-card {
    flex: 1;
    cursor: pointer;
}

.choice-card input {
    display: none;
}

.card-content {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    background-color: #ffffff;
}

.card-img-wrapper {
    height: 150px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.choice-card input:checked+.card-content {
    border-color: var(--accent);
    background-color: rgba(44, 82, 130, 0.04);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.1);
}

.choice-card input:checked+.card-content span {
    color: var(--accent);
    font-weight: bold;
}

.step-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.step-actions.text-right {
    text-align: right;
}

.step-actions.split {
    display: flex;
    justify-content: space-between;
}

.consent-group .checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 4px;
    width: auto;
}

.summary-card {
    padding: 40px 30px;
    background-color: rgba(44, 82, 130, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.price-reveal {
    margin-top: 30px;
}

#estimated_price {
    font-size: 3.5rem;
    margin: 15px 0;
}

/* Floating Call Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent), #1a365d);
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(44, 82, 130, 0.4);
    transition: all 0.3s ease;
    animation: floatPulse 3s ease-in-out infinite;
}

.floating-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 32px rgba(44, 82, 130, 0.5);
}

.floating-cta .float-icon {
    font-size: 1.3rem;
}

@keyframes floatPulse {

    0%,
    100% {
        box-shadow: 0 8px 24px rgba(44, 82, 130, 0.4);
    }

    50% {
        box-shadow: 0 8px 32px rgba(44, 82, 130, 0.6);
    }
}

@media (max-width: 576px) {
    .floating-cta span:not(.float-icon) {
        display: none;
    }

    .floating-cta {
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}

/* ============================================
   GLOBAL CSS IMPROVEMENTS (Polish Pass)
   ============================================ */

/* Navbar: white links + logo on photo-background hero, dark on scroll */
.navbar:not(.scrolled):not(.subpage) .nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.9);
}

.navbar:not(.scrolled):not(.subpage) .nav-links a:not(.btn):hover {
    color: #ffffff;
}

.navbar:not(.scrolled):not(.subpage) .nav-links a:not(.btn)::after {
    background: rgba(255, 255, 255, 0.8);
}

.navbar:not(.scrolled):not(.subpage) .mobile-menu-btn span {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Subpage navbar: always dark links on white background */
.navbar.subpage .nav-links a:not(.btn) {
    color: var(--text-main);
}

.navbar.subpage .nav-links a:not(.btn):hover {
    color: var(--accent);
}

.navbar.subpage .logo-img {
    filter: brightness(0) saturate(100%);
}


/* Force hero content above all layers */
.hero-content,
.hero-buttons,
.hero-stats {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Hero stats bar solid white for legibility */
.hero-stats {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(44, 82, 130, 0.12) !important;
}

.stat-item {
    padding: 20px 40px;
    flex: 1;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer logo image */
.footer .logo-img {
    height: 44px;
    margin-bottom: 16px;
}

/* Improved service cards */
.service-card {
    border-radius: 12px !important;
}

.service-card:hover {
    box-shadow: 0 20px 50px rgba(44, 82, 130, 0.12) !important;
}

/* Improved testimonial cards */
.testimonial-card {
    border-radius: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(44, 82, 130, 0.1) !important;
}

/* USP grid icon */
.usp-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

/* Image placeholder aspect */
.image-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.image-placeholder img {
    border-radius: 12px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subpage header improvements */
.subpage-header {
    background-attachment: fixed !important;
}

/* Mobile nav improvements */
@media (max-width: 900px) {
    .logo-img {
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(300px, 85vw);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 16px;
        padding: 24px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn) {
        color: var(--text-main) !important;
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .navbar:not(.scrolled) .mobile-menu-btn span {
        background-color: rgba(255, 255, 255, 0.95);
    }
}

/* ============================================
   CRITICAL FIX: Scroll Reveal Animations
   (These were missing — caused blank page!)
   ============================================ */

.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal {
    transform: translateY(20px);
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal.active,
.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* Staggered delay helpers */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ============================================
   CRITICAL FIX: Hero text is white on dark bg
   ============================================ */

.hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero h1 .accent {
    color: #90cdf4 !important;
    /* light blue instead of dark blue */
}

.hero p {
    color: rgba(255, 255, 255, 0.88) !important;
}

/* ============================================
   CRITICAL FIX: Logo visibility on scroll
   Art.Stal logo is white — invert on white nav
   ============================================ */

/* When scrolled (white navbar), darken the logo so it's visible */
.navbar.scrolled .logo-img {
    filter: brightness(0) saturate(100%);
    /* turns white logo completely dark/black */
}

/* When not scrolled (on dark hero), keep logo bright */
.navbar:not(.scrolled) .logo-img {
    filter: brightness(1.0) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}