:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.nav-links li a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    max-height: 600px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('./assets/hero.png');
    background-size: cover;
    background-position: center;


}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    margin-top: 2rem;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        max-height: 500px;
        min-height: 350px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.certifications {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.cert-badge {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
    width: 200px;
}

@media (max-width: 468px) {
    .certifications {
        flex-direction: column;
    }

    .cert-badge {
        width: 100%;
        max-width: 250px;
    }
}


.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cert-badge img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.cert-badge span {
    display: block;
    font-weight: bold;
    color: var(--dark-color);
    font-size: 0.9rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

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

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

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

/* Projects Section */
.project-slider {
    padding: 2rem 0;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
}

.project-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.project-card .project-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-size: 1.25rem;
}

.project-card p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-category {
    margin-bottom: 4rem;
}

.project-category h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

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

/* Project Categories */
.project-category h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.project-category h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Projects Grid */
.project-preview-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.project-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-preview-card .project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-preview-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-preview-card:hover .project-image img {
    transform: scale(1.1);
}

.project-preview-card .project-info {
    padding: 1.5rem;
}

.project-preview-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.project-preview-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.view-more {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease;
}

.project-preview-card:hover .view-more {
    transform: translateX(10px);
}

/* Project Detail Sections */
.project-detail {
    background: #f9f9f9;
}

.project-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #666;
}

.project-gallery {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.project-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-gallery .swiper-button-next, 
.project-gallery .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background-color 0.3s ease;
}

.project-gallery .swiper-button-next:hover, 
.project-gallery .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.project-gallery .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Contact Section */
#contact .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

#contact .contact-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
}

#contact .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact .contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
}

#contact .contact-item div h3 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
    font-size: 1rem;
}

#contact .contact-item div p {
    margin: 0;
    color: #666;
}

@media (max-width: 768px) {
    #contact .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        height: 300px;
    }
    
    .project-category h3 {
        font-size: 1.5rem;
    }

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 769px) {
    .section {
        animation: fadeIn 1s ease-out;
    }
}
