/* ===== CLEAN MODERN REAL ESTATE WEBSITE ===== */

/* CSS Variables - Simplified Color Palette */
:root {
    /* Primary Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    
    /* Neutral Colors */
    --dark: #1f2937;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    
    /* Typography - Professional Fonts */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Merriweather', Georgia, 'Times New Roman', serif;
    --font-secondary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    
    /* Spacing */
    --section-padding: 4rem 0;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius: 0.5rem;
    --radius-lg: 1rem;
    
    /* Transitions */
    --transition: 0.2s ease-in-out;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Universal responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(1.75rem, 3.5vw, 2.75rem); 
    font-weight: 800;
    line-height: 1.1;
}
h2 { 
    font-size: clamp(1.5rem, 3vw, 2.25rem); 
    font-weight: 700;
    line-height: 1.15;
}
h3 { 
    font-size: clamp(1.25rem, 2.2vw, 1.75rem); 
    font-weight: 700;
    line-height: 1.2;
}
h4 { 
    font-size: clamp(1.125rem, 2vw, 1.5rem); 
    font-weight: 600;
    line-height: 1.25;
}
h5 { 
    font-size: clamp(1rem, 1.8vw, 1.25rem); 
    font-weight: 600;
    line-height: 1.3;
}
h6 { 
    font-size: clamp(0.9rem, 1.4vw, 1.1rem); 
    font-weight: 600;
    line-height: 1.35;
}

.display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.text-gradient {
    color: var(--primary);
    font-weight: 800;
}

.lead {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

p {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.small, small {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* space between text & circle */
  background-color: #0056d2; /* Blue background */
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  border: none;
  border-radius: 50px; /* pill shape */
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  float: left;
}

.btn-secondary:hover {
  background-color: #0b5ed7; /* Slightly darker blue for hover */
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 86, 210, 0.3); /* Blue shadow on hover */
}

/* ===== HEADER STYLES ===== */
.header {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    z-index: 1030;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    text-decoration: none;
}

.logo-icon {
    width: auto;
    height: clamp(48px, 6vw, 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-icon img{
    width: auto;
    max-height: clamp(56px, 7vw, 88px);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--gray-500);
    margin: 0;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--gray-700);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: var(--transition);
    color: var(--gray-700);
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: var(--gray-100);
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(20, 20, 21, 0.5) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 2s ease-in-out;
    transform: scale(1.02);
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
    filter: brightness(0.6);
}

/* Ensure first slide displays properly */
.hero-slider .slide:first-child {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* Additional fixes for image display issues */
.hero-slider .slide {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform, opacity;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(37, 99, 235, 0.8) 60%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: white;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 600px;
}

.stat-item {
    text-align: left;
    min-width: 120px;
}

.stat-item h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.stat-item small {
    opacity: 0.9;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SECTION STYLES ===== */
section {
    padding: var(--section-padding);
    min-height: auto;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.section-tag {
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    letter-spacing: 0.05em;
    font-family: var(--font-secondary);
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.section-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ===== CONTENT SECTIONS ===== */
.content-image {
    position: relative;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    min-height: 300px;
    max-height: 500px;
}

.content-image:hover img {
    transform: scale(1.02);
}

.floating-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.content-text {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.content-text .section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-family: var(--font-display);
}

.content-text .section-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 650px;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.features-list {
    margin-bottom: 2rem;
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ===== PROPERTY CARDS ===== */
.property-card {
    transition: var(--transition);
    border: none;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.property-image {
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.property-image img {
    transition: var(--transition);
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 200px;
}

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

.property-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.property-info h5 {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-family: var(--font-display);
}

.property-info p {
    font-size: clamp(0.85rem, 1.6vw, 0.9rem);
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* ===== BRAND SECTION ===== */
.brand-item {
    transition: var(--transition);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

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


.brand-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--gray-100);
    margin-bottom: 1rem;
    transition: var(--transition);
}

/* Ensure all brand logos render at the same, larger size */
.brand-logo-container img {
    max-height: 900px !important;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.brand-item:hover .brand-logo-container {
    background: var(--primary);
    color: white;
}

.brand-item h5 {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.brand-item p {
    font-size: clamp(0.85rem, 1.6vw, 0.9rem);
    color: var(--gray-500);
    margin-bottom: 0;
}

/* ===== FOUNDERS SECTION ===== */
.founder-card {
    transition: var(--transition);
    border: none;
    background: white;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.founder-image-container {
    height: 500px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.founder-image {
    transition: var(--transition);
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

/* Ensure proper orientation for founder images */
.founder-image-container img[src*="DSC03447.jpg"],
.founder-image-container img[src*="DSC03465.jpg"] {
    transform: rotate(0deg);
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}



.founder-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-card:hover .founder-overlay {
    opacity: 1;
}

.founder-social-links .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.founder-social-links .social-link:hover {
    background: var(--primary) !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    color: white !important;
}

.founder-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.founder-info h5 {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-family: var(--font-display);
}

.founder-info p {
    font-size: clamp(0.85rem, 1.6vw, 0.9rem);
    color: var(--gray-500);
    margin-bottom: 1rem;
    font-weight: 500;
}

.founder-info .text-primary {
    color: var(--primary) !important;
    font-weight: 600;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: var(--dark) !important;
    color: white !important;
    padding: 3rem 0 2rem;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Fix for potential horizontal scrollbar */
body {
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* Hide scrollbar for webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* Hide scrollbar for Firefox */
html {
    scrollbar-width: none;
}

/* Hide scrollbar for IE and Edge */
body {
    -ms-overflow-style: none;
}

.footer h5 {
    color: var(--primary-light) !important;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer a {
    color: var(--gray-300) !important;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer a:hover {
    color: var(--primary-light) !important;
}

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

.footer p {
    color: var(--gray-400) !important;
}

.footer .text-muted {
    color: var(--gray-400) !important;
}

.footer .brand-name-footer {
    color: white !important;
}

.footer .brand-tagline {
    color: var(--gray-400) !important;
}

.footer .logo-icon {
    
    color: white !important;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary) !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    color: white !important;
}

/* Footer responsive tweaks */
@media (max-width: 768px) {
    .footer .footer-brand,
    .footer .col-md-4,
    .footer .col-lg-4,
    .footer .col-lg-8 {
        text-align: center;
    }

    .footer .social-links {
        flex-wrap: wrap;
        row-gap: 0.5rem;
        column-gap: 0.5rem;
        justify-content: center !important;
        align-items: center;
        display: flex !important;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .footer .social-link {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer ul {
        padding-left: 0;
        margin-left: 0;
        list-style: none;
    }

    .footer ul li {
        display: block;
    }
}

@media (max-width: 576px) {
    .footer .row.g-4 > [class*="col-"],
    .footer .row.align-items-center > [class*="col-"],
    .footer .row > [class*="col-"] {
        width: 100%;
    }

    .footer .footer-bottom .row > [class*="col-"] {
        text-align: center !important;
        margin-top: 0.75rem;
    }

    .footer a {
        white-space: normal;
        word-break: break-word;
        display: inline-block;
    }

    .footer .logo-icon {
        height: 56px;
    }

    .footer .logo-icon img {
        height: 64px;
    }

    .footer .social-links {
        justify-content: center !important;
        align-items: center;
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin: 0 auto;
        max-width: 280px;
        width: 100%;
    }

    .footer .social-link {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== STORY & IMPACT BUTTONS ===== */
.story-impact-btn {
    background: linear-gradient(135deg, #667eea 0%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.story-impact-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;
}

.story-impact-btn:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
    color: white !important;
}

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

.story-impact-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.story-impact-btn i {
    transition: transform 0.3s ease;
}

.story-impact-btn:hover i {
    transform: translateX(3px);
}

/* ===== PURPOSE SECTION IMAGES ===== */
.purpose-images {
    position: relative;
}

.purpose-image {
    height: 250px;
    transition: var(--transition);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.purpose-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.purpose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.purpose-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: var(--transition);
}

.purpose-image:hover .image-overlay {
    opacity: 1;
}

/* ===== UTILITY CLASSES ===== */
.object-fit-cover {
    object-fit: cover;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .hero {
        min-height: 90vh;
        padding: 70px 0 30px;
    }
    
    .hero-stats {
        gap: 1.5rem;
        justify-content: center;
    }
    
    .stat-item h3 {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    
    .container {
        max-width: 1140px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Tablet devices (768px to 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    .hero {
        min-height: 90vh;
        padding: 70px 0 30px;
        text-align: center;
    }
    
    .hero-stats {
        gap: 2rem;
        justify-content: center;
        max-width: 100%;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .property-image {
        height: 220px;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .content-text {
        padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 3rem 0;
    }
    
    .hero {
        min-height: 85vh;
        text-align: center;
        padding: 60px 0 20px;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .content-image {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        text-align: center;
    }
    
    .section-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 2.5rem 0;
    }
    
    .hero {
        min-height: 80vh;
        padding: 60px 0 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: space-around;
        flex-wrap: wrap;
        margin-top: 2rem;
    }
    
    .stat-item {
        min-width: 100px;
        text-align: center;
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .header-actions {
        justify-content: center;
        margin-top: 1rem;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .section-title {
        font-size: clamp(1.25rem, 4vw, 2rem);
        text-align: center;
    }
    
    .section-description {
        font-size: clamp(0.9rem, 2vw, 1rem);
        text-align: center;
    }
    
    .content-text {
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .purpose-images .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .purpose-images .row > * {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .purpose-image {
        height: 220px;
    }
    
    .founder-image-container {
        height: 280px;
    }
    
    .floating-badge {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 2rem 0;
    }
    
    .hero {
        min-height: 75vh;
        padding: 50px 0 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 5vw, 2rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }
    
    .hero-actions .btn {
        max-width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-item {
        min-width: 80px;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
    
    .stat-item small {
        font-size: clamp(0.75rem, 2vw, 0.875rem);
    }
    
    .property-image {
        height: 180px;
    }
    
    .brand-logo-container {
        height: 80px;
    }

    .brand-logo-container img {
        max-height: 70px !important;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .founder-image-container {
        height: 250px;
    }
    
    .founder-social-links .social-link {
        width: 35px;
        height: 35px;
    }

    .footer .social-links {
        justify-content: center !important;
        align-items: center;
        display: flex !important;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 0 auto;
        max-width: 250px;
        width: 100%;
    }

    .footer .social-link {
        flex-shrink: 0;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: clamp(1.125rem, 5vw, 1.75rem);
        text-align: center;
    }
    
    .section-description {
        font-size: clamp(0.85rem, 2vw, 0.95rem);
        text-align: center;
    }
    
    .content-text {
        text-align: center;
        padding: 1rem 0;
    }
    
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    .row {
        margin-left: -6px;
        margin-right: -6px;
    }
    
    .row > * {
        padding-left: 6px;
        padding-right: 6px;
    }
    
    .purpose-images .row {
        margin-left: -3px;
        margin-right: -3px;
    }
    
    .purpose-images .row > * {
        padding-left: 3px;
        padding-right: 3px;
    }
    
    .purpose-image {
        height: 200px;
    }
    
    .founder-image-container {
        height: 220px;
    }
    
    .founder-info {
        padding: 1.25rem;
    }
    
    .floating-badge {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        height: 60px;
    }
    
    .logo-icon img {
        height: 70px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
        padding: 40px 0 10px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(1.125rem, 6vw, 1.75rem);
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 2.5vw, 0.95rem);
        margin-bottom: 1.25rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: space-around;
        flex-wrap: wrap;
        margin-top: 1.25rem;
    }
    
    .stat-item {
        min-width: 70px;
        text-align: center;
    }
    
    :root {
        --section-padding: 1.5rem 0;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .row > * {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .purpose-images .row {
        margin-left: -2px;
        margin-right: -2px;
    }
    
    .purpose-images .row > * {
        padding-left: 2px;
        padding-right: 2px;
    }
    
    .purpose-image {
        height: 180px;
    }
    
    .founder-image-container {
        height: 200px;
    }
    
    .founder-info {
        padding: 1rem;
    }
    
    .section-title {
        font-size: clamp(1rem, 5vw, 1.5rem);
        text-align: center;
    }
    
    .section-description {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        text-align: center;
    }
    
    .logo-icon {
        height: 50px;
    }
    
    .logo-icon img {
        height: 60px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .floating-badge {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .content-text {
        text-align: center;
        padding: 0.75rem 0;
    }
}

/* Large screens (1400px and up) */
@media (min-width: 1400px) {
    .hero {
        min-height: 100vh;
    }
    
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for better accessibility */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
}

.skip-link:focus {
    top: 6px;
}
