/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: background 0.3s ease-in-out;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    width: 250px;
    height: 70px;
    color: #333;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    padding: 5px 10px;
}

nav ul li a:hover, .active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 5s infinite;
}

/* Overlay Effect */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    top: 0;
    left: 0;
}

/* Content Styling */
.content {
    position: absolute;
    z-index: 1;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: right;
    width: 80%;
}

.content h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.content p {
    font-size: 12px;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(0, 123, 255, 0.3);
}

.button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.dots-container {
    text-align: center;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease, transform 0.3s ease;
    cursor: pointer;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.prev, .next {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    z-index: 1;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
}
.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}

/* about us */
.about-us {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-us h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 20px;
    border-bottom: 2px solid #007BFF; /* Border bottom for the title */
}

.about-us .intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    color: black;
    background-color: rgba(255, 255, 255,0.8);
    text-decoration: none;
    font-size: 1rem;
    margin-top: 40px;
    transition: background-color 0.3s;
    border-top: 2px solid #007BFF;
    border-bottom: 2px solid #007BFF; /* Border bottom for the title */
}

.cta-button:hover {
    border-top: 2px solid orange;
    border-bottom: 2px solid orange; /* Border bottom for the title */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 30px;
    justify-items: center;
    text-align: center; /* Align text to the left */
}

.value-card {
    background-color: #fff;
    height: 300px;
    padding: 20px;
    border-bottom: 3px solid #007BFF; /* Border bottom for each card */
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid orange; /* Border bottom for each card */

}

.value-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}
/* Our Services */
.our-services {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.our-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.our-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}
.our-services h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #333;
}
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    position: relative;
    margin-top: 3px;
    height: 450px; /* Adjust height as needed */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-img{
    object-fit: cover;
    animation: zoomEffect 10s infinite;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 0.3; /* Reduce image opacity on hover */
    object-fit: cover;
    animation: zoomEffect 5s infinite;
}
.card-content{
    position: absolute;
    text-align: left;
    justify-content: end;
    width: 90%;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s;
}
.card-content1{
    position: absolute;
    text-align: left;
    justify-content: end;
    width: 90%;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-decoration: none;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.card-content a{
    text-decoration: none;
}
.card:hover .card-content {
    opacity: 0; /* Show content on hover */
}
.card:hover .card-content1 {
    opacity: 1; /* Show content on hover */
}

.card-content h3 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}
.card-content1 h3 {
    margin-top: 40%;
    text-align: center;
    font-size: 1.2rem;
    color: white;
    border-bottom: 2px solid #007BFF;
}
.card-content p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #fff;
}

/* Testimonials */
/* Testimonials Page Styles */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.rating {
    color: #FFD700;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.quote:before {
    content: '"';
    font-size: 50px;
    color: #e0e0e0;
    position: absolute;
    left: -15px;
    top: -15px;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.client-info h4 {
    margin: 0;
    color: #333;
}

.position {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    border-radius: 8px;
    color: white;
}

.cta-section h2 {
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: #6e8efb;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Careers Page Styles */
.careers-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/careers-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.careers-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-join-us {
    padding: 60px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #6e8efb;
    color: white;
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6e8efb;
}

.benefit-card:hover i {
    color: white;
}

.open-positions {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.position-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.position-card h3 {
    margin-top: 0;
}

.location, .type {
    display: flex;
    align-items: center;
    color: #666;
    margin: 10px 0;
}

.location i, .type i {
    margin-right: 8px;
}

.apply-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #6e8efb;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.apply-button:hover {
    background: #5a7de3;
}

.application-form {
    padding: 60px 0;
    background-color: white;
}

.application-form .form-group {
    margin-bottom: 25px;
}

.application-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.application-form input[type="file"] {
    padding: 5px;
}

@media (max-width: 768px) {
    .testimonial-grid, .benefits-grid, .positions-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Us */
.contact {
    background: var(--bg, #001f3f);
    padding: 60px 0;
    text-align: center;
  }
  
  .contact .container {
    max-width: 880px;
    margin: 0 auto;
    background: var(--panel, #012b52);
    padding: 18px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
  }
  
  .contact form {
    background: var(--panel-2, #073660);
    border-radius: 12px;
    padding: 16px;
  }
  
  .contact label {
    display: block;
    margin-top: 1rem;
    font-size: 14px;
    color: var(--muted, #cdd7e5);
  }
  
  .contact input, .contact textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    margin-top: 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 15px;
  }
  
  .contact textarea {
    min-height: 160px;
    resize: vertical;
  }
  
  .contact .providers-wrap {
    margin-top: 12px;
    background: var(--panel, #012b52);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
  }
  
  .contact .providers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-height: 260px;
    overflow: auto;
  }
  
  .contact .provider-card {
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--panel-2, #073660);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    padding: 10px;
  }
  
  .contact .btn {
    padding: 0.85rem 1rem;
    border: 0;
    background: linear-gradient(90deg, var(--btn1,#00aaff), var(--btn2,#0044cc));
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
  }  

/* Service Details Section */
.service-details {
    margin-top: 3%;
    padding: 60px 0;
    background-color: #f9f9f9;
}

.service-details .container {
    max-width: 1200px;
    margin: 2px auto;
    padding: 0 20px;
}

.service-details h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.service-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-image {
    flex: 1;
    height: 540px;
}

.service-image img {
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-description {
    flex: 2;
    justify-content: right;
}

.service-description h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #007BFF;
    text-align: justify;
  text-justify: inter-word;
}

.service-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
  text-justify: inter-word;
}

.service-description ul {
    list-style-type: none;
    text-align: justify;
  text-justify: inter-word;
}

.service-description ul li {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
  text-justify: inter-word;
}
/* Other Services */
/* Other Services Section */
.other-services {
    padding: 60px 0;
    background-color: #fff;
}

.other-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.other-services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

/* .service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
} */


.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
    text-align: left;
}

.learn-more {
    color: white;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

.learn-more:hover {
    color: #0056b3;
}

/* About Us Section */
.about-us {
    margin-top: 40px;
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-us h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 20px;
    border-bottom: 2px solid #007BFF; /* Border bottom for the title */
}

.about-us .intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-about {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-about:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-about i {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 20px;
}

.card-about h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.card-about p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Our Team Section */
.our-team {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.our-team .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.our-team h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    padding-bottom: 20px;
    border-bottom: 2px solid #007BFF; /* Border bottom for the title */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member img {
    height: 400px;
    width: 100%;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.team-member p {
    font-size: 1rem;
    color: #555;
}
.card,.card-about, .team-member {
    animation: fadeIn 0.5s ease-in-out;
    animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        background: white;
        width: 100%;
        top: 60px;
        left: 0;
        padding: 10px 0;
        text-align: center;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .content h1 {
        font-size: 32px;
    }

    .content p {
        font-size: 16px;
    }

    .button {
        font-size: 14px;
        padding: 10px 20px;
    }
    .about-cards {
        grid-template-columns: 1fr;
    }
    .service-content {
        flex-direction: column;
    }

    .service-image, .service-description {
        flex: 1;
    }
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    .form-group input,
.form-group textarea{
        width:95%;
    }
    .fa-bars{
        margin-right: 20px;
    }
}

/* Animations */
.fade {
    animation: fadeEffect 1.5s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
