/* Container */
.container {
    width: 90%;
    margin: auto;
    padding: 20px;
}

/* Hide sections initially */
.section {
    display: none;
}

/* 4 Column Responsive Grid */
.grid, .scroll-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .grid, .scroll-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid, .scroll-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE VIEW — ONE CARD PER ROW (Vertical scroll only) */
@media (max-width: 600px) {
    .grid, .scroll-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .card {
        padding: 18px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    .btn {
        width: 100%;
        padding: 14px;
        font-size: 17px;
    }
}

/* Card */
.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    text-align: center;
}

/* Remove link blue color */
.card a {
    text-decoration: none;
    color: #222;
}

/* Circle Image */
.profile-img, .pro-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px auto;
}

/* Left aligned details */
.card-details {
    text-align: left;
    margin-top: 10px;
    font-size: 18px;
}

/* Contact Button */
.btn {
    display: block;
    width: 90%;
    margin: 15px auto 0 auto;
    padding: 12px;
    text-align: center;
    background: rgb(84, 84, 151);
    color: white;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
        
}

h2 {
    text-align: center;
    margin: 20px 0;
}

h3 {
    font-size: 20px;
}
