/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #333;
    overflow-x: hidden;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}



/* HEADER */

/* HEADER */

.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #222;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 30px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #d32f2f;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    color: white;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background: #d32f2f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

/* ABOUT */
.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 0;
}

.about-text {
    width: 50%;
}

.about-img img {
    width: 500px;
    border-radius: 8px;
}

/* SERVICES */
.services {
    background: #f7f7f7;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card img {
    width: 100%;
}

.service-card h3 {
    margin: 15px;
}

.service-card p {
    margin: 0 15px 15px;
}

/* PROJECTS */
.projects {
    padding: 80px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.project-card img {
    width: 100%;
    border-radius: 8px;
}

.project-card h3 {
    margin: 15px 0 5px;
    text-align: center;
}

.project-card p {
    text-align: center;
    padding: 0 10px 15px;
}
.service-card,
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-30px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


/* CTA */
.cta {
    text-align: center;
    padding: 80px 0;
    background: #d32f2f;
    color: white;
}

.cta .btn {
    background: white;
    color: #d32f2f;
    margin-top: 20px;
}

/* FOOTER */
.footer {
    background: #222;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.footer a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-icons {
    margin-top: 15px;
    display: flex;
    gap: 12px;
}

/* ICONIȚE FOOTER – DESKTOP */
.footer-icons img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    color: #aaa;
}

/* MOBILE MENU PANEL */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background: #222;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-left: 25px;
    transition: 0.4s ease;
    z-index: 99999;
}

.mobile-menu-panel a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.mobile-menu-panel.active {
    right: 0;
}

body.menu-open {
    overflow: hidden;
}

/* ========================= */
/* RESPONSIVE DESIGN - MOBILE */
/* ========================= */

@media (max-width: 768px) {

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .nav {
        display: none;
    }

    .mobile-menu {
        display: block;
        font-size: 32px;
        color: #d32f2f;
    }

    .hero-slider {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 26px;
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 15px;
        padding: 0 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        width: 100%;
    }

    .about-img img {
        width: 90%;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .project-card {
        width: 92%;
        margin: auto;
        background: white;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        padding-bottom: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-icons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-icons img {
        width: 38px;
        height: 38px;
    }

.contact-hero {
    height: 35vh;
}

.contact-content h1 {
    font-size: 30px;
    padding: 0 15px;
}

.contact-content p {
    font-size: 15px;
    padding: 0 20px;
}

.contact-card {
    width: 92%;
    padding: 25px;
}




}

/* CONTACT PAGE */

.contact-hero {
    position: relative;
    height: 45vh;
    background-image: url('graph/main_pic.j*eg');
    background-size: cover;
*   background-position: center;
  * display: flex;
    justify-conten*: center;
    align-items: center;*}

.contact-overlay {
    position* absolute;
    inset: 0;
    backg*ound: rgba(0,0,0,0.55);
}

.contac*-content {
    position: relative;*    z-index: 2;
    color: white;
*   text-align: center;
}

.contact*content h1 {
    font-size: 52px;
*   margin-bottom: 15px;
}

.contact-content p {
    font-size: 18px;
*   max-width: 700px;
    margin: auto;
}

.contact-section {
    background: #f7f7f7;
    padding: 80px 0;
}

.contact-card {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-card h2 {
    text-align: center;
    margin-bottom: 30px;
}

.contact-card label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact-card input,
.contact-card textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.contact-card textarea {
    min-height: 180px;
    resize: vertical;
}