.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
}


.hero-section p {
    font-size: 1.2rem;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e73be;
    margin-bottom: 20px;
}

.stylish-input {
    border: 2px solid #1e73be;
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.3s;
}

.stylish-input:focus {
    border-color: #ffa500;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.stylish-btn {
    background-color: #ffa500;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.stylish-btn:hover {
    background-color: #ff8800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.stylish-input {
    border: 2px solid #1e73be;
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.3s;
}

.stylish-input:focus {
    border-color: #ffa500;
    box-shadow: 0 0 5px rgba(255, 165, 0, 0.5);
}

.is-invalid {
    border-color: #e74c3c !important;
    box-shadow: 0 0 5px rgba(231, 76, 60, 0.5) !important;
}
.text-danger {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
}
/* Professional image container with consistent aspect ratio */
.card-img-container {
    width: 100%;
    height: 300px; /* Adjust height as needed for a professional look */
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures consistent cropping */
    object-position: center;
}

/* Center the card body and text */
.card-body {
    padding: 15px;
}

/* Responsive carousel */
@media (max-width: 768px) {
    .card-img-container {
        height: 200px; /* Smaller height for mobile */
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .card-img-container {
        height: 250px; /* Adjust for tablet screens */
    }

    .card-title {
        font-size: 1.2rem;
    }

    .card-text {
        font-size: 1rem;
    }
}


.animate__fadeInUp {
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.modal-content {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: #DD644B;
    color: white;
    border-bottom: none;
}

.modal-body {
  font-family: "Effra-Regular";
  color:var(--dl-color-grays-gray100);
}

.modal-footer {
    border-top: none;
}

.btn-primary {
    background-color: #DD644B;
    border-color: #DD644B;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #ffcc33;
    border-color: #ffcc33;
}

.rq-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* General Card Styling */
.card {
    background: #f8f9fa; /* Matches the .rq-info background */
    border-radius: 10px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 20px; /* Consistent padding with .rq-info */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Matches .rq-info shadow */
    box-sizing: border-box;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Consistent Card Content */
.card img {
    width: auto;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    text-align: center;
    width: 100%;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: auto;
    flex-grow: 1;
}

.btn-primary {
    background-color: #DD644B;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    align-self: center;
    color: #fff;
    font-family: "Effra-Regular";
}

.btn-primary:hover {
  transform: translateY(-5px);
}

/* For Smaller Screens */
@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column; /* Stacks cards vertically */
        align-items: center; /* Centers cards */
    }

    .card {
        order: unset; /* Default order unless overridden */
        width: 100%; /* Full width for smaller screens */
        max-width: 400px; /* Optional max-width for better appearance */
    }

    /* Reorder Cards Using Unique Classes */
    .card.sharjah-children {
        order: 1; /* Move this card to the top */
    }

    .card.sharjah-youth {
        order: 2;
    }

    .card.sajaya-girls {
        order: 3;
    }

    .card.sharjah-capability {
        order: 4;
    }
}