/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    } 
    body{
        background: #fde7cc;
        justify-content:center;
    }
    .heading-title{
    background:rgb(219, 165, 99);
    color: #fff;
    height: 100%;
    font-size:2rem;
    position:sticky;
    top:125px;
    padding:0.2rem;
    max-width: 900px;
    margin: 30px auto ;
    border-top-right-radius:5px;
    border-top-left-radius:5px;
    z-index: 1000;
    }
    .card {
    max-width: 900px;
    margin: 30px auto ;
    border-radius: 0px;
    overflow: hidden;
    /* box-shadow: 20px 10px 20px rgba(0, 0, 0, 0.1); */
    display: flex;
    background-color: #fff;
    transition: transform 0.3s ease;
    padding: 15px;
    }
    
    /* Image Section */
    .image-section img {
    width: 100%;
    /* height: 100%; */
    height: 300px;
    max-width: 300px;
    object-fit: cover;
    display: block;
    background-size:cover;
    border-radius: 2px;
    }
    
    /* Info Section */
    .info-section {
    padding: 20px;
    flex: 1;
    }
    
    .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .header h2 {
    font-size: 24px;
    color: #333;
    }
    
    .rating {
    font-size: 16px;
    background: #4CAF50;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    margin-left: 10px;
    }
    
    .header a {
    font-size: 14px;
    color: #007BFF;
    text-decoration: none;
    margin-left: 10px;
    }
    
    .meta {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    font-size: 14px;
    color: #666;
    }
    
    .rank {
    background: #FFD700;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #333;
    }
    
    .details {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
    }
    
    .details div {
    margin: 4px 0;
    }
    
    .read-more-container {
    margin: 15px 0;
    font-size: 14px;
    }
    
    .more-text {
    display: none;
    }
    
    .read-more-btn {
    background: none;
    border: none;
    color: #007BFF;
    cursor: pointer;
    font-weight: bold;
    margin-top: 5px;
    }
    
    .shortlist {
    margin: 15px 0;
    color: #555;
    font-size: 14px;
    }
    
    .actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
    }
    
    .actions button,
    .actions .download-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    }
    
    .actions button {
    background: #28a745;
    color: #fff;
    }
    
    .download-btn {
    display: inline-block;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    }
    .download-btn:hover{
        background-color: #0565cc;
        transform: translateY(-2px);
    }
    .view-details-btn {
        padding: 10px 20px;
        background-color: #069e3e;  /* Bootstrap Blue */
        color: white;
        text-decoration: none;
        border-radius: 2px;
        font-weight: 600;
        transition: background-color 0.3s ease, transform 0.2s ease;
        text-align: center;
    }

    .view-details-btn:hover {
        background-color: #04772e;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    
    
    .actions .apply-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    }
    .apply-btn {
    background: brown;
    color: #fff;
    text-decoration: none;
    text-align: center;
    }
    .apply-btn:hover{
        background-color: rgb(124, 30, 30);
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    /* Modal Styling */
    .modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    }
    
    .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    }
    
    .modal-content input {
    width: 90%;
    padding: 8px;
    margin-top: 10px;
    margin-bottom: 10px;
    }
    
    .close-btn {
    padding: 10px 20px;
    background: #28a745;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    }
    
    
    /* Responsive Design */
    @media (max-width: 768px) {
    .card {
        flex-direction: column;
        margin:25px;
    }
    
    .image-section img {
        max-width: 100%;
        height: auto;
    }
    
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .header h2 {
        font-size: 20px;
    }
    
    .rating {
        font-size: 13px;
    }
    
    .details div {
        font-size: 13px;
    }
    /* .heading-title{
        top:125px;
        margin:18px;
    } */
    }
    @media (max-width: 768px) {
        .heading-title {
          top:120px;
          margin: 18px auto;
          font-size: 1.5rem;
        }
      }
  
      @media (max-width: 480px) {
        .heading-title {
          font-size: 1.2rem;
        }
      }





/* image banner section  */
    .image-banner-section {
        width: 100%;
        height: 400px;
        background-image: url('https://static.vecteezy.com/system/resources/previews/027/183/857/large_2x/college-student-walking-to-university-campus-education-banner-concept-free-photo.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
        padding: 0 20px; /* For small screen spacing */
        box-sizing: border-box;
    }

    .image-banner-section h1 {
        font-size: 48px;
        margin: 0;
        /* color: brown; */
        text-align: center;
        color: rgb(232, 209, 180);
    }

    .breadcrumb {
        font-size: 18px;
        margin-top: 10px;
        text-align: center;
        /* color: #090909; */
    }

    .breadcrumb a {
        text-decoration: none;
        color: rgb(254, 35, 6);
    }
    .breadcrumb span{
      color:rgb(251, 249, 249);
    }

    /* Responsive styles */
    @media (max-width: 768px) {
        .image-banner-section {
            height: 300px;
        }

        .image-banner-section h1 {
            font-size: 36px;
        }

        .breadcrumb {
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {
        .image-banner-section {
            height: 200px;
        }

        .image-banner-section h1 {
            font-size: 28px;
        }

        .breadcrumb {
            font-size: 14px;
        }
    }