@font-face {
    font-family: 'A Jannat';
    src: url('/..assets/fonts/A.Jannat.LT.Regular.ttf') format('woff2');
    font-weight: 400;
}

@font-face {
    font-family: 'A Jannat';
    src: url('../assets/fonts/A.Jannat.LT.Bold.ttf') format('woff2');
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/* Services Container */
.services-container {
    max-width: 1200px;
    margin: -3rem auto 4rem;
    padding: 0 2rem;
}

/* Service Card */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card:hover {
    /* cursor: pointer; */
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.service-icon {
    width: auto;
    height: 75px;
    flex-shrink: 0;
}

.service-header-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-header-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.service-content {
    padding: 2.5rem;
}

.service-description {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: #1e3a5f;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h3 {
    color: #1e3a5f;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-wrapper {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.cta-section {
    width: 100%;
    max-width: 1140px;
    background: linear-gradient(135deg, #1a2b4a 0%, #2d4a7c 100%);
    color: white;
    padding: 2.5rem;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: #1a2b4a;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.modal-header h2 {
    color: #1e5a8e;
    font-size: 2rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.close-btn:hover {
    background-color: #f0f0f0;
    color: #1e5a8e;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.modal-description {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.open-modal-btn {
    display: inline-block;
    color: #1e5a8e;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    border: 2px solid #1e5a8e;
    border-radius: 5px;
    transition: all 0.3s;
    cursor: pointer;
    background-color: transparent;
    width: 100%;
    text-align: center;
    font-size: 17px;
}

.open-modal-btn:hover {
    background-color: #1e5a8e;
    color: white;
}
