* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    /* color:rgb(255, 255, 255); */
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;

}

.container-login100 {

    width: 100%;
    min-height: 100vh;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.container-login100::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.65);
}

/* Card */
.card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
  }
  
  .card-header,
  .card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
  }
  
  .card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
  }
  
  .card-title span {
    color: #899bbd;
    font-size: 14px;
    font-weight: 400;
  }
  
  .card-body {
    padding: 0 20px 20px 20px;
  }
  
  .card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
  }
  

.header-image-link{
    position: fixed;
    top: 3px;
    left: 24px;
    align-items: center;
    padding: 6px 14px;
    color: #111827;
    text-decoration: none;
}
.header-image{
    width: 48%;
    height: 40%;
   
}
.sign-out-btn {
    position: fixed;
    top: 9px;
    right: 24px;
    align-items: center;
    padding: 6px 14px;
    color: #111827;
    text-decoration: none;
}

.sign-out-btn i {
    font-size: 25px;
}

.sign-out-btn:hover {
    color: rgb(219, 40, 16);
}

/* Header Section - Carousel */
.header-section {
    margin-top: 64px;
    position: relative;
    /* min-height: 60vh; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 60vh;
    margin: 0 auto;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    border-radius: 0;
    transform: translateX(0);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide.slide-animate {
    animation: slideFromRight 0.9s ease forwards;
}

@keyframes slideFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.25) 100%); */
    /* backdrop-filter: blur(3px); */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 84px;
    font-weight: 700;
    /* text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.3); */
    /* letter-spacing: 2px; */
    /* line-height: 1.1; */
    color: #0f5982;
}
.header-content p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    /* font-weight: 700; */
    /* text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 0, 0, 0.3); */
    /* line-height: 1.1; */
    color: #d3945e;
}
.hadding-image{
    width: 10%;
    height: 22%;
    left: 0;
    right: 0;
}

.carousel-slide > div {
    position: relative;
    /* z-index: 2; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(2px);
    /* padding: 40px 20px; */
    /* border-radius: 12px; */
    /* margin: 20px; */
    /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); */
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    background: rgba(12, 12, 12, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.nav-arrow:hover {
    background: rgba(44, 43, 43, 0.35);
    transform: translateY(-50%) scale(1.15);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-arrow.prev {
    left: calc((100% - 90%) / 2 - 86px);
}

.nav-arrow.next {
    right: calc((100% - 90%) / 2 - 86px);
}

.nav-arrow.prev::before {
    content: '←';
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-arrow.next::before {
    content: '→';
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Desk Elements (Decorative) */
.desk-elements {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    opacity: 0.8;
    pointer-events: none;
}

.desk-elements::before {
    content: '📄';
    font-size: 60px;
    position: absolute;
    bottom: 20px;
    right: 100px;
}


/* Content Section */
.content-section {
    background: #ffffff;
    padding: 100px 40px;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.modal-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    margin-top: 10px;
    width: 100%;
    gap: 12px;
}

.modal-nav-buttons .btn {
    min-width: 120px;
    font-size: 15px;
    padding: 8px 22px;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.service-subtitle {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
    font-style: normal;
    letter-spacing: 0.4px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 12px;
}

.service-description {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.8;
    letter-spacing: 0.1px;
    font-weight: 400;
}


/* Modal/Popup Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 50px;
    padding-top: 60px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
    background-image:
        radial-gradient(circle, rgba(102, 126, 234, 0.15) 1px, transparent 1px);
    background-size: 25px 25px;
    border: 3px solid rgba(102, 126, 234, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.modal-header h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 23px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    max-width: 700px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 28px;
    color: #667eea;
    font-weight: bold;
    line-height: 1;
    z-index: 10;
    /* background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.2); */
}

/* .modal-close:hover {
    background: #667eea;
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: #667eea;
} */


.modal-body {
    font-family: 'Times New Roman', Times, serif;
    background: rgba(255, 255, 255, 0.4);
    padding-left: 30px;
    padding-top: 5px;
    padding-right: 30px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.modal-section {
    margin-bottom: 35px;
    background: rgba(239, 242, 243, 0.6);
    padding: 10px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.modal-section-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.modal-section-title::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 18px;
    font-weight: bold;
}

.modal-section-item {
    margin-left: 35px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    color: #2d3748;
    line-height: 1.8;
    font-weight: 500;
}

.modal-section-item::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 12px;
    top: 4px;
}

.modal-benefit-item {
    margin-left: 35px;
    margin-bottom: 15px;
    font-size: 16px;
    color: #2d3748;
    line-height: 1.8;
    font-weight: 500;
}

.modal-benefit-label {
    font-weight: 700;
    color: #1a202c;
    font-size: 17px;
}

.modal-list {
    list-style: none;
    margin-left: 35px;
    padding-left: 0;
}

.modal-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 22px;
    font-size: 15px;
    color: #2d3748;
}

.modal-list li::before {
    content: '➤';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 13px;
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #e6f2ff;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background:  #e6f2ff;
}