@import url('../resources/main.css');


.hero-section{
    width: 100%;
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.hero-section::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(50, 50, 50, 0.4);

}
.hero-section h1{
    color: white;
    z-index: 2;
    font-weight: 700;
    text-transform:uppercase;
    font-size: clamp(38px,2em,48px);
}

.head_text{
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-color);
    margin: 20px 0;
    text-transform: uppercase;
}


.card-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-content: center;
    gap: 20px;
   align-content: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    margin-top: 1rem;
  }
  
  .card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 240px;
    height: 300px;
    text-align: center;
  }
  


  .card:hover {
    background-color: var(--light_primary);
  }
  
  .card h2 {
    font-size:clamp(17px,2em,20px);
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
  }
  
 
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
display: none;
    z-index:99 ;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    overflow: auto;
}

.popup-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    overflow-y: auto; 
    max-height: 80vh; 
}

.popup-content h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.popup-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.6;
}

.popup-content ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    text-align: left;
}

.popup-content ul li {
    font-size: 16px;
    color: #444;
    padding: 8px 15px;
    border-left: 4px solid #007BFF;
    background: rgba(0, 123, 255, 0.1);
    margin-bottom: 8px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

.popup-content ul li:hover {
    background: rgba(0, 91, 187, 0.2);
    transform: translateX(5px);
}


@media (max-width: 600px) {
    .popup-content {
        width: 95%;
        max-height: 90vh; 
        padding: 15px;
    }

    .popup-content h3 {
        font-size: 18px;
    }

    .popup-content p,
    .popup-content ul li {
        font-size: 14px;
    }
}


.btn1 {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #fff;
    border: none;
    padding: 12px 26px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 91, 187, 0.3);
}

.btn1:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 91, 187, 0.5);
}

@media  screen and (max-width:768px) {
    .card-container{
        grid-template-columns: repeat(1,1fr);
        max-width: 200px;
    }
}