/* ================================
   GLOBAL STYLES & VARIABLES
   ================================ */

:root {
    --primary-color: #00A651;
    --primary-dark: #008040;
    --primary-light: #00D461;
    --bg-dark: #0a0e27;
    --bg-darker: #050810;
    --bg-light: #1f2a6e;
    --text-light: #f0f4f8;
    --text-muted: #b0b8c5;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --border-color: rgba(0, 166, 81, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-light) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   NAVIGATION
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 8, 16, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px var(--primary-light));
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-cyan));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-light);

}

.nav-menu a:hover::after {
    width: 100%;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-top: 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 166, 81, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 100%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: animateBg 8s ease-in-out infinite;
}

@keyframes animateBg {
    0%, 100% {
        filter: blur(50px);
    }
    50% {
        filter: blur(30px);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-cyan), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--primary-light);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

a.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

a.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
}

a.btn-primary:hover {
    transform: translate(0, -3px);
    box-shadow: 0 12px 30px rgba(0, 166, 81, 0.5);
}

a.btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary-color);
    box-shadow: inset 0 0 20px rgba(0, 166, 81, 0.1);
}

a.btn-secondary:hover {
    background: rgba(0, 166, 81, 0.1);
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.3);
}

a.btn-primary-white {
    background: linear-gradient(135deg, var(--primary-light), #00FF7F);
    color: var(--bg-dark);
    box-shadow: 0 8px 20px rgba(0, 255, 127, 0.3);
}

a.btn-primary-white:hover {
    transform: translate(0, -3px);
    box-shadow: 0 12px 30px rgba(0, 255, 127, 0.5);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.floating-cube {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.2), rgba(124, 58, 237, 0.2));
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    box-shadow: 
        0 0 40px rgba(0, 166, 81, 0.3),
        inset 0 0 40px rgba(0, 166, 81, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.floating-cube::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 97, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    50% {
        transform: translateY(-30px) rotateX(5deg) rotateY(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

/* ================================
   SERVICES SECTION
   ================================ */

.services {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, transparent, rgba(0, 166, 81, 0.05));
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-light);
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08), rgba(124, 58, 237, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 166, 81, 0.2), transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 166, 81, 0.2);
}

.service-card:hover::before {
    left: 100%;
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 14px;
}

/* ================================
   VALUES SECTION
   ================================ */

.values {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 166, 81, 0.05), transparent);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    background: rgba(0, 166, 81, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    border-color: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 166, 81, 0.15);
}

.value-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.value-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

.value-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08), rgba(124, 58, 237, 0.05));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 15px;
}

.about-text p strong {
    color: var(--text-light);
}

.commitment-box {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.15), rgba(124, 58, 237, 0.1));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 166, 81, 0.1);
}

.commitment-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 25px;
}

.commitment-list {
    list-style: none;
}

.commitment-list li {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.commitment-list li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: 800;
    font-size: 18px;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* ================================
   PROJECTS SECTION
   ================================ */

.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.project-card {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 166, 81, 0.3);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.2), rgba(124, 58, 237, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 166, 81, 0.2), transparent);
    animation: pulse 4s ease-in-out infinite;
}

.placeholder-image {
    position: relative;
    z-index: 1;
    font-size: 18px;
    text-align: center;
}

.project-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    padding: 20px 20px 10px;
}

.project-card p {
    color: var(--text-muted);
    font-size: 14px;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* ================================
   BLOG SECTION
   ================================ */

.blog {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(0, 166, 81, 0.05));
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.08), rgba(124, 58, 237, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 166, 81, 0.15), transparent);
    transition: left 0.5s ease;
    z-index: 0;
}

.blog-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 166, 81, 0.2);
}

.blog-card:hover::before {
    left: 100%;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.blog-category {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-date {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}

.blog-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.read-more {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-block;
}

.read-more:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

/* ================================
   CTA SECTION
   ================================ */

.cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.15), rgba(124, 58, 237, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    text-align: center;
    margin: 100px 0;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 35px;
    line-height: 1.8;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: linear-gradient(180deg, var(--bg-dark), var(--bg-darker));
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 11px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 300px;
    }

    .floating-cube {
        width: 200px;
        height: 200px;
    }

    .floating-cube::before {
        width: 130px;
        height: 130px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .service-card,
    .value-item,
    .project-card,
    .blog-card {
        padding: 25px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .service-icon {
        font-size: 40px;
    }

    .footer-content {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .navbar {
        position: static;
    }

    .hero {
        margin-top: 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-title::after {
        width: 60px;
    }

    .nav-menu {
        gap: 10px;
        font-size: 10px;
    }

    .service-card h3,
    .project-card h3,
    .blog-card h3 {
        font-size: 18px;
    }

    .cta {
        padding: 50px 20px;
        margin: 50px 0;
    }

    .cta h2 {
        font-size: 22px;
    }

    .floating-cube {
        width: 150px;
        height: 150px;
    }
}