:root {
    --primary-color: #ffa500;
    --secondary-color: #1a1f3d;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    
}
.container h2{
    color: #1a1f3d;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.001rem 1rem;
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin: 0 2rem;
    font-weight: 500;
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-icons i {
    margin-left: 1rem;
    cursor: pointer;
    font-size: 1rem; /* Reduce icon size */
    margin-left: 0.8rem;
}

.logo img {
    height: 100px; /* Adjust logo height */
    
}

/* Hero Section   (rgba(81, 81, 83, 0.8)*/
.hero {
    background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0)), url('mainpic.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh; /* Make it full screen */
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
    padding: 20px; /* Add padding around the section */
    border-radius: 20px; /* Rounded corners */
    margin: 50px; /* Add some spacing from edges */
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 30px;
    padding: 0 10px;
    
}

.hero p{
    color:#1a1f3d
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    color:#e69500
    
}


.cta-button {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.3s ease;
}
.cta-button2 {
    background:  #1a1f3d;
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #e69500;
}
.cta-button2:hover {
    background: #1a1f3d;
}

.contact-card {
    background: rgba(255, 255, 255, 0.9); /* White background with 0.9 opacity */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 5%;
    top: 60%;
    transform: translateY(-50%);
    width: 300px;
}

.contact-card h3 {
    margin-bottom: 1.0rem;
    color: #333;
}

.contact-card form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card input,
.contact-card textarea {
    padding: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.contact-card textarea {
    height: 100px;
    resize: none;
}

.contact-card button {
    background: #1a1f3d;
    color: white;
    padding: 0.6rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-card button:hover {
    background: #0056b3;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 1rem;
}




/* Stats Section */
.stats {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.stats h2 {
    margin-bottom: -2rem;
    font-size: 2.5rem;
}

.engineer-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.engineer-details {
    text-align: left;
    width: 100%;
}

.engineer-details h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.engineer-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #e1e1e1;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.credential-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2px;
    min-width: 24px;
}

.credential-item p {
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stats h2 {
        margin-bottom: 2rem;
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .engineer-profile {
        padding: 0 20px;
    }
    
    .engineer-details {
        width: 100%;
    }
    
    .engineer-details h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .engineer-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .credential-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }
    
    .credential-item i {
        margin-top: 3px;
    }
    
    .credential-item p {
        font-size: 0.95rem;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .stats h2 {
        font-size: 1.7rem;
    }
    
    .credential-item {
        padding: 0.5rem;
    }
    
    .credential-item i {
        font-size: 1.2rem;
    }
    
    .credential-item p {
        font-size: 0.9rem;
    }
}






/* Projects Section */
.projects {
    padding: 5rem 0;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26,31,61,0.9);
    color: var(--white);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}


