:root {
    --primary: #FF6A00;
    --primary-dark: #D95C00;
    --secondary: #0054A6;
    --light: #F8F9FA;
    --dark: #212529;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
position: relative;
padding: 120px 0 80px;
text-align: center;
overflow: hidden;
}/* Image slider styling */
.image-slider {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}

.slider-container {
width: 100%;
height: 100%;
position: relative;
}

.slide {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 1s ease-in-out;
}

.slide.active {
opacity: 1;
}

.slide img {
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(5px) brightness(0.7);
}

/* Hero content styling */
.hero-content {
position: relative;
z-index: 2;
background: transparent;
padding: 40px;
border-radius: 10px;
}

.hero h2 {
font-size: 40px;
margin-bottom: 20px;
color: white;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
font-size: 18px;
max-width: 700px;
margin: 0 auto 30px;
color: white;
text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
}

/* Values Section */
.values {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 32px;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color:  #c4d0db;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.value-card p {
    color: var(--gray);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color:   rgb(242, 236, 230);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 25px;
}

.service-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: none;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 25px;
    border-radius: 10px 10px 0 0;
    position: relative;
}

.modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 25px;
    line-height: 1.6;
}

.modal-body h4 {
    color: var(--dark);
    font-size: 18px;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.modal-body p {
    color: var(--gray);
    margin-bottom: 15px;
}

.modal-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal-body li {
    color: var(--gray);
    margin-bottom: 8px;
}

.modal-highlight {
    background-color: var(--light);
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--primary);
    margin: 15px 0;
}

.modal-highlight p {
    margin: 0;
    font-weight: 500;
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background-color: white;
}

.clients-slider {
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.clients-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.clients-container {
    display: inline-flex;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 100px;
    margin: 0 20px;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.client-logo img {
    max-width: 80%;
    max-height: 60%;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--light);
    margin: 0;
}

.footer-logo p {
    color: var(--light-gray);
    margin: 0;
    line-height: 1.5;
}

.footer-links h5, .footer-contact h5 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h5::after, .footer-contact h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    color: var(--light-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--light-gray);
    font-size: 14px;
}

/* Team Section */
.team {
padding: 80px 0;
background-color: #f8f9fa;
}

.section-title {
text-align: center;
margin-bottom: 50px;
}

.section-title h3 {
font-size: 32px;
font-weight: 700;
position: relative;
margin-bottom: 15px;
padding-bottom: 15px;
color: var(--dark);
}

.section-title h3::after {
content: '';
position: absolute;
display: block;
width: 50px;
height: 3px;
background: var(--primary);
bottom: 0;
left: calc(50% - 25px);
}

.section-title p {
margin-bottom: 0;
color: var(--gray);
}

.team-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}

.team-member {
flex: 0 0 20%; /* Each member in the first row takes about 30% of the container width */
background: rgb(242, 236, 230);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.member-image {
position: relative;
width: 100%;
padding-top: 100%; /* Create a 1:1 aspect ratio container */
overflow: hidden;
}

.member-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover; /* it ensures the image covers the entire container while maintaining aspect ratio */
object-position: top center; /* Position the image from the top center */
transition: transform 0.4s ease;
}

.team-member:hover .member-image img {
transform: scale(1.1);
}

.social-links {
position: absolute;
bottom: -50px;
left: 0;
right: 0;
background: rgba(0,0,0,0.7);
padding: 10px 0;
display: flex;
justify-content: center;
gap: 15px;
transition: bottom 0.3s ease;
}

.team-member:hover .social-links {
bottom: 0;
}

.social-links a {
color: #fff;
font-size: 18px;
width: 35px;
height: 35px;
background: rgba(255,255,255,0.1);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.3s ease;
}

.social-links a:hover {
background: var(--primary);
}

.member-info {
padding: 25px 20px;
text-align: center;
}

.member-info h4 {
font-size: 20px;
font-weight: 700;
margin-bottom: 5px;
}

.member-info .position {
font-size: 15px;
color: var(--primary);
font-weight: 600;
margin-bottom: 15px;
}

.member-info .bio {
font-size: 14px;
color: var(--gray);
line-height: 1.6;
}

/* Add responsive styles for smaller screens */
@media (max-width: 1200px) {
.team-member {
    flex: 0 0 23%; /* Slightly larger for medium screens */
}
}

/* Style for second row team members */
.team-member.second-row {
flex: 0 0 45%; /* Second row members take 45% width, creating 2 in a row */
margin-top: 10px; /*  */
}

@media (max-width: 992px) {
.team-member,
.team-member.second-row {
    flex: 0 0 45%; /* All members take same width on smaller screens */
}
}

@media (max-width: 768px) {
.team-grid {
    flex-wrap: wrap;
    justify-content: center;
}

.team-member,
.team-member.second-row {
    flex: 0 0 100%; /* Full width on mobile */
    max-width: 320px; /* Limit maximum width */
    margin: 0 auto 20px;
}
}

@media (max-width: 576px) {
.team-member {
    flex: 0 0 100%; /* Full width on mobile */
    max-width: 320px; /* Limit maximum width */
    margin: 0 auto 20px;
}
}

/* Client Section Styles */
.clients {
padding: 60px 0;
background-color: #f8f9fa;
}

.section-title {
text-align: center;
margin-bottom: 40px;
}

.section-title h3 {
font-size: 32px;
font-weight: 700;
position: relative;
margin-bottom: 15px;
padding-bottom: 15px;
color: var(--dark);
}

.section-title h3::after {
content: '';
position: absolute;
display: block;
width: 50px;
height: 3px;
background: var(--primary);
bottom: 0;
left: calc(50% - 25px);
}

.section-title p {
margin-bottom: 0;
color: var(--gray);
}

.client-carousel {
overflow: hidden;
position: relative;
padding: 20px 0;
margin: 0 -15px;
}

.client-track {
display: flex;
animation: scroll 30s linear infinite;
}

@keyframes scroll {
0% {
    transform: translateX(0);
}
100% {
    transform: translateX(calc(-150px * 10)); /* Adjust based on logo width and count */
}
}

.client-logo {
flex: 0 0 auto;
width: 180px;
height: 150px;
margin: 0 15px;
padding: 15px;
background: #fff;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo:hover {
transform: translateY(-5px);
box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.client-logo img {
max-width: 100%;
max-height: 70px;
margin-bottom: 15px;
}

.client-logo p {
font-size: 14px;
font-weight: 600;
color: var(--dark);
text-align: center;
margin: 0;
}

/* Contact Section  */
.contact {
padding: 60px 0;
background-color: #fff;
}

.contact-container {
display: flex;
flex-wrap: wrap;
gap: 30px;
max-width: 1000px;
margin: 0 auto;
}

.contact-info {
flex: 1;
min-width: 300px;
display: flex;
flex-direction: column;
gap: 20px;
}

.info-row {
display: flex;
gap: 20px;
}

.info-item {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
flex: 1;
display: flex;
align-items: flex-start;
gap: 15px;
transition: background 0.3s ease, transform 0.3s ease;
}

.info-item:hover {
background: #e9ecef;
transform: translateY(-3px);
}

.info-item i {
font-size: 24px;
color: var(--primary);
}

.info-item h4 {
font-size: 16px;
font-weight: 600;
margin-bottom: 5px;
}

.info-item p {
font-size: 14px;
color: var(--gray);
margin-bottom: 0;
}

.contact-form {
flex: 1.5;
min-width: 300px;
background: #c4d0db;
padding: 25px;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
display: flex;
gap: 15px;
}

.form-group {
margin-bottom: 15px;
flex: 1;
}

.form-control {
display: block;
width: 100%;
padding: 10px 15px;
font-size: 15px;
border: 1px solid #ced4da;
border-radius: 5px;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
border-color: var(--primary);
outline: none;
box-shadow: 0 0 0 0.2rem rgba(255,106,0,0.25);
}

.form-footer {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
}

.form-check {
margin-bottom: 0;
}

.form-check-input {
margin-right: 10px;
}

.btn-primary {
background-color: var(--primary);
border: none;
color: white;
padding: 10px 25px;
font-size: 15px;
font-weight: 600;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
background-color: #e75c00;
transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
.info-row {
    flex-direction: column;
}

.form-row {
    flex-direction: column;
}

.form-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.btn-primary {
    width: 100%;
}
}

@media (max-width: 768px) {
.team-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
}
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px 0;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .section-title h3 {
        font-size: 28px;
    }
}
