/* =========================
   NEXZEN LUXURY THEME
========================= */

:root {

    --navy: #0B2D5C;
    --gold: #C9A24A;
    --white: #ffffff;
    --light: #f8f9fb;
    --text: #333333;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {

    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;

}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* =========================
   LOADER
========================= */

.loader {

    position: fixed;
    inset: 0;
    background: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 99999;

}

.loader img {

    width: 180px;

}

.loader-line {

    width: 0;
    height: 3px;

    background: var(--gold);

    margin-top: 25px;

    animation: loading 2s linear forwards;

}

@keyframes loading {

    100% {
        width: 220px;
    }

}

/* =========================
   PROGRESS BAR
========================= */

.progress-bar {

    position: fixed;
    top: 0;
    left: 0;

    width: 0%;
    height: 4px;

    background: var(--gold);

    z-index: 9999;

}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 60px;

    z-index: 1000;
    transition: .4s;

    background: white;
    height: 90px;
}

.logo {
    flex-shrink: 0;
}

.nav-links {
    margin-left: auto;
}

.navbar.scrolled {

    background: white;

    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);

}

.logo img{
    height:70px;
    width:auto;
    display:block;
}


.nav-links {

    display: flex;
    gap: 35px;

    list-style: none;

}

.nav-links a {

    color: var(--navy);

    font-weight: 500;

    transition: .3s;

}

.nav-links a:hover {

    color: var(--gold);

}

.menu-btn {

    display: none;

}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-top: 110px;
}

.hero-slider {

    position: absolute;
    inset: 0;

}

.slide {

    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;

    opacity: 0;

    transition: 1.5s;

}

.slide.active {

    opacity: 1;

}

.hero-overlay {

    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, .55);

    z-index: 1;

}

.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    width: 90%;
    max-width: 1000px;
    margin: auto;
}

.hero-logo {

    width: 250px;
    height:auto;
    margin-bottom:10px;

}

.hero h1 {

    font-family: 'Playfair Display', serif;

    color: var(--navy);

    font-size: 58px;

    line-height: 1.1;

    max-width: 900px;

}

.hero p {

    margin-top: 25px;

    font-size: 20px;

    color: #555;

    max-width: 700px;

}

.hero-buttons {

    margin-top: 35px;

    display: flex;
    gap: 20px;

}

/* =========================
   BUTTONS
========================= */

.btn-primary {

    background: var(--gold);

    color: white;

    padding: 16px 34px;

    border-radius: 50px;

    font-weight: 600;

    transition: .4s;

}

.btn-primary:hover {

    transform: translateY(-4px);

    box-shadow: 0 15px 30px rgba(201, 162, 74, .35);

}

.btn-secondary {

    border: 2px solid var(--navy);

    color: var(--navy);

    padding: 16px 34px;

    border-radius: 50px;

    font-weight: 600;

    transition: .4s;

}

.btn-secondary:hover {

    background: var(--navy);

    color: white;

}

/* =========================
   SECTION TITLES
========================= */

.section-title {

    text-align: center;

    margin-bottom: 70px;

}

.section-title span {

    color: var(--gold);

    letter-spacing: 3px;

    font-size: 14px;

    font-weight: 600;

}

.section-title h2 {

    font-family: 'Playfair Display', serif;

    color: var(--navy);

    font-size: 54px;

    margin-top: 12px;

}

/* =========================
   ABOUT
========================= */

.about {

    padding: 120px 0;

}

.about-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

}

.about-text p {

    margin-bottom: 22px;

    line-height: 1.9;

    font-size: 17px;

}

.about-image img {

    border-radius: 24px;

    box-shadow: 0 25px 60px rgba(0, 0, 0, .08);

}

/* =========================
   STATS
========================= */

.stats {

    padding: 90px 5%;

    background: var(--light);

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.stat-box {

    background: white;

    padding: 40px;

    border-radius: 20px;

    text-align: center;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);

}

.stat-box h2 {

    color: var(--gold);

    font-size: 54px;

}

.stat-box p {

    color: var(--navy);

    margin-top: 10px;

}

/* =========================
   SERVICES
========================= */

.services {

    padding: 120px 6%;

    background: white;

}

.service-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.service-card {

    background: white;

    padding: 40px 30px;

    border-radius: 24px;

    text-align: center;

    border: 1px solid rgba(11, 45, 92, .08);

    transition: .4s;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .04);

}

.service-card:hover {

    transform: translateY(-12px);

    border-color: var(--gold);

    box-shadow: 0 25px 50px rgba(201, 162, 74, .18);

}

.service-card h3 {

    color: var(--navy);

    margin-bottom: 15px;

    font-size: 24px;

}

.service-card p {

    line-height: 1.8;

}

/* =========================
   PROJECTS
========================= */

.projects {

    padding: 120px 6%;

    background: var(--light);

}

.projects-slider {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.project-card {

    position: relative;

    overflow: hidden;

    border-radius: 24px;

    cursor: pointer;

}

.project-card img {

    width: 100%;

    height: 350px;

    object-fit: cover;

    transition: .7s;

}

.project-card:hover img {

    transform: scale(1.1);

}

.project-overlay {

    position: absolute;

    bottom: 0;
    left: 0;
    right: 0;

    padding: 25px;

    background: linear-gradient(transparent,
            rgba(0, 0, 0, .8));

}

.project-overlay h3 {

    color: white;

    font-size: 22px;

}

/* =========================
   WHY US
========================= */

.why-us {

    padding: 120px 6%;

}

.why-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

}

.why-card {

    background: white;

    padding: 35px;

    border-radius: 20px;

    text-align: center;

    transition: .4s;

    box-shadow: 0 10px 35px rgba(0, 0, 0, .05);

}

.why-card:hover {

    transform: translateY(-10px);

}

.why-card h3 {

    color: var(--navy);

    margin-bottom: 15px;

}

/* =========================
   PROCESS
========================= */

.process {

    padding: 120px 6%;

    background: var(--light);

}

.timeline {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 20px;

}

.step {

    text-align: center;

    position: relative;

}

.step span {

    width: 80px;

    height: 80px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: auto;

    background: var(--gold);

    color: white;

    font-size: 26px;

    border-radius: 50%;

    font-weight: 700;

}

.step h3 {

    margin-top: 18px;

    color: var(--navy);

}

/* =========================
   GALLERY
========================= */

.gallery {

    padding: 120px 6%;

}

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 20px;

}

.gallery-grid img {

    width: 100%;

    border-radius: 20px;

    transition: .5s;

    cursor: pointer;

}

.gallery-grid img:hover {

    transform: scale(1.05);

}

/* =========================
   TESTIMONIALS
========================= */

.testimonials {

    padding: 120px 6%;

    background: var(--light);

}

.testimonial-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

}

.testimonial-card {

    background: white;

    padding: 40px;

    border-radius: 24px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, .05);

}

.testimonial-card p {

    line-height: 1.8;

    margin-bottom: 20px;

}

.testimonial-card h4 {

    color: var(--gold);

}

/* =========================
   CONTACT
========================= */

.contact {
    padding: 80px 5%;
    background: #fff;
}

.contact-wrapper {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: start;
    /* Prevents stretching */

}

.contact-info h2 {

    font-family: 'Playfair Display', serif;

    color: var(--navy);

    font-size: 52px;

    margin-bottom: 20px;

}

.contact-item {
    margin-top: 20px;
    line-height: 1.8;
    word-break: break-word;
    /* Forces long strings to wrap */
}

.contact-form {

    background: white;

    padding: 40px;

    border-radius: 24px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);

    min-width: 0;
    /* Important: This allows the grid item to shrink properly */

}

.contact-form form {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.contact-form input,
.contact-form textarea {

    padding: 18px;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-family: 'Poppins', sans-serif;

}

.contact-form textarea {

    min-height: 180px;

    resize: none;

}

.contact-form button {

    background: var(--gold);

    color: white;

    border: none;

    padding: 18px;

    border-radius: 50px;

    cursor: pointer;

    font-weight: 600;

}

/* =========================
   FOOTER
========================= */

footer {

    background: var(--navy);

    color: white;

    padding: 80px 6%;

    text-align: center;

}

.footer-logo {

    width: 180px;

    margin: auto;

    margin-bottom: 20px;

}

.footer-links {

    display: flex;

    justify-content: center;

    gap: 25px;

    margin: 30px 0;

}

.footer-links a {

    color: white;

}

.copyright {

    opacity: .8;

}

/* =========================
   FLOATING BUTTONS
========================= */

.whatsapp-btn {

    position: fixed;

    bottom: 25px;
    right: 25px;

    background: #25D366;

    color: white;

    padding: 15px 22px;

    border-radius: 50px;

    font-weight: 600;

    z-index: 999;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);

}

.top-btn {

    position: fixed;

    bottom: 90px;
    right: 25px;

    width: 50px;
    height: 50px;

    background: var(--gold);

    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 24px;

    z-index: 999;

}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1024px) {

    .service-grid,
    .projects-slider,
    .why-grid,
    .testimonial-grid,
    .contact-wrapper {
        /* Add this class here */
        grid-template-columns: repeat(2, 1fr);
    }

    /* Force contact-wrapper to stack specifically */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 54px;
    }
}

.timeline {

    grid-template-columns: repeat(3, 1fr);

}

.contact-wrapper {

    grid-template-columns: 1fr;

}

.hero h1 {

    font-size: 54px;

}



@media(max-width:768px) {

    .nav-links {

        display: none;

    }

    .menu-btn {

        display: block;

        color: var(--navy);

        font-size: 28px;

    }

    .about-grid,
    .service-grid,
    .projects-slider,
    .why-grid,
    .testimonial-grid,
    .timeline {

        grid-template-columns: 1fr;

    }

    .stats {

        grid-template-columns: 1fr 1fr;

    }

    .hero h1 {

        font-size: 42px;

    }

    .hero p {

        font-size: 16px;

    }

    .hero-buttons {

        flex-direction: column;

    }

    .section-title h2 {

        font-size: 36px;

    }

    .contact-info h2 {

        font-size: 38px;

    }

}

@media(max-width:480px) {

    .stats {

        grid-template-columns: 1fr;

    }

    .hero h1 {

        font-size: 34px;

    }

    .logo img {

        height: 45px;

    }

}



.contact{
    padding:120px 5%;
}

.contact-wrapper{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:start;
}

.contact-info h2{
    font-size:58px;
    line-height:1.2;
    margin-bottom:30px;
}

.contact-item{
    margin-bottom:25px;
}

.contact-form{
    margin-top:40px;
}



/* ===== LOCATION SECTION ===== */

.location{
    padding:100px 5%;
    background:#f8f9fb;
    text-align:center;
}

.location{
    margin-top: 0;
}

.location h2{
    font-size:42px;
    margin-bottom:15px;
    color:#0B2D5C;
}

.location p{
    color:#666;
    margin-bottom:40px;
}

.map-container{
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

.map-container iframe{
    display:block;
    width:100%;
    height:450px;
    border:none;
}



.contact{
    padding: 60px 5% !important;
    min-height: auto !important;
    height: auto !important;
}

.contact-info h2,
.location h2{
    font-family: 'Playfair Display', serif;
}




@media (max-width: 768px){

    .contact-wrapper{
        display:flex;
        flex-direction:column;
        gap:30px;
    }

    .contact-form{
        width:100%;
        margin-top:0;
    }

    .contact-form form{
        width:100%;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button{
        width:100%;
    }

}


