* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


body {
    scroll-behavior: smooth;
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px; /* Slightly increased height */
    transition: 0.4s;
    background: transparent;
    z-index: 1000;
    height: 70px; /* Increased height */
}

header.scrolled {
    background: black; /* Turns black on scroll */
}

.logo img {
    width: 70px; /* Smaller logo */
    height: auto;
    position: absolute;
    left: 50px;
    top: 12px;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: 0.3s;
    padding: 10px;
}

.nav-links a:hover {
    color: rgba(253, 184, 18, 1);
}
.hero {
    width: 100%;
    height: 100vh;
    background: url('image/Hero.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align text to the left */
    padding-left: 8%; /* Space from the left */
    color: white;
}

.hero-content {
    max-width: 50%;
    text-align: left; /* Align text left */
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* H1 Styling */
.hero-content h1 {
    font-size: 3.5rem; /* Adjusted size */
    font-weight: 800; /* Bold like in the image */
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Paragraph Styling */
.hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #bcbcbc; /* Light grayish text */
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: black;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    background: #fdb812;
    color: #22407c;
}


/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 80px 20px;
    text-align: center;
    font-size: 24px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #22407c;
  text-transform: uppercase;
  position: relative;
}

.section-heading::before,
.section-heading::after {
  content: "";
  width: 50px;
  height: 4px;
  background: #fdb812;
}

.section-heading::before {
  margin-right: 10px;
}

.section-heading::after {
  margin-left: 10px;
}

/* Hide menu icon on desktop */
.menu-icon {
    display: none;
}

/*About section*/
.about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
	margin-right:2%;
	
}

.about .about-image{
    flex: 1 1 41rem;
}


.about .about-image img {
    width: 100%; /* Reduce the image size */
    max-width: 800px; /* Limit max size */
    display: block;
    margin: 0 auto; /* Center it */
	padding:0;
	margin-right:0;
	
}
.about .content{
    flex: 1 1 41rem;
    padding: 3rem;
    background: #eee;
	text-align: left;
}


.about .content p{
    font-size: 1.5rem;
    padding: 1rem 0;
    line-height: 2;
    color:#222; 
	text-align: justify;
	
}


.about .heading-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #22407c;
  position: relative;
  text-align: left;
  padding-left: 20px;
  text-transform:uppercase;

}

.about .heading-title::before {
  content: "";
  width: 5px;
  height: 100%;
  background: #fdb812;
  position: absolute;
  left: 0;
  top: 0;
}

/*Services Section*/
#services {
    scroll-margin-top: 100px; /* Adjust this value based on your header height */
}
        .services-section {
            padding: 50px 20px;
            background: #f5f5f5;
            text-align: center;
        }

        .services-section h2 {
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .services-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        .service-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 300px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .service-card img {
            width: 100%;
			height:200px;
            border-radius: 10px;
        }

        .service-card h3 {
            font-size: 1.5rem;
            margin: 10px 0;
            color: #444;
        }

        .service-card ul {
            list-style: none;
            padding: 0;
        }

        .service-card ul li {
            background: #e3e3e3;
            margin: 5px 0;
            padding: 8px;
            border-radius: 5px;
            font-size: 1rem;
            color: #555;
        }

        /* Hover Effect */
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
			background:#f0f0f0;
        }
		
/*Projects Section*/
        #projects {
            text-align: center;
            padding: 80px 5%;
            background-color: #fff;
        }

        #projects h2 {
            font-size: 2.8rem;
            color: #22407c;
            margin-bottom: 20px;
        }

        #projects p {
            font-size: 1.2rem;
            color: #fdb812;
            max-width: 700px;
            margin: 0 auto 50px;
        }

        /* Project Grid */
        .projects-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            max-width: 1200px;
            margin: auto;
        }

        /* Project Card */
        .project-card {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease-in-out;
        }

        .project-card:hover {
            transform: translateY(-10px);
        }

        .project-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.3s ease-in-out;
        }

        .project-card:hover img {
            transform: scale(1.1);
        }

        /* Project Title Overlay */
        .project-title {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 15px;
            text-align: center;
            font-size: 1.5rem;
            font-weight: bold;
            transition: opacity 0.3s ease-in-out;
        }

        .project-card:hover .project-title {
            opacity: 0;
        }

        /* Project Details */
        .project-details {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: left;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }

        .project-card:hover .project-details {
            opacity: 1;
        }

        .project-details h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .project-details ul {
            list-style-type: disc;
            padding-left: 20px;
        }

        .project-details ul li {
            color: #fdb812;
            font-size: 1rem;
        }
/*clients section*/
/* Clients Slider */
.client-slider {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.slide-container {
    width: 100%;
    overflow: hidden;
}

.slide-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 200px;
    margin: 0 10px;
    text-align: center;
}

.slide img {
    width: 150px;
    height: 100px;
    object-fit: contain;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
}

.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



/* Animation for scrolling clients*/
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/*partners section*/
.partners-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    gap: 1.5rem;
    margin-top: 2rem;
	margin-left: 100px;
	margin-right:100px;
}
.partners-container a{
	text-decoration:none;
}
.partners-container .box{
    padding: 20px;
    box-shadow: 2px 2px 10px 4px rgb(14 55 54/15%);
    border-radius: 0.5rem;
    text-align: center;
}

.partners-container .box p{
	margin-top:10px;
    text-align: justify; 
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}
.partners-container .box h2{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.5rem 0 0.5rem;
}
.partners-container .box img{
	width: 45%;
    height: auto;
    max-height: 150px; /* Ensures consistency in image height */
    object-fit: contain; /* Ensures full visibility */
}

.partners-container .box:hover{
    background: #F0F0F0;
    transition: 0.2s all linear;
}
/* Footer Styles */
footer {
    background: #000;
    color: #fff;
    padding: 40px 10px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

/* Footer Column Styling */
.footer-column {
    flex: 1;
    min-width: 250px;
    text-align: left;
    padding: 15px;
}

.footer-column h3 {
    color: #fdb812;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin: 8px 0;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.footer-column ul li a:hover {
    color: #fdb812;
}

/* Contact Section (Icons) */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-item i {
    font-size: 18px;
    color: #fdb812;
    margin-right: 10px;
}

.contact-item a, .contact-item p {
    color: white;
    font-size: 16px;
    text-decoration: none;
}

.contact-item a:hover {
    color: #fdb812;
}

/* Social Media Section */
.social-section h3{
	margin-left:33px;
}
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: gray;
    color: black;
    border-radius: 8px;
    transition: 0.3s;
	text-decoration:none;
}

.social-icon:hover {
    background: #fdb812;
    color: black;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    border-top: 1px solid #444;
    padding-top: 10px;
    text-align: center;
}
/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
		background: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        text-align: center;
        display: none;
        padding: 20px 0;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 24px;
        color: white;
        cursor: pointer;
    }

    .nav-active {
        display: flex;
    }

    /* Move Logo Further Left */
    .logo img {
        position: absolute;
        left: 10px; /* Adjusted for better alignment */
    }

    /* Align Hero Content to Left */
    .hero {
        justify-content: flex-start; /* Align content left */
        text-align: left;
        padding-left: 5%; /* Adjust left padding */
    }

    .hero-content {
        max-width: 90%;
        text-align: left;
        margin-left: 5%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
	.about {
        flex-direction: column; /* Stack image and text */
        text-align: center; /* Center text */
    }

    .about .image,
    .about .content {
        flex: 1 1 100%;
        padding: 1.5rem; /* Adjust padding for better spacing */
    }

    .about .content {
        text-align: left; /* Keep text left-aligned */
    }

    .about .heading-title {
        text-align: left; /* Ensure heading aligns left */
    }
	#projects h2 {
                font-size: 2.4rem;
            }

    #projects p {
                font-size: 1rem;
    }

    .project-details h3 {
                font-size: 1.2rem;
    }
	.partners-container {
        grid-template-columns: 1fr; /* Stack in one column */
        width: 100%; 
    }

    .partners-container .box {
        padding: 15px;
    }

    .partners-container .box img {
        width: 50%; 
        max-height: 100px;
    }

    .partners-container .box h2 {
        font-size: 1rem;
    }

    .partners-container .box p {
        font-size: 0.85rem;
    }
	.footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }


    .contact-item {
        justify-content: center;
    }
	.social-links {
        justify-content: center;
    }
	.social-section h3{
	margin-left:0;
}
}

/* Extra Fixes for Very Small Screens (Phones) */
@media (max-width: 480px) {
    /* Move Logo Further Left */
    .logo img {
        left: 5px; /* Push further left */
        width: 60px; /* Slightly smaller logo */
    }

    /* Align Hero Section Left */
    .hero {
        padding: 15% 5%;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-content {
        width: 95%;
        margin-left: 3%;
        text-align: left;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
	.about .about-image{
    flex: 0.2 0.2 10rem;
}
	.about .about-image img {
		margin-bottom:0;
		padding-bottom:0;
	}
	
	.about .content p{
    font-size: 1rem;
    padding: 1rem 0;
    line-height: 2;
    color:#222; 
	text-align: left;
	
}
.about .heading-title {
	font-size: 1.7rem;
}
	.project-details {
                padding: 15px;
            }

            .project-details h3 {
                font-size: 1rem;
            }
	.partners-container {
        display: flex;
        flex-direction: column;
        align-items: center; 
        width: 100%;
        padding: 0;
        margin: 0 auto; 
    }

    .partners-container .box {
        width: 90%; 
        max-width: 400px; 
        margin: 10px auto; 
        text-align: center; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .partners-container .box img {
        width: 40%; 
        max-height: 80px;
    }

    .partners-container .box h2 {
        font-size: 0.9rem;
    }

    .partners-container .box p {
        font-size: 0.8rem;
    }
}
