@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Montserrat+Alternates:wght@400;600;700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* --- Variable and Base Styles (Mobile First) --- */
:root {
  --header-height: 3.5rem;
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(0, 0%, 0%);
  --body-font: "Roboto", sans-serif;
  --biggest-font-size: 2rem;
  --big-font-size: 1.5rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --font-light: 300;
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;
  --z-tooltip: 10;
  --z-fixed: 100;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html{
    scroll-behavior: smooth;
}
  html, body {
    height: 100%;
  }



  :target {
  scroll-margin-top: var(--header-height); /* তোমার header height অনুযায়ী adjust করো */
}

.nav__link.active {
 
  font-weight: 600;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: rgb(0, 0, 0);
  color: var(--white-color);
  max-width: 100%;
  overflow-x: hidden;
    min-height: 100vh;
   
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.container {
  max-width: 1120px;
}

.main {
  overflow: hidden;
}

/* --- Header & Nav (Mobile) --- */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: var(--z-fixed);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.nav {
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  height: 4rem;
  padding: 0 1rem;
  width: 100%;
  background-color: transparent;
}

.nav__logo {
  width: 160px;
  height: auto;
  border: none;
  outline: none;
  margin-top: 6px;
  margin-left: 12px;
  transition: filter 0.3s ease-in-out;
  display: block;
}

.nav__menu {
  position: fixed;
  top: 0;
  right: -100%;
  background-color: hsla(0, 0%, 100%, .1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 70%;
  height: 100%;
  padding: 6rem 3rem 0;
  transition: right .4s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 3rem;
  justify-content: flex-start;
}
.show-menu {
  right: 0;
}

.nav__toggle,
.nav__close {
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
  color: #f7f2f2;
}

.nav__toggle {
  padding-top: 10px;
  padding-right: 10px;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 0;
  padding-right: 25px;
  padding-top: 6px;
}

.nav__list {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
  align-items: flex-start;
  text-align: left;
  padding: 0;
  margin: 0;
  width: 100%;
}

.nav__link {
  color: var(--white-color);
  font-weight: var(--font-regular);
  font-size: 1.2rem;
  padding: .5rem 0;
  display: block;
  width: 100%;
  margin: 0;
  text-align: left;
  transition: color 0.3s ease-in-out;

}

.nav__link:hover {
  color: black;
  font-weight: var(--font-regular);
}



/* Solid Header State (Added by JavaScript on scroll) */
.header.scrolled-header {
   background: #fff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  backdrop-filter: none !important;  /* blur যেন না থাকে */
  -webkit-backdrop-filter: none !important;
}

.header.scrolled-header .nav__link {
  color: #333;
}

.header.scrolled-header .nav__logo img {
  filter: brightness(0) invert(0);
}

.header.scrolled-header .nav__toggle,
.header.scrolled-header .nav__close {
  color: #333;
}

/* --- Hero Section (Mobile) --- */
.home__swiper {
  position: relative;
  z-index: var(--z-tooltip);
}

.home__article {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #000;
}

.home__img,
.home__shadow,
.home__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home__img {
  object-fit: cover;
  object-position: center;
  z-index: -1;
  transition: opacity 1s ease-in;
  filter: blur(0px);
  background-color: #000;
}

.home__shadow {
  background: hsla(0, 0%, 0%, .1);
  z-index: -1;
}

.home__title,
.home__button {
  will-change: transform, opacity;
}

.home__data {
  text-align: center;
  color: hwb(0 100% 0%);
  z-index: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 1.5rem;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.home__title {
  font-size: 2rem;
  margin-top: 5rem;
  line-height: 1.2;
}

.home-project-title {
  display: block;
  font-weight: var(--font-regular);
  font-size: 1.3rem;
  margin-bottom: -5px;
}

.home-project-title:hover {
  color: rgb(209, 219, 219);
  cursor: pointer;
}

.home-project-location {
  display: block;
  font-weight: var(--font-light);
  font-size: 1rem;
  margin-top: -1rem;
  margin-bottom: 20px;
}

.home-project-location:hover {
  color: rgb(209, 219, 219);
  cursor: pointer;
}


.social-logo {
  position: relative;
  width: 100%;
}

.home__social {
  position: absolute;
  z-index: var(--z-tooltip);
  right: .5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: row;
  column-gap: .5rem;
}

.home_social-link {
  color: var(--white-color);
  font-size: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.home_social-link:hover {
  color: rgba(0, 0, 0, 0.5);
  transform: scale(1.1);
}

.swiper {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: transparent;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateZ(0);
  will-change: transform;
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 10px;
  color: #000;
  opacity: 1;
  background: rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet-active {
  color: #fff;
  background: #265584;
}

/* --- Projects Section Styles (Mobile) --- */
.projects-section {
  padding: 1rem 0;
  background-color: #f0eeeb;
  text-align: center;
}

.New-project-title {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.section-header h2 {
  color: #333;
  font-size: clamp(.8rem, 5vw, 1.5rem);
  margin-bottom: 1rem;
  display: inline-block;
  padding-left: 1rem;
  border-bottom: none;
  margin-top: 2rem;
  padding-bottom: 30px;
  position: relative;
  text-align: left;
  margin-bottom: 30px;
}

.section-header h2::after {
content: "";
  display: block;
  height: 2px;              /* line thickness */
  background-color: orange;   /* golden line */
  margin-top: 5px;          /* টেক্সট থেকে gap */
  width: 100%;
}

.portfolio_page {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.project-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center center;
}

.portfolio_box {
  position: absolute;
  top: 100%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  flex-direction: column;
  column-gap: 10px;
  justify-content: flex-end;
  align-items: start;
  transition: .6s;
  padding: 30px;
  text-align: start;
  backdrop-filter: blur(2px);
}

.portfolio_page:hover .portfolio_box {
  opacity: 1;
  top: 0;
}

.portfolio_box .project-title {
  font-size: 20px;
  color: rgba(222, 214, 214, 0.881);
  font-weight: var(--font-light);
  letter-spacing: 1px;
  border-bottom: 1px solid orange;
  display: inline-block;
}

.splide__arrow {
  display: none; /* Hide arrows on mobile */
}

/* --- News and Insights Section (Mobile) --- */
.news-insights-section {
  padding: 1rem 0;
  background-color: #f0eeeb;
}

.news-insights-header {
  display: flex;
  flex-direction: row;
  column-gap: 1.2rem;
  align-items: flex-start;
  max-width: 100%;
  margin: 30px auto 2rem auto;
 padding: 0 1rem;
}

.news-insights-header h2 {
  font-size: clamp(.8rem, 5vw, 1.5rem);
  color: #333;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 2rem;

}

.news-insights-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: orange;
  width: 100%;
}

.view-all-link{
  font-size: var(--normal-font-size);
  color:#000;
  padding-top: 5px;
  display: inline-flex;
  align-items: center;
  /*gap: 8px;  text আর arrow এর মধ্যে spacing */
  text-decoration: none;
  font-size: 13px;
  }


.view-all-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(216, 214, 214, 0.8);
  border-radius: 50%;
  font-size: 12px;
  color: rgb(34, 33, 33);
  transition: all 0.3s ease;
 
}

.view-all-link:hover .view-all-arrow:hover {
  background: #757373;
  color: #eee;
}

.news-articles-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  padding-left: 1rem;
  padding-right: 1rem;
}

.news-article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  padding-left: 0.5rem;
}

.article-content {
  flex: 1;
  min-width: 0;
  order: 2;
}

.article-content h3 {
  font-size: clamp(1.5rem, 3vw, 1.2rem);
  color: #333;
  margin-bottom: 5px;
  font-weight: var(--font-regular);
  padding-top: 25px;
}

.article-content h4 {
  color: #333;
  margin-bottom: 2rem;
  font-weight: var(--font-regular);
}

.article-content p {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: #666;
  line-height: 1.6;
}
.pub-link-button,
.pub-img-button {
  display: inline-block;
  text-align: center;
  color: black;
  height: 25px;
  width: 130px;
  line-height: 25px; 
  font-size: 12px;/* vertically center text */
  margin-top: 2rem;
  border-radius: 5px;
  border: 1px solid black;
  text-decoration: none; /* removes underline */
  background-color: white;
   transition: all 0.3s ease;
}
.pub-link-button {
  margin-right: 20px;
}
.pub-link-button:hover,
.pub-img-button:hover{
  background-color: #000;
  color:white
}

.article-image {
  flex-shrink: 0;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.5s ease, filter 0.5s ease;
  order: 1;
}

.article-image:hover {
  transform: scale(1.01);
  filter: brightness(0.8);
}

.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-divider {
  border: none;
  border-top: 1.5px solid orange;
  margin: 3rem 0;
  width: 100%;
  align-self: stretch;
}

/* --- Contact Section Styles (Mobile) --- */
.contact-section {
  padding-left: 2rem ;
  background-color: #e7e5e2;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-content-wrapper {
  display: flex;
  gap: 2rem;
  max-width: 750px;
  width: 100%;
  flex-wrap: wrap;
  align-items: stretch;
}

.contact-left-block {
  flex: 1;
  min-width: 280px;
  padding-top: 2.5rem;
  border-radius: 15px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.get-in-touch-details h3,
.follow-us-block h3,
.send-message-block h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1.5rem;
}


.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  display: flex;
  margin-bottom: 1.2rem;
  font-size: 1rem;
  color: #333;
}

.contact-details li:last-child {
  margin-bottom: 0;
}

.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color:#f0eeeb;
  color: rgb(239, 201, 129);
  font-size: 1.1rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.detail-text {
  font-weight: 600;
  margin-right: 0.5rem;
  margin-top: 10px;
  color: #555;
  white-space: nowrap;
}

.detail-value {
  color: #333;
  margin-top: 10px;
}

.follow-us-block {
  padding-top: 1.5rem;
  
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #f0f0f0;
  color: #333;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon-circle:hover {
  background-color: gray;
  color: #fff;
}


  footer {
    background-color:  #e7e5e2;
    color: #000000;
    text-align: center;
    padding-top:40px;
    padding-bottom: 20px;
    font-size: 15px;
  }

/* --- Tablet Styles (min-width: 768px) --- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .nav__logo {
    width: 200px;
    padding-left: 1rem;
  }
  
  .nav__menu {
    width: 50%;
  }

  .nav__toggle {
    font-size: 2rem;
    padding-right: 50px;
  }
  
  .nav__close {
    padding-right: 50px;
  }

  .home__data {
    text-align: left;
    position: absolute;
    bottom: 2rem;
    left:3rem;
    transform: none;
    width: auto;
    padding: 0;
  }

  .home__title {
   
    margin-top: 25rem;
    font-size: 3rem;
  }

  .home-project-title {
    font-size: 32px;
  }

  .home-project-location {
    font-size: 20px;
    margin-top: -3rem;
  }

  .home__button {
    font-size: 20px;
    padding: 0.2rem 0.6rem;
    margin-top: -3rem;
  }

  .section-header{
    padding-left: 2rem;
  }
  .news-insights-header{
     column-gap: 22rem;
     padding-left: 2.5rem;
  }
  .article-image{
    height: 300px;
    object-fit: fill;
  }
  .news-articles-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
 
  .view-all-link{
    font-size: 12px;
    width: 140px;
    height: 35px;
    line-height: 35px;
  }

  .view-all-arrow {
  width: 20px;
  height: 20px;
  font-size: 10px;
}
}

/* --- Desktop Styles (min-width: 1024px) --- */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --big-font-size: 3rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
  }

  .container {
   /* margin-inline: auto;*/
   margin: 0;
  }
  .header{
    background-color: transparent;
  }
 .nav {
    height: 5rem;
    padding: 0 2rem;
      background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  

  .nav__toggle,
  .nav__close {
    display: none !important; /* hide mobile toggles */
  }

  .nav__menu {
    position: static;
    display: flex;
    align-items: center;
    margin-left: auto;   /* push to right */
    height: auto;
    width: auto;
     background: transparent !important;
    backdrop-filter: none !important;   /* remove blur */
    -webkit-backdrop-filter: none !important;;
    
    padding: 0;
  }

  .nav__list {
    flex-direction: row;
    gap: 3rem;
    padding-right: 3rem;
    background-color: transparent;
  }



  .header.scrolled-header .nav__link {
    color: #333;
  }
.nav__logo{
  margin-left: 4rem;
  
}
  .home__data {
    text-align: initial;
    position: absolute;
    bottom: 0;
    left: 2rem;
    transform: none;
    padding: 0;
  }
  
  .home__title {
    margin-top: 13rem;
    line-height: 1.2;
    margin-left: 4rem;
  }

  .home-project-title {
    font-size: 2rem;
  }

  .home-project-location {
    font-size: 1rem;
    margin-top: -2rem;
  }

  .home__button {
    font-size: 15px;
    padding: 5px 5px;
    margin-top: 0;
  }
  
  .home__social {
    right: 5rem;
    bottom: 1.5rem;
    
  }
  .home_social-link{
    font-size: 1.5rem;
  }

  
  .projects-section {
    padding: 3rem 0;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
    padding-left: 6.5rem;
    margin-bottom: 2rem;
  }

  .section-header h2::after {
    left: 1rem;
    width: 100%;
  }

  .portfolio_splide {
    padding-left: 6.5rem;
  }
  
  .splide__arrow--prev {
    margin-left: 7rem;
  }
  
  .splide__arrow--next {
    margin-right: 1rem;
  }

  .news-insights-header {
    max-width: 1120px;
    padding-left: 0;
     column-gap: 40rem;
    flex-direction: row;
    align-items: center;
  }
  
  .news-insights-header h2 {
    padding-left: 1rem;
  }

  .news-insights-header h2::after {
    left: 1rem;
    width: 100%;
  }
  
  .news-articles-container {
    max-width: 1120px;
    padding: 0 1rem 0 1rem;
  }
  
  .news-article {
    flex-direction: row-reverse !important;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
  }

  .article-image {
    width: 400px;
    height: 200px;
    margin-right: 10px;
    margin-top: 3rem;
    order: 1;
  }
  
  .article-content {
    order:2 ;
  }
   
  .view-all-link{
    font-size: 18px;
     gap:8px;
  }

  .view-all-arrow {
  width: 28px;
  height: 28px;
  font-size: 18px;
 
}

  .view-all-link{
    font-size: 15px;
    width: 140px;
    height: 35px;
    line-height: 35px;
  }
  
}

/* --- Large Desktop Styles (min-width: 1440px) --- */
@media screen and (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }

  .header {
    height: calc(var(--header-height) + 2.5rem);
  }
 .nav {
    margin: 0 auto;
    padding: 0 4rem;
    width: 100%;
  }

  .nav__list {
    gap: 4rem;
  }

  .home__social {
    right: 8rem;
    bottom: 2rem;
    column-gap: 1.5rem;
  }

  .home__data {
    bottom: -3rem;
    left: 4rem;
  }

  .home__title {
    margin-top: 19rem;
  }

  .projects-section {
    padding: 6rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
    padding-left: 8rem;
    margin-bottom: 2.5rem;
  }

  .section-header h2::after {
    left: 6rem;
    width: 100%;
  }

  .portfolio_splide {
    padding-left: 8rem;
  }

  .splide__arrow--prev {
    margin-left: 8rem;
  }

  .splide__arrow--next {
    margin-right: 2rem;
  }

  .news-insights-header {
    max-width: 1400px;
    
    padding: 0 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .news-insights-header h2 {
    padding-left: 0;
  }

  .news-insights-header h2::after{
    left: 0px;
  }
.view-all-link{
  margin-top: -10px;
  font-size: 20px;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* text আর arrow এর মধ্যে spacing */
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.news-articles-container {
    max-width: 1400px;
    padding: 0 8rem;
    padding-top: 2rem;
  }

  .article-image {
    width: 400px;
    height: 250px;
  }

 .copyright{
  padding-bottom: 10px;
 }
} 

