:root {
    --color-primary: #4A5D23;    /* Sage green */
    --color-secondary: #6B7355;  /* Muted olive */
    --color-accent: #A4B494;     /* Light sage */
    --color-accent-light: #C5D1B9; /* Very light sage */
    --color-text: #2C2416;       /* Deep brown */
    --color-background: #F5F3EF; /* Warm off-white */
    --color-white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
}


.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.col {
    display: flex;
    align-items: center;
}

.col:last-child {
    justify-content: flex-end;
}

.logo {
    font-family: "Monomakh", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 3.2rem;
    margin-bottom: 0.1rem;
    color: #fff;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.8),
        1px -1px 0 rgba(0,0,0,0.8),
        -1px 1px 0 rgba(0,0,0,0.8),
        1px 1px 0 rgba(0,0,0,0.8),
        0 0 8px rgba(0,0,0,0.6),
        0 0 15px rgba(0,0,0,0.4);
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    line-height: 1.1;
    text-align: left;
}

.logo:hover {
    transform: scale(1.02);
    letter-spacing: 1.4px;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.2;
    margin-top: 0;
    padding-left: 2px;
    opacity: 1;
    white-space: nowrap;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.7),
        1px -1px 0 rgba(0,0,0,0.7),
        -1px 1px 0 rgba(0,0,0,0.7),
        1px 1px 0 rgba(0,0,0,0.7),
        0 0 6px rgba(0,0,0,0.5);
}

.logo-subtitle .separator {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.3rem;
    opacity: 0.8;
    font-weight: 600;
}

.logo:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.5px;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.7),
        1px -1px 0 rgba(0,0,0,0.7),
        -1px 1px 0 rgba(0,0,0,0.7),
        1px 1px 0 rgba(0,0,0,0.7),
        0 0 6px rgba(0,0,0,0.5);
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, 
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.4)
    );
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.4);
}

nav a:hover {
    color: rgba(255, 255, 255, 1);
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.8),
        1px -1px 0 rgba(0,0,0,0.8),
        -1px 1px 0 rgba(0,0,0,0.8),
        1px 1px 0 rgba(0,0,0,0.8),
        0 0 8px rgba(0,0,0,0.6);
}

nav a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Add subtle animation for active state */
nav a.active {
    color: #fff;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.8),
        1px -1px 0 rgba(0,0,0,0.8),
        -1px 1px 0 rgba(0,0,0,0.8),
        1px 1px 0 rgba(0,0,0,0.8),
        0 0 8px rgba(0,0,0,0.6);
}

nav a.active:after {
    transform: scaleX(1);
    background: linear-gradient(to right, 
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.5)
    );
}

/* Add hover effect to the entire header */
header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

header:hover:before {
    opacity: 1;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .logo-container {
        align-items: center;
        padding-top: 0.3rem;
    }

    .logo {
        font-size: 2rem;
        text-align: center;
    }

    .logo-subtitle {
        text-align: center;
        font-size: 0.9rem;
        margin-top: 0.2rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    nav a {
        font-size: 1rem;
        padding: 0.3rem 0;
    }

    header:before {
        height: 2px;
    }
}

/* Hero Slider */
.hero-slider {
    height: 70vh;  /* Reduced from 100vh */
    position: relative;
    overflow: hidden;
    margin-top: 80px;  /* Add space for fixed header */
}

@media (max-width: 900px) {
    .hero-slider {
        margin-top: 110px;
    }
    .slide-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    .slide-content p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/DSC06803-c.jpg');
}

.slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/DSC03841.jpg');
}

.slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/DSC00495_1680x72DPI.jpg');
}

.slide:nth-child(4) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/IMG_20170828_095825750-EFFECTS.jpg');
}

.slide:nth-child(5) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/20190629_194223.jpg');
}

.slide:nth-child(6) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero/20190629_194355~2.jpg');
}

.slide.active {
    opacity: 1;
}

.slide-content {
    color: var(--color-white);
    max-width: 800px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.intro {
    position: relative;
    padding: 6rem 5%;
    margin: 0 auto;
    background: 
        linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0.97),
            rgba(245, 243, 239, 0.95)
        ),
        url('../images/bg-header-leather-400px-tall.jpg') center/cover;
    border-radius: 8px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(74, 93, 35, 0.1);
}

.intro:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(
            circle at top left,
            var(--color-accent-light) 0%,
            transparent 60%
        ),
        radial-gradient(
            circle at bottom right,
            var(--color-primary) 0%,
            transparent 60%
        );
    opacity: 0.07;
    border-radius: 8px;
    z-index: 0;
}

.intro-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);

    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 93, 35, 0.1);
}

.intro-content h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.intro-content h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        var(--color-primary),
        var(--color-secondary),
        transparent
    );
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intro-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--color-text);
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
    position: relative;
    padding: 1.5rem 0;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .intro {
        padding: 4rem 5%;
        margin: 1rem auto;
    }
    
    .intro-content {
        padding: 2rem;
    }
    
    .intro-content h2 {
        font-size: 2.2rem;
    }
    
    .intro-content p {
        font-size: 1.15rem;
        line-height: 1.6;
        text-align: left;
        padding: 1rem 0;
    }
}

/* Featured Properties */
.featured-properties {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.featured-properties:before {
    display: none; /* Remove the overlay since we have it on main now */
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    text-shadow: 
        -1px -1px 0 rgba(255,255,255,0.8),
        1px -1px 0 rgba(255,255,255,0.8),
        -1px 1px 0 rgba(255,255,255,0.8),
        1px 1px 0 rgba(255,255,255,0.8);
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-text), transparent);
}

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

.property-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.property-details {
    padding: 1.5rem;
}

.property-card h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.address {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.specs {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.specs span {
    color: var(--color-secondary);
    font-weight: 500;
}

.lot-size, .property-type {
    color: var(--color-text);
    font-size: 0.9rem;
    font-style: italic;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(91, 104, 68, 0.97) 0%, rgba(74, 93, 35, 0.97) 100%);
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    padding: 5rem 5%;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.about-image {
    flex: 0 0 350px;
    position: sticky;
    top: 100px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.about-text {
    flex: 1;
    min-width: 0;
    position: relative;
}

.about-text:before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(0);
}
.company-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform: translateY(0);
}

.profile-image:after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover .profile-image {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-image:hover .profile-image:after {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Add subtle shine effect */
.profile-image:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.03) 30%,
        rgba(255, 255, 255, 0.05) 40%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 100%
    );
    transform: rotate(35deg);
    animation: shine 8s infinite;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(35deg);
    }
    20%, 100% {
        transform: translateX(100%) rotate(35deg);
    }
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--color-white);
    text-align: left;
}

.about-text h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-light), transparent);
}

.about-text > p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.photo-caption {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--color-white);
}

.photo-caption .name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--color-accent-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.photo-caption .title,
.photo-caption .company {
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.photo-caption .title {
    margin-bottom: 0.2rem;
}

.photo-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-contact a {
    color: var(--color-accent-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.photo-contact a:hover {
    color: var(--color-white);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--color-accent-light);
    font-size: 1rem;
}

/* Responsive layout adjustments */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }

    .about-image {
        flex: 0 0 300px;
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image {
        flex: 0 0 auto;
        max-width: 280px;
        margin-bottom: 2rem;
        padding: 10px;
    }

    .about-text:before {
        display: none;
    }

    .profile-image,
    .profile-image:after {
        transform: none;
    }

    .about-text h2 {
        text-align: center;
    }

    .about-text h2:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .photo-contact {
        text-align: center;
    }
}

/* Rest of the existing styles... */
.about h2 {
    color: var(--color-white);
    text-align: left;
    margin-bottom: 1.5rem;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.credentials, .services {
    margin-top: 2rem;
}

.credentials h3, .services h3 {
    color: var(--color-accent);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.credentials ul {
    position: relative;
    z-index: 1;
}

.credentials li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.credentials li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent-light);
    font-size: 1.2em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.credentials li:hover {
    transform: translateX(5px);
}

.credentials li:hover:before {
    opacity: 1;
    transform: scale(1.2);
}

.crs-credential-block {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crs-credential-block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.crs-credential-block:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.crs-credential-block:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.crs-credential-block i {
    color: var(--color-accent-light);
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.crs-credential-block:hover i {
    transform: scale(1.1) rotate(5deg);
}

.crs-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 0.5rem;
}

.crs-text strong:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, var(--color-accent-light), transparent);
}

.crs-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.crs-text p:before {
    display: none;
}

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

.service-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.service-item h4 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.service-item h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, var(--color-accent-light), transparent);
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-item p {
    font-size: 1rem;
    margin: 0;
}

/* Footer */
footer {
    background: linear-gradient(to right, rgba(44, 36, 22, 0.97) 0%, rgba(60, 50, 38, 0.97) 100%);
    position: relative;
    color: var(--color-white);
    padding: 3rem 5%;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-link {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}



.contact-info h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--color-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-white);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.social-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-white);
    transition: width 0.3s ease;
    z-index: 0;
}

.social-link:hover:before {
    width: 100%;
}

.social-link i, .social-link span {
    position: relative;
    z-index: 1;
}

.social-link:hover i, .social-link:hover span {
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 3rem;
    }
    
    .slide-content p {
        font-size: 1.4rem;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-image {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto;
    }

    .about h2 {
        text-align: center;
    }

    .credentials li {
        text-align: left;
    }

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

    .social-link span {
        display: none;
    }

    .social-link {
        padding: 0.5rem;
    }

    .social-link i {
        font-size: 1.5rem;
        margin: 0;
    }
}

/* Credentials Section */
.credentials {
    margin-top: 3rem;
}

.credentials h3 {
    color: var(--color-accent-light);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.credentials h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-light), transparent);
}

.credentials ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.credentials li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.credentials li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent-light);
    font-size: 1.2em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.credentials li:hover {
    transform: translateX(5px);
    color: var(--color-white);
}

.credentials li:hover:before {
    opacity: 1;
    transform: scale(1.2);
}

/* CRS Credential Block */
.crs-credential-block {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.crs-credential-block i {
    color: var(--color-accent-light);
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.crs-text {
    flex: 1;
}

.crs-text strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-accent-light);
}

.crs-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.crs-credential-block:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.crs-credential-block:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* Services Section */
.services h3 {
    color: var(--color-accent-light);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    position: relative;
    display: inline-block;
}

.services h3:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-light), transparent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services h3 {
        text-align: center;
        display: block;
    }

    .services h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .crs-credential-block {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .crs-text p {
        padding-left: 0;
    }
}

/* Hamburger menu styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
    margin-left: auto;
}
.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 900px) {
    .logo {
        font-size: 2.2rem;
    }

    .menu-toggle {
        display: flex;
    }

    #nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: url('../images/bg-header-leather-400px-tall.jpg');
        background-size: cover;
        background-position: center;
        padding: 0.2rem 0;
        box-shadow: 0 2px 20px rgba(0,0,0,0.15);
        margin: 0;
    }

    nav.open #nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #nav-links li {
        margin: 0;
        padding: 0;
        width: 100%;
        text-align: center;
    }

    #nav-links a {
        display: block;
        padding: 0.25rem 0;
        font-size: 0.95rem;
    }

    .logo-subtitle {
        text-align: left;
    }
}

/* Animate hamburger to X when open */
nav.open .menu-toggle .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
nav.open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
}
nav.open .menu-toggle .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.center {
    text-align: center;
}
.mt-1 {
    margin-top: 1rem;
}
.mt-2 {
    margin-top: 2rem;
}
.mt-3 {
    margin-top: 3rem;
}
.mt-4 {
    margin-top: 4rem;
}
.mt-5 {
    margin-top: 5rem;
}
.mb-01 {
    margin-bottom: 0.1rem;
}
.mb-02 {
    margin-bottom: 0.2rem;
}
.mb-03 {
    margin-bottom: 0.3rem;
}

.mb-05 {
    margin-bottom: 0.5rem;
}
.mb-1 {
    margin-bottom: 1rem;
}
.mb-2 {
    margin-bottom: 2rem;
}
.mb-3 {
    margin-bottom: 3rem;
}
.mb-4 {
    margin-bottom: 4rem;
}
.mb-5 {
    margin-bottom: 5rem;
}
.ml-1 {
    margin-left: 1rem;
}
.ml-2 {
    margin-left: 2rem;
}
.ml-3 {
    margin-left: 3rem;
}
.ml-4 {
    margin-left: 4rem;
}
.ml-5 {
    margin-left: 5rem;
}
.mr-1 {
    margin-right: 1rem;
}
.mr-2 {
    margin-right: 2rem;
}
.mr-3 {
    margin-right: 3rem;
}
.mr-4 {
    margin-right: 4rem;
}
.mr-5 {
    margin-right: 5rem;
}

.property-card-link {
    text-decoration: none;
    color: inherit;
}

.property-card-link:hover {
    text-decoration: none;
}

.property-card-link * {
    text-decoration: none;
}

.search-all-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    text-decoration: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-all-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.search-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.search-all-button:hover:before {
    left: 100%;
}

.search-all-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.search-all-button:hover i {
    transform: scale(1.1);
}

.search-all-button .company-name {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.2rem;
    font-weight: 400;
}

.footer-content {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.contact-info {
    flex: 1;
    min-width: 250px;
}
.contact-info a {
    color: inherit;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.social-link {
    text-decoration: none;
    color: inherit;
    padding: 0.5rem 1rem;
    border: 1px solid currentColor;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.social-link:hover {
    background-color: rgba(0,0,0,0.1);
}

/* CRS Details Section */
.crs-details {
    background-color: #f9f9f9;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.crs-details h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
}

.crs-content {
    max-width: 900px;
    margin: 0 auto;
}

.crs-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #34495e;
    margin-bottom: 2rem;
}

.crs-requirements, .crs-benefits {
    margin: 1.5rem 0;
}

.crs-requirements h4, .crs-benefits h4 {
    color: #2c3e50;
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.crs-requirements ul, .crs-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.crs-requirements ul li, .crs-benefits ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.crs-requirements ul li:before, .crs-benefits ul li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.crs-requirements ul ul {
    padding-left: 2rem;
    margin-top: 0.8rem;
}

.crs-requirements ul ul li:before {
    content: "◦";
}

@media (max-width: 768px) {
    .crs-details {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .crs-details h3 {
        font-size: 1.6rem;
    }

    .crs-content p {
        font-size: 1rem;
    }

    .crs-requirements h4, .crs-benefits h4 {
        font-size: 1.2rem;
    }
}

/* CRS Section */
.crs-section {
    background: linear-gradient(135deg, rgba(74, 93, 35, 0.97) 0%, rgba(91, 104, 68, 0.97) 100%);
    padding: 5rem 5%;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.crs-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
}

.crs-section-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.crs-section h2 {
    color: var(--color-white);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.8rem;
}

.crs-section h2:after {
    background: linear-gradient(to right, transparent, var(--color-accent-light), transparent);
}

.crs-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.crs-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: center;
}

.crs-requirements, .crs-benefits {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.crs-requirements h4, .crs-benefits h4 {
    color: var(--color-accent-light);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.crs-requirements h4:after, .crs-benefits h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-accent-light), transparent);
}

.crs-requirements ul, .crs-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.crs-requirements ul li, .crs-benefits ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.crs-requirements ul li:before, .crs-benefits ul li:before {
    content: "•";
    color: var(--color-accent-light);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.crs-requirements ul li:hover, .crs-benefits ul li:hover {
    transform: translateX(5px);
    color: var(--color-white);
}

.crs-requirements ul li:hover:before, .crs-benefits ul li:hover:before {
    opacity: 1;
    transform: scale(1.2);
}

.crs-requirements ul ul {
    padding-left: 2rem;
    margin-top: 0.8rem;
}

.crs-requirements ul ul li:before {
    content: "◦";
}

@media (max-width: 768px) {
    .crs-section {
        padding: 3rem 5%;
    }

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

    .crs-content {
        padding: 1.5rem;
    }

    .crs-content p {
        font-size: 1.1rem;
    }

    .crs-requirements, .crs-benefits {
        padding: 1.5rem;
    }

    .crs-requirements h4, .crs-benefits h4 {
        font-size: 1.4rem;
    }

    .crs-requirements ul li, .crs-benefits ul li {
        font-size: 1rem;
    }


}

.intro-text {
    font-weight: 700;
    font-size: 1.2rem;
}

.italic {
    font-style: italic;
}

.strong {
    font-weight: 700;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease-out;
}

.loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-primary);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}