
body {
    margin: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    overflow-x  : hidden;
  
  }
  body {
    font-family: Arial, sans-serif;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
}
.clg {
    background-color: #d32f2f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 100px;
    font-size: 24px;
    font-weight: bold;
}
.container {
    display: flex;
    margin: 20px;
}
aside {
    width: 25%;
    padding-right: 20px;
}
main {
    width: 75%;
}
.filter-section {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    background: white;
}
.filter-header {
    background: #e0e0e0;
    padding: 10px;
    font-weight: bold;
    cursor: pointer;
}
.filter-content {
    padding: 10px;
    display: none;
}
.college-card {
    background: white;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.college-card img {
    max-width: 150px;
    height: auto;
}
.college-info {
    margin-left: 15px;
}
.button {
    background: #1976d2;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 3px;
}
.button.red {
    background: #d32f2f;
}
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
  
  }
  
  .top-bar {
    background-color: #000;
    color: #fff;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
   position: fixed;

   
  }
  
  .top-left {
    font-size: 14px;
  }
  
  .apply-btn {
    background-color: gold;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
    background-color: #fff;
    overflow: hidden;
    z-index: 999;
    min-width: 98%;
    max-width: 100%;
    position: fixed;
  
  }
  
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: red;
  }
  
  .logo span {
    color: #000;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
  }
  
  .header-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  #payment1{
    width: 200px;
    margin-left: -50px;
    border-radius: 10px;
  }
 
  .live-counselling {
    position: relative;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.4s;
  }
  
  .live-counselling ::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* /* background: linear-gradient(90deg, #00ccff, #00ff11); */
    background: linear-gradient(30deg, #f9d751, #ffad53, #f7875f, #e5686b, #cc5075, #ae3f7a, #8e3479, #6c2d72); /* made at https://learnui.design/tools/gradient-generator.html */ 
    z-index: -1;
    transition: transform 0.4s ease-in-out;
    transform: scaleX(0);
    transform-origin: left;
  }
  
  .live-counselling:hover::before {
    transform: scaleX(1);
  }
  
  .live-counselling:hover {
    color: #fff;
  }
  
  .live-counselling::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /* background: linear-gradient(45deg, #ff8c00, #ff0080, #00ffcc, #ff0048); */
    background-image: linear-gradient(to right top, #d16ba5, #c777b9, #ba83ca, #aa8fd8, #9a9ae1, #8aa7ec, #79b3f4, #69bff8, #52cffe, #41dfff, #46eefa, #5ffbf1);
    z-index: -2;
    animation: border-animation 1.5s linear infinite;
  }
  
  @keyframes border-animation {
    0% {
      filter: hue-rotate(0deg);
    }
    100% {
      filter: hue-rotate(360deg);
    }
  }
  
  .apply-online{
    background-color: red;
    color: #fff;
  
  }
  .header-buttons .btn {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
  }
  .college-info img{
    width: 200px;
    height: 300px;
    border-radius: 5px;
  }
  .college-info h3{
    margin-top: 20px;
    text-align: justify;
  }
  .college-info p{
    margin-top: 10px;
    text-align: justify;
  }
  .footer {
    background: #0c1b4d;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  .footer .column {
    max-width: 250px;
  }
  .footer h3 {
    color: yellow;
  }
  .footer a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px 0;
    transition: transform 0.3s;
  }
  .footer a:hover {
    transform: translateX(5px);
    color: lightgray;
  }
  .header1,.sidebar{
    display: none;
  }
  @media (max-width: 768px) {
    html,body{
      overflow-x: hidden;
      overflow-y: auto;
    }
    .filter-section{
      display: none;
    }
    .header,.header-content{
      display: none;
    }
    .header1 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        color: white;
    }
  .found{
    display: none;
  }
  #sortBy{
    display: none;
  }
    .logo {
        font-size: 20px;
        font-weight: bold;
    }
  
    .menu-toggle {
        background-color: #0066b2;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
  
    /* Sidebar Menu */
    .sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100%;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: 0.3s ease-in-out;
        padding: 20px;
    }
  
    .sidebar.open {
        transform: translateX(0);
    }
  
    .sidebar .close-btn {
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        float: right;
    }
  
    .sidebar ul {
        list-style: none;
        padding: 0;
    }
  
    .sidebar ul li {
        padding: 10px 0;
        font-size: 18px;
        border-bottom: 1px solid #ddd;
    }
  
    .sidebar ul li a {
        text-decoration: none;
        color: #333;
        display: block;
    }
    .sidebar ul li:hover{
      background-color: orange;
      border-radius: 10px;
    }
  .sidebar ul li a:hover{
    
    color: #fff;
    /* background-color: orange; */
  }
    /* Buttons */
    .apply-btn {
        background: red;
        color: white;
        padding: 12px;
        text-align: center;
        display: block;
        font-size: 18px;
        border-radius: 5px;
        margin-bottom: 15px;
    }
  
    .live-counselling {
        border: 2px solid red;
        color: #fff;
        padding: 12px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        border-radius: 5px;
        margin-bottom: 15px;
    }
  
    .live-counselling img {
        margin-right: 10px;
    }
  
    .call-btn {
       
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        border-radius: 5px;
    }
  .btn-contact{
    border: 2px solid #0066b2;
    color: #0066b2;
    padding: 12px;
    /* padding: 10px; */
    width: 100%;
    font-size: 20px;
    border-radius: 5px;
  }
    .banner img {
      display: none;
    }
    .chat-button{
      display: flex;
      width: 100px;
      height: 20px;
      font-size: 12px;
      text-align: center;
      text-decoration: line-through;
    
    }
    .college-card {
      /* display: none; */
      width: 300px;
      border: 1px solid #ddd;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      text-align: center;
      margin: 10px;
      margin-left: -90px;
    }
    
    .college-card img {
      width: 100%;
      height: auto;
      margin-top: -100px;
    }
    
    .college-info {
      margin-top: 100px;
      margin-left: -170px;
      float: left;
      padding: 10px;
    }
    
    .college-card h3 {
      margin: 5px 0;
      font-size: 17px;
      
    }
    
    .college-card p {
    word-wrap: break-word;
      font-size: 12px;
      margin: 2px 0;
      color: #666;
    }
    .button{
    display: none;
    }
    .button .red{
    display: none;
    }
      /* .call-btn img {
          margin-right: 10px;
      } */
      .footer1{
        background: #0c1b4d;
        color: white;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        flex-wrap: wrap; 
      }
      .column{
        /* background-color: #00ff11;
        display: flex;
        flex-direction: column;
        max-width: max-content;
        width: 100%;
        margin-left: 25%; */
        /* display: none; */
        white-space: nowrap;  /* Keeps the text in a single line */
        overflow: hidden;  /* Prevents overflow */
        text-overflow: ellipsis;  /* Adds '...' if text is too long */
        width: 90%;  /* Increases width */
        max-width: 600px; /* Ensures it's not too wide */
        margin: 0 auto; /* Centers the div */
        padding: 10px; /* Adds spacing */
        
      }
      .footer {
        background-color: #1a2b4c;
        color: white;
        padding: 20px;
      }
      .footer .column {
        background-color: #2c3e60;
        margin: 5px 0;
        padding: 10px;
        border-radius: 5px;
        display: flex;
        flex-direction: row;
        width: 100%;
      }
      .column h3{
        text-align: center;
        justify-content: center;
      }
      
      .footer h3 {
        flex-direction: column;
        text-align: center;
        margin: 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
       /* .column i{
        margin-left: 120%;
        /* margin-top: -10%; */
        /* text-align: center; */
      /* }  */
      .footer .links {
        text-align: center;
        display: flex;
        display: none;
        flex-direction: column;
        padding-top: 10px;
      }
      .links a{
        display: flex;
        text-align: center;
        margin-top: 10px;
        margin-left: -100px;
      }
      .footer a {
        color: white;
        text-decoration: none;
        padding: 5px 0;
        display: block;
      }
      .footer-bottom {
        text-align: center;
        padding: 10px;
        background-color: #152238;
        color: white;
      }
      .footer-icons {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
      }
      .footer-icons i {
        font-size: 20px;
        color: white;
      }
      .chat-button {
        position: fixed;
        bottom: 15px;
        right: 15px;
        background-color: #25D366;
        color: white;
        padding: 10px 15px;
        border-radius: 50px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
      }
      .footer1 .column h3{
        font-size: 20px;
        text-align: center;
        
      }
      .footer1 p{
        font-size: 10px;
        text-transform: uppercase;
      }
      .header1 h1{
        font-size: 20px;
      }
      .column img{
        display: none;
      }
      #column1 h3{
      display: none;
      }
      #column2 h3{
      display: none;
      }
      .social-media {
      display: flex;
      gap: 15px;
      align-items: center;
      background-color: #03114a; /* Dark blue background */
      padding: 10px;
      border-radius: 8px;
      }
      .social-media a {
      text-decoration: none;
      color: white;
      font-size: 18px;
      display: flex;
      align-items: center;
      gap: 5px;
      }
      .footer-bottom{
      width: 100%;
      size-adjust: 10px;
      font-size: 10px;
      }
      .pagination { text-align: center; margin-top: 20px; margin-left: -100px; }
      .pagination button { padding: 8px 12px; margin: 2px; border: 1px solid #ccc; background: white; cursor: pointer; }
      .pagination .active { background: #0056b3; color: white; border: none; }
      .found{
        
          margin-left: -100%;
      }
  }
    /* Responsive Styles */
    @media (max-width: 1024px) {
      .header-content {
        flex-direction: column;
        text-align: center;
      }
    
      nav ul {
        justify-content: center;
        gap: 10px;
      }
    
      .header-buttons {
        justify-content: center;
      }
    
      .search-bar input {
        width: 250px;
      }
    }
    .callback-box1{
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      background: #ff0000;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s;
  }
  .callback-box:hover {
      transform: scale(1.1);
  }
  .footer1 {
      background: #0c1b4d;
      color: white;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
  }
  .footer1 .column {
      max-width: 250px;
  }
  .footer1 h3 {
      color: yellow;
  }
  .footer1 a {
      display: block;
      color: white;
      text-decoration: none;
      padding: 5px 0;
      transition: transform 0.3s;
  }
  .footer1 a:hover {
      transform: translateX(5px);
      color: lightgray;
  }
  .footer-bottom {
      background: #001233;
      color: white;
      text-align: center;
      padding: 10px;
      font-size: 14px;
  }
  .social-media {
    display: flex;
    flex-direction: column;
}
.social-media a {
    color: white;
    margin: 5px 0;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.social-media i {
    margin-right: 10px;
}
.chat-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #007aff;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.chat-button i {
    margin-right: 5px;
}
#Guarantee{
  width: 200px;
  margin-left: -45px;
  margin-top: -20px;
}
.pagination { text-align: center; margin-top: 20px; }
.pagination button { padding: 8px 12px; margin: 2px; border: 1px solid #ccc; background: white; cursor: pointer; }
.pagination .active { background: #0056b3; color: white; border: none; }
.found{
    margin-left: 28%;
}
#sortBy{
    float: right;
    margin-top: -30px;
    margin-right: 40px;
    border-radius: 5px;
}