/* Fonts loaded via Google Fonts in HTML */

/* CSS Variables */
:root {
    --primary-brown: #623e29;
    --primary-white: #f3f1ed;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --accent-brown: #8b5a3f;
    --shadow: 0 4px 20px rgba(98, 62, 41, 0.1);
    --transition: all 0.3s ease;
    
    /* Fonts */
    --font-body: 'Kantumruy Pro', sans-serif;
    --font-heading: 'Bodoni Moda', serif;
}

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

html {
    scroll-behavior: auto;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-brown);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(243, 241, 237, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(98, 62, 41, 0.1);
    opacity: 1;
}

.navbar.scrolled {
    background: rgba(243, 241, 237, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(98, 62, 41, 0.08);
}

/* Home page transparent navbar */
.navbar.home-transparent {
    background: rgba(243, 241, 237, 0.3);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(98, 62, 41, 0.05);
}

.navbar.home-transparent.scrolled {
    background: rgba(243, 241, 237, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(98, 62, 41, 0.08);
    border-bottom: 1px solid rgba(98, 62, 41, 0.1);
}

.navbar.visible {
    transform: translateY(0);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo a {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-logo a:hover {
    opacity: 0.8;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(24%) sepia(45%) saturate(1065%) hue-rotate(356deg) brightness(93%) contrast(88%);
}

.nav-menu {
    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,
.nav-link.active {
    color: var(--primary-brown);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-brown);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Consultation Button */
.consultation-btn {
    background: var(--primary-brown);
    color: var(--primary-white);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.consultation-btn:hover {
    background: var(--accent-brown);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(98, 62, 41, 0.2);
}

/* Ensure consultation buttons work as links */
a.consultation-btn {
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

a.consultation-btn:visited {
    color: var(--primary-white);
}

.nav-consultation-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-brown);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 0;
    background: linear-gradient(135deg, rgba(98, 62, 41, 0.5) 0%, rgba(50, 30, 20, 0.6) 100%), 
                url('res/background-hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    animation: fadeIn 1.2s ease-out;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideInFromBottom 1s ease-out 0.3s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideInFromBottom 1s ease-out 0.6s forwards;
}

.hero-logo-container {
    margin: 2rem 0 4rem 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    animation: slideInFromBottom 1s ease-out 0.6s forwards;
}

.hero-logo-container .hero-logo {
    width: 300px;
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-consultation-btn {
    font-size: 1.1rem;
    padding: 15px 30px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInFromBottom 1s ease-out 0.9s forwards;
    
    /* Override default button styling for hero section */
    background: transparent;
    color: var(--primary-white);
    border: 2px solid var(--primary-white);
    box-shadow: none;
}

.hero-consultation-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.house-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: slideInFromBottom 1s ease-out 1.2s forwards;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 80%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(98, 62, 41, 0.1));
}

/* Services Preview Section */
.services-preview {
    padding: 2rem 0 4rem 0;
    background: var(--primary-white);
    min-height: 95vh;
    display: flex;
    align-items: center;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.15);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Investment Section */
.investment-section {
    padding: 2rem 0 4rem 0;
    background: var(--primary-white);
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.investment-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-brown);
    font-family: 'Bodoni Moda', serif;
}

.investment-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.investment-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.investment-point {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.investment-point:hover {
    box-shadow: 0 4px 15px rgba(98, 62, 41, 0.08);
    transform: translateY(-1px);
    border-color: rgba(98, 62, 41, 0.15);
}

.investment-point h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--primary-brown);
    font-weight: 600;
    font-family: 'Kantumruy Pro', sans-serif;
    line-height: 1.4;
}

.investment-point p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    font-weight: 400;
}

.investment-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 350px;
    background: rgba(98, 62, 41, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.investment-icon:hover {
    transform: scale(1.02);
}

.investment-img {
    width: 170px;
    height: 170px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(2500%) hue-rotate(15deg) brightness(70%) contrast(120%);
}

/* Investment Calculator Section */
.investment-calculator-section {
    padding: 2rem 0 4rem 0;
    background: var(--primary-white);
    overflow-x: visible;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calculator-wrapper {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 2rem auto;
    max-width: 1600px;
    width: 98%;
}

.calculator-content {
    background: #f3f1ed;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-areas: 
        "controls chart"
        "controls breakdown"
        "metrics metrics";
    gap: 12px;
    padding: 12px;
}

@media (max-width: 1024px) {
    .calculator-content {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
}

/* Calculator Chart Section */
.calculator-content .chart-container {
    grid-area: chart;
    padding: 0;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 1024px) {
    .calculator-content .chart-container {
        padding: 20px;
        background: #f3f1ed;
        order: 1;
        border-radius: 0;
        box-shadow: none;
    }
}

.calculator-content .chart-wrapper {
    position: relative;
    flex: 1;
    margin: 0;
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .calculator-content .chart-wrapper {
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

.calculator-content .disclaimer {
    text-align: center;
    padding: 8px 12px;
    color: #666;
    font-size: 0.8rem;
    background: rgba(243, 241, 237, 0.3);
    border-top: 1px solid #e8e3df;
    margin-top: auto;
}

.calculator-content .house-price-display {
    text-align: center;
    padding: 12px 20px;
    background: #f3f1ed;
    border-top: 1px solid #e8e3df;
    border-bottom: 1px solid #e8e3df;
}

.calculator-content .house-price {
    font-weight: bold;
    color: #623e29;
    font-size: 1rem;
}

/* Calculator Controls */
.calculator-content .controls {
    grid-area: controls;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (max-width: 1024px) {
    .calculator-content .controls {
        background: #f3f1ed;
        padding: 20px;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        order: 2;
    }
}

.calculator-content .control-group {
    margin-bottom: 0;
    background: white;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calculator-content .control-group label {
    display: block;
    font-weight: 500;
    color: #623e29;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.calculator-content .control-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d4c4b0;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    background: white;
}

.calculator-content .control-group input:focus {
    outline: none;
    border-color: #623e29;
}

.calculator-content .slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #d4c4b0;
    outline: none;
    -webkit-appearance: none;
    margin: 8px 0;
}

.calculator-content .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #623e29;
    cursor: pointer;
}

.calculator-content .slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #623e29;
    cursor: pointer;
    border: none;
}

/* Calculator Metrics */
.calculator-content .metrics {
    grid-area: metrics;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 0;
    background: transparent;
    border-top: none;
}

@media (max-width: 1024px) {
    .calculator-content .metrics {
        padding: 20px;
        background: #f3f1ed;
        order: 4;
        border-top: 1px solid #e8e3df;
    }
}

.calculator-content .metric-card {
    background: white;
    color: #623e29;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e8e3df;
}

.calculator-content .metric-card h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #623e29;
}

.calculator-content .breakdown {
    font-size: 0.85rem;
    color: #623e29;
}

.calculator-content .breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    opacity: 0.8;
}

.calculator-content .breakdown-total {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(98, 62, 41, 0.2);
    font-weight: 600;
    font-size: 0.95rem;
    color: #623e29;
}

/* Investment Breakdown */
.calculator-content .investment-breakdown-mobile {
    grid-area: breakdown;
    display: block;
    background: white;
    margin: 0;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .calculator-content .investment-breakdown-mobile {
        margin: 20px;
        order: 2;
    }
}

.calculator-content .investment-breakdown-mobile h4 {
    font-size: 0.9rem;
    color: #623e29;
    margin-bottom: 8px;
    font-weight: 600;
    text-align: center;
}

.calculator-content .investment-breakdown-inline {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #623e29;
}

.calculator-content .breakdown-item-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.calculator-content .breakdown-item-small span:first-child {
    opacity: 0.8;
    font-size: 0.75rem;
}

.calculator-content .breakdown-item-small span:last-child {
    font-weight: 600;
}

.calculator-content .metric-label-mobile {
    display: none;
}

.calculator-content .metric-label-desktop {
    display: inline;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 2rem 0 4rem 0;
    background: rgba(98, 62, 41, 0.03);
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.advantage-card {
    background: transparent;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
}

.advantage-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.advantage-img {
    width: 80px;
    height: 80px;
    filter: brightness(0) saturate(100%) invert(95%) sepia(5%) saturate(300%) hue-rotate(15deg) brightness(100%) contrast(95%);
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.advantage-card p {
    color: rgba(243, 241, 237, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.content-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.content-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

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

.placeholder-image {
    background: linear-gradient(45deg, var(--primary-brown), var(--accent-brown));
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.2rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--primary-brown);
    color: var(--primary-white);
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.cta-section .consultation-btn {
    background: var(--primary-white);
    color: var(--primary-brown);
    font-size: 1.1rem;
    padding: 15px 30px;
}

.cta-section .consultation-btn:hover {
    background: rgba(243, 241, 237, 0.9);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2d1810;
    color: var(--primary-white);
    padding: 3rem 0 1rem;
}

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

.footer-logo .logo {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-section ul li a {
    color: rgba(243, 241, 237, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(243, 241, 237, 0.8);
    line-height: 1.4;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(243, 241, 237, 0.8);
}

.footer-contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(94%) sepia(6%) saturate(346%) hue-rotate(314deg) brightness(98%) contrast(96%);
}

.contact-icon-img {
    width: 40px;
    height: 40px;
    filter: brightness(0) saturate(100%) invert(21%) sepia(29%) saturate(1234%) hue-rotate(12deg) brightness(94%) contrast(90%);
}

.footer-consultation-btn {
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(243, 241, 237, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(243, 241, 237, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .investment-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .investment-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .investment-section .section-title {
        font-size: 2.5rem;
    }
    
    .investment-icon {
        width: 350px;
        height: 350px;
    }
    
    .investment-img {
        width: 170px;
        height: 170px;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal overflow */
    body {
        overflow-x: hidden;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-right {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-right.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-consultation-btn {
        margin-top: 1rem;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-text .section-title {
        text-align: center;
    }
    
    /* Fix mobile layout order for About Us sections */
    .our-story .content-text {
        order: 1;
    }
    
    .our-story .content-image {
        order: 2;
    }
    
    .meet-pavitra .content-text {
        order: 1;
    }
    
    .meet-pavitra .content-image {
        order: 2;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-section:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Additional Styles for New Pages */

/* How It Works - Process Steps */
.process-steps {
    padding: 6rem 0;
    background: var(--primary-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
}

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.15);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-brown);
    font-family: var(--font-heading);
    opacity: 0.8;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.step-content {
    flex: 1;
}

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-brown);
}

.step-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Process Works */
.why-process-works {
    padding: 6rem 0;
    background: rgba(98, 62, 41, 0.03);
}

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(98, 62, 41, 0.05);
}

.benefit-item h4 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Process Details Grid */
.process-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.process-detail-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition);
}

.process-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.15);
}

.process-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(98, 62, 41, 0.1);
    border-radius: 50%;
}

.process-img {
    width: 50px;
    height: 50px;
    filter: brightness(0) saturate(100%) invert(25%) sepia(15%) saturate(1500%) hue-rotate(15deg) brightness(95%) contrast(90%);
}

.process-content {
    flex: 1;
}

.process-content h3 {
    color: var(--primary-brown);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.process-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-features li {
    color: var(--text-light);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

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

/* Services - Detailed Cards */
.services-detail {
    padding: 6rem 0;
    background: var(--primary-white);
}

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

.service-detailed-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.15);
}

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

.service-detailed-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.service-detailed-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(98, 62, 41, 0.1);
}

.service-features li:last-child {
    border-bottom: none;
}

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

/* Industry Expertise */
.industry-expertise {
    padding: 6rem 0;
    background: rgba(98, 62, 41, 0.03);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

.industry-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(98, 62, 41, 0.1);
}

.industry-item h4 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

/* About Page Styles */
.our-story {
    padding: 6rem 0;
    background: var(--primary-white);
}

.our-story .content-text p {
    margin-bottom: 1.5rem;
}

.our-values {
    padding: 6rem 0;
    background: rgba(98, 62, 41, 0.03);
}

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

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.15);
}

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

.value-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 6rem 0;
    background: var(--primary-white);
}

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

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.15);
}

.member-photo {
    margin-bottom: 1.5rem;
}

.placeholder-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-brown), var(--accent-brown));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-weight: 600;
}

.team-member h3 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-title {
    color: var(--accent-brown);
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: var(--primary-brown);
    color: var(--primary-white);
}

.stats-section .section-title {
    color: var(--primary-white);
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-white);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Logo Circle Styles */
.logo-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    background: rgba(98, 62, 41, 0.1);
    border-radius: 50%;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.02);
}

.logo-only {
    width: 200px;
    height: 200px;
    filter: brightness(0) saturate(100%) invert(15%) sepia(25%) saturate(2500%) hue-rotate(15deg) brightness(70%) contrast(120%);
}

/* Meet Pavitra Section */
.meet-pavitra {
    padding: 6rem 0;
    background: var(--primary-white);
}

.pavitra-photo {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pavitra-image {
    width: 350px;
    height: 450px;
    border-radius: 20px;
    object-fit: cover;
    object-position: 30% center;
    box-shadow: none;
    border: none;
}

/* Contact Page Styles */
.contact-section {
    padding: 6rem 0;
    background: var(--primary-white);
}

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

.contact-info h2 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-details h4 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.consultation-cta {
    padding: 2rem;
    background: rgba(98, 62, 41, 0.05);
    border-radius: 10px;
    text-align: center;
}

.consultation-cta h3 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.consultation-cta p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-brown);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.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 15px;
    border: 2px solid rgba(98, 62, 41, 0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-brown);
}

.form-group textarea {
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: rgba(98, 62, 41, 0.03);
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    
    .step-number {
        min-width: auto;
    }
    
    .process-detail-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .process-img {
        width: 35px;
        height: 35px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.animate-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.animate-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.animate-scale.animated {
    opacity: 1;
    transform: scale(1);
}

.animate-fade {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation-fill-mode: both;
}

.animate-fade.animated {
    opacity: 1;
}

/* Prevent flash for initially visible elements */
.animate-on-scroll.animated,
.animate-slide-left.animated,
.animate-slide-right.animated,
.animate-scale.animated,
.animate-fade.animated {
    opacity: 1;
    transform: none;
}

/* Section Layout */
section {
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 2rem 0 4rem 0;
    margin: 0;
}

/* First section padding for pages without hero */
section:first-of-type:not(.hero) {
    padding-top: 6rem;
}

/* Specific section overrides */
.hero {
    height: 100vh;
    padding: 80px 0 0;
    margin: 0;
}

.services-preview,
.why-choose-us,
.process-steps,
.services-detail,
.industry-expertise,
.our-story,
.our-values,
.team-section,
.stats-section,
.contact-section,
.faq-section,
.why-process-works {
    min-height: 95vh;
    margin: 0;
}

/* Override for footer and CTA sections */
.footer,
.cta-section {
    min-height: auto;
    padding: 3rem 0;
    margin: 0;
}

/* Enhanced Section Animations */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.service-card,
.step-card,
.value-card,
.team-member,
.faq-item,
.industry-item,
.benefit-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.step-card:hover,
.value-card:hover,
.team-member:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(98, 62, 41, 0.2);
}

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

.consultation-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;
}

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

.consultation-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(98, 62, 41, 0.3);
}

/* Scroll indicators removed as requested */

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    section {
        min-height: 90vh;
        padding: 1.5rem 0 3rem 0;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .consultation-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .step-number {
        font-size: 2.5rem;
    }
    
    .investment-calculator-section {
        padding: 4rem 0;
    }
    
    .calculator-content .controls {
        grid-template-columns: 1fr 1fr;
        padding: 12px;
        gap: 8px;
    }
    
    .calculator-content .control-group {
        margin-bottom: 0;
        background: white;
        padding: 8px;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .calculator-content .control-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
        font-weight: 600;
    }
    
    .calculator-content .chart-wrapper {
        height: 250px;
        margin-bottom: 16px;
    }
    
    .calculator-content .house-price-display {
        display: none;
    }
    
    .calculator-content .investment-breakdown-mobile {
        margin: 12px;
        padding: 12px;
    }
    
    .calculator-content .metrics {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .calculator-content .metric-card {
        padding: 12px;
        border-radius: 8px;
    }
    
    .calculator-content .metric-card h3 {
        font-size: 0.85rem;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .calculator-content .breakdown {
        font-size: 0.8rem;
    }
    
    .calculator-content .breakdown-item {
        margin-bottom: 2px;
        padding: 1px 0;
    }
    
    .calculator-content .breakdown-total {
        margin-top: 4px;
        padding-top: 4px;
        font-size: 0.75rem;
        font-weight: 700;
    }
    
    .calculator-content .metric-label-mobile {
        display: inline;
    }
    
     .calculator-content .metric-label-desktop {
         display: none;
     }
     
     .advantages-grid {
         grid-template-columns: 1fr;
         gap: 2rem;
         margin-top: 2rem;
     }
     
     .advantage-card {
         padding: 2rem 1.5rem;
     }
     
     .advantage-img {
         width: 60px;
         height: 60px;
     }
     
     .advantage-card h3 {
         font-size: 1.3rem;
     }
     
     .investment-section {
         padding: 2rem 0;
         min-height: 90vh;
     }
     
     .investment-section .section-title {
         font-size: 2.2rem;
         margin-bottom: 2rem;
     }
     
     .investment-layout {
         grid-template-columns: 1fr;
         gap: 2.5rem;
         max-width: 100%;
     }
     
     .investment-points {
         grid-template-columns: 1fr;
         gap: 1rem;
     }
     
     .investment-point {
         padding: 1.2rem;
     }
     
     .investment-point h3 {
         font-size: 1.1rem;
     }
     
     .investment-point p {
         font-size: 0.9rem;
     }
     
     .investment-icon {
         width: 280px;
         height: 280px;
     }
     
     .investment-img {
         width: 140px;
         height: 140px;
     }
     
     .logo-circle {
         width: 280px;
         height: 280px;
         max-width: 80vw;
     }
     
     .logo-only {
         width: 140px;
         height: 140px;
     }
     
     .pavitra-image {
         width: 280px;
         height: 360px;
         max-width: 80vw;
     }
     
     .point-header {
         padding: 0.8rem 1rem;
     }
     
     .point-header h3 {
         font-size: 1rem;
     }
     
     .investment-point.active .point-content {
         padding: 0.8rem 1rem;
     }
     
     .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    
    /* Reduce animation on mobile for performance */
    .animate-on-scroll,
    .animate-slide-left,
    .animate-slide-right,
    .animate-scale,
    .animate-fade {
        transition-duration: 0.5s;
    }
}
