/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(to right, #1b1c31, #5a1e7e);
  color: #333;
  overflow-x: hidden;
  color: #fcf9f9;

}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(100, 149, 237, 0.1);
  animation: float 15s infinite linear;
}

.circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -50px;
  left: -50px;
  animation-delay: 0s;
}

.circle:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circle:nth-child(3) {
  width: 250px;
  height: 250px;
  top: 60%;
  left: 10%;
  animation-delay: 4s;
  animation-duration: 18s;
}

.circle:nth-child(4) {
  width: 150px;
  height: 150px;
  top: 80%;
  left: 70%;
  animation-delay: 1s;
  animation-duration: 10s;
}

.circle:nth-child(5) {
  width: 100px;
  height: 100px;
  top: 30%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 8s;
}

@keyframes float {
  0% {
      transform: translateY(0) rotate(0deg);
      opacity: 1;
  }
  100% {
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
  }
}

















:root {
    --primary-color: #3b82f6;  /* Brighter blue for better contrast on dark */
    --secondary-color: #2563eb;
    --text-color: #f9fafb;     /* Light text for dark background */
    --light-color: #1f2937;
    --dark-color: #111827;
    --nav-bg: #000000;         /* Pure black background */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.navbar {
    background-color: var(--nav-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    width: 300px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-container:focus-within {
    box-shadow: 0 0 0 2px var(--primary-color);
    background-color: rgba(255, 255, 255, 0.2);
}

.search-input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0.5rem;
    outline: none;
    font-size: 0.9rem;
    color: white;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.search-button:hover {
    color: white;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .hamburger {
        display: block;
        order: 3;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--nav-bg);
        width: 100%;
        text-align: center;
        transition: all 0.5s ease;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .search-container {
        order: 2;
        margin: 0 1rem;
        width: auto;
        flex-grow: 1;
    }
    
    .navbar-brand {
        order: 1;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 992px) {
    .navbar-menu {
        gap: 1rem;
    }
    
    .search-container {
        width: 200px;
    }
}
/* ... (keep all previous CSS rules above) ... */

/* Mobile Styles - Specific Width Adjustments */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
        flex-wrap: wrap;
    }
    
    .hamburger {
        display: block;
        order: 2;
        margin-left: auto; /* Pushes hamburger to right */
    }
    
    .navbar-brand {
        order: 1;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin: 0.5rem 0 0 0;
    }
    
    /* Hamburger animation styles remain the same */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--nav-bg);
        width: 100%;
        text-align: center;
        transition: all 0.5s ease;
        padding: 1rem 0;
        box-shadow: var(--shadow);
        gap: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-menu.active {
        left: 0;
    }
}

/* Specific adjustments for 560px */
@media (max-width: 560px) {
    .navbar-container {
        padding: 0 0.8rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hamburger {
        padding: 0.4rem;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
    }
    .search-container {
        width: 90%;
        margin: 0.5rem auto 0 auto;
    }
}

/* Specific adjustments for 360px */
@media (max-width: 360px) {
    .navbar-container {
        padding: 0 0.6rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .hamburger {
        padding: 0.3rem;
    }
    
    .bar {
        width: 20px;
        height: 2px;
    }
     .search-container {
        width: 85%;
        padding: 0.4rem 0.8rem;
    }
    
    .search-input {
        font-size: 0.8rem;
    }
}

/* Specific adjustments for 320px */
@media (max-width: 320px) {
    .navbar-brand {
        font-size: 1rem;
    }
    
    .hamburger {
        padding: 0.25rem;
    }
    
    .bar {
        width: 18px;
    }
     .search-container {
        width: 85%;
        padding: 0.4rem 0.8rem;
    }
    
    .search-input {
        font-size: 0.8rem;
    }.search-container {
        width: 80%;
        padding: 0.3rem 0.7rem;
    }
    
    .search-input {
        font-size: 0.75rem;
    }
    
    .search-button {
        font-size: 0.8rem;
    }
}












  
header {
    margin-bottom: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

header:hover {
    transform: translateY(-5px);
}


 


.erro {
    color: #33ea29;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.sub {
    color: #25105d;
    font-size: 22px;
    font-weight: 600;
    margin: 25px 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #3498db;
}

/* Container Styles */
.container-shif, .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 15px;
}

/* Subject Container Styles */
.subject-container {
    background: linear-gradient(135deg, #306160 0%, #063867 100%);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.subject-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #e74c3c;
}

.subject-name {
    font-weight: 600;
    color: #f0f2f3;
    font-size: 16px;
}

/* Download Link Styles */
.click-link {
    background-color: #0b1b25;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 80px;
}

.click-link:hover {
    background-color: #20323d;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-shif, .container {
        grid-template-columns: 1fr;
    }
    
    .erro {
        font-size: 24px;
    }
    
    .sub {
        font-size: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.subject-container {
    animation: fadeIn 0.5s ease forwards;
}

/* Create staggered animation */
.subject-container:nth-child(1) { animation-delay: 0.1s; }
.subject-container:nth-child(2) { animation-delay: 0.2s; }
.subject-container:nth-child(3) { animation-delay: 0.3s; }
.subject-container:nth-child(4) { animation-delay: 0.4s; }
.subject-container:nth-child(5) { animation-delay: 0.5s; }









/* Footer Styles */
footer {
    color: rgb(244, 243, 248);
    padding: 4rem 4rem 0;
    background-color: #050111;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .footer-section {
    width: 30%;
    margin-bottom: 2rem;
    
  }
  
  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #f5f4f7;
    text-decoration: underline;
  }
  
  .footer-section ul li {
    margin-bottom: 0.8rem;
    list-style: none;
  }
  
  .footer-section ul li a {
    text-decoration: none;
    color: #51ac9e;
    transition: all 0.3s;
  }
  
  .footer-section ul li a:hover {
    color: #f8f9fe;
    padding-left: 5px;
  }
  
  .footer-section p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: #bacff8;
  }
  
  .footer-section p i {
    margin-right: 10px;
    color: rgb(248, 246, 246);
  }
 
  .social-icons a:hover {
    background-color: #5458d2;
    transform: translateY(-3px);
    color: white;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    color: rgba(239, 240, 238, 0.7);
    font-size: 0.9rem;
    background-color: #050303;
    height: 100%;
    margin: 100;
    padding: 100;
  
  }





  /* Responsive Styles */
@media (max-width: 992px) {

   
      
      .nav-links {
          gap: 1rem;
      }
      
      .footer-section {
          width: 45%;
      }
    }






    @media (max-width: 992px) {
        .header {
            padding: 1.5rem;
        }
        
        .logo h1 {
            font-size: 1.5rem;
        }
        
        h2 {
            font-size: 2rem;
        }
        
        h3 {
            font-size: 1.5rem;
        }
        
        .footer-content {
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .footer-section {
            width: 100%;
        text-align: center;
        }
      
        .footer-section p {
          text-align: center;
        }
        .grid-item {
            width: 700px;
            height: 80px;
    
        }
    

    
    }





    @media (max-width: 721px) {
      .grid-item {
        width: 500px;
        height: 80px;

    }

    .text{
      text-align: center;
      text-decoration: underline;
      font-size: 20%;
    }
  }






    
@media (max-width: 600px) {
    .header {
        padding: 1.5rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-section {
        width: 100%;
    text-align: center;
    }
  
    .footer-section p {
      text-align: center;
    }
    .grid-item {
        width: 400px;
        height: 80px;

    }
    .text{
      text-align: center;
      text-decoration: underline;
      font-size: x-large;
      
    }

}


@media (max-width: 481px) {



.grid-item {
    width: 300px;
    height: 50px;
}



.grid-link {

  font-size: 19px;

}

.ami {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    margin: 0px auto 50px auto;
    max-width: 1000px;
    padding: 0rem;
    border-radius: 0px;
    text-align: center;
}


.assam {
  color: #f9fafb;
  font-size: 10px;
}

.par {
  background-color: #050303;
  padding: 10px;
  font-size: 10px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;


}
}


/* Responsive adjustments */
        @media (max-width: 375px) {
            .subject-container {
                padding: 10px 12px;
            }
            .subject-name {
                font-size: 15px;
            }
            .click-link {
                padding: 5px 10px;
                font-size: 12px;
            }
        }

        @media (max-width: 360px) {
            .subject-name {
                font-size: 14px;
            }
            .click-link {
                padding: 4px 8px;
            }
        }

        @media (max-width: 320px) {
            body {
                padding: 5px;
            }
            .subject-container {
                padding: 8px 10px;
                flex-direction: column;
                align-items: flex-start;
            }
            .subject-name {
                margin-bottom: 8px;
                white-space: normal;
            }
            .click-link {
                align-self: flex-end;
            }
        }