/* --- 🎨 VIBRANT THEME & GLOBAL STYLES --- */
:root {
    --primary-gradient: linear-gradient(135deg, #4A7AF8 0%, #305AD8 100%);
    --button-gradient: linear-gradient(90deg, #5A8DF9 0%, #4071E5 100%);
    --accent-color: #4A7AF8; 
    --dark-bg: #1a1a2e;
    --text-dark: #1B2141;
    --text-light: #6a718b;
    --bg-light: #F4F7FC;
    --bg-white: #FFFFFF;
    --border-color: #EAEBEE;
    
    --font-main: 'Poppins', sans-serif;
    --shadow-md: 0 8px 16px rgba(74, 122, 248, 0.15);
    --shadow-lg: 0 15px 30px rgba(74, 122, 248, 0.2);
    --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 100px 0; position: relative; overflow-x: hidden; }

/* --- ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- GLOBAL TYPOGRAPHY & BUTTONS --- */
.section-title { font-size: clamp(2rem, 5vw, 2.5rem); font-weight: 700; color: var(--text-dark); text-align: center; margin-bottom: 16px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); text-align: center; max-width: 700px; margin: 0 auto 60px; }
.text-gradient { background: var(--primary-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.cta-button { display: inline-block; padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; border: 2px solid transparent; cursor: pointer; }
.cta-button.primary { background: var(--primary-gradient); color: white; }
.cta-button.primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-lg); }
.cta-button.secondary { background-color: rgba(74, 122, 248, 0.1); color: var(--accent-color); border-color: transparent; }
.cta-button.secondary:hover { background-color: var(--accent-color); color: white; }
.cta-button.large { padding: 16px 40px; font-size: 1.1rem; }
.cta-button.full-width { width: 100%; text-align: center; }

.link-button { background: none; border: none; color: var(--accent-color); font-weight: 600; cursor: pointer; font-size: 1rem; padding: 5px 0; font-family: var(--font-main); transition: opacity 0.3s; }
.link-button:hover { opacity: 0.7; }
.cta-section-button { text-align: center; margin-top: 60px; }


/* --- HEADER & HERO SECTION --- */
.navbar { position: absolute; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; background-color: transparent; transition: all 0.3s ease-in-out; }
.navbar.scrolled { position: fixed; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 15px 0; }
.navbar-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { max-height: 40px; filter: brightness(0) invert(1); }
.navbar.scrolled .logo-img { filter: none; }

.navbar-collapse { display: flex; align-items: center; gap: 30px; }
.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a { color: white; text-decoration: none; font-weight: 500; font-size: 1rem; transition: color 0.3s ease, transform 0.3s ease; position: relative; padding-bottom: 5px; }
.navbar.scrolled .main-nav a { color: var(--text-dark); }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background-color: white; transition: width 0.3s ease; }
.navbar.scrolled .main-nav a::after { background-color: var(--accent-color); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.cta-button.header-cta { background-color: rgba(255, 255, 255, 0.2); color: white; border-color: rgba(255, 255, 255, 0.4); padding: 8px 20px; }
.navbar.scrolled .cta-button.header-cta { background-color: var(--accent-color); color: white; border-color: var(--accent-color); }

.burger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Above other navbar content */
    width: 40px;
    height: 40px;
}
.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}
.navbar.scrolled .burger-menu span { background-color: var(--text-dark); }

/* Burger to 'X' animation */
.burger-menu.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-menu.is-open span:nth-child(2) { opacity: 0; }
.burger-menu.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { height: 100vh; display: flex; align-items: center; text-align: center; color: white; position: relative; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('../image/rear-view-young-couple-looking-their-new-house.jpg') no-repeat center center/cover; z-index: -2; animation: kenburns 20s ease-out infinite; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: -1; }
@keyframes kenburns { 0% { transform: scale(1.05); } 50% { transform: scale(1.1); } 100% { transform: scale(1.05); } }
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.2; max-width: 950px; margin: 0 auto 1.5rem; text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3); }
.hero-content p { font-size: 1.25rem; max-width: 680px; margin: 0 auto 2.5rem; font-weight: 300; opacity: 0.95; }

/* --- VALUTATION SECTION --- */
.valuation-section { background-color: var(--bg-light); }
.valuation-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.choice-card { 
    background: var(--bg-white); 
    padding: 40px; 
    border-radius: var(--radius); 
    text-align: center; 
    box-shadow: var(--shadow-md); 
    transition: transform 0.3s, box-shadow 0.3s; 
    border: 1px solid var(--border-color); 
}
.choice-card:hover {
    transform: translateY(-10px); /* Keeps the "raising" effect */
    box-shadow: var(--shadow-lg);
}
.choice-icon-wrapper { width: 100%; max-width: 280px; height: 180px; margin: 0 auto 30px; border-radius: var(--radius); overflow: hidden; }
.choice-icon-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; }
.choice-card h3 { font-size: 1.6rem; margin-bottom: 15px; color: var(--text-dark); }
.choice-card p { color: var(--text-light); margin-bottom: 30px; min-height: 80px; }
.choice-card ul { list-style-type: none; padding-left: 0; margin-bottom: 30px; text-align: left; }
.choice-card ul li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text-light); font-size: 0.95rem; }
.choice-card ul li::before { content: '•'; position: absolute; left: 0; top: 0; color: var(--accent-color); font-size: 1.5rem; line-height: 1; font-weight: 700; }

/* --- ABOUT SECTION --- */
.about-section { background-color: white; }
.about-container { display: grid; grid-template-columns: 1fr; align-items: center; gap: 2rem; }
.about-text-card { background: white; padding: 50px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 700px; margin: 0 auto; }
.about-text-card p { font-size: 1.1rem; line-height: 1.8; color: var(--text-light); margin-bottom: 30px; }
.team-members { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 30px; }
.team-member { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.team-member img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.team-member div strong { font-size: 1.05rem; color: var(--text-dark); font-weight: 600; }

/* --- SERVICES SECTION --- */
.services-section-revamped { background-color: var(--bg-light); }
.services-grid-revamped { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card-revamped { 
    background: var(--bg-white); 
    border-radius: var(--radius); 
    overflow: hidden; 
    box-shadow: var(--shadow-md); 
    transition: transform 0.3s, box-shadow 0.3s; 
    border: 1px solid var(--border-color); 
    display: flex; 
    flex-direction: column; 
}
.service-card-revamped:hover {
    transform: scale(1.03)!important; /* NEW: Makes the service card slightly larger on hover */
    box-shadow: var(--shadow-lg);
}
.service-card-revamped img { width: 100%; height: 220px; object-fit: cover; }
.service-card-content { padding: 25px 30px; flex-grow: 1; display: flex; flex-direction: column; }
.service-card-content h4 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card-content p { flex-grow: 1; margin-bottom: 20px; color: var(--text-light); }

/* --- PROCESS SECTION --- */
.process-section-revamped { background-color: white; }
.process-interactive-container { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--border-color); margin-top: 30px; }
.process-tabs { display: flex; justify-content: space-around; border-bottom: 1px solid var(--border-color); padding: 0 20px; }
.process-tab-item { background: none; border: none; cursor: pointer; padding: 20px 15px; font-family: var(--font-main); font-size: 1rem; font-weight: 600; color: var(--text-light); display: flex; align-items: center; gap: 10px; transition: color 0.3s; position: relative; }
.process-tab-item::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 3px; background-color: var(--accent-color); transform: scaleX(0); transition: transform 0.3s ease; }
.process-tab-item:hover { color: var(--text-dark); }
.process-tab-item.active { color: var(--accent-color); }
.process-tab-item.active::after { transform: scaleX(1); }
.process-content-panels { padding: 50px; }
.process-panel { display: none; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
.process-panel.active { display: grid; animation: fadeIn 0.5s ease; }
.process-panel-image img { width: 100%; border-radius: var(--radius); }
.process-panel-text h3 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 15px; }
.process-panel-text h3 span { background: var(--primary-gradient); color: white; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; font-weight: 700; margin-right: 15px; }
.process-panel-text p { font-size: 1.1rem; line-height: 1.8; color: var(--text-light); }

/* --- RECENSIONI SECTION --- */
#recensioni { background-color: var(--bg-light); padding-bottom: 100px; position: relative; }
.testimonial-slider { padding-bottom: 50px; }
.testimonial-card { 
    background: var(--bg-white);
    padding: 40px; 
    border-radius: var(--radius); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex; 
    flex-direction: column; 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); }
.star-rating { display: flex; justify-content: center; gap: 2px; margin-bottom: 20px; }
.star-rating .feather-star {
    stroke: #FFD700 !important;
    fill: #FFD700 !important;
}
.testimonial-card p { flex-grow: 1; font-size: 1.05rem; line-height: 1.7; text-align: center; color: var(--text-dark); margin-bottom: 20px; }
.author { margin-top: auto; text-align: center; }
.swiper-pagination { bottom: 10px !important; }
.swiper-pagination-bullet-active { background: var(--accent-color) !important; }

/* --- FAQ SECTION --- */
.faq-section { background: white; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-accordion { display: flex; flex-direction: column; gap: 15px; }
.faq-item { border: 1px solid var(--border-color); border-radius: var(--radius); background: white; transition: background-color 0.3s; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1.1rem; }
.faq-question::after { content: '+'; font-size: 1.8rem; color: var(--accent-color); transition: transform 0.3s ease-out; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 20px 20px; color: var(--text-light); }
.faq-hidden { display: none; }
#load-more-faq { display: block; margin: 40px auto 0; }

/* --- MODALS --- */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1001; background: rgba(29, 29, 46, 0.7); backdrop-filter: blur(5px); display: none; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; padding: 20px; }
.modal.is-open { display: flex; opacity: 1; }
.modal-content { background: white; border-radius: var(--radius); max-width: 500px; width: 100%; position: relative; display: flex; flex-direction: column; max-height: 95vh; transform: scale(0.95); transition: transform 0.3s ease; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.modal.is-open .modal-content { transform: scale(1); }
.modal-header { padding: 25px 30px; background: var(--primary-gradient); color: white; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.modal-header h3 { margin: 0; font-size: 1.5rem; }
.modal-body { padding: 25px 30px; color: var(--text-light); overflow-y: auto; }
.modal-section-title { color: var(--accent-color); margin-top: 25px; margin-bottom: 10px; font-size: 1.25rem; font-weight: 700; }
.modal-body ul { list-style: none; padding: 0; margin: 10px 0 20px; }
.modal-body ul li { position: relative; padding-left: 25px; margin-bottom: 8px; color: var(--text-dark); font-size: 1rem; }
.modal-body ul li::before { content: '•'; color: var(--accent-color); position: absolute; left: 0; font-size: 1.2em; line-height: 1; top: 50%; transform: translateY(-50%); }
.modal-close-header { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.8rem; color: white; opacity: 0.7; cursor: pointer; z-index: 10; }

/* MODAL MULTISTEP FORM */
.multistep-form-container { max-width: 600px; }
.multistep-header { flex-shrink: 0; background: linear-gradient(135deg, #5A8DF9 0%, #4071E5 100%); color: white; padding: 25px 30px; position: relative; border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.multistep-header .header-info { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.multistep-header .header-title { display: flex; align-items: center; gap: 12px; }
.multistep-header .header-icon-wrapper { width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.multistep-header .header-title span { font-size: 1rem; font-weight: 400; display: block; line-height: 1.2; }
.multistep-header .header-title h4 { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
.multistep-header .header-precision { background: rgba(255,255,255,0.15); padding: 8px 12px; border-radius: 12px; display: flex; align-items: center; gap: 8px; text-align: left; }
.multistep-header .header-precision strong { font-size: 0.9rem; }
.multistep-header .header-precision span { font-size: 0.8rem; opacity: 0.8; line-height: 1; display: block; }
.multistep-header #step-counter { font-size: 0.9rem; margin-bottom: 8px; display: block; font-weight: 500; }
.progress-bar { width: 100%; height: 8px; background: rgba(255,255,255,0.3); border-radius: 4px; overflow: hidden; }
.progress-bar-fill { width: 0%; height: 100%; background-color: #f1c40f; border-radius: 4px; transition: width 0.4s ease; }
.modal-form { display: flex; flex-direction: column; flex-grow: 1; overflow: hidden; }
.form-step-content { padding: 30px 30px 25px; flex-grow: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 80px; }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.5s ease; }
.step-title { text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.step-subtitle { text-align: center; color: var(--text-light); margin-bottom: 30px; max-width: 350px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.form-section-subtitle { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-top: 25px; margin-bottom: 15px; text-align: center; }
.choices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.choices-grid.vertical { grid-template-columns: 1fr; }
.choice-box-label { display: block; }
.choice-box-label input[type="radio"], .choice-box-label input[type="checkbox"] { display: none; }
.choice-box { border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; cursor: pointer; transition: all 0.2s ease; display: flex; align-items: center; gap: 15px; }
.choice-box-label.simple .choice-box { padding: 15px 20px; }
.choice-box:hover { border-color: #a9b5e0; background-color: #f8faff; }
.choice-box-label input:checked + .choice-box { border-color: var(--accent-color); background-color: var(--bg-light); box-shadow: 0 0 0 3px rgba(74, 122, 248, 0.4); }
.choice-box i { color: var(--accent-color); }
.choice-box strong { display: block; font-weight: 600; }
.choice-box span { font-size: 0.9rem; color: var(--text-light); }
.input-with-icon { position: relative; }
.input-with-icon input { padding-right: 40px !important; }
.input-with-icon span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.modal-form .form-group { margin-bottom: 15px; }
.modal-form input[type="text"], .modal-form input[type="email"], .modal-form input[type="tel"], .modal-form input[type="number"], .modal-form select { width: 100%; padding: 14px; border: 1px solid var(--border-color); border-radius: 12px; font-family: var(--font-main); font-size: 1rem; }
.modal-form input::placeholder { color: #9aa0b9; }
.modal-form input:focus, .modal-form select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 2px rgba(74, 122, 248, 0.3); outline: none; }
.form-nav { display: flex; justify-content: space-between; margin-top: 30px; gap: 15px; }
.form-nav.single-button { justify-content: flex-end; }
.form-nav .cta-button { padding: 12px 25px; font-size: 1rem; border-radius: 12px; border: none; }
.form-nav-back { background-color: #f0f2f5; color: var(--text-light); }
.form-nav-back:hover { background-color: #e4e6ea; color: var(--text-dark); }
.form-nav-next { background: var(--button-gradient); color: white; }
.form-nav-next:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(64, 113, 229, 0.4); }
.value-prop-box { background: #fffbe6; border: 1px solid #ffe58f; border-radius: 12px; padding: 20px; margin: 25px 0; }
.value-prop-box strong { color: #d48806; font-weight: 600; }
.value-prop-box ul { list-style: '✓  '; padding-left: 20px; margin-top: 10px; font-size: 0.9rem; color: #5c5c5c; }
.result-header { text-align: center; }
.success-icon { width: 60px; height: 60px; background: #28a745; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon i { width: 32px; height: 32px; }
.result-display { display: flex; gap: 15px; margin: 30px 0; text-align: center; justify-content: center; }
.result-box { background: var(--bg-light); padding: 15px; border-radius: 12px; flex: 1; }
.result-box.main { background: #e9eefe; border: 1px solid var(--accent-color); }
.result-box span { font-size: 0.9rem; color: var(--text-light); display: block; margin-bottom: 5px; }
.result-box strong { font-size: 1.5rem; color: var(--text-dark); }
.next-step-box { background: #e9f7fe; border: 1px solid #bae7ff; padding: 20px; border-radius: 12px; display: flex; align-items: center; gap: 15px; }
.next-step-box i { color: #096dd9; }
.next-step-box strong { display: block; }
.next-step-box span { font-size: 0.9rem; color: var(--text-light); }

.modal-form-standard { padding: 25px 30px; }
.modal-form-standard .form-group { margin-bottom: 20px; }
.modal-form-standard label { display: block; margin-bottom: 8px; font-weight: 500; }
.modal-form-standard input { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 8px; }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark-bg); color: rgba(255,255,255,0.7); padding: 80px 0 0; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 40px; }
.footer-column.brand .logo-img-footer { max-height: 45px; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(0.8); }
.footer-column h4 { color: white; margin-bottom: 16px; }
.footer-column ul { list-style: none; padding: 0;}
.footer-column ul li { margin-bottom: 12px; }
.footer-column a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-column a:hover { color: var(--accent-color); }
.footer-column.contact p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-column i { flex-shrink: 0; margin-top: 4px; }
.footer-bottom { text-align: center; padding: 20px 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }

/* --- SCROLL TO TOP BUTTON --- */
.scroll-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--accent-color); color: white; border: none; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s, transform 0.3s; z-index: 999; }
.scroll-to-top i { width: 24px; height: 24px; }
.scroll-to-top:hover { transform: translateY(-5px) scale(1.05); box-shadow: var(--shadow-lg); }
.scroll-to-top.show { opacity: 1; visibility: visible; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .services-grid-revamped { grid-template-columns: repeat(2, 1fr); }
    .process-panel { grid-template-columns: 1fr; text-align: center; }
    .process-panel-image { order: -1; margin-bottom: 30px; }
    .process-panel-text h3 { justify-content: center; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .hero { height: 90vh; }
    
    .burger-menu { display: block; }
    
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        display: block;
        gap: 0;
    }
    .navbar.scrolled .navbar-collapse { top: 100%; }
    .navbar-collapse.is-open {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar-collapse .main-nav { width: 100%; }
    .navbar-collapse .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 0;
        gap: 0;
    }
    .navbar-collapse .main-nav a {
        color: var(--text-dark) !important;
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    .navbar-collapse .main-nav a::after { display: none; }
    
    .navbar-collapse .cta-button.header-cta {
        display: block;
        margin: 20px;
        text-align: center;
        width: calc(100% - 40px);
        background: var(--accent-color) !important;
        color: white !important;
        border-color: var(--accent-color) !important;
    }

    .valuation-choices { grid-template-columns: 1fr; }
    .choice-card p { min-height: unset; }
    .about-text-card { padding: 30px; }
    .services-grid-revamped { grid-template-columns: 1fr; }
    .process-tabs { overflow-x: auto; justify-content: flex-start; -ms-overflow-style: none; scrollbar-width: none; }
    .process-tabs::-webkit-scrollbar { display: none; }
    .process-tab-item span { display: none; }
    .process-tab-item { padding: 15px 20px; }
    .process-content-panels { padding: 30px; }
    .choices-grid { grid-template-columns: 1fr; }
    .multistep-header .header-info { flex-direction: column; align-items: flex-start; gap: 15px; }
    .step-title { font-size: 1.5rem; }
    .result-display { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; }
    .scroll-to-top { width: 45px; height: 45px; bottom: 20px; right: 20px; }
    .scroll-to-top i { width: 20px; height: 20px; }
}

/*
  REPLACE the old .form-submission-success styles in your style.css 
  with this new, improved block.
*/
.form-submission-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
}

/* This is the green circle */
.form-submission-success .success-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: #28a745; /* The green color from your screenshot */
    border-radius: 50%; /* This makes it a circle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

/* This is the white checkmark icon inside the circle */
.form-submission-success .success-icon-wrapper svg {
    color: #ffffff; /* White color for the checkmark */
    width: 36px;   /* Make the icon a bit smaller than the circle */
    height: 36px;
    stroke-width: 2.5; /* A nice, visible thickness */
}

.form-submission-success h3 {
    font-size: 1.75rem; /* Larger, more impactful title */
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.form-submission-success p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 10px;
    max-width: 350px; /* Keeps the text from getting too wide */
}

/* Add this to assets/css/style.css */
.testimonial-card .google-review-badge {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 12px;
    background-color: #f1f1f1;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: #5f6368;
    transition: background-color 0.3s ease;
}

.testimonial-card .google-review-badge:hover {
    background-color: #e8e8e8;
}

.testimonial-card .google-review-badge img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 8px;
    position: relative;
    top: -1px;
}


.site-footer .footer-column.contact .social-links {
    margin-top: 20px; /* Space above social links */
    display: flex;
    gap: 15px; /* Space between icons */
    justify-content: flex-start; /* Align icons to the left */
}

.site-footer .footer-column.contact .social-links a {
    color: rgba(255,255,255,0.7); /* Inherit footer text color */
    transition: color 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.site-footer .footer-column.contact .social-links a:hover {
    color: var(--accent-color); /* Hover color from your theme */
}

.site-footer .footer-column.contact .social-links i {
    width: 24px; /* Size of the icons */
    height: 24px;
    stroke-width: 2; /* Thickness of the icon lines */
}