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

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Header */
header {
    background: transparent;
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

header.scrolled .logo {
    color: #2c3e50;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: color 0.3s ease;
}

header.scrolled .nav-menu a {
    color: #2c3e50;
}

.nav-menu a:hover {
    color: #3498db;
}

header.scrolled .nav-menu a:hover {
    color: #3498db;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/Hero.webp') no-repeat center;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 260px 0 200px;
    margin-top: 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: 600;
}

.btn:hover {
    background: #c0392b;
}

.about .btn {
    background: #3498db;
}

.about .btn:hover {
    background: #2980b9;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.scroll-down-btn {
    display: inline-block;
    background: transparent;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 30px;
    padding: 10px;
}

.scroll-down-btn:hover {
    transform: translateY(5px);
}

.scroll-down-btn i {
    font-size: 2rem;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-buttons {
    text-align: center;
    margin-top: 20px;
}

/* Services Section */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 calc(25% - 30px);
    min-width: 250px;
    max-width: calc(25% - 30px);
}

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

.services-pdf-wrapper {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 1200px) {
    .service-card {
        flex: 1 1 calc(33.333% - 30px);
        max-width: calc(33.333% - 30px);
    }
}

@media (max-width: 900px) {
    .service-card {
        flex: 1 1 calc(50% - 30px);
        max-width: calc(50% - 30px);
    }
}

@media (max-width: 600px) {
    .service-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


/* Certificates Section */
.certificates {
    background: #f8f9fa;
}

.certificate-card {
    background: white;
    padding: 30px;
    margin: 15px 0px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.certificate-card h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

/* Contacts Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

#contactForm {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#contactForm textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        top: 80px;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        color: #2c3e50;
    }

    .hamburger {
        display: flex;
    }

    header {
        background: white;
    }

    .logo {
        color: #2c3e50;
    }

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

    .hero {
        padding: 140px 0 80px;
    }

    section h2 {
        font-size: 1.8rem;
    }
}

.pdf-btn {
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    font-weight: 600;
}

.pdf-btn:hover {
    background: #2980b9;
}

.pdf-btn i {
    margin-right: 8px;
}
