* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #080808;
  color: #fff;
}

#header {
  width: 100%;
  height: 100vh;
  background-image: url(images/chandesktopbg.png);
  background-size: cover;
  background-position: center;
}

.container {
  padding: 10px 10%;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 90px;
  border-radius: 50%;
  margin-top: 20px;
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #dc143c;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

.header-text {
  margin-top: 15%;
  font-size: 30px;
}

.header-text h1 {
  font-size: 60px;
  margin-top: 20px;
  max-width: 800px;
}

.header-text h1 span {
  color: #cc3333;
}

/* ------------about----------- */

#about {
  padding: 80px 0;
  color: #ababab;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.about-col-1 {
  flex-basis: 35%;
}

.about-col-1 img {
  width: 100%;
  border-radius: 15px;
}

.about-col-2 {
  flex-basis: 60%;
}

.sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}

.tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

.tab-links {
  margin-right: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

.tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ff4040;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

.tab-links.active-link::after {
  width: 50%;
}

.tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}

.tab-contents ul li span {
  color: #ff4040;
  font-size: 14px;
}

.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
}

/* ----------------services--------------- */
#services {
  padding: 30px 0;
  color: #fff;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.services-list div {
  background: #262626;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 300;
  border-right: 10px;
  padding: 20px;
  transition: background 0.5s, transform 0.5s;
}

.services-list div i {
  font-size: 50px;
  margin-bottom: 30px;
}

.services-list div h2 {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.services-list div a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}

.hover:hover {
  /* background: #ff4040; */
  transform: translateY(-10px);
  color: #fff;
}

.service-card {
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  padding: 48px 32px 40px 32px;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(60, 60, 60, 0.18);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.5s;
  position: relative;
  overflow: hidden;
}

/* .service-card:hover {
  background: linear-gradient(135deg, #ff4040 0%, #232526 100%);
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 12px 40px 0 rgba(255, 64, 64, 0.18);
} */

.service-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px 0 rgba(255, 64, 64, 0.10);
  background: #fff;
}

.service-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ff4040;
  letter-spacing: 1px;
}

.service-desc {
  font-size: 1.15rem;
  color: #ededed;
  margin-bottom: 28px;
  line-height: 1.7;
  font-weight: 400;
}

.service-link {
  display: inline-block;
  padding: 10px 28px;
  background: #ff4040;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px 0 rgba(255, 64, 64, 0.12);
  transition: background 0.3s, color 0.3s;
}

.service-link:hover {
  background: #fff;
  color: #ff4040;
  border: 1px solid #ff4040;
}

.service-banner {
  width: 100%;
  max-width: 320px;
  height: 410px;
  /* object-fit: cover; */
  border-radius: 10px;
  margin: 20pxauto 14px auto;
  display: block;
  box-shadow: 0 4px 14px 0 rgba(60, 60, 60, 0.10);
}

.podcast-section {
  margin: 60px 0 0 0;
  text-align: center;
}

.podcast-section .sub-title {
  margin-bottom: 28px;
}

.podcast-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.podcast-image-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 106px;
  margin-bottom: 18px;
}

.podcast-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 2px 10px 0 rgba(60, 60, 60, 0.10);
  background: #fff;
  box-shadow: 0 12px 40px 0 rgba(255, 64, 64, 0.18);
}

.podcast-banner {
  width: 100%;
  max-width: 720px;
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 6px 32px 0 rgba(60, 60, 60, 0.18);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.podcast-banner:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px 0 rgba(255, 64, 64, 0.18);
}

@media (max-width: 700px) {
  .podcast-image-row {
    flex-direction: column;
    gap: 18px;
  }

  .podcast-logo {
    width: 70px;
    height: 70px;
    display: none;
  }

  .podcast-banner {
    max-width: 98vw;
  }
}

/* ----------project------------------  */

#project {
  padding: 50px 0;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.work img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}


.layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), #ff4040);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}

.layer h3 {
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 20px;
}

.layer a {
  text-decoration: none;
  color: #ff4040;
  font-size: 18px;
  margin-top: 20px;
  display: inline-block;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}

.work:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

.work:hover .layer {
  height: 100%;
}

.btn {
  display: block;
  margin-bottom: 50px;
  width: fit-content;
  border: 1px solid #ff4040;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: 0.5s;
  font-size: large;
}

.btn:hover {
  background: #ff4040;
  color: #262626;
}

/* ------------------contact----------------- */

.contact-left {
  flex-basis: 35%;
}

.contact-right {
  flex-basis: 60%;
}

.contact-left p {
  margin-top: 30px;
}

.contact-left p i {
  color: #ff4040;
  margin-right: 15px;
  font-size: 25px;
}

.social-icons {
  margin-top: 30px;
  margin-bottom: 20px;
}

.social-icons a {
  text-decoration: none;
  color: #ababab;
  font-size: 40px;
  margin-right: 15px;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ff4040;
  transform: scale(1.05);
}

.btn.btn2 {
  display: inline-block;
  background: #ff4040;
}

.btn.btn2:hover {
  color: #fff;
  background: #000;
  cursor: pointer;
}

.contact-right form {
  width: 100%;
}

form input,
form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  color: #fff;
}

form btn2 {
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}

.copyright {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  background: #000;
  font-weight: 300;
  margin-top: 20px;
}

nav .fa-solid {
  display: none;
}

/* ------------------media queries----------------- */
@media only screen and (max-width: 600px) {
  #header {
    background-image: url(images/chanphonebg.png);
  }

  .header-text {
    margin-top: 20%;
    font-size: 16px;
  }

  .header-text h1 {
    font-size: 30px;
  }

  nav .fa-solid {
    display: block;
    font-size: 25px;
  }

  .logo {
    width: 70px;
    border-radius: 50%;
    margin-top: 10px;
  }

  nav ul {
    background: #ff4040;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
  }

  nav ul li {
    display: block;
    margin: 25px;
  }

  nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }

  .sub-title {
    font-size: 40px;
  }

  .about-col-1,
  .about-col-2 {
    flex-basis: 100%;
  }

  .about-col-1 {
    margin-bottom: 30px;
  }

  .about-col-2 {
    font-size: 14px;
  }

  .tab-links {
    font-size: 16px;
    margin-right: 20px;
  }

  .contact-left,
  .contact-right {
    flex-basis: 100%;
  }

  .copyright {
    font-size: 14px;
  }
}

#msg {
  color: #61b752;
  margin-top: -40px;
  display: block;
}

.extra-projects {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#more-projects {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
}

#more-projects.show {
  max-height: 2600px;
  /* adjust as needed */
  opacity: 1;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  /* or any background you like */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#preloader img {
  width: 280px;
  /* adjust as needed */
}

.falaknuma-desc {
  font-size: 1.18rem;
  color: #f3f3f3;
  margin-bottom: 22px;
  line-height: 1.8;
  text-align: left;
  padding: 0 0.5rem;
}

.falaknuma-desc p {
  font-size: 1.08rem;
  color: #f3f3f3;
  margin-bottom: 22px;
  line-height: 1.8;
  text-align: left;
  padding: 0 0.5rem;
}

.falaknuma-desc ul {
  margin: 0 0 12px 0;
  /* padding-left: 1.2em; */
}

.falaknuma-desc ul li {
  margin-bottom: 6px;
  font-size: 1.08rem;
  list-style: none;
}

.falaknuma-desc ul li ul {
  margin-top: 4px;
  margin-bottom: 8px;
  padding-left: 1.5em;
}

.falaknuma-desc .emoji {
  font-size: 1.2em;
  vertical-align: middle;
  margin-right: 4px;
}

.falaknuma-why {
  margin-top: 14px;
  background: rgba(255, 64, 64, 0.08);
  border-left: 4px solid #ff4040;
  padding: 10px 18px;
  border-radius: 8px;
}

.falaknuma-why strong {
  color: #ff4040;
  font-size: 1.08em;
  display: block;
  margin-bottom: 6px;
}

.backbenchers-desc ul {
  margin: 0 0 12px 0;
  padding-left: 1.2em;
}

.backbenchers-desc ul li {
  margin-bottom: 6px;
  font-size: 1.08rem;
  list-style: disc inside
}

.backbenchers-desc p {
  margin-bottom: 10px;
}

/* Responsive service card text */
@media (max-width: 1200px) {
  .service-card h2 {
    font-size: 1.5rem;
  }

  .service-desc,
  .falaknuma-desc {
    font-size: 1.05rem;
  }
}

@media (max-width: 900px) {
  .service-card {
    padding: 32px 16px 28px 16px;
  }

  .service-card h2 {
    font-size: 1.25rem;
  }

  .service-desc,
  .falaknuma-desc {
    font-size: 0.98rem;
  }
}

@media (max-width: 600px) {
  .services-list {
    grid-template-columns: 1fr;
    grid-gap: 24px;
    margin-top: 30px;
  }

  .service-card {
    padding: 22px 8px 18px 8px;
  }

  .service-card h2 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }

  .service-desc,
  .falaknuma-desc {
    font-size: 0.92rem;
    padding: 0;
  }

  .falaknuma-desc ul li {
    font-size: 0.9rem;
  }

  .service-link {
    font-size: 0.95rem;
    padding: 8px 18px;
  }
}