html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary: #ff5e14;
    --primary-dark: #e55512;
    --text-dark: #212121;
    --text-muted: #666;
    --bg-light: #fdfdfd;
    --bg-beige: #f9f6f2;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-family: 'Outfit', sans-serif;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-orange {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: none;
    border-bottom: none;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

/* Hero Banner */
.hero-banner {
    display: grid;
    grid-template-areas: "hero";
    width: 100%;
    margin-top: 0;
    background-color: #fafbfc;
}

.banner-full-width {
    grid-area: hero;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    z-index: 1;
}

.banner-full-width img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-content-overlay {
    grid-area: hero;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    pointer-events: none;
    padding: 0 0 40px 0;
    /* Removed top padding to keep it flush */
}

.hero-container-flex {
    display: flex;
    justify-content: flex-end;
    /* Align form to the right */
    width: 100%;
    pointer-events: none;
}

.hero-form-wrapper {
    width: 100%;
    max-width: 420px;
    pointer-events: all;
}

.appointment-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 20px;
}

.appointment-form input,
.appointment-form select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #f0f0f0;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.appointment-form input:focus,
.appointment-form select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
    border-radius: 8px;
    justify-content: center;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
}

.success-message {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.1);
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    font-size: 1rem;
}

.hidden {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-call {
    background-color: var(--primary);
    color: var(--white);
}

.btn-call:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Our Company Section */
.our-company {
    padding: 80px 0;
    background-color: var(--white);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-images {
    position: relative;
    height: 450px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.main-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-img {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.thumb-1 {
    top: -20px;
    right: -20px;
}

.thumb-2 {
    bottom: -20px;
    left: -20px;
}

.thumb-3 {
    bottom: 60px;
    right: -40px;
    border-radius: 12px;
    width: 160px;
    height: 160px;
}

.thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subheading {
    display: block;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.heading-large {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
}

.paragraph {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: justify;
}

/* Inspection Bar */
.inspection-bar {
    padding: 60px 0;
    background-color: #f7f9fb;
}

.inspection-box {
    background-color: var(--white);
    padding: 40px 60px;
    border-radius: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
    margin-top: -100px;
    /* Float over previous section */
    transition: var(--transition);
}

.inspection-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18);
}

.price-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
}

.price {
    color: var(--primary);
    margin-left: 10px;
}

.price-actions {
    display: flex;
    gap: 15px;
}

@media (max-width: 992px) {
    .inspection-box {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 40px;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: #d8b4a0;
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #c9a38f;
}

/* Features */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    height: 100%;
}

/* The Top Accent Bar */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(255, 94, 20, 0.12);
    border-color: rgba(255, 94, 20, 0.05);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    width: 60px;
    /* Slightly smaller for side-by-side */
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fffcfb 0%, #fff1eb 100%);
    border-radius: 15px;
    color: var(--primary);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.1);
}

.icon-svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    /* Remove bottom margin since header handles it */
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    text-align: justify;
}

/* Additional Services New Styles */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.service-icon-box {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

@media (max-width: 992px) {
    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid-new {
        grid-template-columns: 1fr;
    }

    .service-box {
        flex-direction: column;
        text-align: center;
    }
}

/* Keywords Section */
.keywords-section {
    padding: 60px 0;
    background-color: var(--bg-beige);
}

.keywords-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-dark);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.keywords-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.keyword-tag {
    display: inline-block;
    background-color: var(--white);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
    cursor: pointer;
}

.keyword-tag:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 94, 20, 0.2);
}

/* Footer */
.main-footer {
    background-color: var(--white);
    padding: 60px 0 30px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

/* Left: Brand */
.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
    display: block;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
}

/* Right: Contact */
.footer-contact {
    text-align: left;
}

.footer-contact-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.footer-brand address,
.footer-contact address,
.footer-contact p {
    font-style: normal;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
    text-align: left;
}

.footer-site {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 4px;
}

.footer-links h4,
.footer-apps h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.app-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-badge {
    height: 45px;
    cursor: pointer;
    transition: var(--transition);
}

.app-badge:hover {
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .heading-large {
        font-size: 2.8rem;
    }

    .company-grid {
        gap: 30px;
    }
}

/* Mobile Sticky CTA Bar Styles */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 10px 12px;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.m-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 16px;
    border-radius: 50px;
    transition: var(--transition);
    color: var(--white);
    white-space: nowrap;
    border: none;
}

.m-cta-call {
    background-color: #0066ff;
}

.m-cta-call:hover {
    background-color: #004ccb;
    transform: scale(1.05);
}

.m-cta-whatsapp {
    background-color: #25D366;
}

.m-cta-whatsapp:hover {
    background-color: #1eb855;
    transform: scale(1.05);
}

.m-cta-book {
    background-color: var(--primary);
}

.m-cta-book:hover {
    background-color: #e64f0f;
    transform: scale(1.05);
}

.m-cta-btn svg {
    color: var(--white);
    flex-shrink: 0;
}

.m-cta-btn span {
    display: inline;
}

/* Desktop Floating Widget */
.desktop-floating-widget {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 30px;
    bottom: 30px;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-whatsapp {
    background-color: #25D366;
}

.floating-whatsapp svg {
    color: var(--white);
}

.floating-book {
    background-color: var(--primary);
}

.floating-book svg {
    color: var(--white);
}

/* Keyframes for call icon animation */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(0, 102, 255, 0), 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0), 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

@keyframes breathing {
    0% {
        box-shadow: inset 0 0 0 0 rgba(0, 102, 255, 0.3);
    }

    50% {
        box-shadow: inset 0 0 0 3px rgba(0, 102, 255, 0.3);
    }

    100% {
        box-shadow: inset 0 0 0 0 rgba(0, 102, 255, 0.3);
    }
}

/* Mobile Floating Call Button */
.mobile-floating-call {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 14px 20px;
    border-radius: 50px;
    background-color: #0066ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    transition: var(--transition);
    z-index: 900;
    animation: pulse-ring 1.5s infinite, breathing 2s infinite;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    gap: 8px;
}

.call-button-text {
    white-space: nowrap;
}

.mobile-floating-call svg {
    color: var(--white);
    flex-shrink: 0;
}

.mobile-floating-call svg {
    color: var(--white);
    width: 24px;
    height: 24px;
}

.mobile-floating-call:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .container-header {
        flex-direction: column;
        gap: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .desktop-floating-widget {
        display: none;
    }

    .cta-contact {
        display: none;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .mobile-cta-bar {
        display: flex;
    }

    body {
        padding-bottom: 80px;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .our-company {
        padding: 60px 0;
    }

    .company-images {
        height: 350px;
        margin-bottom: 40px;
        order: -1;
    }

    .image-stack {
        display: block;
        height: 100%;
        position: relative;
    }

    .main-hero-img {
        width: 100%;
        height: 100%;
        position: relative;
        border-radius: 12px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

    .thumb-img {
        display: none;
    }

    .heading-large {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 20px;
    }

    .company-text {
        text-align: center;
    }

    .paragraph {
        font-size: 1rem;
        text-align: center;
    }
}

/* Hero Stacking only on small mobile phones */
@media (max-width: 480px) {
    .mobile-floating-call {
        display: flex;
    }

    .hero-banner {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 0;
    }

    .banner-full-width {
        width: 100%;
        order: 1;
    }

    .hero-content-overlay {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        display: block;
        pointer-events: all;
        background: #f4f6f8;
        order: 2;
        padding: 30px 16px;
    }

    .hero-container-flex {
        justify-content: center;
        pointer-events: all;
        width: 100%;
    }

    .hero-form-wrapper {
        max-width: 100%;
        width: 100%;
        margin-top: 0;
    }

    .appointment-form {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .appointment-form input,
    .appointment-form select {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .btn-submit {
        padding: 16px;
        font-size: 1rem;
        margin-top: 8px;
    }

    .form-note {
        font-size: 0.875rem;
        margin-top: 16px;
    }
}

@media (max-width: 480px) {
    .feature-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .service-box {
        padding: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .price-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-bottom {
        padding-top: 20px;
        text-align: center;
    }

    .footer-bottom-flex {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .appointment-form {
        padding: 16px 12px;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .appointment-form input,
    .appointment-form select {
        padding: 11px 14px;
        font-size: 16px;
    }

    .btn-submit {
        padding: 14px;
        font-size: 0.95rem;
        margin-top: 6px;
    }

    .price-info h3 {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .heading-large {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .inspection-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px;
        align-items: center;
    }

    .price-info h3 {
        font-size: 1rem;
        margin: 0;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
        display: none;
    }

    .company-text {
        text-align: justify;
    }

    .paragraph {
        text-align: justify;
    }

    .our-company {
        padding: 40px 0;
    }

    .inspection-bar {
        padding: 30px 0;
    }

    .features-section {
        padding: 60px 0;
    }

    .services-section {
        padding: 40px 0 20px;
    }

    .keywords-section {
        padding: 40px 0;
    }

    .keywords-section h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
        text-align: center;
    }

    .keywords-grid {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, 1fr);
        justify-items: start;
    }

    .keyword-tag {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .footer-tagline {
        display: none;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        display: block;
        margin: 0 auto 16px;
    }
}