/* CSS Variables for Fremoluc Brand Colors */
:root {
    --main-blue: #004AAD;
    --secondary-blue: #002147;
    --main-gold: #D4AF37;
    --main-grey: #5A5A5A;
    --main-white: #FFFFFF;
    --shadow: rgba(0, 74, 173, 0.1);
    --gradient: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
}

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

body {
    font-family: 'DM Serif Display', serif;
    line-height: 1.6;
    color: var(--main-grey);
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--main-blue);
    font-weight: 500;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--main-gold);
    transition: width 0.3s ease;
}

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

/* Force consistent navbar font size across all pages */
.navbar .nav-link {
    font-size: 0.8rem !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--main-blue);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Background Image */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--main-white);
    overflow: hidden;
    padding: 80px 0 2rem 0;
}

/* Background Image */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* Adjust this value (0.1 to 0.5) for fade intensity */
    z-index: -2;
}

/* Gradient Overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
    opacity: 0.8; /* Adjust this value for overlay intensity */
    z-index: -1;
}

/* Ensure content stays on top */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1.0rem;
}

.btn-primary {
    background: var(--main-gold);
    color: var(--main-white);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: var(--main-white);
    color: var(--main-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

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

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

/* Investment Sections */
.investment-sections {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.investment-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
    background: var(--main-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
}

.investment-card.alternative {
    grid-template-columns: 1fr 1fr;
}

.investment-card.alternative .card-content {
    order: 2;
}

.investment-card.alternative .card-image {
    order: 1;
}

.card-content h3 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.card-content p {
    font-size: 1.2rem;
    color: var(--main-grey);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--gradient);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 250px;
}

/* Real Estate specific image placeholder */
.investment-card.real-estate .image-placeholder {
    background: none;
    position: relative;
}

.investment-card.real-estate .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/real-estate-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Add a subtle overlay to maintain readability */
.investment-card.real-estate .image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
    opacity: 0.3;
    border-radius: 15px;
    transition: opacity 0.4s ease;
}

/* Hover effects for the image */
.investment-card.real-estate:hover .image-placeholder::before {
    transform: scale(1.05);
}

.investment-card.real-estate:hover .image-placeholder::after {
    opacity: 0.2;
}

/* Remove the original placeholder circles for real estate */
.investment-card.real-estate .image-placeholder::before {
    width: 100%;
    height: 100%;
    transform: none;
    background: url('../images/real-estate-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.investment-card.real-estate .image-placeholder::after {
    width: 100%;
    height: 100%;
    transform: none;
    background: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
    opacity: 0.3;
}

/* Real Estate Section with Background */
.investment-card.real-estate {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.investment-card.real-estate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/real-estate-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.investment-card.real-estate:hover::before {
    opacity: 0.25;
}

/* Ensure content stays readable */
.investment-card.real-estate .card-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Alternative Investments Section with Background */
.investment-card.alternative {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.investment-card.alternative::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/alternative-investments-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.investment-card.alternative:hover::before {
    opacity: 0.25;
}

/* Ensure content stays readable */
.investment-card.alternative .card-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Alternative Investments specific image placeholder - No overlay */
.investment-card.alternative .image-placeholder {
    background: none;
    position: relative;
}

.investment-card.alternative .image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/alternative-investments-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.investment-card.alternative:hover .image-placeholder::before {
    transform: scale(1.05);
}

/* Hover effects for the alternative investments image */
.investment-card.alternative:hover .image-placeholder::after {
    opacity: 0.2;
}

/* Remove the original placeholder circles for alternative investments */
.investment-card.alternative .image-placeholder::before {
    width: 100%;
    height: 100%;
    transform: none;
    background: url('../images/alternative-investments-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.investment-card.alternative .image-placeholder::after {
    width: 100%;
    height: 100%;
    transform: none;
    background: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
    opacity: 0.3;
}

/* Contact Section */
.contact-section {
    background: var(--main-white);
    padding: 5rem 2rem;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--main-grey);
    line-height: 1.6;
}

.contact-email {
    font-size: 1.1rem;
    color: var(--main-grey);
    line-height: 1.6;
    margin-top: 1rem;
    font-style: italic;
}

.email-link {
    color: var(--main-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.email-link:hover {
    color: var(--main-gold);
    border-bottom-color: var(--main-gold);
}

.contact-form {
    background: var(--main-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    border: 1px solid rgba(0, 74, 173, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--main-blue);
    font-weight: 500;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 74, 173, 0.2);
    border-radius: 10px;
    font-family: 'DM Serif Display', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--main-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--main-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-blue);
    color: var(--main-white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    height: 50px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--main-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--main-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Enhanced card styling */
.investment-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Professional text styling */
.investment-card h2 {
    color: var(--main-blue);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.investment-card p {
    color: var(--main-grey);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--main-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .investment-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .investment-card.alternative .card-content,
    .investment-card.alternative .card-image {
        order: unset;
    }

    .card-content h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .investment-card .card-content {
        padding: 1.5rem;
    }
    
    .investment-card h2 {
        font-size: 1.5rem;
    }
    
    .investment-card::before {
        opacity: 0.1; /* Less opacity on mobile for better readability */
    }

    .hero::before {
        background-position: center center;
    }
    
    .hero {
        padding: 70px 0 1.5rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero::before {
        opacity: 0.2; /* Slightly less opacity on mobile for better readability */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 1rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .investment-sections {
        padding: 3rem 1rem;
    }

    .investment-card {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.investment-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Real Estate Page Specific Styles */
.experience-section {
    padding: 8rem 2rem 5rem;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(248, 249, 250, 0.8)), url('../images/experience-background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    contain: layout style;
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.experience-header {
    text-align: center;
    margin-bottom: 4rem;
}

.experience-header h1 {
    font-size: 3.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.experience-header p {
    font-size: 1.3rem;
    color: var(--main-grey);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.stat-card {
    background: var(--gradient);
    color: var(--main-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Make emoji icons white in stat cards */
.stat-card .stat-number {
    filter: brightness(0) invert(1);
}

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

/* Portfolio Overview Section */
.portfolio-section {
    padding: 5rem 2rem;
    background: var(--main-white);
}

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

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-header h2 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.portfolio-header p {
    font-size: 1.2rem;
    color: var(--main-grey);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* Residential and Retail Sections */
.residential-section,
.retail-section {
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.residential-section {
    background: #f8f9fa;
}

.residential-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/real-estate-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.residential-section:hover::before {
    opacity: 0.2;
}

.retail-section {
    background: var(--main-white);
}


.residential-container,
.retail-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.content-text h2 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.content-text p {
    font-size: 1.2rem;
    color: var(--main-grey);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.content-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Retail Properties specific image styling */
.retail-section .content-image img {
    border-radius: 15px;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

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

.residential-img {
    background: var(--gradient);
    position: relative;
}

.residential-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/real-estate-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.retail-img {
    background: var(--gradient);
    position: relative;
}

.retail-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/alternative-investments-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* Properties Section (keeping for reference) */
.properties-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

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

.properties-header {
    text-align: center;
    margin-bottom: 4rem;
}

.properties-header h2 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1rem;
    font-weight: 400;
}

.properties-header p {
    font-size: 1.2rem;
    color: var(--main-grey);
}

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

.property-card {
    background: var(--main-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
}

.property-image {
    height: 200px;
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-white);
    font-size: 1.2rem;
    font-weight: 500;
}

.rent-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--main-gold);
    color: var(--main-white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 2;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    color: var(--main-blue);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.property-description {
    color: var(--main-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* Property Carousel Styles */
.property-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 74, 173, 0.2);
    background: #f0f0f0;
    z-index: 10;
}

.property-carousel .property-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: var(--main-white);
    border-radius: 15px;
    overflow: hidden;
}

.property-carousel .property-card.active {
    opacity: 1;
    transform: translateX(0);
}

.property-carousel .property-card.prev {
    transform: translateX(-100%);
}

.property-carousel .property-card.next {
    transform: translateX(100%);
}

.property-carousel .property-image {
    height: 300px;
    background: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-white);
    font-size: 1.2rem;
    font-weight: 500;
    overflow: hidden;
}

.property-carousel .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 0;
}

.property-carousel .property-name {
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: center;
    z-index: 3;
}

.property-carousel .rent-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--main-gold);
    color: var(--main-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    z-index: 3;
}

.property-carousel .property-content {
    padding: 1rem;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.property-carousel .property-title {
    font-size: 1.5rem;
    color: var(--main-blue);
    margin-bottom: 0;
    font-weight: 500;
}

.property-carousel .property-description {
    color: var(--main-grey);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--main-white);
}

.indicator.active {
    background: var(--main-gold);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--main-gold);
    transform: scale(1.1);
}

/* Carousel Footer */
.carousel-footer {
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-note {
    color: var(--main-grey);
    font-size: 0.85rem;
    font-style: italic;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    line-height: 1.4;
}

/* Real Estate Page Responsive Design */

/* Large screens (1200px and above) */
@media (min-width: 1200px) {
    .experience-container,
    .properties-container {
        max-width: 1400px;
    }
    
    .properties-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
    .experience-header h1 {
        font-size: 3rem;
    }
    
    .properties-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Small tablets and large phones (481px to 768px) */
@media (max-width: 768px) {
    .experience-section {
        padding: 6rem 1.5rem 3rem;
    }
    
    .experience-header h1 {
        font-size: 2.5rem;
    }

    .experience-header p {
        font-size: 1.1rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .portfolio-section,
    .residential-section,
    .retail-section {
        padding: 3rem 1.5rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-content.reverse {
        direction: ltr;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .content-text p {
        font-size: 1.1rem;
        text-align: justify;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .property-carousel {
        height: 400px;
    }
    
    .property-carousel .property-image {
        height: 320px;
    }
    
    .property-carousel .property-content {
        height: 80px;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .properties-section {
        padding: 3rem 1.5rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-card {
        margin-bottom: 1rem;
    }
    
    .property-image {
        height: 180px;
    }
    
    .rent-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile phones (up to 480px) */
@media (max-width: 480px) {
    .experience-section {
        padding: 5rem 1rem 2rem;
    }
    
    .experience-header h1 {
        font-size: 2rem;
    }
    
    .experience-header p {
        font-size: 1rem;
    }
    
    .experience-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .portfolio-section,
    .residential-section,
    .retail-section {
        padding: 2rem 1rem;
    }
    
    .portfolio-header h2,
    .content-text h2 {
        font-size: 1.8rem;
    }
    
    .portfolio-header p,
    .content-text p {
        font-size: 1rem;
        text-align: justify;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .property-carousel {
        height: 350px;
    }
    
    .property-carousel .property-image {
        height: 270px;
    }
    
    .property-carousel .property-content {
        height: 80px;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .property-carousel .property-title {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .property-carousel .property-description {
        font-size: 1rem;
    }
    
    .carousel-footer {
        bottom: 60px;
    }
    
    .carousel-note {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        max-width: 95%;
    }
    
    .properties-section {
        padding: 2rem 1rem;
    }
    
    .properties-header h2 {
        font-size: 2rem;
    }
    
    .properties-header p {
        font-size: 1rem;
    }
    
    .property-image {
        height: 160px;
        font-size: 1rem;
    }
    
    .property-content {
        padding: 1rem;
    }
    
    .property-title {
        font-size: 1.1rem;
    }
    
    .property-description {
        font-size: 0.9rem;
    }
    
    .rent-badge {
        top: 10px;
        right: 10px;
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Extra small devices (up to 320px) */
@media (max-width: 320px) {
    .experience-header h1 {
        font-size: 1.8rem;
    }
    
    .experience-header p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .properties-header h2 {
        font-size: 1.8rem;
    }
    
    .property-image {
        height: 140px;
        font-size: 0.9rem;
    }
}

/* Alternative Investments Page Specific Styles */

/* Strategy Section */
.strategy-section {
    padding: 8rem 2rem 5rem;
    background: var(--main-white);
}

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

.strategy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.strategy-header h1 {
    font-size: 3.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.strategy-header p {
    font-size: 1.3rem;
    color: var(--main-grey);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

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

.strategy-text h2 {
    font-size: 2rem;
    color: var(--main-blue);
    margin-bottom: 1rem;
    font-weight: 400;
}

.strategy-text p {
    font-size: 1.1rem;
    color: var(--main-grey);
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.strategy-img {
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-white);
    font-size: 1.2rem;
    font-weight: 500;
}

.strategy-img::before {
    content: 'Strategy & Mission';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

/* Investment Focus Section */
.investment-focus-section {
    padding: 3rem 2rem;
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(248, 249, 250, 0.8)), url('../images/investment-focus-background.jpg') center/cover no-repeat;
    margin: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    contain: layout style;
    will-change: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    font-display: swap;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.investment-focus-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Investment Focus Image Placeholder */
.investment-focus-img {
    background-image: url('../images/investment-focus-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investment-focus-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Alternative Investments Card Layout */
.inhatarget-card,
.vadeco-card {
    background: var(--main-white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin: 2rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inhatarget-card:hover,
.vadeco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.inhatarget-card .card-content,
.vadeco-card .card-content {
    max-width: none;
}

/* InhaTarget Card Header Layout */
.inhatarget-card .card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-gold);
}

.inhatarget-card .card-header h3 {
    color: var(--main-blue);
    font-size: 2.2rem;
    margin: 0;
    font-weight: 400;
    flex: 1;
}

.inhatarget-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inhatarget-card .card-content p {
    margin: 0 0 1.5rem 0;
    order: 1;
}

.inhatarget-card .btn {
    order: 2;
    align-self: flex-start;
    margin-top: 0;
}

.inhatarget-card p,
.vadeco-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--main-grey);
    margin: 0;
    text-align: justify;
}

.inhatarget-card .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* InhaTarget Logo Styling */
.inhatarget-card .company-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--main-white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.inhatarget-logo {
    max-height: 60px;
    max-width: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: transform 0.3s ease;
}

.inhatarget-logo:hover {
    transform: scale(1.1);
}

/* Vade&Co Card - Same layout as Residential Properties */
.vadeco-card .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vadeco-card .content-text h3 {
    color: var(--main-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.vadeco-card .content-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--main-grey);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Vade&Co Carousel Styling - Bigger like real-estate */
.vadeco-carousel {
    width: 100%;
    height: 400px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide.active {
    display: block;
}

.carousel-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.vadeco-placeholder-1,
.vadeco-placeholder-2 {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-white);
    font-size: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.indicator:hover {
    background: var(--main-white);
    border-color: var(--main-white);
}

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

.focus-card {
    background: var(--main-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
}

.focus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.focus-card h3 {
    font-size: 1.3rem;
    color: var(--main-blue);
    margin-bottom: 1rem;
    font-weight: 500;
}

.focus-card p {
    color: var(--main-grey);
    font-size: 1rem;
    line-height: 1.6;
}

/* Alternative Investments Section */
.alternative-investments-section {
    padding: 5rem 2rem;
    background: var(--main-white);
}

.alternative-investments-container {
    max-width: 1200px;
    margin: 0 auto;
}

.alternative-investments-header {
    text-align: center;
    margin-bottom: 4rem;
}

.alternative-investments-header h2 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.alternative-investments-header p {
    font-size: 1.2rem;
    color: var(--main-grey);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}


.company-links {
    margin-top: 2rem;
}

/* Image placeholders for companies */
.inhatarget-img {
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-white);
    font-size: 1.2rem;
    font-weight: 500;
}

.inhatarget-img::before {
    content: 'InhaTarget Therapeutics';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.vadeco-img {
    background: var(--gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-white);
    font-size: 1.2rem;
    font-weight: 500;
}

.vadeco-img::before {
    content: 'Vade&Co Leisure';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

/* Responsive Design for Alternative Investments Page - Using Real Estate Patterns */

/* Large screens (1200px and above) */
@media (min-width: 1200px) {
    .strategy-container,
    .investment-focus-container,
    .alternative-investments-container {
        max-width: 1400px;
    }
}

/* Medium screens (768px to 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
    .strategy-header h1 {
        font-size: 3rem;
    }
    
    .alternative-investments-header h2 {
        font-size: 2.2rem;
    }
}

/* Small tablets and large phones (481px to 768px) */
@media (max-width: 768px) {
    .strategy-section {
        padding: 6rem 1.5rem 3rem;
    }
    
    .strategy-header h1 {
        font-size: 2.5rem;
    }
    
    .strategy-header p {
        font-size: 1.1rem;
    }
    
    .strategy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .strategy-text h2 {
        font-size: 1.8rem;
    }
    
    .strategy-text p {
        font-size: 1rem;
    }
    
    .investment-focus-section,
    .alternative-investments-section {
        padding: 3rem 1.5rem;
    }
    
    
    
    .vadeco-placeholder-1,
    .vadeco-placeholder-2 {
        font-size: 1.5rem;
    }
    
    .inhatarget-card .card-header {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: center;
    }
    
    .inhatarget-card .company-logo {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .inhatarget-logo {
        max-height: 40px;
        max-width: 40px;
    }
    
    .inhatarget-card .card-header h3 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .alternative-investments-header h2 {
        font-size: 2rem;
    }
    
    .alternative-investments-header p {
        font-size: 1.1rem;
    }
    
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .focus-card {
        padding: 1.5rem;
    }
    
    /* Investment Cards Responsive - Using Real Estate Patterns */
    .investment-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
    }
    
    .investment-card .card-content {
        order: 1;
        display: flex;
        flex-direction: column;
    }
    
    .investment-card .card-image {
        order: 4;
        margin-top: 1rem;
        width: 100%;
    }
    
         /* Force content to stack properly within card-content */
     .investment-card .card-content h3 {
         order: 1;
     }
     
     .investment-card .card-content p {
         order: 2;
     }
     
     .investment-card .card-content .company-links {
         order: 3;
     }
     
     /* Ensure proper stacking order for all elements */
     .investment-card h3 {
         order: 1 !important;
     }
     
     .investment-card p {
         order: 2 !important;
     }
     
     .investment-card .company-links {
         order: 3 !important;
     }
     
     .investment-card .card-image {
         order: 4 !important;
     }
     
     .investment-card .card-footer {
         order: 3 !important;
     }
     
     .investment-card .card-gallery {
         order: 4 !important;
     }
    
    /* Remove conflicting order properties */
    .investment-card h3,
    .investment-card p,
    .investment-card .company-links {
        order: unset;
    }
    
    .investment-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .investment-card p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .company-links {
        margin-top: 1.5rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Mobile phones (up to 480px) */
@media (max-width: 480px) {
    .strategy-section {
        padding: 5rem 1rem 2rem;
    }
    
    .strategy-header h1 {
        font-size: 2rem;
    }
    
    .strategy-header p {
        font-size: 1rem;
    }
    
    .strategy-text h2 {
        font-size: 1.6rem;
    }
    
    .strategy-text p {
        font-size: 0.9rem;
    }
    
    .investment-focus-section,
    .alternative-investments-section {
        padding: 2rem 1rem;
    }
    
    
    
    .vadeco-placeholder-1,
    .vadeco-placeholder-2 {
        font-size: 1.2rem;
    }
    
    .inhatarget-card .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .inhatarget-logo {
        max-height: 35px;
        max-width: 35px;
    }
    
    .inhatarget-card .card-header h3 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .alternative-investments-header h2 {
        font-size: 1.8rem;
    }
    
    .alternative-investments-header p {
        font-size: 1rem;
    }
    
    .focus-card {
        padding: 1rem;
    }
    
    .focus-icon {
        font-size: 2.5rem;
    }
    
    .focus-card h3 {
        font-size: 1.2rem;
    }
    
    .focus-card p {
        font-size: 0.9rem;
    }
    
                   /* Investment Cards Small Screen - Using Real Estate Patterns */
      .investment-card {
          padding: 1.5rem;
          margin-bottom: 1.5rem;
          gap: 1.5rem;
          display: flex;
          flex-direction: column;
      }
      
      .investment-card h3 {
          font-size: 1.6rem;
          margin-bottom: 0.8rem;
      }
      
      .investment-card p {
          font-size: 0.9rem;
          margin-bottom: 1.2rem;
          line-height: 1.6;
      }
      
      .image-placeholder {
          height: 200px;
      }
      
      .company-links {
          margin-top: 1rem;
          margin-bottom: 1rem;
      }
      
             .investment-card .card-image {
           margin-top: 1rem;
           order: 4 !important;
       }
       
       /* Ensure proper stacking order for small screens */
       .investment-card h3 {
           order: 1 !important;
       }
       
       .investment-card p {
           order: 2 !important;
       }
       
       .investment-card .company-links {
           order: 3 !important;
       }
       
       .investment-card .card-footer {
           order: 3 !important;
       }
       
       .investment-card .card-gallery {
           order: 4 !important;
       }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Extra small devices (up to 320px) */
@media (max-width: 320px) {
    .strategy-header h1 {
        font-size: 1.8rem;
    }
    
    .strategy-header p {
        font-size: 0.9rem;
    }
    
    .strategy-text h2 {
        font-size: 1.4rem;
    }
    
    .strategy-text p {
        font-size: 0.8rem;
    }
    
    .alternative-investments-header h2 {
        font-size: 1.6rem;
    }
    
    .alternative-investments-header p {
        font-size: 0.9rem;
    }
    
    .investment-card h3 {
        font-size: 1.4rem;
    }
    
    .investment-card p {
        font-size: 0.8rem;
    }
    
    .image-placeholder {
        height: 180px;
    }
}

/* Portfolio Sections */
.portfolio-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.portfolio-section:nth-child(even) {
    background: var(--main-white);
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--main-white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.portfolio-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.real-estate-section .portfolio-container::before {
    background-image: url('../images/real-estate-bg.jpg');
}

.alternative-investments-section .portfolio-container::before {
    background-image: url('../images/alternative-investments-bg.jpg');
}

.portfolio-content {
    position: relative;
    z-index: 2;
}

.portfolio-content h2 {
    font-size: 2.5rem;
    color: var(--main-blue);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.portfolio-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: justify;
    color: var(--main-grey);
}

.portfolio-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    z-index: 2;
}

.portfolio-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Portfolio image placeholders for landing page */
.portfolio-image .image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.portfolio-image .image-placeholder:hover {
    transform: scale(1.02);
}

/* Responsive Design for Portfolio Sections */
@media (max-width: 768px) {
    .portfolio-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .portfolio-content h2 {
        font-size: 2rem;
    }
    
    .portfolio-content p {
        font-size: 1rem;
        text-align: justify;
    }
    
    .portfolio-image img {
        height: 300px;
    }
    
    .portfolio-image .image-placeholder {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .portfolio-section {
        padding: 2rem 0;
    }
    
    .portfolio-container {
        padding: 1.5rem 1rem;
        gap: 1.5rem;
    }
    
    .portfolio-content h2 {
        font-size: 1.8rem;
    }
    
    .portfolio-content p {
        font-size: 0.95rem;
        text-align: justify;
    }
    
    .portfolio-image img {
        height: 250px;
    }
    
    .portfolio-image .image-placeholder {
        height: 250px;
    }
}

/* Fremoluc Strategy Cards - Inspired by Sofina */
.fremoluc-strategy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.strategy-card {
    background: var(--main-blue);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.strategy-card:nth-child(2) {
    background: var(--secondary-blue);
}

.strategy-card:nth-child(3) {
    background: linear-gradient(135deg, var(--main-blue) 0%, var(--secondary-blue) 100%);
}

.strategy-card:nth-child(4) {
    background: var(--main-blue);
    opacity: 0.9;
}

.strategy-card:nth-child(5) {
    background: var(--secondary-blue);
    opacity: 0.9;
}

.strategy-card:nth-child(6) {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--main-blue) 100%);
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 74, 173, 0.3);
}

.strategy-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.strategy-card h3 {
    color: var(--main-white);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.strategy-card p {
    color: var(--main-white);
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Responsive design for strategy cards */
@media (max-width: 768px) {
    .fremoluc-strategy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .fremoluc-strategy-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .strategy-card {
        padding: 2rem 1.5rem;
    }
    
    .strategy-card h3 {
        font-size: 1.3rem;
    }
    
    .strategy-card p {
        font-size: 0.9rem;
    }
}

/* Privacy Policy Page Styles */
.privacy-policy-section {
    padding: 8rem 2rem 5rem;
    background: var(--main-white);
    min-height: 100vh;
}

.privacy-policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.privacy-policy-header h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--main-blue);
    margin-bottom: 1rem;
    font-weight: 400;
}

.privacy-dates {
    color: var(--text-gray);
    font-size: 1rem;
}

.privacy-dates p {
    margin: 0.5rem 0;
}

.privacy-policy-content {
    line-height: 1.8;
    color: var(--text-gray);
}

.privacy-policy-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--main-blue);
    margin: 2.5rem 0 1rem 0;
    font-weight: 400;
}

.privacy-policy-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.privacy-policy-content ul {
    margin: 1rem 0 1.5rem 2rem;
}

.privacy-policy-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.privacy-policy-content a {
    color: var(--main-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-content a:hover {
    color: var(--main-gold);
    text-decoration: underline;
}

/* Investment Cards Grid Styles */
.investment-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

/* Vade&Co Carousel Image Placeholders */
.alternative-investments-img {
    background: none;
    position: relative;
}

.alternative-investments-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/alternative-investments-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
}

.real-estate-img {
    background: none;
    position: relative;
}

.real-estate-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/real-estate-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
}

.investment-card {
    background: var(--main-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Investment cards in alternative investments section should use single column layout */
.investment-cards-grid .investment-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Ensure card gallery is visible in investment cards */
.investment-card .card-gallery {
    margin-top: 2rem;
    width: 100%;
}

/* Vade&Co carousel specific styles - images should take full height since no content sections */
.investment-card .property-carousel .property-image {
    height: 100% !important;
}

.investment-card .property-carousel .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Hide property content sections in Vade&Co carousel */
.investment-card .property-carousel .property-content {
    display: none !important;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 74, 173, 0.15);
}

.card-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--main-gold);
}

.card-header h3 {
    font-size: 2.2rem;
    color: var(--main-blue);
    margin: 0;
    font-weight: 400;
}

.card-content {
    margin-bottom: 2rem;
}

.card-content p {
    font-size: 1.1rem;
    color: var(--main-grey);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.card-footer {
    margin-top: 2rem;
}

.card-gallery {
    margin-top: 2rem;
}

/* Image Carousel Styles */
.image-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--main-blue);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--main-gold);
    color: var(--main-white);
    transform: scale(1.1);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
    background: var(--main-gold);
    border-color: var(--main-gold);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: var(--main-white);
    border-color: var(--main-white);
}

/* Responsive Design for Investment Cards */
@media (max-width: 768px) {
    .investment-cards-grid {
        gap: 2rem;
    }
    
    .investment-card {
        padding: 2rem;
    }
    
    /* Strategy Cards Responsive */
    .fremoluc-strategy-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .strategy-card {
        padding: 2rem 1.5rem;
    }
    
    .strategy-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .strategy-card h3 {
        font-size: 1.3rem;
    }
    
    .strategy-card p {
        font-size: 0.95rem;
    }
    
    /* Privacy Policy Responsive */
    .privacy-policy-section {
        padding: 6rem 1.5rem 3rem;
    }
    
    .privacy-policy-header h1 {
        font-size: 2.5rem;
    }
    
    .privacy-policy-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }
    
    .privacy-policy-content p,
    .privacy-policy-content li {
        font-size: 1rem;
    }
    
    /* Alternative Investments Section Mobile Spacing */
    .alternative-investments-section {
        padding: 7rem 1.5rem 3rem;
    }
    
    .card-header h3 {
        font-size: 1.8rem;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    .image-carousel {
        height: 250px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .investment-card {
        padding: 1.5rem;
    }
    
    .card-header h3 {
        font-size: 1.6rem;
    }
    
    .card-content p {
        font-size: 0.95rem;
    }
    
    /* Alternative Investments Section Mobile Spacing */
    .alternative-investments-section {
        padding: 6rem 1rem 2rem;
    }
    
    .image-carousel {
        height: 200px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}