                        /* style.css - Gupta Properties PERFECT SIZING & PROFESSIONAL DESIGN */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2c5aa0;
    --secondary: #ff6b35;
    --success: #28a745;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('background-flat.jpg') center/cover fixed;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* MAIN LOGO AREA */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    margin-right: 10px;
}

/* TEXT: Gupta Properties + Mithilesh Gupta */
.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary);
}

.logo-text span {
    margin-top: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--secondary);
}

/* MOBILE logo थोड़ा compact */
@media (max-width: 480px) {
    .logo img {
        height: 46px;
    }

    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 90px;
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    max-width: 700px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.cta-btn {
    background: linear-gradient(45deg, var(--secondary), var(--success));
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Sections */
.services,
.offices,
.properties,
.contact {
    padding: 90px 0;
}

.services { background: rgba(255,255,255,0.95); }
.offices { background: var(--light); }
.properties { background: var(--white); }

/* Section titles */
h2 {
    text-align: center;
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 4rem;
    color: var(--dark);
    position: relative;
}

h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.service-card i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Offices */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

/* ===============================
   OFFICE CARD – FINAL CORRECT CSS
   =============================== */

.office-card {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: auto;              /* ✅ auto height */
    overflow: hidden;          /* ✅ clean edges */
}

/* ===============================
   OFFICE INFO (ADDRESS / PHONE / EMAIL)
   =============================== */

.office-info {
    padding: 20px;
}

.office-info p {
    margin: 10px 0;
    color: #1a1a1a;
    font-size: 1.05rem;
    line-height: 1.5;
    display: block;
}

/* phone / email label */
.office-info p strong {
    color: #2c5aa0;
    font-weight: 700;
}

/* ===============================
   OFFICE IMAGES
   =============================== */

.office-photos {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    margin-bottom: 15px;
}

.office-photos img {
    width: calc(33.33% - 6px);
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ===============================
   GOOGLE MAP
   =============================== */

.office-map {
    margin-top: 10px;
    padding: 0 20px;
    width: 100%;
    height: 220px;
}

.office-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    display: block;
}

/* ===============================
   MOBILE FIX
   =============================== */

@media (max-width: 768px) {

    .office-photos img {
        height: 130px;
    }

    .office-map {
        height: 200px;
    }

    .office-info p {
        font-size: 1rem;
    }
}


/* Properties tabs */
.properties-tabs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    border: 3px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    min-width: 140px;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Property card (flats / shops) */
.property-card {
    background: var(--light);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    max-width: 900px;
    margin: 0 auto 3rem;
    display: flex;
    min-height: 360px;
}

.property-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.property-video {
    width: 50%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    background: #000;
}

.property-details {
    width: 50%;
    padding: 2.5rem 2.7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.property-details h3 {
    font-size: 1.9rem;
    margin-bottom: 1.3rem;
    color: var(--dark);
}

.property-details p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.property-details ul {
    list-style: none;
    margin-bottom: 2rem;
}

.property-details li {
    padding: 0.65rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid #eee;
}

.property-btn {
    background: var(--success);
    color: var(--white);
    padding: 16px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    width: 100%;
}

.property-btn:hover {
    background: #218838;
    transform: translateY(-3px);
}

/* Plots grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.plot-card {
    background: var(--white);
    padding: 2.2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plot-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.plot-card h4 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.plot-card p {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.plot-card video,
.plot-video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    background: #000;
}

.plots-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.9rem;
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    padding: 15px 25px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 600;
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
}

.contact-form {
    background: rgba(255,255,255,0.15);
    padding: 3rem;
    border-radius: 25px;
    backdrop-filter: blur(15px);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 1.8rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.contact-form button {
    width: 100%;
    background: var(--success);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
}

.contact-form button:hover {
    background: #218838;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 3rem 0 2rem;
}

footer .social-links {
    justify-content: center;
    margin-top: 2rem;
    gap: 2rem;
}

footer .social-links a {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Scroll reveal */
section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .property-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 3rem 0;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .property-card {
        flex-direction: column;
    }

    .property-video,
    .property-details {
        width: 100%;
    }

    .property-video {
        height: 250px;
        max-height: none;
    }

    .property-details {
        padding: 2rem 1.7rem 2.3rem;
    }

    .properties-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .tab-btn {
        width: 250px;
    }

    /* Mobile par bhi office images horizontal hi rahengi */
    .office-photos {
        flex-direction: row;
    }

    .office-photos img {
        width: calc(33.33% - 5px);
        height: 140px;
        margin-bottom: 0;
    }

    .offices-grid {
        grid-template-columns: 1fr;
    }

    .office-card {
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .services-grid,
    .offices-grid {
        grid-template-columns: 1fr;
    }

    .property-details h3 {
        font-size: 1.5rem;
    }

    .plot-card {
        min-height: 210px;
    }
}
            