/* --- Global Variables & Resets --- */
:root {
    --primary-color: #1a1a1a;
    --accent-gold: #c5a059;
    --text-dark: #333;
    --text-light: #fff;
    --text-gray: #666;
    --bg-light: #fdfdfd;
    --bg-gray: #f4f4f4;
    --bg-dark: #121212;
}

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

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

html {
    scroll-behavior: smooth;
}

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

/* --- Typography & Utilities --- */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-title.left-align {
    text-align: left;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    display: block;
    margin: 15px auto 0;
}

.section-title.left-align::after {
    margin: 15px 0 0;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.text-light {
    color: var(--text-light);
}
.text-light-title {
    color: var(--text-light) !important;
}

.bg-light { background-color: var(--bg-gray); }
.bg-dark { background-color: var(--bg-dark); }
.text-gold { color: var(--accent-gold) !important; }

/* --- Buttons --- */
.btn {
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--text-light);
}

.btn-primary:hover {
    background: #a88748;
}

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.btn-text {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}
.btn-text:hover {
    color: var(--accent-gold);
}

/* --- Navigation --- */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: relative;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 1.2rem 0;
    flex-wrap: nowrap; /* <--- STOPS THE MENU FROM DROPPING BELOW LOGO */
    gap: 2rem; /* Adds a little breathing room between logo and menu */
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.brand-logo {
    height: 250px; /* Increased drastically to make it bold and visible */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); /* Adds depth to the logo */
    display: block;
}

.logo {
    font-size: 1.8rem; /* Much bigger typography */
    font-weight: 900; /* Extra bold */
    font-family: 'Playfair Display', serif; /* Use premium serif font */
    letter-spacing: 2px;
    color: var(--primary-color);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 20px;
}
.btn-nav:hover {
    background: var(--accent-gold);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('https://images.unsplash.com/photo-1541888081636-f0f7bc9e3681?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    /* padding-top: 80px; */
}

.hero-content {
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-in-out;
}

.hero h2 {
    color: var(--text-light);
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Projects/Plots Sections --- */
.projects {
    padding: 6rem 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--bg-light);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-dark {
    background: #1a1a1a;
    color: #eee;
}
.card-dark h3 {
    color: var(--text-light);
}
.card-dark p {
    color: #bbb;
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

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

.card-content {
    padding: 2.5rem;
    position: relative;
    background: inherit;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.9rem;
    color: var(--accent-gold) !important;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content p {
    margin-bottom: 1.5rem;
}

/* --- Founders Section --- */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.founder-card {
    background: var(--bg-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}
.founder-card:hover {
    transform: translateY(-5px);
}

.founder-img {
    height: 600px;
    background-size: cover;
    background-position: top center;
}

.founder-info {
    padding: 2.5rem;
    text-align: center;
    background: #fff;
    flex-grow: 1;
    position: relative;
}

.founder-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.designation {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.founder-quote {
    font-style: italic;
    color: var(--text-gray);
    font-size: 1.1rem;
    position: relative;
    padding-top: 1.5rem;
    line-height: 1.8;
}
.founder-quote::before {
    content: '"';
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.2);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Playfair Display', serif;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #eee;
    text-align: center;
}

.stat-item h2 {
    font-size: 3.5rem;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary-color);
}

/* --- Testimonials / Marquee --- */
.testimonials {
    padding: 6rem 0;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
    background: #111;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.marquee-track {
    display: flex;
    /* 4 cards each group, total 8 cards. Each 400px wide + 2rem gap (32px). */
    width: max-content;
    animation: scroll 25s linear infinite;
    gap: 2rem;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    width: 400px;
    flex-shrink: 0;
    background: #1a1a1a;
    padding: 2.5rem;
    border-left: 3px solid var(--accent-gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.testimonial-card .quote {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #eee;
    line-height: 1.7;
}

.testimonial-card h4 {
    color: var(--accent-gold);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    /* Slide over exactly one set of 4 cards: (400px width + 2rem/32px gap) * 4 = 1728px */
    100% { transform: translateX(calc(-400px * 4 - 2rem * 4)); }
}

/* --- Footer & Contact --- */
.footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 5rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--accent-gold);
}

.footer-info p {
    color: #aaa;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #ccc;
    font-size: 1.05rem;
}
.contact-details strong {
    color: var(--accent-gold);
}

.footer-form {
    background: #222;
    padding: 2.5rem;
}

.footer-form h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.footer-form input, .footer-form select {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 1rem;
    background: #333;
    border: 1px solid #444;
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
}

.footer-form input:focus, .footer-form select:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.footer-form .btn {
    width: 100%;
    text-align: center;
}

.footer-bottom {
    background: #111;
    text-align: center;
    padding: 1.5rem 0;
    color: #777;
    font-size: 0.9rem;
}

/* --- Responsive Design for Tablets & Mobiles --- */
@media (max-width: 1024px) {
    .section-title { font-size: 2.4rem; }
    .hero h2 { font-size: 3.5rem; }
    .founders-grid { gap: 2rem; }
    .stats { gap: 3rem; }
}

@media (max-width: 900px) {
    .nav-container { flex-direction: column; gap: 1rem; }
    .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; } /* Shows nav links instead of hiding */
    .hero h2 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .about-grid, .footer-grid, .founders-grid { grid-template-columns: 1fr; gap: 2rem; }
    .card-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stats { flex-wrap: wrap; justify-content: center; gap: 2rem; }
    .founder-img { height: 350px; }
}

@media (max-width: 600px) {
    .brand-logo { height: 45px; } /* Shrink logo slightly on mobile */
    .logo { font-size: 1.6rem; }
    .nav-links a { font-size: 0.8rem; }
    .hero-content { padding-top: 100px; } /* Avoid nav overlap */
    .hero h2 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .btn { padding: 12px 24px; font-size: 0.85rem; }
    
    .section-heading { margin-bottom: 2rem; }
    .section-title { font-size: 2rem; }
    .subtitle { font-size: 0.95rem; }
    
    .founder-info { padding: 1.5rem; }
    .founder-info h3 { font-size: 1.5rem; }
    .stat-item h2 { font-size: 2.5rem; }
    
    .footer-form { padding: 1.5rem; }
    .contact-details p { font-size: 0.95rem; }
}

@media (max-width: 480px) {
    .logo-wrapper { flex-direction: column; gap: 5px; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 0.75rem; }
    .testimonial-card { width: 300px; padding: 1.5rem; } /* Shrink marquee cards */
    .marquee-track { gap: 1rem; }
}
