* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #000;
  --secondary-color: #1a1a1a;
  --accent-color: #ff0060;
  --text-color: #fff;
  --text-muted: #999;
  --border-color: #333;
  --cta-color: #ff4d6d;
  --pink-color: #ff0060;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, sans-serif;
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
}
.smooth-content{
  overflow: hidden !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-brand {
  font-size: 28px;
  font-weight: bold;
  color: var(--text-color);
}

.nav-brand a{
text-decoration: none;
color: #fff;
}

.nav-brand a:hover{
opacity: 9;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 14px;
}

.nav-menu a:hover {
  color: var(--accent-color);
}

.container-fluid{
  max-width: 1690px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  margin-top: 95px;
  /* padding: 60px 0; */
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.profile-image {
  position: relative;
  overflow: hidden;
  /* border-radius: 8px; */
}

.profile-image img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-info h1 {
  font-size: 60px;
  margin-bottom: 10px;
  font-weight: bold;
   background: linear-gradient(135deg, #fff 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-info .bio p{
color: #fff;
}

.tagline {
  font-size: 22px;
  color: var(--accent-color);
  margin-bottom: 30px;
}

.bio {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 17px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border: 2px solid var(--text-color);
  background: transparent;
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-size: 14px;
  border-radius: 4px;
  display: inline-block;
}

.btn-primary {
  background: var(--text-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--text-color);
  color: var(--primary-color);
}

/* Resume Section */
.resume {
  padding: 80px 0;
  background: var(--primary-color);
}

.resume h2 {
  font-size: 36px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.resume-section {
  margin-bottom: 60px;
}

.resume-section h3 {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent-color);
  position: relative;
}

.timeline-date::before{
  content: '';
  width: 1px;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  right: 18%;
}

.timeline-date::after{
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  position: absolute;
  top: 5%;
  right: 9%;
  border: 5px solid var(--pink-color);
}

.timeline-content h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--text-color);
}

.timeline-content p {
  font-size: 14px;
  color: #fff;
  margin-bottom: 8px;
}

.description {
  margin-top: 10px !important;
  line-height: 1.6;
}

/* Skills Section */
.skill-item {
  margin-bottom: 30px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.skill-bar {
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

/* Video Promos Section */
.video-promos {
  padding: 40px 0;
  background: var(--secondary-color);
}

.video-promos h2 {
  font-size: 36px;
  margin-bottom: 60px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
  padding: 2rem;
      width: 100%;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
}

.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  /* max-width: 280px; */
}

.promo-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.loadmore{
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
    transition: 0.3s ease;

}

.loadmore:hover button{
color: var(--accent-color);
}

.loadmore:hover button img{
filter: brightness(0) saturate(100%) invert(12%) sepia(89%) saturate(5358%) hue-rotate(330deg) brightness(106%) contrast(110%);
  transform: rotate(180deg);
}

.loadmore button{
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
      transition: 0.3s ease;

}
.loadmore button img{
      transition: 0.3s ease;
}


.main-promo {
  grid-column: 2;
  grid-row: 1 / 3;
}

.main-promo .promo-overlay h3 {
  font-size: 56px;
  font-weight: bold;
  color: var(--text-color);
  margin: 0;
}

.main-promo .promo-overlay p {
  font-size: 18px;
  color: var(--text-color);
}

/* Photography Section */
.photography {
  padding: 80px 0;
  background: var(--primary-color);
  position: relative;
}

.photography h2 {
  font-size: 36px;

  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.photo-categories{
 	margin-top: 40px;
   margin-bottom: 60px;
  display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

.photo-categories button{
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    position: relative;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}

/* underline */
.photo-categories button::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

/* hover animation */
.photo-categories button:hover::after{
    transform: scaleX(1);
    transform-origin: left;
}


* {
}

.photography .loadmore{
  bottom: 12px;
}

/* Magazine Section */
.magazine {
  padding: 80px 0;
  background: var(--secondary-color);
}

.magazine h2 {
  font-size: 36px;
  margin-bottom: 60px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.magazine-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.magazine-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.magazine-item:hover img {
  transform: scale(1.05);
}

/* Clinets Section */
.clients {
  padding: 80px 0;
  background: var(--primary-color);
  position: relative;
  overflow: hidden;
}

.clients h2, .aff-h2 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.clients-marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.clients-marquee {
  display: flex;
  gap: 30px;
  will-change: transform;
}

.client-logo {
  flex: 0 0 auto;
  padding: 40px 20px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.client-logo img {
  max-width: 150px;
}

/* Blur edges */
.clients-blur-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  pointer-events: none;
  z-index: 2;
}

.clients-blur-overlay.left {
  left: 0;
  background: linear-gradient(to right, #000000 0%, rgba(255,255,255,0) 100%);
}

.clients-blur-overlay.right {
  right: 0;
  background: linear-gradient(to left, #000000 0%, rgba(255,255,255,0) 100%);
}



/* CTA Section */
.cta {
  padding: 80px 0;
  background: var(--primary-color);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.cta h2 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 40px;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-form input,
.cta-form textarea {
  padding: 15px;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.cta-form input:focus,
.cta-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.cta-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-cta {
  background: var(--cta-color);
  border: none;
  color: var(--text-color);
  padding: 15px 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
  cursor: not-allowed;
}

.btn-cta:hover {
  background: #ff3a5e;
  transform: translateY(-2px);
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta-info p {
  font-size: 14px;
  line-height: 1.8;
}

/* Footer */
.footer {
  padding: 0 0 20px;
  background: var(--secondary-color);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-section h4 {
  font-size: 16px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.footer-photos img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content,
  .resume-grid,
  .affiliations-grid,
  .cta-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .social-bar{
  flex-wrap: wrap;
  }

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-promo {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .photo-gallery,
  .magazine-grid,
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .affiliations-bottom {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-menu {
    gap: 20px;
  }

  .profile-info h1 {
    font-size: 36px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 480px) {
  .promo-grid,
  .photo-gallery,
  .magazine-grid,
  .clients-grid,
  .affiliations-bottom {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
  }

  .profile-info h1 {
    font-size: 28px;
  }

  .resume h2,
  .video-promos h2,
  .photography h2,
  .magazine h2,
  .clients h2,
  .affiliations h2,
  .cta h2 {
    font-size: 24px;
  }
}


  .video-box {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .preview-img {
    width: 100%;
    display: block;
    height: 480px;
  }

 .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    width: max-content;
    gap: 10px;
    align-items: center;
    display: flex;
    background: #0000005e;
    padding: 10px;
    border-radius: 15px;
}


  .play-btn h5 {
    color: var(--accent-color);
    transition: all 0.2s ease;
  }

  .play-btn img {
    transition: all 0.2s ease;
  }

  .real-video {
    width: 100%;
    display: none;
    height: 480px;
  }

  .fade {
    transition: opacity 0.25s ease;
  }

  .play-btn:hover h5 {
    color: #fff;
  }

.play-btn:hover img {
  filter: brightness(0) invert(1);
}


  /* Gallery */

 .photography .container-fluid {
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
  
  /* REPLACE lines 818-862 in your style.css with this: */
/* ADD THIS TO YOUR .gallery CSS */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 15px;
  grid-auto-flow: dense;  /* ← ADD THIS LINE - fills gaps automatically! */
}

/* Rest of the code stays the same */
.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery a:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Small square - 1x1 */
.gallery a.s-square {
  grid-column: span 1;
  grid-row: span 1;
  object-position: top;
}

/* Normal square - 2x2 */
.gallery a.square {
  grid-column: span 2;
  grid-row: span 2;
}

/* Large square - 3x3 */
.gallery a.l-square {
  grid-column: span 3;
  grid-row: span 3;
}

/* Landscape - 2x1 */
.gallery a.landscape {
  grid-column: span 2;
  grid-row: span 1;
}

/* Portrait - 1x2 */
.gallery a.portrait {
  grid-column: span 1;
  grid-row: span 2;
}

/* Responsive */
@media (max-width: 1200px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: 180px;
    grid-auto-flow: dense;  /* Keep it here too */
  }
}

@media (max-width: 800px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;  /* And here */
  }
  .gallery a.l-square {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 500px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-rows: 120px;
    grid-auto-flow: dense;  /* And here */
  }
}
  /* Gallery End */

  /* Front Cover Magazine */
  .magazine-swiper .swiper-slide{
    display: flex;
    justify-content: center;
  }
  
  .magazine-swiper .swiper-slide img{
    max-width: 400px;
  }
  /* Front Cover Magazine End */

  /* Affiliation */
    .project-box {
        position: relative;
        height: 85vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
    }

    .project-box:hover .project-img {
        filter: grayscale(0);
    }

    .project-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        top: 0;
        left: 0;
        z-index: 1;
        filter: grayscale(1);
        transition: all 0.2s ease;
        aspect-ratio: 9/16;
    }

    .project-content {
        position: relative;
        z-index: 5;
        color: #fff;
        text-align: center;
        height: 85vh;
        width: 100%;
    }

    .see-more {
        display: inline-block;
        padding: 8px 22px;
        border: 1px solid #fff;
        margin-top: 15px;
        text-decoration: none;
        color: #fff;
        transition: all 0.2s ease;
        background: var(--accent-color)
    }
    
    
    .see-more:hover{
    opacity: 0.7;
    border: 1px solid transparent;
    }

  /* Affiliation End */


  /* Follow Section */
  .follow-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.follow-container {
    position: relative;
}

.followSwiper {
    width: 100%;
}

.followSwiper .swiper-slide {
    width: 300px; /* square width */
    height: 300px;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.followSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center Follow Button */
.follow-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent-color);
    padding: 14px 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    z-index: 10;
    letter-spacing: 1px;
}

/* Bottom Social Bar */
.social-bar {
    background: #000;
    text-align: center;
    padding: 14px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 16px;
}

.social-bar a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-bar i {
    margin-right: 6px;
}

  /* Follow Section End */



  @media (max-width: 768px){
    .profile-info{
      padding: 0 1.5rem 3rem;
    }
    .timeline-date{
      font-size: 20px;
    }
    .timeline-date::after{
      width: 8px;
      height: 8px;
      right: 7%;
    }
    .timeline-item{
      gap: 10px;
    }
    .resume h2{
      margin-bottom: 40px;
    }
    .btn{
      text-align: center;
      padding: 8px 30px;
      font-size: 16px;
    }
    .resume-section{
      margin-bottom: 20px;
    }
    .preview-img, .real-video{
      height: auto;
    }
    .video-promos h2{
      margin-bottom: 20px;
    }
 
    .play-btn img{
      width: 28px;
    }
    .photography{
      padding: 40px 0;
    }
    .magazine-swiper .swiper-slide img {
    max-width: 360px;
}
.magazine h2{
  margin-bottom: 40px;
}
.project-content{
  height: 75vh;
}
.clients{
  padding-top: 40px;
}
  }



  /* language start */

.language-dropdown {
  position: relative;
  cursor: pointer;
}

.language-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.language-selected:hover {
  border-color: var(--accent-color);
}

.language-selected .flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.language-selected .chevron-down {
  transition: transform 0.3s ease;
}

.language-dropdown.active .language-selected .chevron-down {
  transform: rotate(180deg);
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.language-dropdown.active .language-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: rgba(255, 0, 96, 0.1);
  padding-left: 20px;
}

.language-option.active {
  background: rgba(255, 0, 96, 0.15);
}

.language-option .flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
}

.language-option span {
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .language-dropdown {
    margin-left: auto;
  }
  
  .language-selected {
    padding: 6px 10px;
  }
  
  .language-selected .flag-img {
    width: 20px;
    height: 14px;
  }
  
  .language-options {
    min-width: 130px;
  }
}
  /* language end */


  /* Update Navbar Container */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1001;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.hamburger:hover {
  color: var(--accent-color);
}

.hamburger i {
  transition: transform 0.3s ease;
}

.hamburger.active img:before {
  content: "\f00d"; /* FontAwesome close icon */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-color);
    transform: none;
    left: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    font-size: 18px;
    display: block;
    padding: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .nav-brand {
    z-index: 1001;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    width: 250px;
    padding: 70px 25px 25px;
  }
}


.timeline-item {
    word-break: break-word;
}




.magazine-image-wrapper {
  position: relative;
  overflow: hidden;
}

.magazine-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  pointer-events: none;
}

.magazine-image-wrapper:hover .magazine-overlay {
  opacity: 1;
  pointer-events: auto;
}

.magazine-image-wrapper:hover img {
  filter: grayscale(100%) brightness(0.6) blur(3px);
}

.magazine-content-top {
  text-align: center;
  margin: 4rem auto 0;
      display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 768px) {
  .magazine-content-top {
    margin: 1rem auto 0;
  }
  .posts-box-wrapper h5 {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
}

.magazine-content-top h3 {
  font-size: var(--HeadingTwo);
  -webkit-text-stroke: 0.5px #000;
  text-transform: uppercase;
  font-weight: 900;

  background: linear-gradient(to right, #eb007b, #00a6ff);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

  .magazine-content-top h3 {
    font-size: 50px;
  }

@media (max-width: 768px) {
  .magazine-content-top h3 {
    font-size: 40px;
  }
  .magazine-content-top span {
  font-size: 30px !important;
  }
}

.magazine-content-top span {
  font-size: 30px;
  font-weight: 800;
  color: var(--colorWhite);
  -webkit-text-stroke: 0.5px #000;
  text-transform: uppercase;
}


.magazine-content-bottom {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.magazine-content-top a{
color: #fff;
font-size: 30px;
margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .magazine-content-bottom a span {
    font-size: 0.645rem;
  }

}
 .project-content h5{
    font-weight: 800;
  }

@media (min-width: 1199px){
  .project-content h5{
    font-size: 1.5rem;
  }
  .project-content h2{
    font-size: 1.9rem;
  }
}

.nav-brand img {
    max-height: 50px;
    max-width: 199px;
    margin: 20px 0 0;
}


/* Wrapper controls height */
.gallery-wrapper {
  position: relative;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

/* Collapsed state */
.gallery-wrapper.collapsed {
  max-height: 650px; /* adjust as needed */
}

/* Expanded state */
.gallery-wrapper.expanded {
  max-height: none;
  overflow: visible;
}

/* Fade overlay */
.gallery-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),   /* fully transparent top */
    rgba(0, 0, 0, 0.7), /* semi-transparent mid */
    rgba(0, 0, 0, 1)    /* full black bottom */
  );
  transition: opacity 0.4s ease;
}

/* Hide fade when expanded */
.gallery-wrapper.expanded .gallery-fade {
  opacity: 0;
  visibility: hidden;
}

.video-promos .loadmore {
         position: relative;
    bottom: unset;
    left: unset;
    transform: unset;
    display: block;

    text-align: center;
}



.video-icon {
    position: absolute;
    top: 1%;
    right: 3%;
    background: #0000009e;
    padding: 5px 12px 0;
    border-radius: 8px;
}

.video-icon img{
width: 30px;
}

.plyr__control--overlaid,
.plyr__control:hover
{
background: var(--accent-color) !important;
}

.plyr--full-ui input[type=range],
.plyr--full-ui input[type=range]{
color: var(--accent-color) !important;

}

/* Hide scrollbar arrows */
::-webkit-scrollbar-button {
    display: none;
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

/* Transparent track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Scroll thumb */
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.6); /* black */
    border-radius: 10px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


@media (max-width: 768px){
.photo-categories {
    justify-content: start;
    width: 290px;
    overflow-x: auto;
    max-width: 1200px;
}
}


.project-content h5,
.project-content h2,
 {
  /* Text stroke (works best in WebKit browsers) */
  -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.4);

  /* Fallback + enhancement for all browsers */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 0 1px rgba(0, 0, 0, 0.4);
}

.text-project {
  position: relative;
  padding: 0.8em 0.9em;
   transition: all 0.3s ease;
    
}

.text-project::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: linear-gradient(to bottom, rgb(0 0 0), rgb(0 0 0 / 12%));
  z-index: -1;
  pointer-events: none;
    transition: all 0.3s ease;
    opacity: 0;
}



.project-box:hover .text-project::before {
 display: block;
   transition: all 0.3s ease;
   opacity: 1;
}
