* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #E9EDED;
    color: black;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width: 200px;
    height: auto;
    margin-right: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
    margin-left: 20px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    position: relative;
    padding: 15px 20px;
    display: block;
    transition: color 0.3s;
}

nav ul li ul {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #E9EDED;
    padding: 10px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

nav ul li.active ul {
    display: block;
}

nav ul li:hover ul,
nav ul li ul:hover {
    display: block;
}

nav ul li ul li {
    margin: 10px 0;
}

nav ul li ul li a {
    color: black;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    transition: background-color 0.3s;
    border-radius: 5px;
}

nav ul li ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
    transition: width 0.3s;
    transform: scaleX(0);
    transform-origin: bottom left;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

.dropdown-symbol {
    margin-left: 10px;
    font-size: 12px;
}

/* Homepage Body Styles */
.homepage-body {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    opacity: 0;
    animation: fadeIn 2s ease forwards;
}

.homepage-body .big-text {
    font-size: 50px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    text-align: center;
    margin-right: 500px; /* Space between text and image */
}

.homepage-body img {
    max-width: 20%;
    height: auto;
    margin-left: 20px; /* Space between image and text */
    border-radius: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.line-break {
    display: block;
}

.outer-container {
    width: 90%;
    max-width: 1200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto; /* Center the section */
    margin-bottom: 60px;
}
.inner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.text {
    flex: 1;
    padding: 20px;
    max-width: 600px;
}
.text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}
.text p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}
.image {
    flex: 1;
    text-align: center;
    max-width: 600px;
}
.image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .inner-container {
        flex-direction: column;
    }
}

/* About Section Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color:black;
    color: black;
    line-height: 1.6;
}

/* About Section Styles */
.section {
padding: 60px 20px;
background-color: #E9EDED;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
margin: 20px;
border-radius: 8px;
width: 90%;
max-width: 1200px;
margin: 0 auto; /* Center the section */
}

.section h1 {
font-size: 100px;
line-height: 1.2;
text-align: left;
margin-bottom: 20px; /* Reduce margin to align text with image */
margin-top: 20px;
color: black;
}

.content {
display: flex;
justify-content: space-between;
align-items: center; /* Align items to the center */
gap: 20px;
}

.content div {
flex: 1;
max-width: 40%;
}

.content img, .text-container {
width: 100%;
height: auto;
border-radius: 8px;
border: 2px black;
margin-bottom: 20px; /* Remove bottom margin */
}

.text-container {
border: none;
padding: 0;
margin-left: 30px;
}



.content p {
margin-top: 0;
}

@media (max-width: 768px) {
.content {
flex-direction: column;
gap: 40px;
}

.content div {
max-width: 100%;
}
}

/**service style*/ 
.services-section {
    text-align: center;
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
    margin-top: 40px;
}

.services-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
}

.services-section p {
    color: #E3E3E3;;
    font-size: 1.2em;
    margin-bottom: 50px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.service-box h2 {
    color: #333;
    margin: 20px 0 10px 0;
    font-size: 1.8em;
    transition: color 0.3s ease;
}

.service-box p {
    color: #666;
    font-size: 1em;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.service-box:hover img {
    transform: scale(1.05);
}

.service-box:hover h2 {
    color: #142753;
}

/* Add responsive typography */
@media (max-width: 768px) {
    .services-section h1 {
        font-size: 2em;
    }

    .services-section p {
        font-size: 1.1em;
    }

    .service-box h2 {
        font-size: 1.5em;
    }

    .service-box p {
        font-size: 0.9em;
    }
}

/**our service*/
.card2-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-align: center;
}

.card2-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Styles for individual cards */
.card2 {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 275px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card2 img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.card2 h2 {
    color: black;
    margin: 10px 0;
    font-size: 1.5em;
    position: relative;
}

.card2 h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1b3a81;
    margin: 10px auto 0;
    transition: width 0.3s ease;
}


.card2 p {
    color: #666;
    font-size: 1em;
}

.card2 a {
    color: #f5a623;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.card2:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card2:hover h2::after {
    width: 100px;
}

.card2:hover a {
    color: #e94e1b;
}

 /* Expertise Section Styles */
.expertise-section {
text-align: center;
padding: 50px 20px;
max-width: 1200px;
margin: auto;
}

.expertise2-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 50px;
}


/* Container for expertise items */
.expertise-container {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap; /* Allow wrapping on smaller screens */
gap: 20px;
margin: 0 auto; /* Center the container */
max-width: 1200px; /* Set a maximum width */
background-color: #E9EDED;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

border-radius: 8px;
width: 90%;
}


/* Individual expertise item */
.expertise-item {
text-align: center;
flex: 1;
margin: 10px;
max-width: 300px; /* Set a maximum width for each item */
}

.expertise-item img {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
}

.expertise-item h3 {
margin: 10px 0;
font-size: 1.2em;
color: black;
}

.expertise-item p {
margin: 0;
font-size: 1em;
color: #333;
}

.team-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 50px;
}

.team-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    width: 260px;
    padding: 20px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.image-container {
    position: relative;
    width: 100%;
    height: 290px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.image-container img {
    width: 100%;
    height: 105%;
    object-fit: cover;
}

.image-container svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50px;
}

.image-container svg path {
    fill: #fff;
}

.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-container:hover .overlay {
    opacity: 1;
}

.overlay .icon {
    margin: 0 10px;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
}

.team-member h3 {
    margin: 10px 0;
    font-size: 1.2em;
    color: #333;
}

.team-member .role {
    font-size: 1em;
    color: #777;
    margin-bottom: 15px;
}

.team-member .description {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

.experience-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 50px;
}
.slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
    overflow: hidden;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    display: flex;
    min-width: 100%;
    box-sizing: border-box;
    justify-content: space-around;
    padding: 1rem;
}

.team-experience {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 1rem;
    padding: 1rem;
    width: 45%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-experience img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.team-experience h2 {
    margin-top: 0.5rem;
}

.team-experience p {
    margin: 0.5rem 0;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
}

.navigation button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/**projects style*/
.projects-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 50px;
}

.carousel {
    position: relative;
    width: 90%;
    max-width: 900px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    margin: 0 auto;  /* Center horizontally */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.carousel-item img {
    width: 50%;
    height: auto;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.carousel-item .content {
    padding: 20px;
    width: 50%;
}

.carousel-item .content h2 {
    margin: 0 0 10px;
    color: #333;
}

.carousel-item .content p {
    margin: 0;
    color: #555;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.control-left, .control-right {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    transition: background-color 0.3s, transform 0.3s;
}

.control-left:hover, .control-right:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.control-left:before, .control-right:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '';
}

.control-left:before {
    content: '\f104'; /* FontAwesome icon for left arrow */
}

.control-right:before {
    content: '\f105'; /* FontAwesome icon for right arrow */
}


/**award styles*/
/* Specific styles for the Affiliation & Awards section */
.awards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.awards-section h1 {
    color: #E3E3E3;
    font-size: 2.5em;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-align: center;
    margin-top: 50px;
}

.awards-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;  /* Center horizontally */
}

.affiliation-award {
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 10px;
    width: calc(50% - 20px); /* Adjust width and include margin */
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.affiliation-award:hover {
    background-color: #f0f0f0;
}

.affiliation-award img {
    margin-right: 20px;
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
}

.affiliation-award img:hover {
    transform: scale(1.05);
}

.affiliation-award p {
    font-size: 1.1em;
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .affiliation-award {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .affiliation-award img {
        margin: 0 0 10px 0;
    }
}

