 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
html, body {
    width: 100%;
    overflow-x: hidden;
}

 nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 3rem;
            background-color: #201f1f;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: relative;
            z-index: 100;
            transform: translateY(-100%);
            animation: navSlideDown 0.8s 0.3s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes navSlideDown {
            to { transform: translateY(0); }
        }

        .nav-links a {
            opacity: 0;
            transform: translateY(-20px);
        }

        .nav-links a:nth-child(1) { animation: fadeInDown 0.5s 0.5s forwards; }
        .nav-links a:nth-child(2) { animation: fadeInDown 0.5s 0.6s forwards; }
        .nav-links a:nth-child(3) { animation: fadeInDown 0.5s 0.7s forwards; }

        @keyframes fadeInDown {
            to { opacity: 1; transform: translateY(0); }
        }


.logo-container {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo {
    width: 100px;
    height: 70px;
    border-radius: 0%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-family: "Nunito";
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    font-weight: 700;
    color:rgb(248, 250, 250);
}

.brand-name a:hover {
    font-family: "Nunito";
    text-decoration: none;
    background: linear-gradient(90deg, #3b82f6, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    transition: all 0.3s ease;

}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    font-family: "Nunito";
    font-weight: 300;
    font-style: normal;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 26px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    font-family: "Nunito";
    font-weight: 700;
    font-size: 26px;
    text-decoration: none;
    background: linear-gradient(90deg, #3b82f6, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    transition: all 0.3s ease;

}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
   background: linear-gradient(90deg, #3b82f6, #ef4444);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #747474;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background:#201f1f;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: center; 
    gap: 1.5rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-menu.active {
    transform: translateY(0);
    display: flex;
}

.mobile-menu a {
    font-family: "Nunito";
    font-weight: 700;
    font-style: normal;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    padding: 0.8rem 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #d60d02;
    transition: width 0.3s ease;
}

.mobile-menu a:hover::before {
    width: 80%;
}

.mobile-menu a:active {
    transform: scale(0.95);
}

/* Hamburger to Cross Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: #2d3436;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #707272;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
.logo {
    height:50px;
    width:50px;
}
.brand-name{
    font-size:1.5rem;
    margin-left:10px;
}
    .hamburger {
        display: flex;
    }
}

#binary-clock {
    position: relative;
    overflow: hidden; /* prevents internal overflow */
    width: 100%;
    max-width: 100vw;  /* avoids extra width */
    box-sizing: border-box;
}

.clock-section {
            background-color: #201f1f;
            padding: 40px 20px;
            position: relative;
            overflow: hidden;
        }
        
        .clock-container {
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            padding: 30px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            border: 1px solid #201f1f;
            transform: translateY(50px);
            opacity: 0;
            animation: slideUpFadeIn 1s 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        
        @keyframes slideUpFadeIn {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .clock {
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            max-width: 100%;
            white-space: nowrap;
            font-size: clamp(24px, 8vw, 72px);
            transform: scale(0.8);
            opacity: 0;
            animation: scaleIn 0.8s 1s forwards;
        }
        
        @keyframes scaleIn {
            to {
                transform: scale(1);
                opacity: 1;
            }
        }
        
        .digit-group {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            perspective: 1000px;
        }

        .A { color: #025fc4; }
        .B { color: #d60d02; }
        .C { color: white; }
        
        .clock-digit-container {
            position: relative;
            display: inline-flex;
            justify-content: center;
            width: 1em;
            height: 1.2em;
            margin: 0 0.05em;
            perspective: 1000px;
            flex-shrink: 0;
            transform: translateY(20px);
            opacity: 0;
        }
        
        .clock-digit-container:nth-child(1) { animation: digitEntry 0.6s 0.2s forwards; }
        .clock-digit-container:nth-child(2) { animation: digitEntry 0.6s 0.3s forwards; }
        .clock-digit-container:nth-child(3) { animation: digitEntry 0.6s 0.4s forwards; }
        .clock-digit-container:nth-child(4) { animation: digitEntry 0.6s 0.5s forwards; }
        .clock-digit-container:nth-child(5) { animation: digitEntry 0.6s 0.6s forwards; }
        .clock-digit-container:nth-child(6) { animation: digitEntry 0.6s 0.7s forwards; }
        
        @keyframes digitEntry {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .clock-digit {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 0.6s ease;
        }
        
        .clock-digit.flip {
            transform: rotateX(90deg);
        }
        
        .digit-face {
            position: absolute;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            backface-visibility: hidden;
        }
        
        .digit-front {
            transform: rotateX(0deg);
        }
        
        .digit-back {
            transform: rotateX(90deg);
        }
        
        .colon {
            margin: 0 0.2em;
            width: 0.3em;
            text-align: center;
            flex-shrink: 0;
            transform: scale(0);
            animation: popIn 0.5s 1.8s forwards;
        }
        
        @keyframes popIn {
            0% { transform: scale(0); }
            80% { transform: scale(1.2); }
            100% { transform: scale(1); }
        }
        
        .labels {
            display: flex;
            justify-content: space-between;
            width: 100%;
            max-width: 500px;
            font-size: clamp(16px, 4vw, 36px);
            transform: translateY(20px);
            opacity: 0;
            animation: slideUpFadeIn 0.6s 2s forwards;
        }
        
        .hours-label {
            color: #025fc4;
            font-weight: 500;
            align-items: center;
        }
        
        .minutes-label {
            color: #d60d02;
            font-weight: 500;
        }
        
        .ampm {
            margin-left: 0.5em;
            color: white;
            font-size: clamp(16px, 4vw, 48px);
            flex-shrink: 0;
            transform: translateX(20px);
            opacity: 0;
            animation: slideLeftFadeIn 0.6s 2.2s forwards;
        }
        
        @keyframes slideLeftFadeIn {
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }
        
        .toggle-btn {
            margin-top: 20px;
            padding: clamp(10px, 3vw, 15px) clamp(20px, 6vw, 30px);
            font-size: clamp(14px, 3.5vw, 24px);
            font-weight: bold;
            background-color: #025fc4;
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Oxanium', monospace;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
            transform: translateY(20px);
            opacity: 0;
            animation: slideUpFadeIn 0.6s 2.4s forwards;
        }
        
        .toggle-btn:hover {
            background-color: #d60d02;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(214, 13, 2, 0.3);
        }
        
        .toggle-btn::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, #201f1f, transparent);
            transition: 0.5s;
        }
        
        .toggle-btn:hover::after {
            left: 100%;
        }
        
        /* Floating binary particles background */
        .binary-particle {
            position: absolute;
            color: rgba(255, 255, 255, 0.05);
            font-family: 'Oxanium', monospace;
            font-size: 16px;
            overflow: hidden;
    max-width: 100%;
            user-select: none;
            pointer-events: none;
            animation: float 15s infinite linear;
        }
        
        @keyframes float {
            0% { transform: translateY(0) rotate(0deg); }
            100% { transform: translateY(-1000px) rotate(360deg); }
        }
        
        /* Responsive adjustments */
       
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    .clock-container {
        padding: 20px 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .clock {
        font-size: clamp(16px, 5vw, 22px);
        flex-wrap: nowrap;
        justify-content: center;
        white-space: nowrap;
        width: 100%;
        overflow: hidden;
    }
    
    .digit-group {
        display: flex;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow: hidden;
    }
    
    .clock-digit-container {
        width: 0.7em;
        height: 0.9em;
        margin: 0 0.02em;
        min-width: 0; 
    }
    
    .colon {
        margin: 0 0.05em;
        font-size: 0.8em;
    }
    
    .ampm {
        font-size: clamp(12px, 3.5vw, 16px);
        margin-left: 0.1em;
        white-space: nowrap;
        font-size:0.5rem;
    }
    
    .labels {
        font-size: clamp(12px, 3.5vw, 16px);
        justify-content: space-around;
        width: 100%;
        padding: 0 5px;
    }
    
    .toggle-btn {
        font-size: clamp(12px, 3.5vw, 16px);
        padding: 6px 12px;
        margin-top: 10px;
    }
    
    /* For very small screens */
    @media (max-width: 350px) {
        .clock {
            font-size: clamp(14px, 4vw, 18px);
            transform: scale(0.9);
        }
        
        .clock-digit-container {
            width: 0.6em;
            height: 0.7em;
        }
        
        .ampm {
            display: block;
            width: 100%;
            text-align: center;
            margin-left: 0;
            margin-top: 5px;
            font-size:0.5rem;
        }
    }
}


.heading {
     background-color: #201f1f;
     

}

        .timeline-heading {
            font-family: 'Oxanium', sans-serif;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 70px;
            margin-top: 200px;
            color: white;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);            
            text-shadow: 0 0 10px #ffffff;
            opacity: 1;
            transition: opacity 1s ease, transform 1s ease;
        }

        .timeline-heading.visible {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .timeline-heading::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #ef4444);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .timeline-heading:hover::after {
            transform: scaleX(1);
        }
        
.custom-slider-section {
  position: relative;
  width: 100%;
  display: block;
   background-color: #201f1f;

}

.custom-slider-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.custom-slider-wrapper {
  padding-top: 300px;
  position: relative;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

.custom-checkbox:checked + label,
.custom-checkbox:not(:checked) + label {
  position: relative;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
  margin-right: 4px;
  margin-left: 100px;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid #bdc3c7;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
  animation: border-transform 6s linear infinite alternate forwards;
  animation-play-state: paused;
}

.custom-checkbox.first-slide + label {
  background-image: url('/images/Aryabhatta.png');
}

.custom-checkbox.second-slide + label {
  background-image: url('/images/Brahmagupta.png');
}

.custom-checkbox.third-slide + label {
  background-image: url('/images/Francis Bacon.png');
}

.custom-checkbox.fourth-slide + label {
  background-image: url('/images/Gottfried.png');
}

.custom-checkbox.fifth-slide + label {
  background-image: url('/images/SBS.png');
}

.custom-checkbox:checked + label {
  box-shadow: 0 5px 15px 0 rgba(16,39,112,.3);
  transform: scale(1.3);
  animation-play-state: running;
}

@keyframes border-transform {
  0%,100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; } 
  14% { border-radius: 40% 60% 54% 46% / 49% 60% 40% 51%; } 
  28% { border-radius: 54% 46% 38% 62% / 49% 70% 30% 51%; } 
  42% { border-radius: 61% 39% 55% 45% / 61% 38% 62% 39%; } 
  56% { border-radius: 61% 39% 67% 33% / 70% 50% 50% 30%; } 
  70% { border-radius: 50% 50% 34% 66% / 56% 68% 32% 44%; } 
  84% { border-radius: 46% 54% 50% 50% / 35% 61% 39% 65%; } 
}

.custom-slider-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 400px;
  z-index: 100;
  padding: 0;
  list-style: none;
}

.custom-slider-images li {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 250px;
  border: 3px solid #bdc3c7;
  background-size: cover;
  background-position: center;
  background-image: url('/images/Aryabhatta.png');
  border-radius: 50%;
  box-sizing: border-box;
  font-family: 'Oxanium', sans-serif;
  color: #343434;
  writing-mode: vertical-rl;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 5px 15px 0 rgba(16,39,112,.1);
  transition: all 0.5s ease;
}

.custom-slider-images li span {
  mix-blend-mode: difference;
}

.custom-slider-images li:nth-child(2) {
  background-image: url('/images/Brahmagupta.png');
}

.custom-slider-images li:nth-child(3) {
  background-image: url('/images/Francis Bacon.png');
}

.custom-slider-images li:nth-child(4) {
  background-image: url('/images/Gottfried.png');
}

.custom-slider-images li:nth-child(5) {
  background-image: url('/images/SBS.png');
}

.first-slide:checked ~ .custom-slider-images li:nth-child(1) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 10px;
}

.second-slide:checked ~ .custom-slider-images li:nth-child(2) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 10px;
}

.third-slide:checked ~ .custom-slider-images li:nth-child(3) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 10px;
}

.fourth-slide:checked ~ .custom-slider-images li:nth-child(4) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 10px;
}

.fifth-slide:checked ~ .custom-slider-images li:nth-child(5) {
  opacity: 1;
  pointer-events: auto;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .custom-slider-wrapper {
    padding-top: 220px;
  }
  
  .custom-slider-images li {
    width: 70%;
    height: 250px;
    font-size: 12px;
    margin-left: 50px;
  }
  
  .custom-checkbox:checked + label,
  .custom-checkbox:not(:checked) + label {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 575px) {
  .custom-slider-wrapper {
    padding-top: 180px;
  }
  
  .custom-slider-images li {
    height: 150px;
  }
}


















        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Nunito', sans-serif;
            background-color: #201f1f;
            color: white;
            padding: 20px;
            overflow-x: hidden;
        }

        .section {
            max-width: 1400px;
            margin: 0 auto;
            padding: 60px 20px;
            position: relative;
            overflow: hidden;
        }

        .section-heading {
            font-family: 'Oxanium', sans-serif;
            font-size: clamp(2.5rem, 5vw, 3.5rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 70px;
            color: white;
            position: relative;
            display: inline-block;
            left: 50%;
            transform: translateX(-50%);            
            text-shadow: 0 0 10px #ffffff;
            opacity: 0;
            transition: opacity 1s ease, transform 1s ease;
        }

        .section-heading.visible {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        .section-heading::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #ef4444);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s ease;
        }

        .section-heading:hover::after {
            transform: scaleX(1);
        }

        .boxes-container {
            display: flex;
            flex-direction: column;
            gap: 40px;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        /* Animation Classes */
        .application-box {
            background-color: rgba(32, 31, 31, 0.8);
            border-radius: 8px;
            width: 90%;
            margin: 0 auto;
            transition: all 0.4s ease;
            padding: 40px;
            position: relative;
            overflow: hidden;
            border-left: 4px solid #3b82f6;
            border-right: 4px solid #ef4444;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            opacity: 0;
            transform: translateX(-100px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .application-box.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .application-box.right {
            transform: translateX(100px);
        }

        .application-box.right.visible {
            transform: translateX(0);
        }

        .application-box:hover {
            transform: translateY(-8px) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
        }

        /* Content and Image Boxes */
        .content-box, .image-box {
            background-color: rgba(32, 31, 31, 0.8);
            border-radius: 8px;
            width: 45%;
            transition: all 0.4s ease;
            padding: 30px;
            position: relative;
            overflow: hidden;
            border-left: 4px solid #3b82f6;
            border-right: 4px solid #ef4444;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
            min-height: 300px;
            opacity: 0;
            transform: translateX(-100px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .content-box.right, .image-box.right {
            transform: translateX(100px);
        }

        .content-box.visible, .image-box.visible {
            opacity: 1;
            transform: translateX(0);
        }

        .content-box:hover, .image-box:hover {
            transform: translateY(-8px) translateX(0) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
        }

        .image-container {
            width: 100%;
            height: 250px;
            margin: 20px auto;
            overflow: hidden;
            border-radius: 6px;
            position: relative;
        }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .image-box:hover .image-container img {
            transform: scale(1.05);
        }

        /* Middle Row */
        .middle-row {
            display: flex;
            justify-content: center;
            gap: 100px;
            width: 90%;
            margin: 0 auto;
        }

        /* Typography */
        .box-heading {
            font-family: 'Oxanium', sans-serif;
            font-size: clamp(1.8rem, 3.5vw, 2.4rem);
            font-weight: 600;
            color: #3b82f6;
            margin-bottom: 20px;
            text-align: center;
            position: relative;
            display: inline-block;
            padding-bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
        }

        .box-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, #3b82f6, #ef4444);
        }

        .box-description {
            font-size: clamp(1rem, 2vw, 1.2rem);
            line-height: 1.6;
            color: white;
            margin-bottom: 25px;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .button-container {
            display: flex;
            justify-content: center;
            position: relative;
        }

        .learn-button {
            background-color: transparent;
            color: white;
            border: none;
            padding: 10px 24px;
            font-size: 1.1rem;
            font-weight: 600;
            font-family: 'Oxanium', sans-serif;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            z-index: 1;
            margin-bottom: 10px;
            border: 2px solid #3b82f6;
            text-transform: uppercase;
            letter-spacing: 1px;
            text-decoration: none;
            display: inline-block;
        }

        .learn-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, #3b82f6, transparent);
            transition: 0.5s;
            z-index: -1;
        }

        .learn-button:hover {
            color: white;
            box-shadow: 0 0 20px #3b82f6;
        }

        .learn-button:hover::before {
            left: 100%;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .middle-row {
                flex-direction: column;
                gap: 30px;
                width: 90%;
            }
            
            .content-box, .image-box {
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 40px 15px;
            }
            
            .boxes-container {
                gap: 30px;
            }
            
            .application-box {
                padding: 30px 25px;
                width: 95%;
            }
            
            .content-box, .image-box {
                padding: 25px 20px;
            }
            
            .image-container {
                height: 200px;
            }
            
            .learn-button {
                padding: 8px 20px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .section-heading {
                margin-bottom: 50px;
            }
            
            .application-box, .content-box, .image-box {
                padding: 20px 15px;
                width: 100%;
                border-left: 2px solid #3b82f6;
                border-right: 2px solid #ef4444;
            }
            
            .image-container {
                height: 180px;
                margin: 15px auto;
            }
            
            .box-description {
                margin-bottom: 20px;
            }
            
            .learn-button {
                padding: 8px 16px;
                font-size: 0.9rem;
            }
        }







                :root {
            --primary: #ff0033;
            --secondary: #4285f4;
            --bg: #201f1f;
            --text: #fff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            overflow-x: hidden;
        }

        .section-title {
            text-align: center;
            padding: 3rem 1rem 2rem;
            position: relative;
            font-family: 'Oxanium', sans-serif;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
        }

        .section-title.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .section-title h2 {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 1rem;
            font-weight: 700;
            letter-spacing: 1px;
        }

        .section-title p {
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
            font-family: 'Nunito', sans-serif;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .tech-duos-container {
            padding: 1rem 5%;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 3rem;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.8s ease-out 0.4s, transform 0.8s ease-out 0.4s;
        }

        .tech-duos-container.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .duo-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            overflow: hidden;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(255, 0, 51, 0.1);
            transition: transform 0.4s, box-shadow 0.4s;
            position: relative;
            border-top: 3px solid var(--primary);
            border-bottom: 3px solid var(--secondary);
            font-family: 'Nunito', sans-serif;
        }

        .duo-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(255, 0, 51, 0.2);
        }

        .duo-images {
            display: flex;
            height: 320px;
            position: relative;
        }

        .duo-images img {
            width: 50%;
            height: 100%;
            object-fit: cover;
            filter: grayscale(20%) contrast(110%);
            transition: filter 0.4s;
        }

        .duo-card:hover .duo-images img {
            filter: grayscale(0%) contrast(100%);
        }

        .duo-info {
            padding: 1.8rem;
        }

        .duo-info h3 {
            color: var(--primary);
            margin-bottom: 0.8rem;
            font-size: 1.8rem;
            font-family: 'Oxanium', sans-serif;
            font-weight: 600;
        }

        .duo-info .achievement {
            color: var(--secondary);
            font-weight: 700;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            line-height: 1.5;
        }

        .member {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
        }

        .member:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .member h4 {
            color: var(--text);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
            font-family: 'Oxanium', sans-serif;
            font-weight: 600;
        }

        .member p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
            line-height: 1.7;
        }

        .binary-animation {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--bg);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 10;
            overflow: hidden;
            padding: 2rem;
            text-align: center;
        }

        .binary-line {
            color: var(--primary);
            font-size: 0.9rem;
            font-family: 'Oxanium', monospace;
            line-height: 1.8;
            opacity: 0.7;
            width: 100%;
            text-align: center;
            margin: 0.2rem 0;
        }

        @media (max-width: 768px) {
            .section-title h2 {
                font-size: 2.2rem;
            }
            
            .tech-duos-container {
                padding: 1rem;
                gap: 2rem;
            }
            
            .duo-card {
                max-width: 100%;
            }
            
            .duo-images {
                height: 280px;
            }
        }

        @media (max-width: 480px) {
            .section-title h2 {
                font-size: 1.8rem;
            }
            
            .section-title p {
                font-size: 1rem;
            }
            
            .duo-images {
                height: 250px;
            }
            
            .duo-info {
                padding: 1.2rem;
            }
            
            .duo-info h3 {
                font-size: 1.5rem;
            }
            
            .member h4 {
                font-size: 1.1rem;
            }
        }

/* Footer */
        footer {
            background-color: #201f1f;
            color: white;
            font-family: 'Nunito', sans-serif;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .footer-logo {
            width: 50px;
            height: 50px;
            margin-right: 15px;
        }

        .footer-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .footer-brand-name {
            font-family: 'Oxanium', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: #ff0000;
        }

        .footer-description {
            margin-bottom: 20px;
            line-height: 1.5;
            color: #ddd;
            font-size: 15px;
        }

        .footer-column h3 {
            font-family: 'Oxanium', sans-serif;
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 20px;
            color: #0077ff;
        }

        .footer-column ul {
            list-style: none;
            padding: 0;
        }

        .footer-column ul li {
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .footer-column ul li i {
           
            color: #ff0000;
            width: 20px;
            text-align: center;
        }

        .footer-column ul li a {
            color: white;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: #0077ff;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            color: white;
            font-size: 20px;
            transition: color 0.3s;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #0077ff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .social-links a:hover {
            color: white;
            background-color: #ff0000;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            margin-top: 30px;
            border-top: 1px solid #333;
            font-size: 14px;
            color: #aaa;
        }

        .footer-bottom p {
            margin: 0;
        }

        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .footer-brand {
                justify-content: center;
                text-align: center;
                flex-direction: column;
            }
            
            .footer-logo {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .footer-description {
                text-align: center;
            }
            
            .social-links {
                justify-content: center;
            }
            
            .footer-column h3 {
                text-align: center;
            }
            
            .footer-column ul {
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 480px) {
            footer {
                padding: 40px 5% 20px;
            }
            
            .footer-brand-name {
                font-size: 20px;
            }
            
            .footer-column h3 {
                font-size: 18px;
            }
            
            .footer-column ul li {
                font-size: 14px;
            }
            
            .footer-bottom {
                font-size: 12px;
            }
        }

        
       /* Back to Top Button Styles */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, #d60d02, #025FC4);
            color: white;
            border: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 99;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
        }
        
        .binary-animationn {
            display: flex;
            font-size: 12px;
            font-family: monospace;
            margin-bottom: 2px;
        }
        
        .binary-digitt {
            animation: binaryChange 1.5s infinite;
            animation-delay: calc(var(--order) * 0.2s);
        }
        
        .arrow {
            font-size: 18px;
            font-weight: bold;
        }
        
        @keyframes binaryChange {
            0%, 100% {
                color: #d60d02;
                transform: translateY(0);
            }
            25% {
                color: #363535;
            }
            50% {
                color: #025FC4;
                transform: translateY(-3px);
            }
            75% {
                color: #363636;
            }
        }