/* ===== CSS Variables ===== */
:root {
    /* Navy Blue & Gold Theme */
    --navy: #001f3f;
    --navy-dark: #001429;
    --navy-light: #0a2a4a;
    --gold: #D4AF37;
    --gold-dark: #B8931C;
    --gold-light: #E6C158;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;

    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

.section-title {
    color: var(--navy);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-primary:hover {
    background-color: var(--navy-dark);
    border-color: var(--navy-dark);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold-light);
    border-color: var(--navy);
}

.btn-outline:hover {
    border-color: #fff;
    background-color: var(--navy);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== Navigation ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    position: fixed;
    background-color: rgba(0, 31, 63, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 80px;
    width: auto;
    margin-right: 10px;
}

.logo-text {
    font-family: var(--font-secondary);
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--gold);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
}

.nav-cta {
    margin-left: 20px;
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== Hero Slider ===== */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-search {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    margin-top: 30px;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.search-input {
    position: relative;
}

.search-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
}

.search-input select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: var(--navy);
    appearance: none;
}

.search-btn {
    grid-column: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--gold);
    color: var(--navy);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
}

/* ===== Home Page: Our Expertise ===== */
.expertise-section {
    padding: 100px 0;
    background: var(--white);
}

.expertise-container {
    /* display: grid; */
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-content h2 {
    color: var(--navy);
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.3rem;
}

.expertise-description {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
    border: 1px solid rgba(0, 31, 63, 0.1);
}

.stat-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.stat-item h3 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-family: var(--font-primary);
    font-weight: 700;
}

.stat-item p {
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.expertise-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.expertise-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 31, 63, 0.1), transparent);
    z-index: 1;
}

.expertise-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.expertise-image:hover img {
    transform: scale(1.05);
}

/* ===== Home Page: Featured Property Types ===== */
.property-types-section {
    padding: 100px 0;
}

.featured-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.featured-type-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--gold-light);
}

.featured-type-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.featured-type-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.featured-type-card:hover .featured-type-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.featured-type-icon i {
    font-size: 2.5rem;
    color: var(--gold);
}

.featured-type-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.featured-type-card p {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-link:hover {
    gap: 12px;
    color: var(--gold-dark);
}

/* ===== Home Page: Why Choose Us ===== */
.why-choose-section {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.benefit-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--gold-light);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: rotateY(180deg);
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--gold);
}

.benefit-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--gray);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== Home Page: Developer Partnerships ===== */
.developers-section {
    padding: 80px 0;
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.developer-logo {
    background: var(--white);
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.developer-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: rgba(212, 175, 55, 0.05);
    border-color: var(--gold-light);
}

.developer-logo span {
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    font-family: var(--font-primary);
}

/* ===== Home Page: CTA Section ===== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1513584684374-8bab748fbf90?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Page Header (Common) ===== */
.page-header {
    background: linear-gradient(rgba(0, 31, 63, 0.9), rgba(0, 31, 63, 0.9)),
        url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== About Page: Who We Are ===== */
.about-who-we-are {
    padding: 100px 0;
    background: var(--white);
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--navy);
    margin-bottom: 25px;
    font-size: 2.3rem;
}

.about-text p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 25px 15px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.value-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.value-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.about-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===== About Page: Mission & Vision ===== */
.mission-vision-section {
    padding: 100px 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-box,
.vision-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 5px solid transparent;
}

.mission-box {
    border-top-color: var(--gold);
}

.vision-box {
    border-top-color: var(--navy);
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mission-icon,
.vision-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.vision-icon {
    color: var(--navy);
}

.mission-box h3,
.vision-box h3 {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.mission-box p,
.vision-box p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ===== About Page: Founder Section ===== */
.founder-section {
    padding: 100px 0;
    background: var(--white);
}

.founder-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.founder-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.founder-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.founder-info h2 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 2.2rem;
}

.founder-title {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.founder-quote {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    margin-bottom: 40px;
}

.founder-experience {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.experience-item {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.experience-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.experience-item h4 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.experience-item p {
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== About Page: Team Section ===== */
.team-section {
    padding: 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-member {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 30px;
}

.member-info h4 {
    color: var(--navy);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.member-role {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.member-info p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-expertise span {
    background: rgba(212, 175, 55, 0.1);
    color: var(--navy);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Approach Section ===== */
.approach-section {
    padding: 80px 0;
    background: #ffffff;
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
}

/* Connecting line for desktop */
.approach-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, #D4AF37, rgba(212, 175, 55, 0.3));
    z-index: 1;
}

.step-item {
    position: relative;
    text-align: center;
    padding: 50px 15px 25px;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.08);
    border: 1px solid rgba(0, 31, 63, 0.05);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 31, 63, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #D4AF37;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    z-index: 3;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.step-item h3 {
    color: #001F3F;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* Tablet Responsive (992px - 1200px) */
@media (max-width: 1200px) {
    .approach-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
    
    .approach-steps::before {
        display: none;
    }
    
    .step-item {
        min-height: 200px;
        padding: 45px 15px 20px;
    }
    
    .step-item h3 {
        font-size: 1.1rem;
        min-height: 40px;
    }
    
    .step-item p {
        font-size: 0.85rem;
    }
}

/* Tablet Landscape (768px - 992px) */
@media (max-width: 992px) {
    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 15px;
    }
    
    .step-item {
        min-height: 190px;
        padding: 40px 15px 20px;
    }
    
    .step-item h3 {
        font-size: 1.1rem;
        min-height: 35px;
    }
}

/* Tablet Portrait (576px - 768px) */
@media (max-width: 768px) {
    .approach-section {
        padding: 60px 0;
    }
    
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-item {
        padding: 50px 20px 25px;
        min-height: auto;
        max-width: 100%;
    }
    
    .step-number {
        top: -30px;
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .step-item h3 {
        font-size: 1.3rem;
        min-height: auto;
        margin-bottom: 15px;
    }
    
    .step-item p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Remove any vertical line for mobile */
    .approach-steps::before {
        display: none !important;
    }
    
    /* Remove any odd/even margins for mobile */
    .step-item:nth-child(odd),
    .step-item:nth-child(even) {
        margin: 0 !important;
    }
}

/* Mobile (480px - 576px) */
@media (max-width: 576px) {
    .approach-steps {
        gap: 45px;
        max-width: 350px;
    }
    
    .step-item {
        padding: 45px 18px 20px;
    }
    
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .step-item h3 {
        font-size: 1.2rem;
    }
    
    .step-item p {
        font-size: 0.95rem;
    }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
    .approach-section {
        padding: 50px 0;
    }
    
    .approach-steps {
        gap: 40px;
        max-width: 300px;
    }
    
    .step-item {
        padding: 40px 15px 20px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        top: -25px;
    }
    
    .step-item h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .step-item p {
        font-size: 0.9rem;
    }
}

/* Animation for step items */
@keyframes stepAppear {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-item {
    animation: stepAppear 0.6s ease-out forwards;
    opacity: 0;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }
.step-item:nth-child(5) { animation-delay: 0.5s; }

/* ===== Services Page: Main Services ===== */
.services-main {
    padding: 100px 0;
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-detailed-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.service-detailed-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon-large {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.service-detailed-card h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.service-detailed-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features-list {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.service-features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-gray);
}

.service-features-list li i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ===== Services Page: Assistance Section ===== */
.assistance-section {
    padding: 100px 0;
}

.assistance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.assistance-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}

.assistance-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.assistance-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.assistance-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

/* ===== Services Page: Featured Projects ===== */
.featured-projects-section {
    padding: 100px 0;
}

.projects-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-showcase-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.project-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-showcase-image {
    height: 250px;
    overflow: hidden;
}

.project-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-showcase-card:hover .project-showcase-image img {
    transform: scale(1.05);
}

.project-showcase-content {
    padding: 30px;
}

.project-showcase-content h3 {
    color: var(--navy);
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.project-specs-list {
    list-style: none;
}

.project-specs-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray);
}

.project-specs-list li i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ===== Services Page: Property Types ===== */
.property-types-showcase {
    padding: 100px 0;
}

.property-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.property-type-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.property-type-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-type-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.property-type-icon i {
    font-size: 2rem;
    color: var(--gold);
}

.property-type-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

/* ===== Services Page: Why Choose Us ===== */
.why-choose-services {
    padding: 100px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-choose-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.why-choose-item h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.why-choose-item p {
    color: var(--gray);
    margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--gold);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a{
    color: #667eea;
}

/* ===== Animation Classes ===== */
.featured-type-card,
.benefit-card,
.developer-logo,
.stat-item,
.value-item,
.team-member,
.step-item,
.mission-box,
.vision-box,
.service-detailed-card,
.assistance-item,
.project-showcase-card,
.property-type-item,
.why-choose-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.featured-type-card.animate-in,
.benefit-card.animate-in,
.developer-logo.animate-in,
.stat-item.animate-in,
.value-item.animate-in,
.team-member.animate-in,
.step-item.animate-in,
.mission-box.animate-in,
.vision-box.animate-in,
.service-detailed-card.animate-in,
.assistance-item.animate-in,
.project-showcase-card.animate-in,
.property-type-item.animate-in,
.why-choose-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Additional styles for contact page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 60px;
    margin-top: 80px;
}

.contact-info h2 {
    color: var(--navy);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--gold);
}

.contact-details h4 {
    color: var(--navy);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--gray);
    margin-bottom: 0;
}

.business-hours {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 10px;
}

.business-hours h4 {
    color: var(--navy);
    margin-bottom: 15px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
    border-bottom: none;
}

.map-container {
    height: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-direction: column;
    gap: 20px;
}

.map-placeholder i {
    font-size: 3rem;
}

.map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 300px;
}

.map-overlay h4 {
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.required {
    color: #dc3545;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
}

.team-contact {
    background: var(--light-gray);
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-member-contact {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.team-member-contact:hover {
    transform: translateY(-10px);
}

.team-member-contact img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.team-member-contact h4 {
    color: var(--navy);
    margin-bottom: 5px;
}

.team-member-contact p {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-contact-info {
    margin-top: 20px;
}

.team-contact-info a {
    color: var(--navy);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.team-contact-info a:hover {
    color: var(--gold);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 25px;
    }

    .map-overlay {
        position: relative;
        top: 0;
        right: 0;
        max-width: 100%;
        margin-top: 20px;
    }
}

/* ===== Responsive Styles ===== */

/* Large Devices (Desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .expertise-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-content h2 {
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .developers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .expertise-image img {
        height: 350px;
    }

    .about-content-grid,
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .approach-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-image img,
    .founder-image img {
        height: 350px;
    }

    .services-detailed-grid {
        grid-template-columns: 1fr;
    }

    .assistance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-showcase-grid {
        grid-template-columns: 1fr;
    }

    .property-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .nav-list {
        gap: 20px;
    }

    .featured-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .developers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .core-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-experience {
        grid-template-columns: repeat(2, 1fr);
    }

    .assistance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Devices (Mobile Landscape) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-search {
        padding: 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--navy);
        transition: var(--transition);
        padding: 40px 20px;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
        margin-bottom: 15px;
    }

    .nav-list a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .nav-cta {
        margin: 20px 0 0;
        width: 100%;
    }

    .expertise-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .featured-types-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .expertise-description {
        font-size: 1rem;
    }

    .expertise-image img {
        height: 300px;
    }

    .developer-logo {
        height: 80px;
        padding: 15px;
    }

    .developer-logo span {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slider-controls {
        bottom: 20px;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .core-values {
        grid-template-columns: 1fr;
    }

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-experience {
        grid-template-columns: 1fr;
    }

    .mission-box,
    .vision-box {
        padding: 40px 25px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .assistance-grid {
        grid-template-columns: 1fr;
    }

    .property-types-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Devices (Mobile Portrait) */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .slider-controls {
        flex-direction: column;
        gap: 10px;
    }

    .expertise-section,
    .property-types-section,
    .why-choose-section,
    .cta-section,
    .developers-section,
    .about-who-we-are,
    .mission-vision-section,
    .founder-section,
    .team-section,
    .approach-section,
    .services-main,
    .assistance-section,
    .featured-projects-section,
    .property-types-showcase,
    .why-choose-services {
        padding: 60px 0;
    }

    .featured-type-card,
    .benefit-card {
        padding: 30px 20px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .featured-type-icon,
    .benefit-icon {
        width: 70px;
        height: 70px;
    }

    .featured-type-icon i,
    .benefit-icon i {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .developer-logo {
        height: 70px;
        padding: 10px;
    }

    .developer-logo span {
        font-size: 0.9rem;
    }

    .approach-steps {
        grid-template-columns: 1fr;
    }

    .member-image {
        height: 200px;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* Height adjustments for mobile */
@media (max-height: 700px) {
    .hero-slider {
        height: auto;
        min-height: 100vh;
    }

    .hero-content {
        padding: 80px 0 40px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .footer,
    .slider-controls,
    .hero-search,
    .social-links,
    .cta-buttons {
        display: none;
    }

    .hero-slider {
        height: auto;
    }

    .hero-slide {
        position: relative;
        opacity: 1;
        background: none !important;
        color: #000;
    }

    .hero-title,
    .hero-subtitle {
        color: #000;
    }
}

/* ===== FAQ Styles ===== */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--gold-light);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-question i {
    transition: var(--transition);
    font-size: 0.9rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 20px 0;
    margin: 0;
    color: var(--gray);
    border-top: 1px solid #eee;
    line-height: 1.6;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--navy);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
    align-items: center;
    gap: 10px;
}

.success-message i {
    color: #155724;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-container {
        margin: 30px auto 0;
    }

    .faq-question {
        padding: 15px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 15px 0;
        font-size: 0.95rem;
    }
}


/* ===== Gallery Page Styles ===== */

/* Gallery Filters */
.gallery-filters-section {
    padding: 40px 0;
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: 30px;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-light);
}

.filter-btn.active {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

/* Photo Gallery */
.photo-gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 31, 63, 0.9) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.btn-view {
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-view:hover {
    background: var(--gold-dark);
    transform: scale(1.1);
}

.gallery-content {
    padding: 25px;
}

.gallery-content h3 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.gallery-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.gallery-content a{
    color: var(--navy);
    text-decoration: none;
    padding: 10px;
    background-color: var(--gold);
    border-radius: 5px;
}

.property-details {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details i {
    color: var(--gold);
}

/* Video Gallery */
.video-gallery-section {
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.video-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.5rem;
}

.video-play-btn:hover {
    background: var(--gold-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 25px;
}

.video-info h4 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.video-info p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.video-meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-meta i {
    color: var(--gold);
}

/* Property Showcase */
.property-showcase-section {
    padding: 80px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.showcase-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.showcase-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.showcase-image {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-caption {
    padding: 10px 0;
}

.showcase-caption h4 {
    color: var(--navy);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.showcase-caption p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Virtual Tours */
.virtual-tours-section {
    padding: 80px 0;
}

.virtual-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.virtual-tour-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.virtual-tour-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.virtual-tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tour-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tour-icon i {
    font-size: 2.5rem;
    color: var(--gold);
}

.virtual-tour-card h4 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.virtual-tour-card p {
    color: var(--gray);
    margin-bottom: 25px;
}

.virtual-tour-card .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    max-width: 900px;
    width: 100%;
    border-radius: 15px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.2rem;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--navy);
}

.modal-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-caption {
    padding: 30px;
}

.modal-caption h3 {
    color: var(--navy);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.modal-caption p {
    color: var(--gray);
    line-height: 1.8;
}

.modal-video {
    padding: 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    padding: 40px;
    width: 100%;
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.placeholder-content h3 {
    color: var(--navy);
    margin-bottom: 15px;
}

.placeholder-content p {
    color: var(--gray);
    margin-bottom: 10px;
}

.placeholder-content .note {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
    margin-top: 20px;
}

/* Responsive Styles for Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .virtual-tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .virtual-tours-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .modal-content {
        margin: 20px;
    }
    
    .modal-image {
        height: 300px;
    }
    
    .modal-caption {
        padding: 20px;
    }
    
    .modal-video {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .gallery-image {
        height: 200px;
    }
    
    .gallery-content {
        padding: 20px;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .video-info {
        padding: 20px;
    }
    
    .showcase-image {
        height: 180px;
    }
    
    .virtual-tour-card {
        padding: 30px 20px;
    }
    
    .modal-image {
        height: 250px;
    }
}

/* Prevent horizontal scroll on gallery */
@media (max-width: 768px) {
    .gallery-filters-section .container {
        overflow-x: hidden;
    }
}

