/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto !important;
}

.nav-links li {
    margin-left: 20px;
}

.logo__img {
    height: 38px;
    width: 38px;
    object-fit: contain;
}

.logo__text {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.logo__bk {
    color: #e03232;
    font-size: 1.4rem;
}

.logo__tech {
    color: #04AA6D;
    font-size: 1rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #04AA6D;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #04AA6D;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url("../images/home.png");
    background-size: 80%;
    background-position: center 70%;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 4.5rem;
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title--red {
    color: #e03232;
    font-size: 5.5rem;
    display: inline-block;
    vertical-align: middle;
}

.hero-title--green {
    color: #04AA6D;
    font-size: 4rem;
    display: inline-block;
    vertical-align: middle;
}

.hero-subtitle {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    margin: 2px 0 19px;
    opacity: 0.9;
    font-style: italic;
    color: #ffffff;
}


.btn-primary {
    display: inline-block;
    background: #04AA6D;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: -8px;
}

.btn-primary:hover {
    background: #038855;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #04AA6D;
    margin-bottom: 15px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
    color: #333;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.about-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.stat h4 {
    font-size: 2rem;
    color: #04AA6D;
    margin-bottom: 5px;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(4, 170, 109, 0.35);
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #04AA6D;
}

.about-card p {
    color: #333;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
    font-size: 0.95rem;
}

.about-list li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #04AA6D;
}

.about-list.tools {
    column-count: 2;
    column-gap: 40px;
}

.about-list.tools li {
    break-inside: avoid-column;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .about-left {
        order: 2;
    }

    .about-right {
        order: 1;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: #f8f9fa;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-item h3 {
    padding: 20px;
    color: #04AA6D;
}

.portfolio-item p {
    padding: 0 20px 20px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(150deg, #f7f9fc 0%, #ffffff 60%, #f2f8ff 100%);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-alert {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid rgba(4, 170, 109, 0.4);
    background: rgba(4, 170, 109, 0.1);
    color: #064e3b;
    font-weight: 600;
    display: none;
}

.contact-alert.show {
    display: block;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    display: flex;
    gap: 15px;
    padding: 18px 18px 18px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    align-items: flex-start;
}

.contact-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(4, 170, 109, 0.15);
    color: #04AA6D;
    font-size: 1.3rem;
}

.contact-card h4 {
    margin-bottom: 6px;
    color: #04AA6D;
    font-size: 1.05rem;
}

.contact-card p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.contact-card a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: #04AA6D;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    padding: 14px 16px;
    border: 1px solid #d6d9dd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #04AA6D;
    box-shadow: 0 0 0 3px rgba(4, 170, 109, 0.18);
}

.contact-form textarea {
    height: 160px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-left: 0 !important;
    }

    .nav-links li {
        margin: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}