/* --- 1. Global Setup and Typography --- */
:root {
    --color-white: #FFFFFF;
    --color-primary-blue: #1E90FF; /* Primary Dodger Blue (New) */
    --color-teal-accent: #40E0D0; /* Fresh Teal Accent (Retained) */
    --color-light-grey-bg: #FDFDFD; 
    --color-text-dark: #333333;
    --color-text-light: #666666;
	--color-logo-purple: #771667;
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-text-dark);
    line-height: 1.7;
    background-color: var(--color-white);
}

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

h2 {
    font-size: 2.2em;
    text-align: center;
    color: var(--color-primary-blue); /* Updated Blue */
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 40px;
}
h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-teal-accent);
    border-radius: 5px;
}

.soft-burgundy-text { color: var(--color-primary-blue) !important; } /* Updated Blue */
.teal-text { color: var(--color-teal-accent) !important; }
.white-text { color: var(--color-white) !important; }

/* --- 2. Buttons and Links (Retained Teal) --- */
.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-light);
}

.btn-primary { background-color: var(--color-teal-accent); color: var(--color-white); }
.btn-primary:hover { background-color: #38c8be; transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); }
.btn-submit { background-color: var(--color-teal-accent); color: var(--color-white); width: 100%; margin-top: 15px; }
.btn-submit:hover { background-color: #38c8be; transform: translateY(-2px); }


/* --- 3. Navigation Bar (White Banner Style with Dummy Logo Image) --- */
.navbar {
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* CORRECTED: Targets the class used in index.html to set the White background */
.sky-blue-banner {
    background-color: var(--color-white); /* White top banner */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    /* Logo text/container color is now dark to be visible on white banner */
    color: var(--color-logo-purple); 
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 1.1;
    display: flex; /* Added for logo image alignment */
    align-items: center; /* Added for logo image alignment */
}

/* NEW: Style for the text wrapper */
.navbar .logo .logo-text-wrapper {
    /* Since the parent (.logo) is flex, this div is the second item (next to the image). */
    /* By default, div is display: block, making logo-main and logo-subtext stack. */
    /* We just ensure minimal spacing. */
    line-height: 1.1;
}

/* NEW: Dummy Logo Image Placeholder */
.navbar .logo img {
    height: 100px; /* Adjust size as needed */
    width: auto;
    margin-right: 10px;
    /* This assumes you'll use an <img> tag inside the .logo div in your HTML */
}

/* NEW: Style for the main logo text (EEZEEFI) - Color updated for white banner */
.navbar .logo .logo-main {
	font-family: Georgia, serif;
    letter-spacing: 7px;
	font-size: 1.6em;
    font-weight: 700;
    display: block;
	text-align: center;
    color: var(--color-logo-purple); /* Updated Logo Color */
}

/* NEW: Style for the subtext (Real Estate & Finance Advisory) - Color updated for white banner */
.navbar .logo .logo-subtext {
	font-family: Georgia, serif;
    font-size: 0.7em; 
    font-weight: 700;
    display: block;
    margin-top: -5px; 
    color: var(--color-logo-purple); /* Darker text for visibility */
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li a {
    /* Link color is now dark to be visible on white banner */
    color: var(--color-text-dark);
    text-decoration: none;
    padding: 10px 18px;
    font-weight: 500;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 5px;
}

.navbar ul li a:hover {
    color: var(--color-primary-blue); /* Updated Blue */
    background-color: #e0e0e0; /* Light background on hover for white banner */
}

/* --- 4. Hero Section (Adjusted for better image visibility and white text) --- */
.hero-section {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 80px 0;
    overflow: hidden; 
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 1s ease-in-out;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    flex-shrink: 0; 
    opacity: 0; 
    transition: opacity 1s ease-in-out;
    position: absolute; 
    top: 0;
    left: 0;
}

.carousel-img.active {
    opacity: 1; 
}


.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reduced opacity to see images largely, set to a darker color for white text */
    background-color: rgba(0, 0, 0, 0.3); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-left: 0;
}

.hero-content h1 { 
    font-size: 3.2em; 
    color: var(--color-white); /* White text on top of images */
    line-height: 1.2; 
    margin-bottom: 15px; 
    font-weight: 700; 
}

.hero-content .tagline { 
    font-size: 1.4em; 
    color: var(--color-white); /* White text on top of images */
    font-weight: 500; 
    margin-bottom: 25px; 
}

.hero-content .subtext { 
    margin-bottom: 40px; 
    font-weight: 300; 
    font-size: 1.1em; 
    color: var(--color-white); /* White text on top of images */
}


/* --- 5. General Section Styles (Retained) --- */
.section { padding: 100px 0; background-color: var(--color-white); }
.expertise-section, .projects-section, .team-section { background-color: var(--color-light-grey-bg); }

/* --- 6. Core Expertise (Updated Blue) --- */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.service-card { text-align: left; padding: 40px; background-color: var(--color-white); border-radius: 10px; box-shadow: var(--shadow-light); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); }
.service-card i { font-size: 3.5em; color: var(--color-primary-blue); margin-bottom: 20px; display: block; } /* Updated Blue */
.service-card h3 { color: var(--color-text-dark); font-size: 1.6em; margin-bottom: 15px; }
.service-card p { color: var(--color-text-light); margin-bottom: 20px; }
.service-card ul { list-style: none; padding-left: 0; }
.service-card ul li { padding: 8px 0; font-size: 1em; color: var(--color-text-light); display: flex; align-items: center; }
.service-card ul li i { font-size: 1em; margin-right: 10px; margin-bottom: 0; }


/* --- 7. Thematic Banner Section (Updated Blue BG) --- */
.thematic-banner {
    background-color: var(--color-primary-blue); /* Updated Blue */
    padding: 60px 0;
    text-align: center;
}

.thematic-banner h3 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-white);
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.banner-item {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); 
    border-radius: 8px;
    transition: background-color 0.3s;
}
.banner-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.banner-item i {
    font-size: 3em;
    color: var(--color-teal-accent); 
    margin-bottom: 15px;
}

.banner-item h4 {
    color: var(--color-white);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.banner-item p {
    color: #f0f0f0; 
}

/* --- 8. Projects Section (Updated Blue) --- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin: 40px 0; text-align: center; }
.stat-card { padding: 30px; background-color: var(--color-white); border-radius: 10px; box-shadow: var(--shadow-light); }
.stat-number { font-size: 3em; font-weight: 700; color: var(--color-teal-accent); display: block; margin-bottom: 5px; }
.testimonial-card { max-width: 800px; margin: 60px auto 0 auto; padding: 40px; background-color: var(--color-white); 
    border-left: 6px solid var(--color-primary-blue); /* Updated Blue */
    border-radius: 10px; box-shadow: var(--shadow-light); }
.testimonial-card blockquote { font-size: 1.3em; font-style: italic; color: var(--color-text-dark); margin-bottom: 15px; line-height: 1.5; }
.testimonial-card .quote-source { text-align: right; font-weight: 600; font-style: normal; color: var(--color-primary-blue); } /* Updated Blue */


/* --- 9. Leadership Team Section (Updated Blue) --- */
.team-section { padding-bottom: 100px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.team-member { text-align: center; background-color: var(--color-white); padding: 30px; border-radius: 10px; box-shadow: var(--shadow-light); }
.profile-img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 4px solid var(--color-teal-accent); }
.team-member h4 { color: var(--color-primary-blue); font-size: 1.4em; margin-bottom: 5px; } /* Updated Blue */
.team-member .title { color: var(--color-text-light); font-weight: 500; margin-bottom: 15px; display: block; }
.team-member .bio { font-size: 0.9em; color: var(--color-text-light); }

/* --- 10. Contact Section (Updated Blue) --- */
.contact-section { background-color: var(--color-light-grey-bg); padding-bottom: 100px; }
.contact-section h2 { color: var(--color-primary-blue); } /* Updated Blue */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-top: 40px; }
.contact-form { background-color: var(--color-white); padding: 40px; border-radius: 10px; box-shadow: var(--shadow-light); }
.contact-form h3 { color: var(--color-primary-blue); text-align: center; margin-bottom: 30px; } /* Updated Blue */
.contact-form input, .contact-form select { width: 100%; padding: 14px; margin-bottom: 15px; border: 1px solid #e0e0e0; border-radius: 5px; font-size: 1em; color: var(--color-text-dark); background-color: #fcfcfc; }
.contact-info { padding: 20px 0; }
.contact-info h4 { font-size: 1.6em; margin-bottom: 25px; color: var(--color-primary-blue); } /* Updated Blue */
.contact-info p { margin-bottom: 18px; font-size: 1.05em; color: var(--color-text-light); }
.contact-info i { margin-right: 12px; color: var(--color-teal-accent); }
.social-icons { margin-top: 30px; }
.social-icons a { color: var(--color-primary-blue); font-size: 1.8em; margin-right: 15px; transition: color 0.3s ease; } /* Updated Blue */
.social-icons a:hover { color: var(--color-teal-accent); }

/* --- 11. Footer (Retained) --- */
footer { background-color: #f0f0f0; color: var(--color-text-light); padding: 25px 0; text-align: center; font-size: 0.9em; border-top: 1px solid #e8e8e8; }
footer .disclaimer { margin-top: 10px; font-size: 0.8em; color: #999999; }

/* --- 12. Responsive Adjustments (Retained) --- */
@media (max-width: 992px) {
    .hero-section { min-height: 60vh; }
    .banner-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info { text-align: center; margin-top: 40px; }
    .contact-info p { justify-content: center; display: flex; align-items: center; }
}

@media (max-width: 600px) {
    .navbar ul { display: none; }
    .hero-section { min-height: 60vh; text-align: center; }
    .hero-content { max-width: 90%; margin: 0 auto; padding: 0; }
    .hero-content h1 { font-size: 1.8em; line-height: 1.3; }
    .hero-content .tagline { font-size: 1em; }
    h2 { font-size: 1.6em; }
    .service-card, .value-item, .stat-card, .testimonial-card, .contact-form { padding: 30px 20px; }
}