/* =========================================================
   PHANTOM REALTY - HERO SECTION
========================================================= */


/* =========================================================
   HERO MAIN SECTION
========================================================= */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    /* min-height: 650px; */
    overflow: hidden;
    background: #f4f1eb;
}


/* =========================================================
   HERO CAROUSEL
========================================================= */

.hero-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* =========================================================
   HERO SLIDES
========================================================= */

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 1s ease-in-out,
        visibility 1s ease-in-out;
    z-index: 1;
}


.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.hero-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(255, 250, 242, 0.10);

    z-index: 3;

    pointer-events: none;
}


/* =========================================================
   EXISTING HEADER - PLACE OVER HERO
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* background: transparent; */
    background: rgba(255, 255, 255, 0.35);
    border-bottom: 0px solid rgba(0, 0, 0, 0.08);
    /* backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(1px); */
    transition: all 0.3s ease;
}


/* =========================================================
   HEADER CONTAINER
========================================================= */

.header .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.header .logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}


.header .logo img {
    display: block;
    width: auto;
    max-width: 70%;
    height: auto;
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}


.main-menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}


.main-menu ul li {
    margin: 0;
    padding: 0;
}


.main-menu ul li a {
    position: relative;
    display: inline-block;
    padding: 20px 0;
    color: #784B3A;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}


.main-menu ul li a:hover {
    color: #f58220;
}


.main-menu ul li a.active {
    color: #f58220;
}


/* =========================================================
   NAV ACTIVE LINE
========================================================= */

.main-menu ul li a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 22px;

    width: 0;
    height: 1px;

    background: #f58220;

    transition: width 0.3s ease;
}


.main-menu ul li a:hover::after,
.main-menu ul li a.active::after {
    width: 100%;
}


/* =========================================================
   HEADER RIGHT
========================================================= */

.header-right {
    display: flex;

    align-items: center;
    justify-content: flex-end;
}


/* =========================================================
   MENU TOGGLE
========================================================= */

.menu-toggle {
    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    border: 1px solid rgba(0, 0, 0, 0.12);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.80);

    cursor: pointer;

    transition: all 0.3s ease;
}


.menu-toggle span {
    display: block;

    width: 14px;
    height: 1px;

    background: #673a29;

    transition: all 0.3s ease;
}


.menu-toggle:hover {
    background: #f58220;
    border-color: #f58220;
}


.menu-toggle:hover span {
    background: #fff;
}

/* Hero Carousel Wrapper Position */
.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Arrow Buttons Styling */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  /* font-size: 24px; */
  width: 40px;
  height: auto;
  padding: 5px 5px;
  /* border-radius: 50%; */
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.hero-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev-arrow {
  left: 20px;
}

.next-arrow {
  right: 20px;
}
/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: absolute;
    top: 35%;
    left: 6%;
    transform: translate(-6%, -35%);
    z-index: 10;
    width: 70%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Use 'center' to center text/items inside, or 'flex-start' if you want left-aligned text */
    padding-left: 0; /* Removed left padding since it's now centered */
}


/* =========================================================
   HERO TEXT BOX
========================================================= */

.hero-text-box {
    width: 750px;
    max-width: 100%;
    height: 260px;
    padding: 25px 25px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   SMALL HERO TEXT
========================================================= */

.hero-small-text {
    margin-bottom: 10px;
    color: #673a29;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0;
}


/* =========================================================
   HERO HEADING
========================================================= */

.hero-text-box h1 {
    margin: 0 0 10px;
    color: #673a29;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
    /* line-height: 1.08; */
    /* letter-spacing: -0.5px; */
    text-transform: uppercase;
}
.hero-text-box h1 span{
    font-size: 35px;
    color: #E67E22;
}

.hero-banner h1{
    color: #673a29;
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
}
.hero-banner h1 span{
    font-size: 35px;
    color: #E67E22;
}
.about-hero-content h1{
    background: rgb(255 255 255 / 70%);
    padding: 1rem;
}

/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-text-box p {
    margin: 0;
    color: #673a29;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}


/* =========================================================
   COMMON BUTTON
========================================================= */

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    height: 43px;
    padding: 0 22px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.hero-buttons .btn-primary {
    color: #fff;
    background: #E67E22;
    border: 1px solid #E67E22;
}


.hero-buttons .btn-primary:hover {
    color: #fff;
    background: #E67E22;
    border-color: #E67E22;
    transform: translateY(-2px);
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.hero-buttons .btn-secondary {
    color: #673a29;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.15);
}


.hero-buttons .btn-secondary:hover {
    color: #fff;
    background: #673a29;
    border-color: #673a29;
    transform: translateY(-2px);
}


/* =========================================================
   CAROUSEL DOTS
========================================================= */

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 8.5rem;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
}


.hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
}


.hero-dot.active {
    width: 25px;
    border-radius: 10px;
    background: #f58220;
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}


.mobile-menu.active {
    right: 0;
}


.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 25px;
    border-bottom: 1px solid #eee;
}


.mobile-logo img {
    width: 125px;
    height: auto;
}


.close-menu {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}


.close-menu:hover {
    color: #fff;
    background: #f58220;
}


.mobile-navigation {
    padding: 30px 25px;
}


.mobile-navigation ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


.mobile-navigation ul li {
    border-bottom: 1px solid #eee;
}


.mobile-navigation ul li a {
    display: block;
    padding: 17px 0;
    color: #673a29;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}


.mobile-navigation ul li a:hover,
.mobile-navigation ul li a.active {
    color: #f58220;
}


/* =========================================================
   MOBILE OVERLAY
========================================================= */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}


.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   BODY WHEN MOBILE MENU OPEN
========================================================= */

body.menu-open {
    overflow: hidden;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199px) {

    .header .container-fluid {
        padding-left: 25px;
        padding-right: 25px;
    }

    /* .hero-section{height: 56vh;} */

    .main-menu ul li a{font-size: 14px;}
    .developers h2 {
        font-size: 1.75rem;
    }
    .main-menu ul {
        gap: 13px;
    }
    .hero-text-box h1{font-size: 26px;}
    .hero-text-box h1 span{font-size: 30px;}

    .hero-content {
        padding-left: 5%;
        width: 80%;
    }


    .hero-text-box {
        width: 450px;
        height: 100%;
    }

}


/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 991px) {
    .hero-section {
        height: 52vh;
        /* height: 450px; */
    }
    .hero-text-box {
        width: 450px;
        height: 85%;
    }
    .hero-content {
        padding-left: 8%;
    }
}

@media (max-width: 768px) {

    .hero-section {
        height: 100vh;
        /* height: 450px; */
    }

    .header {
        background: rgba(255, 255, 255, 0.94);
    }


    .header .container-fluid {
        padding-left: 18px;
        padding-right: 18px;
    }


    .header .logo img {
        max-width: 125px;
    }


    .header-right {
        padding-right: 0;
    }


    .hero-content {
        justify-content: center;
        left: 12%;
        padding: 100px 20px 70px;
    }


    .hero-text-box {
        width: 100%;
        height: 100vh;
        max-width: 500px;
        padding: 22px 22px 24px;
    }


    .hero-text-box h1 {
        font-size: 24px;
    }


    .hero-small-text {
        font-size: 12px;
    }


    .hero-text-box p {
        font-size: 12px;
    }


    .hero-buttons {
        margin-top: 20px;
    }


    .hero-buttons a {
        min-width: 130px;
        height: 42px;
    }


    .hero-slide img {
        object-position: center center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 575px) {

    .hero-section {
        height: 80vh;
    }
    .hero-arrow {width: 30px;}
    .prev-arrow { left: 15px; }
    .next-arrow { right: 15px; }
    .header .logo img {
        max-width: 115px;
    }


    .menu-toggle {
        width: 38px;
        height: 38px;
    }


    .hero-content {
        padding: 15px 10px;
        width: 80%;
        height: 260px;
    }


    .hero-text-box {
        padding: 20px 18px 22px;
        height: 300px;
    }


    .hero-text-box h1 {
        font-size: 20px;

        line-height: 1.12;
    }


    .hero-small-text {
        margin-bottom: 12px;

        font-size: 11px;
    }

    .hero-text-box h1 span{
        font-size: 20px;
        color: #E67E22;
    }
    .hero-text-box p {
        font-size: 11px;

        line-height: 1.5;
    }

    .developer-subtitle {
        margin-bottom: 0px;
    }
    .hero-buttons {
        width: 100%;

        gap: 8px;

        margin-top: 18px;
    }


    .hero-buttons a {
        flex: 1;
        min-width: 0;
        height: 42px;
        padding: 0 12px;
        font-size: 11px;
    }


    /* .hero-dots {
        bottom: 8.5rem;
    } */

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 450px) {
     .hero-section {
        height: 60vh;
    }
}


@media (max-width: 420px) {
     .hero-section {
        height: 62vh;
    }

    .hero-text-box h1 {
        font-size: 18px;
    }


    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }


    .hero-buttons a {
        width: 100%;
        padding: 5px 0;
    }

}
@media (max-width: 400px) {
     .hero-section {
        height: 68vh;
    }
}

@media (max-width: 375px) {
     .hero-section {
        height: 85vh;
    }
}
@media (max-width: 375px) {
     .hero-section {
        height: 72vh;
    }
}

/* ==========================================
   CONTINUOUS SCROLL FADE-IN EFFECT (Har scroll par chalega)
========================================== */
/* Initial hidden stateJab element screen ke bahar ho */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* Jab element screen ke andar aaye (Active state) */
.fade-in-scroll.active {
    opacity: 1;
    transform: translateY(0);
}