/* Base reset and theme colors remain unchanged */

/* --- Main Section --- */
.main-section {
    justify-content: center;
    background: linear-gradient(135deg, var(--black-bg), var(--mixture-bg));
    max-width: 100vw;
    min-height: 100vh; 
}

/* --- Layout Width Wrapper --- */
.layout-width {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem; /* Added padding for better mobile spacing */
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: var(--text-light);
    width: 100%;
    flex-wrap: wrap;
    min-height: 70vh; 
}

/* --- Left Side --- */
.hero-left {
    flex: 0;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 50%;
    /* max-width: 600px; Prevents text from becoming too wide on large screens */
}

.hero-heading {
    color: var(--hover-bg);
    font-size: clamp(1.2rem, 2.5vw, 1.5rem); /* Responsive font size */
    padding: 0.3rem 0;
    margin-bottom: 0.5rem;
}

.highlight {
    color: var(--hover-bg);
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* More responsive scaling */
    font-weight: bold;
    line-height: 1.2;
}

.subheading1 {
    font-size: clamp(2rem, 5vw, 3rem); /* Better responsive scaling */
    margin: 0.5rem 0;
    line-height: 1.1;
    font-weight: 700;
}

.subheading2 {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    padding: 0.3rem 0;
    margin-bottom: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cta-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    border: 2px solid var(--hover-bg);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-btn:active {
    transform: translateY(0);
}

/* --- Right Side --- */
.hero-right {
    flex: 0;
    /* padding: 2rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 50%;
}

.hero-right img {
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    margin-top: 20px;
    height: auto;
    outline: var(--hover-bg);
    outline-style:dashed;
    object-fit: cover;
    transform: rotate(-5deg);
    transition: transform 0.3s ease,outline-style 0.3s ease;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-right img:hover {
    transform: rotate(-0deg) scale(1.01);
    outline-style:solid;
}

/* youtube video layout  */
/* Trust Video Section */
.trust-video-section {
    padding: 4rem 0;
    background: var(--black-bg);
    color: var(--text-light);
    text-align: center;
}

.trust-video-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trust-heading {
    font-size: 2.2rem;
    color: var(--hover-bg);
    margin-bottom: 1rem;
}

.trust-subheading {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.trust-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.stat-item i {
    color: var(--hover-bg);
    font-size: 1.2rem;
}

.stat-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .trust-video-section {
        padding: 3rem 0;
    }
    
    .trust-heading {
        font-size: 1.8rem;
    }
    
    .trust-subheading {
        font-size: 1rem;
    }
    
    .trust-stats {
        gap: 1rem;
    }
    
    .stat-item {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .trust-video-section {
        padding: 2rem 0;
    }
    
    .trust-heading {
        font-size: 1.5rem;
    }
    
    .trust-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        justify-content: center;
    }
}


/* second layout about me  */

.about-me {
    padding-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
}
.about-me-left{
    background-color: var(--mixture-bg);
    width: 50%;
    height: 100vh;
}
.about-me-right{
    background-color: var(--black-bg);
    width: 50%;
    height: 100vh;
}
.about-me-main{
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    z-index: 1000;
    /* background-color: rgb(109, 105, 105); */
    border-radius: 1rem;
    /* gap: 1rem; */
}

.main-top{
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .7rem;
}
.about-container{
    border: 1px solid rgba(255, 255, 255, 0.05);;
    border-radius: .3rem;
    padding: 1rem 2.5rem;
    width:100%  ;
    background-color: var(--mixture-bg);
    color: var(--text-light);
    box-shadow: 2px 8px 18px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}
.about-container:hover{
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.cont-icon{
    font-size: 2.4rem;
    color: var(--hover-bg);
    padding: .6rem 0;
}
.making-invert1{
    background-color: var(--black-bg);
}
.making-red{
    background-color: var(--hover-bg);
}
.cont-icon i{
    width: 60px;
}

.head{
    line-height: 25px;
    font-size: 1.3rem;
}
.para{
    padding: 1rem 0;
    font-size: .8rem;
}
.red-para{
    color: var(--hover-bg);
    cursor: pointer;
}

/* about me bottom  */
.main-bottom {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.bottom-left{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: var(--text-light);
    cursor: pointer;
}

/* Video Album Styles */
.album-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    background-color: var(--mixture-bg);
    justify-items: center;
    padding: 1rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}

.video-al {
    width: 100%;
    max-width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease;
    background-color: #000;
    position: relative;
    cursor: pointer;
}

.video-al video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.video-al:hover {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-al:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox for Videos */
.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.video-lightbox video {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    outline: none;
}

.video-lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .album-videos {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .video-al {
        max-width: 140px;
        height: 140px;
    }
    
    .play-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .album-videos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .video-al {
        max-width: 120px;
        height: 120px;
    }
    
    .play-icon {
        font-size: 1.2rem;
    }
}
.years{
    color: var(--hover-bg);
    font-size: 4rem;
    font-weight:bolder;
}
.right-cont {
    display: grid;
  grid-template-columns: repeat(2, 1fr);  /* 2 columns */
  grid-template-rows: repeat(2, auto);    /* 2 rows */
  gap: 1.5rem;  /* spacing between boxes */
  padding: 2rem;
}
.right-box{
    color: var(--text-light);
    display: flex;
    justify-content: center;
    flex-direction: column;
    border :1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    background-color: var(--mixture-bg);
    padding: .6rem 4.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.right-box:hover{
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.box-heading{
    color: var(--hover-bg);
}

/* section album ctr family */
.click-to-rise-family {
    margin-top: 1rem;
    padding: 4rem 1rem;
    background-color: var(--black-bg);
    color: var(--text-light);
}

.ct-album {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Each album group: Mentors, Partners, Team */
.Mentors,
.Partners,
.Team {
    width: 100%;
    text-align: center;
}

/* Headings for each group */
.album-heading {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    margin-left: 1.2rem;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    display: flex;
    flex-direction: row;
    align-items: start;
}

/* Image grid layout */
.album-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    background-color: var(--mixture-bg);
    justify-items: center;
    padding: 1rem 1rem;
    border-radius: 2rem;
}

/* Individual image containers */
.image-al {
    width: 100%;
    max-width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease;
}

.image-al img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.image-al:hover {
    cursor: pointer;
    transform: scale(1.05);
}


/* Video Album Styles */
.album-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    background-color: var(--mixture-bg);
    justify-items: center;
    padding: 1rem 1rem;
    border-radius: 2rem;
}

.video-al {
    width: 100%;
    max-width: 180px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
    transition: transform 0.3s ease;
    background-color: #000;
    position: relative;
    cursor: pointer;
}

.video-al.portrait {
    height: 320px; /* Taller for portrait videos */
}

.video-al video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.video-al:hover {
    transform: scale(1.05);
}

.video-al:hover video {
    opacity: 0.8;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-al:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Lightbox Styles for Videos */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.lightbox video {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--hover-bg);
    outline: none;
}

.lightbox-nav {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.lightbox-nav button {
    background: var(--shadow);
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    transition: 0.2s;
}

.lightbox-nav button:hover {
    background: var(--hover-bg);
}

#closeBtn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .album-videos {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .video-al {
        max-width: 140px;
        height: 140px;
    }
    
    .video-al.portrait {
        height: 240px;
    }
    
    .lightbox video {
        max-width: 90vw;
        max-height: 60vh;
    }
}


@media (max-width: 480px) {
    .album-videos {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .video-al {
        max-width: 120px;
        height: 120px;
    }
    
    .video-al.portrait {
        height: 200px;
    }
    
    .play-icon {
        font-size: 1.5rem;
    }
}

/* light boxes  */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
  }
  
  .lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--hover-bg);
  }
  
  .lightbox-nav {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
  }
  
  .lightbox-nav button {
    background: var(--shadow);
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    transition: 0.2s;
  }
  
  .lightbox-nav button:hover {
    background: var(--hover-bg);
  }
  
  #closeBtn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
  }


  /* trust section  */
/* Trust Section Styling */
.disclaimer-trust {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--black-bg);
}

.disclaimer-trust h2 {
    font-size: 2rem;
    color: var(--hover-bg);
    margin-bottom: 20px;
}

.disclaimer-trust p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px;
}

.trust-box {
    margin-top: 1rem;
    display: inline-block;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border: 2px solid #4f46e5;
    border-radius: 12px;
    background-color: var(--mixture-bg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 650px;
}
.text-box{
    width: 65%;
    text-align: left;
}
.text-box h1{
    color: var(--hover-bg);
    margin-bottom: .5rem;
}
.text-box p{
    color: var(--text-light);
}

.click-me-box-btn{
    border: 1px solid var(--hover-bg);
    background-color: transparent;
    padding: 1rem 2rem;
    color: var(--text-light);
    font-size: 1rem;
    border-radius: 1rem;
    transition: background-color .2s ease-in;
}
.click-me-box-btn a{
    color: var(--text-light);
    text-decoration: none;
}
.click-me-box-btn:hover{
 background-color: var(--hover-bg);
 cursor: pointer;
}

/* Responsive Breakpoints */
@media (max-width: 830px) {
   
    .about-me-main{
        width: 80%;
    }

    .about-container{
        width: 110%;
    }
    .disclaimer-trust {
        padding: 40px 15px;
    }

    .disclaimer-trust h2 {
        font-size: 1.6rem;
    }

    .disclaimer-trust p {
        font-size: 1rem;
    }

    .trust-box {
        padding: 20px;
    }

    .trust-box h3 {
        font-size: 1.2rem;
    }

    .trust-box a {
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .disclaimer-trust{
        display: flex;
    }
    .trust-box{
        display: flex;
        flex-direction: column;
        
    }
    .disclaimer-trust h2 {
        font-size: .8rem;
        display: flex;
        flex-direction: row;
    }

    .trust-box {
        width: 100%;
    }
}



/* about me media queries  */
/* 📱 Mobile Devices */
@media (max-width: 768px) {
    .about-me {
      flex-direction: column;
    }
  
    .about-me-left,
    .about-me-right {
      display: none; /* Hide side backgrounds on small devices */
    }
  
    .about-me-main {
      position: static;
      transform: none;
      width: 95%;
      height: auto;
      padding: 1rem;
    }
  
    .main-top {
      grid-template-columns: 1fr; /* Stack containers */
      gap: 1rem;
    }
  
    .about-container {
      padding: 1rem 1.5rem;
      width: 100%;
    }
  
    .main-bottom {
      grid-template-columns: 1fr; /* Stack left & right */
      gap: 1.5rem;
    }
  
    .bottom-left {
      padding: 1.5rem 0;
    }
  
    .right-cont {
      grid-template-columns: 1fr; /* Stack right boxes */
      padding: 1rem;
      gap: 1rem;
    }
  
    .right-box {
      padding: 1rem 2rem;
    }
  
    .years {
      font-size: 3rem;
    }
  
    .box-heading {
      font-size: 1.5rem;
    }
  
    .album-heading {
      font-size: 1.5rem;
    }
  }
  
  /* 📲 Smaller Mobile Devices (e.g., 450px and below) */
  @media (max-width: 450px) {
    .hero-heading,
    .head {
      font-size: 1rem;
    }
  
    .subheading1 {
      font-size: 1.3rem;
    }
  
    .years {
      font-size: 2.5rem;
    }
  
    .right-box {
      padding: 1rem;
    }
  
    .para {
      font-size: 0.75rem;
    }
  
    .cont-icon {
      font-size: 1.6rem;
    }
  }
  


/* light box media queries  */

@media (max-width: 768px) {
    .lightbox img {
      max-width: 90%;
      max-height: 70%;
    }
  
    .lightbox-nav {
      gap: 0.5rem;
    }
  
    .lightbox-nav button {
      padding: 0.6rem 1rem;
      font-size: 1rem;
    }
  
    #closeBtn {
      top: 15px;
      right: 20px;
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 480px) {
    .lightbox img {
      max-width: 95%;
      max-height: 60%;
    }
  
    .lightbox-nav button {
      padding: 0.5rem 0.8rem;
      font-size: 0.9rem;
    }
  
    .lightbox-nav {
      flex-direction: column;
      align-items: center;
    }
  
    #closeBtn {
      top: 10px;
      right: 15px;
      font-size: 1.4rem;
    }
  }
  



/* Responsive tweaks */
@media (max-width: 768px) {
    .album-heading {
        font-size: 1.5rem;
    }

    .image-al {
        max-width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .album-images {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .image-al {
        max-width: 120px;
        height: 120px;
    }
}








/* --- Media Queries --- */

/* Large Tablets and Small Desktops (1024px and below) */
@media (max-width: 1024px) {
    .main-section {
        padding-top: 3%;
    }
    
    .hero {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-left {
        align-items: center;
        padding: 2rem 0;
        max-width: 100%;
    }
    
    .hero-right {
        padding: 1rem 0;
        width: 100%;
    }
    
    .hero-right img {
        max-width: 400px;
        transform: rotate(-3deg);
    }
}

/* Medium Tablets (995px and below) */
@media (max-width: 995px) {
    .hero-left {
        padding-top: 3rem;
    }
    
    .hero {
        min-height: 60vh;
    }
}

/* Small Tablets (768px and below) */
@media (max-width: 768px) {
    .main-section {
        padding-top: 3%;
    }
    
    .hero {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
        gap: 2rem;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-left {
        align-items: center;
        padding: 2rem 0;
        max-width: 100%;
    }
    
    .hero-right {
        padding: 1rem 0;
        width: 100%;
    }
    
    .hero-right img {
        max-width: 320px;
        transform: rotate(-3deg);
    }
    
    .cta-btn {
        padding: 0.8rem 2rem;
        margin-top: 1.5rem;
    }
}

/* Large Mobile Devices (480px and below) */
@media (max-width: 480px) {
    .layout-width {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 1rem 0;
        gap: 1.5rem;
    }
    
    .hero-left {
        padding: 1rem 0;
    }
    
    .hero-heading {
        margin-bottom: 0.3rem;
    }
    
    .subheading2 {
        margin-bottom: 0.5rem;
    }
    
    .cta-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1.8rem;
        margin-top: 1rem;
        border-radius: 1.5rem;
    }
    
    .hero-right img {
        max-width: 280px;
        transform: rotate(0deg);
    }
    
    .hero-right img:hover {
        transform: rotate(0deg) scale(1.02);
    }
}

/* Extra Small Mobile Devices (360px and below) */
@media (max-width: 360px) {
    .layout-width {
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-left {
        padding: 0.5rem 0;
    }
    
    .cta-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .hero-right img {
        max-width: 250px;
    }
}

/* Landscape orientation for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
    .main-section {
        padding-top: 2%;
    }
    
    .hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-left {
        padding: 5rem 0;
    }
    
    .subheading1 {
        margin: 0.3rem 0;
    }
    
    .cta-btn {
        margin-top: 1rem;
    }
}