
/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif; /* Modern Google Font */
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #ffffff;*/
    padding: 15px 30px;
    background: linear-gradient(0deg, black, #00000069);
}

.logo {
    width: 250px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    font-weight:bold;
    color: #dbdbdb;
    font-size: 18px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ffffff; /* Light orange effect on hover */
}

/*Hero Section with Full-Width Image*/ 
.hero {
    display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 90vh; /* Fixed height for container */
background-color: #000; /* Fallback background */
position: relative;
}


.hero video {
    width: 100%;
height: 100%;
object-fit: cover;
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 70%); /* Dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

.motto {
    color: #fff;
    font-family: "Cinzel Decorative", serif;
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size */
    text-align: center;
    text-transform: uppercase;
    padding: 0 10px; /* Padding to prevent overflow */
    word-wrap: break-word; /* Break long words if necessary */
    overflow-wrap: break-word; /* Ensure proper word breaking */
    box-sizing: border-box; /* Include padding in width calculation */
    animation: fadeIn 2s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* About Section Styling */
.about {
    padding: 80px 15px;
    /*background-color: #f9f9f9;*/
    text-align: center;
    background: #000000d4;
}

.signatureprojectscontainer{
    padding: 80px 15px;
    /*background-color: #f9f9f9;*/
    background: #000000d4;
    text-align: center;
}

.about h2 {
    font-size: 36px;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 10px;
}


.signatureprojectscontainer h2 {
    font-size: 36px;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 10px;
}

.about h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #ffffff; /* Highlighted color */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.signatureprojectscontainer h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #ffffff; /* Highlighted color */
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.about p {
    font-size: 18px;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1s ease 0.3s forwards;
    transition: color 0.3s ease;
}

.visionmission {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
    background: #000000d4;
    gap: 40px;
}

.visionmission .vision,
.visionmission .mission {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.visionmission h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
    position: relative;
}

.visionmission p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.8;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1.0s ease forwards;
}

.visionmission .line {
    width: 2px;
    height: 100%;
    background-color: #333;
    position: relative;
    top: 0;
}


/* Animation for about section */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visionmission .vision:hover p,
.visionmission .mission:hover p {
    color: #e0e0e0;
}


.visionmission img {
    width: 80px; /* Adjust icon size */
    height: 80px;
    /*margin-bottom: 10px;*/
    transition: transform 0.3s ease;
}

/* Adding hover effect for About paragraph */
.about p:hover {
    color: #dfdede;
    transition: color 0.3s ease;
}


.signatureprojects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 15px;
    /*background-color: #f9f9f9;*/
}

.project {
    /*background-color: #ffffff;*/
    background: linear-gradient(244deg, #8c8484, #00000000);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project h3 {
    font-size: 24px;
    margin: 15px 0;
    text-align: center;
    color: #c5c5c5;
}

.project p {
    font-size: 16px;
    color: #c5c5c5;
    padding: 0 15px 20px;
    text-align: center;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Hover Effects */
.project:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.15);
}

.project:hover img {
    transform: scale(1.05);
}

.project:hover h3 {
    color: #ffffff;
}

.project:hover p {
    color: #ffffff;
}


footer{
    background: linear-gradient(31deg, #000000fa, #00000082);
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {

    .hero video::before {
content: '';
display: block;
width: 100%;
height: 100%;
background-color: #000;
}

.hero-placeholder {
width: 100%;
height: 100%;
object-fit: cover;
}

    .navbar {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Align items to the start */
        padding: 15px; /* Adjust padding for mobile */
        background: linear-gradient(360deg, black, #00000078);
    }


    .nav-links {
        flex-direction: column; /* Stack links vertically */
        width: 100%; /* Full width for links */
        padding: 0; /* Remove padding */
        text-align-last: center;
    }


    .nav-links li {
        width: 100%; /* Make each link take full width */
        text-align: left; /* Align text to the left */
    }

    .nav-links li a {
        padding: 10px; /* Adjust padding for mobile */
        display: block; /* Make links block elements */
    }

    .about h2 {
        font-size: 28px;
    }

    .signatureprojectscontainer h2 {
        color: #ededed;
        font-size: 28px;
        
    }


    .signatureprojectscontainer {
        background-color: #323232;
    }

    .about p {
        font-size: 16px;
        color: #cfcfcf;
    }

    .visionmission {
        flex-direction: column;
        background-color: #323232;
    }

    .visionmission p{
        color: #f5efef;
    }

    .visionmission .line {
        display: none;
    }


    .signatureprojects {
        grid-template-columns: 1fr;
    }

    .project {
        margin-bottom: 30px;
        background: linear-gradient(180deg, #737171, #00000038);
    }

    .project h3 {
        color: #ffffff;
    }


    .project p {
        color: #ffffff;
    }


    .hero video {
        /*position: absolute;*/
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    section#about {
        background: linear-gradient(180deg, black, #000000cc);
    }


    section.signatureprojects{
        background-color: #323232
    }

}

.button {
    display: inline-block;
    background: linear-gradient(312deg, #b1b1b1e0, #494949); /* Gradient background */
    color: #ffffff;
    padding: 15px 30px;
    border: none;
    border-radius: 25px; /* Rounded corners */
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer; /* Pointer on hover */
    margin-top: 20px; /* Space above the button */
}

.button:hover {
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Shadow effect */
}
