*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  overflow-x:hidden;
  max-width:100%;
  font-family: 'Barlow', sans-serif;
}

/* ================= NAVBAR ================= */

.navbar{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  padding:25px 60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:10;
  color:#fff;
}

/* .logo{
    font-size:20px;
    font-weight:600;
    letter-spacing:1px;
} */

.navbar ul{
  /* display:flex; */
  /* gap:40px; */
  list-style:none;
}

.navbar a{
  color:#fff;
  text-decoration:none;
  font-size:14px;
  letter-spacing:2px;
  transition:0.3s;
}

.navbar a:hover{
  opacity:0.7;
}


/* ================= SLIDER ================= */

.slider{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

.slides-wrapper{
  display:flex;
  height:100%;
  transition:transform 0.8s ease;
}

.slide{
  min-width:100%;
  height:100%;
  position:relative;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Overlay FIX */
.slide::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
  pointer-events:none;
}

/* Center Text */

.hero-text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  color:#fff;
  font-size:70px;
  letter-spacing:12px;
  font-weight:300;
  z-index:2;
}

/* Arrows */

.arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:40px;
  color:#fff;
  cursor:pointer;
  z-index:5;
  padding:20px;
  user-select:none;
}

.arrow.left{
  left:20px;
}

.arrow.right{
  right:20px;
}

.arrow:hover{
  opacity:0.7;
}

/* nav bar */

.navbar{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  padding:25px 60px;
  display:flex;
  align-items:center;
  z-index:10;
  color:#fff;
}

/* Logo Left */
/* .logo{
  flex:1;
  font-size:18px;
  letter-spacing:2px;
} */

.logo {
  flex: 1;
}

.logo img {
  position: absolute;
  top: 0;
  left: 0;
  height: auto;
  width: 50%;
  display: block;
}

.new-logo {
  flex: 1;
}

.new-logo img {
  height: auto;
  width: 80%;
  display: block;
}

.logo {
  position: relative;
  height: 40px;
}

/* Default → black logo */
.logo-white {
  opacity: 0;
}

.logo-black {
  opacity: 1;
}

/* Home page → white logo */
.home-page .logo-white {
  opacity: 1;
}

.home-page .logo-black {
  opacity: 0;
}

/* Center Menu */
.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-menu a{
  color:#fff;
  text-decoration:none;
  font-size:15px;
  letter-spacing:2px;
  transition:0.3s;
}

.nav-menu a:hover{
  opacity:0.7;
}

/* Social Right */
.nav-social{
  flex:1;
  display:flex;
  justify-content:flex-end;
  gap:20px;
}

.nav-social a{
  color:#fff;
  font-size:16px;
  transition:0.3s;
}

.nav-social a:hover{
  opacity:0.7;
}

/* for each caption */

/* Caption */
.slide-caption{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, 60px); /* start slightly below center */
  color:#fff;
  /*font-size:50px;*/
   font-size:45px;
  font-weight: 400;
  letter-spacing:6px;
  text-align:center;
  opacity:0;
  transition:all 0.8s ease;
  z-index:6;
}

/* Active Animation */
.slide.active .slide-caption{
  transform:translate(-50%, -50%); /* move to exact center */
  opacity:1;
}

/* ================= MEDIA QUERIES ================= */

/* Tablets */
@media (max-width: 992px) {
  .navbar {
    padding: 1rem 3%;
  }

  .nav-menu {
    gap: 1rem;
  }

  .hero-text {
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: 0.5rem;
  }

  .slide-caption {
    font-size: clamp(1.2rem, 5vw, 2rem);
    letter-spacing: 0.3rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem 2%;
    gap: 0.5rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0.8rem;
  }

  .nav-social {
    justify-content: center;
  }

  .hero-text {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    letter-spacing: 0.3rem;
  }

  .slide-caption {
    font-size: clamp(1rem, 6vw, 1.8rem);
    letter-spacing: 0.2rem;
  }

  .arrow {
    font-size: clamp(1rem, 6vw, 2rem);
    padding: 0.5rem;
  }
}


/* Hamburger Icon */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #000000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.home-page .hamburger span{
  background:#fff;
}

.home-page .nav-menu a,
.home-page .logo,
.home-page .nav-social a{
  color:#fff;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row; 
    justify-content: space-between; 
    align-items: center;
    padding: 1rem 5%;
    gap: 0;
  }

  /* Hamburger left */
  .hamburger {
    display: flex;
    order: 1; 
  }

  /* Logo center */
.logo {
  flex: 2;
  text-align: center;
  order: 2;
  margin-left: 0;   
  font-size: 14px;
}

  /* Social icons right */
  .nav-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    order: 3; 
  }

  /* Hide menu initially */
  .nav-menu {
    position: absolute;
    top: 60px; 
    left: -100%;
    flex-direction: column;
    /* background: rgba(0,0,0,0.9); */
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    text-align: center;
    gap: 1.5rem;
    padding: 1rem 0;
    transition: 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  /* Resize hero text and captions */
  .hero-text {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    letter-spacing: 0.3rem;
  }

  .slide-caption {
    font-size: clamp(1rem, 6vw, 1.8rem);
    letter-spacing: 0.2rem;
  }

  .arrow {
    font-size: clamp(1rem, 6vw, 2rem);
    padding: 0.5rem;
  }
}

/* Team Section */
.team-section {
    background: #fff;
    padding: 120px 20px;
    text-align: center;
}

/* Heading */
.section-title h2 {
    font-size: 40px;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 30px;
}

/* Paragraph */
.team-intro p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.9;
    color: #000;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Center Image */
.team-image-center {
    margin-bottom: 60px;
}

.team-image-center img {
    width: 44%;
    /* max-width: 650px; */
    max-height: 520px;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

@media (max-width: 991px){
  .team-image-center img {
    width: 52%;
}
}

@media (max-width: 425px){
  .team-image-center img {
    width: 38%;
}
}

@media (max-width: 1024px){
  .team-image-center img {
    width: 60%;
}
}
/* Founders */
.founders-center {
    display: flex;
    /* flex-direction: row; */
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.founder-info{
    text-align:center;
    max-width:250px;
}

.founder-info h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}

.founder-info span {
    font-size: 15px;
    color: #3f3f3f;
    letter-spacing: 0.5px;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 992px) {

.section-title h2{
    font-size:32px;
}

.team-intro p{
    font-size:17px;
    padding:0 20px;
}

.team-image-center img{
    max-width:500px;
}

}

/* Mobile */
@media (max-width: 768px) {

.team-section{
    padding:80px 20px;
}

.section-title h2{
    font-size:28px;
}

.team-intro p{
    font-size:16px;
    max-width:90%;
}

.team-image-center img{
    max-width:100%;
}

.founders-center{
    flex-direction:column;
    gap:30px;
}

.about-header h1{
    font-size:28px;
}

.about-content{
    max-width:90%;
}

.about-content p{
    font-size:16px;
}

}

/* ==============================
   MAIN FOOTER BACKGROUND
============================== */

.main-footer, .logos {
    background: #111;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 4px 4px;
    color: #ffffff;
    font-size: 15px;
}

/* ==============================
   WIDGET SECTION
============================== */

.widgets-section {
    padding: 35px 0 60px;
}

.widgets-section .row.clearfix > .column > .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* ==============================
   COLUMN ALIGNMENTS
============================== */

.footer-column{
    flex:1;
    min-width:250px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

.widgets-section .row.clearfix > .column > .row {
    flex-direction: column;
    gap: 40px;
    text-align:center;
}

.footer-column{
    width:100%;
}

.social-icon-two{
    justify-content:center;
}

.logo-widget .text{
    margin:auto;
}

}

@media (max-width: 768px){

.footer-title h2{
    font-size:16px;
}

.link-widget ul li{
    font-size:14px;
}

.footer-flex{
    flex-direction:column;
    gap:15px;
    text-align:center;
}

.footer-right{
    justify-content:center;
}

.footer-right img{
    max-height:24px;
}

}

/* ==============================
   LOGO + TEXT
============================== */

.logo-widget .logo img {
    max-width: 250px;
    margin-bottom: 25px;
    opacity: 0.9;
    margin: 0 auto;
}

.logo-widget .text {
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    max-width: 350px;
}

/* ==============================
   TITLES
============================== */

.footer-title h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-title .separator {
    width: 30px;
    height: 2px;
    background: #ffffff;
    margin-bottom: 25px;
}

/* Mobile */
@media (max-width: 991px){

.footer-title .separator{
    margin: 10px auto 25px auto;
}

}

/* ==============================
   CONTACT DETAILS
============================== */

.link-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-widget ul li {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
}

.link-widget ul li span {
    font-weight: 600;
    margin-right: 6px;
}

/* ==============================
   SOCIAL ICONS
============================== */

.social-icon-two {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.social-icon-two li a {
    color: #ffffff;
    font-size: 20px;
    transition: 0.3s ease;
}

.social-icon-two li a:hover {
    opacity: 0.6;
}

/* ==============================
   BOTTOM FOOTER
============================== */

.bottom-footer {
    background: #0a0a0a;
    border-top: 1px solid #222;
    padding: 20px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0 100px;
}

.footer-left {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-right img {
    max-height: 28px;
}

.footer-name{
    color: white;
    text-decoration: none;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 991px) {

.footer-flex{
    padding: 0 30px;
}

.widgets-section .row.clearfix > .column > .row {
    flex-direction: column;
    gap: 40px;
}

.footer-column {
    text-align: center !important;
}

.social-icon-two {
    justify-content: center;
}

.logo-widget .text {
    margin: auto;
}

.new-logo{
  display: flex;
  justify-content: center;
}

}

/* ================= ABOUT PAGE ================= */

.about-page {
    padding: 120px 20px;
    background: #fff;
    text-align: center;
}

/* Heading */
.about-header h1 {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 38px;
}

/* .separator {
    width: 40px;
    height: 2px;
    background: #000;
    margin: 0 auto 60px;
} */

/* Image */
.about-image {
    margin-bottom: 60px;
}

.about-image img {
    width: 44%;
    /* max-width: 900px; */
    height: auto;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* Paragraph */
.about-content {
    /* max-width: 850px; */
    width: 47%;
    margin: auto;
    padding: 0 20px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.9;
    color: #333;
    margin-bottom: 25px;
}

/* ===== ABOUT PAGE NAVBAR ===== */

.about-page-body .navbar {
    position: fixed;      /* important */
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* slight transparency */
    backdrop-filter: blur(8px); /* glass effect */
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
}

/* Black text */
.about-page-body .nav-menu a,
.about-page-body .logo,
.about-page-body .nav-social a {
    color: #000 !important;
}

.about-page-body .hamburger span {
    background-color: #000;
}

@media (max-width: 991px){

.about-page{
    padding:100px 20px;
}

.about-header h1{
    font-size:34px;
}

.about-image img{
    width: 80%;
}

.about-content{
    width: 60%;
}

.about-content p{
    font-size:17px;
}

}

@media (max-width: 768px){

.about-page{
    padding:120px 15px;
}

.about-header h1{
    font-size:28px;
    letter-spacing:2px;
}

.about-image{
    margin-bottom:40px;
}

/* .about-content{
    max-width:90%;
} */

.about-content p{
    font-size:16px;
    line-height:1.8;
}

}

@media (max-width: 480px){

.about-header h1{
    font-size:24px;
}

.about-content p{
    font-size:15px;
    /* text-align: justify; */
    width: 130%;
    margin: 0px -28px;

}

}

/* Team Section */

.team-section {
    background: #f9f9f9;
}

.team-heading {
    font-weight: 300;
    letter-spacing: 2px;
}

.team-section .row {
    max-width: 1000px;
    margin: auto;
}

.team-card img {
    width: 68%;
    height: 260px;
    object-fit: cover;
}

.team-card h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.team-card p {
    font-size: 14px;
    color: #777;
}

/* ===== PROJECTS SECTION ===== */

.projects-section {
  background: #f9f9f9;
}

.section-title h1 {
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-top: 80px;
  margin-bottom: 38px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.project-card img {
  width: 100%;
  height: 550px;
  max-height: 515px;
  object-fit: cover;
  transition: 0.5s ease;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 10%;
  padding: 10px;
  background: linear-gradient(to top, rgb(0 0 0 / 50%), #00000082);
  color: #fff;
  display: flex;
  justify-content: center;
}

.project-overlay h5 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 1px;
}

.project-card:hover img {
  transform: scale(1.05);
}

.projects-container {
  max-width: 900px;
  margin: 0 auto;
}

/* INNER PROJECT PAGE */

.project-inner-section{
  padding:120px 0;
  background:#f9f9f9;
}

.inner-title{
  text-align:center;
  margin-bottom:60px;
}

.inner-title h1{
  font-size:36px;
  font-weight:300;
  letter-spacing:2px;
}

/* Gallery Grid */

.project-gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap:30px;
}

/* Card */

.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius:4px;
}

.gallery-item img{
  width:100%;
  height:320px;
  object-fit:cover;
  transition:0.5s;
}

.gallery-overlay{
  position:absolute;
  bottom:0;
  width:100%;
  padding:20px;
  background:linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color:#fff;
}

.gallery-overlay h5{
  font-size:16px;
  letter-spacing:1px;
  margin:0;
}

.gallery-item:hover img{
  transform:scale(1.08);
}

/* Responsive */

@media (max-width:768px){

  .project-gallery{
    grid-template-columns:1fr;
    margin:0 20px;
  }

  .gallery-item img{
    height:260px;
  }

}

/* Dropdown parent */
.dropdown {
  position: relative;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 260px;
  display: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Dropdown items */
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* Show dropdown */
.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu{
  z-index: 1000;
}

.dropdown-menu{
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:0.3s;
}

.dropdown:hover .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

/* xanadu */

.project-inner{
padding:80px 0;
}

.project-title{
text-align:center;
margin-bottom:60px;
}

.project-title h1{
font-size:40px;
letter-spacing:2px;
font-weight:300;
margin: 50px 0;
}

/* DETAILS */

.project-details{
display:grid;
grid-template-columns: 1fr 2fr;
gap:60px;
margin-bottom:80px;
}

.project-info p{
margin-bottom:15px;
font-size:16px;
}

.project-description p{
margin-bottom:20px;
line-height:1.7;
}

/* GALLERY */

.project-gallery{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.project-gallery img{
width:100%;
height:320px;
object-fit:cover;
}

.project-container {
  max-width: 916px;
  margin: 0 auto;
}

@media(max-width:992px){

.project-details{
grid-template-columns:1fr;
margin:0 50px;
text-align: justify;
}

.project-gallery{
grid-template-columns:repeat(2,1fr);
margin:0 50px;
}

}

@media(max-width:576px){

.project-gallery{
grid-template-columns:1fr;
}

}

.grey{
  color: #7b756b;
}

/* logo */

.logos img{
max-height:60px;
width:auto;
display:block;
}

.logos img{
max-height:60px;
width:auto;
}

@media (max-width:768px){
.logos img{
max-height:45px;
}
}


@media (max-width: 768px)
{
  .nav-menu {
    background: rgba(255,255,255,0.9);
  }

.home-page .nav-menu{
  background: rgba(0,0,0,0.9);
}

.home-page .nav-menu a{
  color:#fff;
  /* margin: 10px 30px; */
}

}

img{
  max-width:100%;
  height:auto;
}

.container,
.projects-container,
.project-container{
  width:100%;
  /* max-width:100%; */
}

.d-block{
  display: block;
}

@media (min-width: 768px) {
    .d-md-inline {
        display: inline !important;
    }
}

.size-project{
    font-size: 20px;
}

.size-top{
  margin-top: 80px;
}

/* contact page */

.contact-section {
    padding: 100px 20px;
    background: #f9f9f9;
}

.contact-wrapper {
    max-width: 1000px;
    margin: 60px auto 0;
    display: flex;
    gap: 60px;
}

.contact-info {
    width: 40%;
}

.contact-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #444;
    width: 75%;
}

.contact-form {
    width: 60%;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
    font-size: 14px;
    background: transparent;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000;
}

.btn-submit {
    margin-top: 10px;
    padding: 12px 30px;
    border: 1px solid #000;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #000;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}

.centered{
  text-align: center;
  margin: 30px 0;
}

.map-section {
    width: 100%;
    background: #fff;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    filter: grayscale(100%); /* gives premium architecture feel */
}

.contact-intro {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* .contact-image {
    max-width: 1000px;
    margin: 30px auto 50px;
}

.contact-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 6px;
} */

.contact-form select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 5px;
    font-size: 14px;
    background: transparent;
    outline: none;
    appearance: none; /* removes default arrow */
    color: #797979;
}

.contact-form select:focus {
    border-color: #000;
}

/* Publications */

.sec-title h1{
  font-weight: 300;
}

.auto-containers{
  max-width: 900px;
  margin: 0 auto;
}

.publications-section {
    padding: 100px 20px;
    background: #f9f9f9;
}

.publications-grid {
    max-width: 1100px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.publication-card {
    text-decoration: none;
    color: #000;
}

.publication-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px;
    transition: 0.4s;
}

.publication-card h3 {
  display: flex;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  margin-top: 10px;
  transition: 0.3s;
}

/* Hover */
.publication-card:hover img {
    transform: scale(1.05);
}

.publication-card:hover h3 {
    color: #d4af7f;
}

/* Responsive */
@media (max-width: 768px) {
    .publications-grid {
        grid-template-columns: 1fr;
    }
}

/* Subsections in project */
/* IMPORTANT */
.has-submenu {
  position: relative;
}

/* REMOVE ANY DEFAULT LIST DISPLAY ISSUES */
.has-submenu ul {
  margin: 0;
  padding: 0;
}

/* arrow */
.submenu-toggle {
  cursor: pointer;
  color: #fff;
}

.nav-menu li {
  list-style: none;
}

.has-submenu > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chevron icon */
.has-submenu > a::after {
  content: "";
  width: 5px;
  height: 5px;
   border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;

  transform: rotate(45deg);
  margin-left: 6px;

  transition: 0.3s;
}

.has-submenu.active > a::after {
  transform: rotate(225deg);
}

@media (max-width: 768px) {
  .nav-menu {
    align-items: center;   /* ✅ center items */
    text-align: center;
    padding-left: 0;
  }

  .nav-menu li {
    width: auto;   /* ❗ important */
  }
}

/* =========================
   CLEAN DROPDOWN STRUCTURE
   ========================= */

/* Base submenu */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  background: #000;
  min-width: 220px;

  padding: 8px 0;        /* equal top & bottom space */
  margin: 0;
  list-style: none;

  z-index: 999;
}

/* Show first level */
.has-submenu:hover > .submenu {
  display: block;
}

/* Nested submenu (right side) */
.submenu .submenu {
  top: 0;
  left: 100%;
}

/* Each item */
.submenu li {
  position: relative;
}

/* Links */
.submenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 12px 18px;     /* 🔥 consistent spacing */
  font-size: 14px;

  color: #fff;
  text-decoration: none;

  white-space: nowrap;    /* prevents text breaking */
  transition: 0.3s;
}

/* Hover effect */
.submenu a:hover {
  background: #111;
  padding-left: 22px;     /* subtle move effect */
}


/* Optional: smoother alignment */
.nav-menu > li {
  position: relative;
}

@media (max-width: 768px) {

  /* Make all submenus behave like normal blocks */
  .submenu {
    position: static;
    display: none;
    width: 100%;
    background: #000;
  }

  /* Show when active (JS click) */
  .has-submenu.active > .submenu {
    display: block;
  }

  /* Remove right-side opening */
  .submenu .submenu {
    left: 0;
    top: 0;
  }

  /* Make items full width */
  .submenu a {
    width: 100%;
    justify-content: center;   /* center text (optional) */
    padding: 12px 20px;
  }

  /* Remove hover behavior on mobile */
  .has-submenu:hover > .submenu {
    display: none;
  }
}

@media (max-width: 768px) {
  .has-submenu > a {
    display: flex;   /* full width clickable */
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {

  .submenu {
    display: none;
    position: static;
    width: 100%;
  }

  .has-submenu.active > .submenu {
    display: block;
  }

  /* indent each level (important for UX) */
  .submenu .submenu {
    padding-left: 15px;
  }

  /* full clickable area */
  .has-submenu > a {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 12px 20px;
  }

}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.submenu-toggle {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  cursor: pointer;
  margin-right: 15px;
  transition: 0.3s;
}

/* rotate when open */
.has-submenu.active .submenu-toggle {
  transform: rotate(225deg);
}

.about-page-body .nav-menu .submenu a {
  color: #fff !important;
}

/* ONLY top-level menu arrows → black */
.about-page-body .nav-menu > li.has-submenu > a::after {
  border-right: 2px solid #000 !important;
  border-bottom: 2px solid #000 !important;
}

/* INNER DROPDOWN arrows → white */
.about-page-body .nav-menu .submenu .has-submenu > a::after {
  border-right: 2px solid #fff !important;
  border-bottom: 2px solid #fff !important;
}

@media (max-width: 768px) {

  /* ===== DEFAULT (all pages) → WHITE BG + BLACK TEXT ===== */
  .nav-menu,
  .submenu {
    background: #fff !important;
  }

  .nav-menu a,
  .submenu a {
    color: #000 !important;
  }

  /* ===== HOME PAGE → override to DARK ===== */
  .home-page .nav-menu,
  .home-page .submenu {
    background: #000 !important;
  }

  .home-page .nav-menu a,
  .home-page .submenu a {
    color: #fff !important;
  }

}

@media (max-width: 768px) {

  /* STEP 1: FORCE ALL PAGES → BLACK TEXT */
  .nav-menu .submenu a {
    color: #000 !important;
  }

  /* STEP 2: HOME PAGE → WHITE TEXT */
  .home-page .nav-menu .submenu a {
    color: #fff !important;
  }

  /* STEP 3: FIX ABOUT PAGE (OVERRIDE ITS WHITE RULE) */
  .about-page-body .nav-menu .submenu a {
    color: #000 !important;
  }

  .about-page-body .nav-menu .submenu a:hover {
  background: #ffffff;
  padding-left: 22px;     /* subtle move effect */
}

}

@media (max-width: 768px) {

  /* FORCE ALL INNER DROPDOWN ARROWS TO BLACK (NON-HOME PAGES) */
  .about-page-body .nav-menu .submenu .has-submenu > a::after,
  body:not(.home-page) .nav-menu .submenu .has-submenu > a::after {
    border-right: 2px solid #000 !important;
    border-bottom: 2px solid #000 !important;
  }

}