* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;

            
        }

        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
             background-color: #fff1fa;
        }

        /* Header */
        header {
             display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 130px;
    background-color: #fff1fa;

    /* box-shadow: 0 2px 10px rgb(255, 255, 255);
    position: relative;
    z-index: 10; */
        }

.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    /* background: #F3F3F3; same as body */
    background-color: #fff1fa;
}


        .logo img {
            height: 80px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }

        nav ul li a {
            text-decoration: none;
            color: #000;
            font-size: 18px;
            font-weight: bold;
            transition: all 0.3s ease;
            padding-bottom: 5px;
            position: relative;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: #5c83e6;
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        nav ul li a:hover {
            color: #5c83e6;
            transform: translateY(-2px);
        }



        /* Hero Section */
        .hero {
            padding: 30px 130px;
            background-color: #fff1fa;
        }

        .hero h1 {
            font-size: 72px;
            font-weight: bold;
            color: #5c83e6;
            margin-bottom: 10px;
            display: inline-block;
        }

        .hero h1 span {
            color: #000;
        }

        .hero .tagline {
            font-size: 30px;
            display: inline-block;
            margin-left: 20px;
            margin-bottom: 10px;
            vertical-align: middle;
            font-weight: 100;
        }
        .hero .tag {
            font-size: 30px;
            display: inline-block;
            margin-left: 20px;
            margin-bottom: 20px;
            vertical-align: middle;
            color: #5c83e6;
            font-weight: bolder;
        }

        .hero h2 {
            font-size: 48px;
            font-weight: 500;
        }

        .hero h2 span {
            color: #5c83e6;
        }

        /* Works Section */
        .works {
            padding: 30px 130px 50px 100px;
            background-color: #fff1fa;
        }

        .work-item {
            display: flex;
            align-items: center;
            gap: 50px;
            margin-bottom: 80px;
        }

        .work-item-1 {
           gap:50px;
          margin-right: 100px;
        }

        .logo-1{
          /* margin-left: -10p; */
        }
        /* .work-item:nth-child(even) {
            /* flex-direction: row-reverse; */

        /* .video-container {
            flex: 1;
            max-width: 700px;
            background-color: #000;
            position: relative;
            padding-bottom: 39.375%;
            cursor: pointer;
            overflow: hidden;
            border-radius: 8px;
        } */

        .work-item-2{
            gap: 100px;
            margin-left: 100px;
        }
      

        /* .video-container video {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          object-fit: contain;   
          background-color: #000; 
        } */


        /* .video-1{
            background-color: #ffffff;
        } */
        /* .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 0;
            height: 0;
            border-left: 50px solid #000;
            border-top: 30px solid transparent;
            border-bottom: 30px solid transparent;
            cursor: pointer;
            z-index: 10;
        } */

        
.video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin: 0px auto 0px;
  background: gray;
  margin-top: 25px;
  margin-bottom: 30px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease;
}

.video-container.paused .video {
  filter: blur(6px);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 64px;
  color: #000;
}

.video-container.playing .play-overlay {
  display: none;
}


.video-wrapper {
  display: flex;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-container__play-button{
    color: #fff;

}

.animation__description {
  margin-top: 40px;
  max-width: 900px;
  margin-bottom: 60px;
}

.animation__description p {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Update this rule */
.video-container.paused .video {
  /* This keeps it clear. If you still want blur during mid-video pauses, 
     we would need a specific 'ended' class. */
  filter: none; 
}



 .work-info {
    flex: 0 0 300px;
    text-align: center;
}

.work-info img {
    max-width: 200px;
    margin-bottom: 20px;
}

.work-info h3 {
    font-size: 32px;
    color: #5c83e6;
    margin-bottom: 10px;
}

/* Green variant heading */
.work-info.green h3 {
    color: #5A9E6F;
}

/* ================= LINK ================= */
.work-info a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: 600;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    /* 🔑 SAME transition timing */
    transition: color 0.3s ease;
}


.know-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #000;
  text-decoration: none;
}

.playbutton-icon {
  width: 20px;
  height: 20px;
  background-color: #5c83e6;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 12px;

  /* tiny optical fix */
  padding-left: 2px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.know-more:hover {
  color: #e49424;

}

.know-more:hover .playbutton-icon {
  background-color: #e49424;

}


/* Video 1 */
/* ===============================
   VIDEO FUNCTIONALITY STATES
   =============================== */

/* Hide play button while playing */
.video-container.playing .play-button {
  display: none;
}

/* Blur video when paused */
.video-container.paused video {
  filter: blur(6px);
}

/* Smooth transition */
.video-container video {
  transition: filter 0.35s ease;
}



.video-2 .play-button {
  border-left-color: #fff;   /* white triangle */
}

/* ================= HOVER ================= */
.work-info a:hover {
    color: #e49424;
}

.know-more:hover {
  color: #e49424;
}

.know-more:hover .play-icon {
  background-color: #e49424;
  transform: scale(1.05); /* optional – feels premium */
}

/* ================= GREEN VARIANT ================= */
.know-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
  text-decoration: none;

  transition: color 0.3s ease;
}

.play-icon {
  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 12px;
  padding-left: 3px;
  padding-top: 1px;

  color: #fff;
  background-color: #5A9E6F;   /* 💚 green */

  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover sync */
.know-more:hover {
  color: #5A9E6F;
}

.know-more:hover .play-icon {
  background-color: #5A9E6F;
  /* transform: scale(1.05); */
}


.know-more:hover .play-icon {
  background-color: #e49424;
  transform: scale(1.05); /* optional – feels premium */
}


/* Footer */

footer {
  background-color: #3C3C3C;
  color: #fff;
  padding: 60px 150px 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 28px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #fff;
  display: inline-block;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-section p {
  font-size: 16px;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid #666;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.footer-bottom-right {
  display: flex;
  gap: 20px;
}

.work-footer{
  margin-top: 115px;
}

.social-cont{
  margin-top: 15px;
  margin-left: -5px;
}



.social-icon{
  height: 60px;
  width: 60px;
}

.footer-list{
  text-decoration: none;
  color: white;
}

.footer-list:hover{
  color: #5c83e6;
}

.contact {
  display: flex;
}

.label {
  width: 60px;        /* controls colon position */
}

.value {
  white-space: nowrap;
}

        /* Responsive */
        @media (max-width: 1024px) {
            header {
                padding: 20px 40px;
            }

            .hero {
                padding: 60px 40px;
            }

            .hero h1 {
                font-size: 70px;
            }

            .hero h2 {
                font-size: 38px;
            }

            .works {
                padding: 40px 40px;
            }

            .work-item {
                gap: 30px;
            }

            footer {
                padding: 40px 40px 20px;
            }
        }

/* ================================
   MOBILE VIEW (<= 768px)
   ================================ */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .logo img {
        height: 60px;
    }

    nav ul {
        gap: 15px;
        font-size: 16px;
    }

    /* Hero Section - Better Mobile Layout */
    .hero {
        padding: 30px 20px;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 36px;
        display: block;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .hero .tag {
        font-size: 18px;
        margin-left: 0;
        display: inline;
    }

    .hero .tagline {
        font-size: 18px;
        margin-left: 0;
        display: block;
        margin-top: 5px;
        line-height: 1.4;
    }

    .hero h2 {
        font-size: 24px;
        margin-top: 15px;
        line-height: 1.3;
    }

    /* Works Section - Critical Mobile Fixes */
    .works {
        padding: 20px 20px 40px;
    }

    /* Reset margins for mobile */
    .work-item-1,
    .work-item-2 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        gap: 20px !important;
    }

    /* Stack layout properly */
    .work-item {
        flex-direction: column;
        margin-bottom: 50px;
        gap: 20px;
    }

    /* First work item: Video is first in HTML, so reverse to show logo first */
    .work-item-1 {
        flex-direction: column-reverse;
    }

    /* Second work item: Info is already first in HTML, keep normal order */
    .work-item-2 {
        flex-direction: column;
    }

    /* Video Container - Perfect Mobile Sizing */
    .video-container {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        margin: 0 auto;
        border-radius: 10px;
    }

    /* Work Info - Centered and Compact */
    .work-info {
        flex: unset;
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .work-info img {
        max-width: 140px;
        margin-bottom: 15px;
    }

    .work-info h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .know-more {
        font-size: 16px;
    }

    /* Footer Mobile Adjustments */
    footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 35px;
    }

    .footer-section h4 {
        font-size: 22px;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 14px;
    }

    .work-footer {
        margin-top: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }

    .social-cont {
        margin-top: 15px;
        margin-left: 0;
        display: flex;
        gap: 15px;
        justify-content: center;
    }
}


/* ================================
   SMALL MOBILE (<= 480px)
   ================================ */
@media (max-width: 480px) {

    header {
        padding: 12px 15px;
    }

    .logo img {
        height: 50px;
    }

    nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 14px;
    }

    /* Hero - Extra Small Screens */
    .hero {
        padding: 25px 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero .tag,
    .hero .tagline {
        font-size: 16px;
    }

    .hero h2 {
        font-size: 20px;
        margin-top: 12px;
    }

    /* Works Section */
    .works {
        padding: 15px 15px 30px;
    }

    .work-item {
        margin-bottom: 40px;
    }

    .work-info img {
        max-width: 120px;
    }

    .work-info h3 {
        font-size: 22px;
    }

    .know-more {
        font-size: 15px;
    }

    /* Video - Maintain aspect ratio */
    .video-container {
        border-radius: 8px;
    }

    /* Footer */
    footer {
        padding: 30px 15px 20px;
    }

    .footer-section h4 {
        font-size: 20px;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 11px;
    }

    .contact {
        flex-direction: column;
        gap: 2px;
    }

    .label {
        width: 100%;
    }
}