/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #E45E30;
    /* Saffron */
    --secondary-color: #31A24C;
    /* Green */
    --accent-color: #13ACE3;
    /* Blue */
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --background-light: #f7fafc;
    --background-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.site-title-link {
    color: var(--primary-color);
    text-decoration: none;
}

.site-title-link:hover {
    color: var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d54e28 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.arrow {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section h4 {
    color: var(--text-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.dropdown-section a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-section a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

/* Mobile Menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 34px;
    height: 34px;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    z-index: 1001;
}

.nav-toggle .bar {
    width: 28px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    margin: 4px 0;
    transition: transform .35s cubic-bezier(.75,0,.2,1), opacity .2s, background .2s;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary-color);
}
.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary-color);
}
/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 400px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

img,
video {
    max-width: 100%;
    height: auto;
}

/* Hero visual image styling */
.hero-visual-image {
    /* width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition); */

    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), box-shadow .3s;
}

.hero-visual-image:hover {
    transform: scale(1.05);
}

/* Enhanced highlight item styling */
.service-highlights .highlight-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 0.75rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.service-highlights .highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.25);
}

.service-highlights .highlight-icon {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.elem1 {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.elem2 {
    width: 40px;
    height: 40px;
    background: white;
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.elem3 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    top: 60%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* E-Commerce Spotlight */
.ecommerce-spotlight {
    padding: 80px 0;
    background: var(--background-white);
}

.guarantee-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d54e28 100%);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    color: white;
}

.guarantee-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.guarantee-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-item .feature-icon {
    font-size: 1.5rem;
}

.feature-item h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin: 0;
}

/* Real Estate Spotlight */
.real-estate-spotlight {
    padding: 80px 0;
    background: var(--background-light);
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.feature-showcase.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-showcase.reverse .feature-content {
    order: 2;
}

.feature-showcase.reverse .feature-visual {
    order: 1;
}

.feature-content h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-content ul {
    list-style: none;
    padding: 0;
}

.feature-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

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

.chart-placeholder {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
    margin-bottom: 1rem;
}

.bar {
    width: 30px;
    background: linear-gradient(to top, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px 4px 0 0;
    animation: growBar 2s ease-out;
}

@keyframes growBar {
    from {
        height: 0;
    }
}

.ai-demo {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.ai-brain {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem;
    position: relative;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neural-network {
    position: relative;
    width: 80px;
    height: 80px;
}

.node {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

.node:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.node:nth-child(2) {
    bottom: 0;
    left: 20%;
    animation-delay: 0.5s;
}

.node:nth-child(3) {
    bottom: 0;
    right: 20%;
    animation-delay: 1s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-visual-image,
.service-hero-visual img,
.hero img {
    width: 100%;
    /* Use the height to keep aspect ratio as needed. Remove if you want it auto on mobile */
    max-width: 600px;
    min-width: 220px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .3s;
}

/* Resource Hub */
.resource-hub {
    padding: 80px 0;
    background: var(--background-white);
}

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

.resource-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.resource-card p {
    margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--background-light);
}

.about-content {
    display: grid;
    gap: 4rem;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.9rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pillar-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pillar-card p {
    margin: 0;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--background-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.contact-card h3 {
    margin-bottom: 1.5rem;
}

.office {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.office:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.office h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.office p {
    margin: 0;
    font-size: 0.9rem;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(228, 94, 48, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--primary-color);
}
.footer-section p {
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}


.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {

    .service-hero-visual,
    .hero-visual {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-visual-image {
        width: 100%;
        height: auto;
        max-width: 350px;
        margin: 0 auto;
    }

    .service-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

      .nav-menu {
        /* Hidden by default */
        display: none;
        flex-direction: column;
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 24px rgba(30,32,54,0.08);
        transition: top 0.45s cubic-bezier(.4,0,.2,1), opacity 0.3s;
        opacity: 0;
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
        top: 70px;
        opacity: 1;
        animation: menuEnter .35s cubic-bezier(.4,0,.2,1);
    }
    @keyframes menuEnter {
        0% { top: -110px; opacity: 0; }
        100% { top: 70px; opacity: 1; }
    }
    .nav-menu ul {
        animation: dropdownFade .4s cubic-bezier(.4,0,.2,1);
    }
    @keyframes dropdownFade {
        0% { opacity: 0; transform: translateY(-8px);}
        100% { opacity: 1; transform: translateY(0);}
    }


    /* Show menu when active */
    .nav-menu.active {
        top: 70px;
        /* drop below navbar */
        display: flex;
    }

    /* Stack menu items vertically */
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .nav-menu ul li {
        width: 100%;
        text-align: center;
    }

    .nav-menu ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .nav-list {
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        align-items: center;
    }

    .nav-list li {
        width: 100%;
        /* Full row width */
    }

    .nav-list a {
        display: block;
        /* Fill the row */
        width: 100%;
        text-align: center;
        /* Center text */
    }

    .nav-toggle .bar {
        /* height: 3px;
        width: 25px;
        background-color: var(--text-dark);
        margin: 4px 0;
        transition: 0.3s; */
        width: 28px;
        height: 3px;
        background: var(--text-dark);
        border-radius: 2px;
        transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .2s;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .dropdown-content {
        display: none !important;
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        padding: 0;
    }

    .dropdown-section {
        width: 100%;
        text-align: center;
    }

    .dropdown-section h4 {
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .dropdown-section a {
        padding: 0.75rem 0;
        text-align: center;
    }

    /* Remove left padding animation on hover */
    .dropdown-section a:hover {
        padding-left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-graphic {
        width: 300px;
        height: 300px;
    }

    .guarantee-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feature-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .feature-showcase.reverse .feature-content {
        order: 0;
    }

    .feature-showcase.reverse .feature-visual {
        order: 0;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Real Estate Section Specific */
    #real-estate .feature-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #real-estate .feature-content {
        padding: 0 1rem;
    }

    #real-estate .feature-content h3 {
        font-size: 1.6rem;
    }

    #real-estate .feature-content ul {
        text-align: left;
        max-width: 300px;
        margin: 0 auto;
    }

    #real-estate .feature-visual {
        text-align: center;
        margin-top: 1rem;
    }

    #real-estate .chart-placeholder,
    #real-estate .ai-demo {
        /* max-width: 350px; */
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Container padding for smaller screens */
    .container {
        padding: 0 15px;
    }

    /* Hamburger menu */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 0;
        transition: top 0.3s ease-in-out;
        box-shadow: var(--shadow-md);
        z-index: 999;
    }

    .nav-menu.active {
        top: 70px;
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    /* Hero section stacks */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-graphic {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    /* Collapse all grids to single column */
    .feature-grid,
    .resources-grid,
    .pillars-grid,
    .about-stats,
    .service-cards-grid,
    .features-grid,
    .process-steps,
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Contact form full width */
    .contact-content {
        grid-template-columns: 1fr;
    }

    /* Footer stack */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* =========================================
   SMALL MOBILE STYLES
   ========================================= */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        padding: 12px;
        font-size: 1rem;
    }

    .hero {
        padding: 80px 0 50px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Reduce stat cards to 1 per row */
    .about-stats {
        grid-template-columns: 1fr;
    }

    /* Ensure resource cards stack */
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    /* Real Estate mobile tweaks */
    #real-estate .feature-content h3 {
        font-size: 1.3rem;
    }

    #real-estate .feature-content p,
    #real-estate .feature-content li {
        font-size: 0.9rem;
    }

    #real-estate .feature-content p {
        font-size: 0.9rem;
    }

    #real-estate .feature-content ul {
        padding-left: 1rem;
    }

    #real-estate .chart-bars {
        height: 100px;
    }

    #real-estate .bar {
        width: 18px;
    }

    #real-estate .ai-brain {
        width: 100px;
        height: 100px;
    }

      .hero-visual-image,
    .service-hero-visual img {
        max-width: 98vw;
        min-width: 120px;
        width: 100%;
        height: auto;
    }
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

/* Enhanced button animations */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Service highlights animation */
.service-highlights {
    animation: slideInFromLeft 0.8s ease-out 0.4s both;
}

.highlight-item {
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
}

/* Guarantee badge animation */
.guarantee-badge {
    animation: slideInFromRight 0.8s ease-out 0.6s both;
    transition: all 0.3s ease;
}

.guarantee-badge:hover {
    transform: scale(1.05);
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Services Page Styles */
.services-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-light) 0%, #E45E30 100%);
}

.services-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.services-hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-medium);
}

.services-overview {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

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

.overview-stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.overview-stat p {
    color: var(--text-medium);
    margin: 0;
}

.services-section {
    padding: 80px 0;
}

.industries-section {
    background: var(--background-light);
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-preview-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-preview-card.core-service {
    border-left: 4px solid var(--primary-color);
}

.service-preview-card.core-service:hover {
    border-left-color: var(--accent-color);
}

.service-preview-card.industry-solution {
    border-left: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
}

.service-preview-card.industry-solution:hover {
    border-left-color: var(--accent-color);
}

.service-preview-card .service-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-preview-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-preview-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.service-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

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

.services-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #d54e28 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Page Header Styles */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
}

.core-services-header {
    /* background: linear-gradient(135deg, var(--primary-color) 0%, #d54e28 100%); */
    background: #d54e28;
    color: white;
}

.industries-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a8f42 100%);
    color: white;
}

.industries-header h1,
.industries-header p,
.industries-header .service-category {
    color: #333;
    /* dark text for light background */
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Service Cards Grid */
.service-cards-section {
    padding: 80px 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.core-service-card {
    border-top: 4px solid var(--primary-color);
}

.core-service-card:hover {
    border-top-color: var(--accent-color);
}

.industry-solution-card {
    border-top: 4px solid var(--secondary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.industry-solution-card:hover {
    border-top-color: var(--accent-color);
}

.service-card-header {
    padding: 2rem 2rem 1rem;
    position: relative;
}

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card-header h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-card-content {
    padding: 0 2rem 1rem;
}

.service-card-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

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

.service-metrics {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
}

.service-card-footer .btn {
    flex: 1;
    text-align: center;
}

/* Process Section */
.process-section {
    padding: 80px 0;
    background: var(--background-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Industry Comparison */
.industry-comparison {
    padding: 80px 0;
    background: var(--background-white);
}

.comparison-table {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
}

.comparison-header {
    background: var(--background-light);
    font-weight: 600;
}

.comparison-cell {
    padding: 1rem;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.comparison-cell:last-child {
    border-right: none;
}

.feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text-dark);
}

.comparison-row:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

/* Service Detail Page Styles */
.service-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--background-light) 0%, #E45E30 100%);
}

.digital-commerce-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d54e28 100%);
    color: white;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.service-tagline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.service-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.service-highlights {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
}

.highlight-icon {
    font-size: 1.2rem;
}

.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.guarantee-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.badge-content h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.badge-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.badge-guarantee {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Service Features */
.service-features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.features-grid .feature-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.features-grid .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.features-grid .feature-item .feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.features-grid .feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.features-grid .feature-item ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.features-grid .feature-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.features-grid .feature-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Process Timeline */
.service-process {
    padding: 80px 0;
    background: var(--background-light);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-marker {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    position: relative;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: var(--border-color);
}

.timeline-item:last-child .timeline-marker::after {
    display: none;
}

.timeline-day {
    font-size: 0.9rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex: 1;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Pricing Section */
.service-pricing {
    padding: 80px 0;
    background: var(--background-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

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

/* Case Studies */
.case-studies {
    padding: 80px 0;
    background: var(--background-light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-study {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.case-study-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.case-study-industry {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.case-study-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.case-study .metric-value {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Service CTA */
.service-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--text-dark) 0%, #2d3748 100%);
    color: white;
    text-align: center;
}

.service-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.service-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-guarantee {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.cta-guarantee p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Button Variations */
.btn-outline-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

/* Active Navigation States */
nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown-section a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Specific styles for service detail pages */
.service-hero .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

/* Smooth scrolling for all browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.kg-width-wide {
    max-width: 1200px;
    margin: 0 auto;
}

.kg-width-full {
    width: 100%;
    margin: 0 auto;
}

/* Responsive adjustments for hero container/columns */
@media (max-width: 1024px) {
    .service-hero-content, .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .service-hero-visual,
    .hero-visual {
        margin: 0 auto;
        max-width: 650px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-visual-image,
    .service-hero-visual img {
        max-width: 97vw;
        min-width: 200px;
        width: 100%;
        height: auto;
    }
}