/* General Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background-color: transparent;
    padding: 20px 40px;
    transition: background-color 0.3s;
}

header .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header styles when scrolled */
header.scrolled {
    background-color: #333; /* Dark background color when scrolled */
}

/* Optionally, you can also change the text color or add a box shadow */
header.scrolled nav ul li a {
    color: white; /* Change link color to white on scroll */
}

/* Logo Styles */
.logo img {
    height: 50px;
    width: auto;
}



/* Desktop Menu */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

/* Menu Links */
nav ul li a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ccc;
}

/* Mobile Styles */
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 110;
}

.burger span {
    width: 30px;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Menu */
@media (max-width: 768px) {
    /* Default Menu Styles */
    nav ul {
        position: fixed;
        flex-direction: column;
        top: 70px;
        right: 0px; /* Start off-screen */
        width: 200px;
        background-color: #333;
        color: #fff;
        padding: 20px;
        transition: transform 0.5s ease, opacity 0.5s ease;
        transform: translateY(-250px); /* Slide from right */
        opacity: 0; /* Hidden by default */
        z-index: 99;
    }

    /* Menu Open */
    nav ul.open {
        transform: translateY(0); /* Slide into view */
        opacity: 1;
    }

    .burger {
        display: flex !important; /* Show burger on mobile */
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 100; /* Make sure it's above the menu */
    }

    .burger span {
        width: 30px;
        height: 4px;
        background-color: #fff;
        border-radius: 2px;
        transition: 0.3s;
        
    }
}

/* Slider Styles */
.slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s;
    /* Smooth transition */
         transform 0.6s ease;
    
    
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    bottom: 20%;
    left: 10%;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
    z-index: 2;
}

.overlay h1 {
    font-size: 2em;
    margin: 0 0 10px 0;
}

.overlay p {
    font-size: 1em;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    background-color: #f39c12;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #e67e22;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-nav .dot {
    width: 15px;
    height: 15px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.slider-nav .dot.active {
    opacity: 1;
}

/* Dark overlay for better text contrast */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);  /* 50% black */
    z-index: 1;
}
/* Prevent horizontal scrolling */
body, html {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}




/* Feature Section */
.feature-section {
    display: flex;
    align-items: flex-start; /* Aligns top edges */
    justify-content: space-between;
    padding: 50px 100px;
    background-color: #F8F8FF;;
}

/* Image on the Left */
.feature-section .image-content {
    flex: 1;
    margin-right: 50px;
}

.feature-section .image-content img {
    width: 100%;
    border-radius: 10px;
}

/* Text on the Right */
.feature-section .text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #666; /* Lighter gray for paragraph */
}

/* Remove top margin for h2 */
.feature-section .text-content h2 {
    font-size: 2.5em;
    color: #333; /* Dark gray for header */
    margin-top: 0; /* Remove default margin */
}

/* Paragraph Styles */
.feature-section .text-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #777; /* Even lighter gray for paragraph */
}

/* Call-to-Action Button */
.feature-section .cta-button {
    background-color: #FFC107; /* Yellow */
    color: #333;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: fit-content;
    margin-top: auto; /* Push button to the bottom */
}

.feature-section .cta-button:hover {
    background-color: #e6ac00; /* Slightly darker yellow on hover */
    color: #fff;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        padding: 30px 20px;
    }

    .feature-section .image-content {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .feature-section .text-content {
        gap: 20px;
    }

    .feature-section .text-content h2 {
        font-size: 2em;
        margin-top: 0; /* Remove default margin */
    }

    .feature-section .text-content p {
        font-size: 1em;
    }

    .feature-section .cta-button {
        padding: 10px 20px;
        margin-top: auto;
    }
}


/* Projects Section */
.projects-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.section-description {
    color: #777;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid with 3 Columns */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Project Card */
.project-card {
    background-color: #fff;
    border-radius: 8px;
    height: 400px;
    padding: 20px;
    transition: box-shadow 0.3s ease;
    text-align: left;
}

.project-card img {
    width: 100%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.project-card p {
    color: #666;
    font-size: 1em;
}

/* Hover Effect */
.project-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Styles */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-card {

        height: 250px;
        align-items: flex-start;
        justify-content: space-between;

    }
    .project-card img {
        max-height: 74%;
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card {
        
        height: 250px;
        align-items: flex-start;
        justify-content: space-between;
        
    }
    .project-card img {
        max-height:74%;
    }
}



/* Services Section Styles */
.services-section {
    padding: 60px 0;
    background-color: #F8F8FF;
    text-align: center;
}

.services-section .section-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.services-section .section-description {
    color: #777;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-container {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.icon-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.service-card p {
    color: #666;
    font-size: 1em;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}




/* Client Logos Section */
.client-logos {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.client-logos .section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
}

.client-logos .logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.client-logos .logos-grid img {
    max-width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logos .logos-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Stats Counter Section */
.stats-counter {
    padding: 60px 20px;
    background-color: #222;
    color: #fff;
    text-align: center;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.stat-item {
    flex: 1 1 200px;
}

.stat-item .counter {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
}

.stat-item p {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #ccc;
}




footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

.footer-about {
    width: 45%;
}

.footer-quick-links {
    width: 45%;
}

.footer-quick-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-quick-links li {
    margin-bottom: 10px;
}

.footer-quick-links a {
    color: #fff;
    text-decoration: none;
}

.footer-quick-links a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    background-color: #222;
}

footer a {
    text-decoration: none;
    color: #fff; /* White links by default */
    transition: color 0.3s ease;
    margin: 0 10px; /* Add some space between links */
}

footer a:hover {
    color: #ffcc00; /* Yellow on hover */
}

footer a:focus {
    outline: none;
}

/* Cover Section */
.cover {
    background-image: url('../images/abou.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    text-align: center;
}

.cover-text h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Mission Section */
.mission {
    padding: 60px 20px;
    background-color: #333;
}

.mission .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.mission-content img {
    flex: 1 1 300px;
    max-width: 500px;
    border-radius: 8px;
}

.mission-text {
    flex: 2;
    color: #fff;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* About Us Section */
.about {
    padding: 60px 20px;
    background-color: #ffffff;
}

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

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}


/* Cover Section */
.cover {
    background-image: url('../assets/images/abou.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.cover-text h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Mission Section */
.mission {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.mission .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.mission-content img {
    flex: 1 1 300px;
    max-width: 100%;
    border-radius: 8px;
}

.mission-text {
    flex: 2;
    color: #333;
}

/* Cover Section */
.cover {
    background-image: url('../images/abou.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.cover-text h1 {
    font-size: 3rem;
    font-weight: 700;
}

/* Mission Section */
.mission {
    padding: 60px 20px;
    background-color: #333;
}

.mission .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex-direction: column; /* Stack vertically for both desktop and mobile */
}

.mission-content img {
    width: 100%;
    max-width: none;
    border-radius: 8px;
    margin-bottom: 20px;
}

.mission-text {
    color: #ffff;
    text-align: center;
    padding: 20px;
}

.mission-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.mission-text p {
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (min-width: 768px){
    .mission-content img {
        width: 10%;
        max-width: 30%;
        border-radius: 8px;
        margin-bottom: 20px;
    }
}
/* About Us Section */
.about {
    padding: 60px 20px;
    background-color: #ffffff;
}

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

.about p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

/* Contact Section */
.contact-section {
    background-color: #f4f4f4;
    padding: 60px 20px;
}

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

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    color: #555;
}

.contact-info div {
    flex: 1 1 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info div h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.contact-info div p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-info div a {
    color: #007bff;
    text-decoration: none;
}

.contact-info div a:hover {
    text-decoration: underline;
}



/* Privacy Policy Section Styles */
.privacy-policy-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.privacy-policy-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #444;
}

.privacy-policy-section h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #555;
    border-left: 5px solid #ffaa00;
    padding-left: 15px;
}

.privacy-policy-section p, .privacy-policy-section ul {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.privacy-policy-section ul {
    list-style: disc inside;
    margin-left: 20px;
}

.privacy-policy-section a {
    color: #ffaa00;
    text-decoration: none;
}

.privacy-policy-section a:hover {
    color: #333;
    text-decoration: underline;
}


