/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

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

/* Color Scheme */
:root {
    --primary-green: #87c732;
    --dark-gray: #2c3e50;
    --medium-gray: #34495e;
    --light-gray: #ecf0f1;
    --accent-blue: #3498db;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-medium: #7f8c8d;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-gray);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: #76b02c;
    border-color: #76b02c;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-gray);
    border-color: var(--dark-gray);
}

.btn-secondary:hover {
    background-color: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

.cta-button {
    background-color: var(--primary-green);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #76b02c;
    transform: translateY(-1px);
}

/* Header and Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo .logo {
    height: 65px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, #ffffff 100%);
    padding: 120px 0 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Circle 1 - Outer, 270deg (90° to 360°), clockwise - 2x bigger, left side */
.hero::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 15%;
    width: 580px;
    height: 580px;
    margin: -290px 0 0 -290px;
    border: 6px solid transparent;
    border-radius: 50%;
    border-top-color: transparent;
    border-right-color: rgba(135, 199, 50, 0.3);
    border-bottom-color: rgba(135, 199, 50, 0.3);
    border-left-color: rgba(135, 199, 50, 0.3);
    z-index: 1;
    animation: spinClockwise 20s linear infinite;
}

/* Circle 2 - Middle, 180deg (270° to 90°), counter-clockwise - 2x bigger, left side */
.hero::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 15%;
    width: 480px;
    height: 480px;
    margin: -240px 0 0 -240px;
    border: 6px solid transparent;
    border-radius: 50%;
    border-top-color: rgba(135, 199, 50, 0.25);
    border-right-color: transparent;
    border-bottom-color: transparent;
    border-left-color: rgba(135, 199, 50, 0.25);
    z-index: 1;
    animation: spinCounterClockwise 15s linear infinite;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    position: relative;
    z-index: 2;
}

/* Circle 3 - Inner, 270deg (0° to 270°), clockwise - THICKER, 2x bigger, left side */
.hero .center-circle {
    content: '';
    position: absolute;
    top: 60%;
    left: 15%;
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
    border: 12px solid transparent;
    border-radius: 50%;
    border-top-color: rgba(135, 199, 50, 0.2);
    border-right-color: transparent;
    border-bottom-color: rgba(135, 199, 50, 0.2);
    border-left-color: rgba(135, 199, 50, 0.2);
    z-index: 1;
    animation: spinClockwise 10s linear infinite;
}

/* Remove the old pseudo-elements */
.hero-container::before,
.hero-container::after {
    display: none;
}

/* Animation Keyframes */
@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-intro {
    font-size: 1.3rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* What We Do Section */
.what-we-do {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.what-we-do::after {
    content: '';
    position: absolute;
    top: 10%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(52, 73, 94, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.integration-list {
    list-style: none;
    margin: 1.5rem 0;
}

.integration-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.integration-list li:before {
    content: "✓";
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Applications Section */
.applications {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.applications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(52, 73, 94, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 73, 94, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

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

.application-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.card-content ul {
    list-style: none;
}

.card-content li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.95rem;
}

.card-content li:before {
    content: "•";
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Section */
.services {
    background-color: var(--medium-gray);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-gray);
    transform: skewY(-1.5deg);
    transform-origin: top left;
}

.services h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.service-item {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-green);
    display: block;
    margin: 0 auto;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.service-item p {
    color: var(--light-gray);
    font-size: 1rem;
}

/* Technology Section */
.technology {
    background-color: var(--medium-gray);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(135, 199, 50, 0.08);
    transform: skewY(-1.5deg);
    transform-origin: top left;
}

.technology::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: -150px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(135, 199, 50, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.technology h2 {
    color: var(--white);
    text-align: center;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.tech-text p {
    color: var(--light-gray);
    margin-bottom: 2rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.tech-item h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.tech-item ul {
    list-style: none;
}

.tech-item li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.2rem;
    color: var(--light-gray);
}

.tech-item li:before {
    content: "▸";
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

.standards-note {
    background-color: rgba(135, 199, 50, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.standards-list {
    list-style: none;
    margin-top: 1rem;
}

.standards-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--light-gray);
}

.standards-list li:before {
    content: "▸";
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

.tech-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Why Us Section */
.why-us {
    background: linear-gradient(135deg, rgba(135, 199, 50, 0.08) 0%, rgba(135, 199, 50, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--medium-gray);
    transform: skewY(1.5deg);
    transform-origin: top left;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(135, 199, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

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

.why-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(135, 199, 50, 0.1);
}

.why-icon {
    margin-bottom: 1.5rem;
}

.why-icon i {
    font-size: 4rem;
    color: var(--primary-green);
    display: block;
    margin: 0 auto;
}

.why-item h3 {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.why-item p {
    color: var(--text-medium);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo .logo {
    height: 45px;
    width: auto;
}

.footer-text p {
    margin: 0;
    color: var(--light-gray);
}

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

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        min-height: 50vh;
        padding: 2rem 20px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

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

    .hero-buttons {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Placeholder Images */
.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%),
                linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.3;
}

.placeholder-image span {
    position: relative;
    z-index: 1;
    padding: 1rem;
}

.hero-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.content-placeholder {
    height: 350px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
}

.card-placeholder {
    height: 200px;
}

.card-green {
    background: linear-gradient(135deg, var(--primary-green) 0%, #76b02c 100%);
}

.card-dark {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
}

.card-medium {
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
}

.tech-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--medium-gray) 0%, var(--dark-gray) 100%);
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-item,
    .why-item {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .placeholder-image {
        font-size: 1rem;
    }

    .hero-placeholder {
        height: 300px;
    }

    .content-placeholder {
        height: 250px;
    }
}