/* ===== RESET & VARIABLES ===== */
:root {
    --primary: #228B22;
    --primary-dark: #1a6b1a;
    --primary-light: #4CAF50;
    --primary-soft: rgba(34, 139, 34, 0.1);
    --secondary: #2c3e50;
    --dark: #1e2a1e;
    --gray: #4a5568;
    --light-gray: #f0f9f0;
    --white: #ffffff;
    --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(34, 139, 34, 0.1);
    --shadow-lg: 0 20px 40px rgba(34, 139, 34, 0.15);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background: #fafafa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== FLOATING TECH BG ===== */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.03;
}

.tech-bg i {
    position: absolute;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    animation: float 20s linear infinite;
}

.tech-bg i:nth-child(1) { top: 10%; left: 5%; }
.tech-bg i:nth-child(2) { top: 20%; right: 10%; animation-delay: 2s; }
.tech-bg i:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 4s; }
.tech-bg i:nth-child(4) { top: 50%; right: 20%; animation-delay: 6s; }
.tech-bg i:nth-child(5) { bottom: 20%; left: 25%; animation-delay: 8s; }
.tech-bg i:nth-child(6) { top: 70%; right: 30%; animation-delay: 10s; }
.tech-bg i:nth-child(7) { bottom: 40%; left: 35%; animation-delay: 12s; }
.tech-bg i:nth-child(8) { top: 30%; right: 40%; animation-delay: 14s; }
.tech-bg i:nth-child(9) { bottom: 60%; left: 45%; animation-delay: 16s; }
.tech-bg i:nth-child(10) { top: 80%; right: 50%; animation-delay: 18s; }
.tech-bg i:nth-child(11) { bottom: 10%; left: 55%; animation-delay: 20s; }
.tech-bg i:nth-child(12) { top: 40%; right: 60%; animation-delay: 22s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100px, 30%);
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--gray);
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    padding: 0 15px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-bottom: 1px solid rgba(34, 139, 34, 0.1);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1002;
}

.navbar-logo-icon {
    width: 40px;
    height: 40px;
    transition: var(--transition);
}

.navbar-logo:hover .navbar-logo-icon {
    transform: rotate(10deg) scale(1.1);
}

.navbar-logo-text {
    font-weight: 700;
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    color: var(--secondary);
}

.navbar-logo-text span {
    color: var(--primary);
    font-size: 1.2em;
}

.navbar-toggle {
    display: none;
    background: var(--primary);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1002;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 2vw, 2rem);
    align-items: center;
}

.navbar-link {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: clamp(0.9rem, 2vw, 1rem);
    white-space: nowrap;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.navbar-link:hover::after,
.navbar-link.active::after {
    width: 100%;
}

.navbar-link:hover,
.navbar-link.active {
    color: var(--primary);
}

.navbar-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
}

.navbar-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.navbar-cta::after {
    display: none;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85), rgba(34,139,34,0.7));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-title {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-highlight {
    color: var(--primary);
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    display: inline-block;
}

.hero-description {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
}

.hero-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.hero-tech-item {
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-tech-item i {
    margin-right: 0.4rem;
    color: var(--primary);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.hero-stat-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-code {
    position: relative;
}

.code-window {
    background: #1e1e2f;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.code-header {
    background: #2d2d44;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot-red { background: #ff5f56; }
.code-dot-yellow { background: #ffbd2e; }
.code-dot-green { background: #27c93f; }

.code-title {
    margin-left: auto;
    color: #aaa;
    font-size: 0.8rem;
    font-family: monospace;
}

.code-body {
    padding: 1.2rem;
}

.code-body pre {
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    line-height: 1.5;
    margin: 0;
}

.code-caption {
    text-align: center;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.code-caption i {
    color: var(--primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator a span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator a span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 10px;
    background: var(--primary);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(34,139,34,0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34,139,34,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

/* ===== ABOUT ===== */
.about {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f8faf8, #f0f5f0);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 4rem;
}

.about-left,
.about-right {
    background: white;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(34, 139, 34, 0.1);
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 1.2rem;
    color: var(--dark);
}

.about-text {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.about-tech h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.about-tech-grid span {
    background: var(--light-gray);
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

.about-tech-grid span i {
    color: var(--primary);
}

.about-vision {
    display: flex;
    gap: 1rem;
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.about-vision-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-vision-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.about-vision-content h4 {
    margin-bottom: 0.3rem;
}

.about-vision-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

.about-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.about-value {
    background: white;
    border: 1px solid rgba(34, 139, 34, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.about-value i {
    color: var(--primary);
}

.about-card {
    background: var(--light-gray);
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.about-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.about-card-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.about-card-header h4 {
    font-size: 1.3rem;
}

.about-card-sub {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.about-card-line {
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 1.5rem;
}

.about-card-quote {
    position: relative;
    padding-left: 1.5rem;
}

.about-card-quote i {
    color: rgba(34, 139, 34, 0.2);
    font-size: 2rem;
    position: absolute;
    top: -10px;
    left: -10px;
}

.about-card-quote p {
    color: var(--gray);
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

.about-stat {
    text-align: center;
}

.about-stat i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.about-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--gray);
}

.about-award {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f1f9f1, #e8f3e8);
    padding: 1.2rem;
    border-radius: var(--radius-lg);
}

.about-award i {
    font-size: 2rem;
    color: #FFD700;
}

.about-award strong {
    display: block;
    font-size: 1rem;
}

.about-award span {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ===== PARTNERS ===== */
.partners {
    margin-top: 3rem;
    background: white;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.partners-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.partners-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.partner {
    background: var(--light-gray);
    padding: 1.2rem 0.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(34, 139, 34, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-height: 120px;
    justify-content: center;
}

.partner:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.partner-logo {
    max-width: 90px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: var(--transition);
}

.partner:hover .partner-logo {
    filter: grayscale(0);
    opacity: 1;
}

.partner-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray);
    line-height: 1.3;
    max-width: 100%;
    word-break: break-word;
}

.partner:hover .partner-name {
    color: var(--primary);
}

.partners-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #e8f3e8, #f1f9f1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    max-width: fit-content;
    margin: 0 auto;
    flex-wrap: wrap;
    text-align: center;
}

.partners-trust i {
    color: var(--primary);
    font-size: 1.2rem;
}

.partners-trust span {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ===== SERVICES ===== */
.services {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.97);
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    margin: 3rem 0;
}

.service {
    background: white;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(34, 139, 34, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    transition: var(--transition);
}

.service:hover .service-icon {
    background: var(--primary);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service:hover .service-icon i {
    color: white;
}

.service-title {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    margin-bottom: 0.8rem;
}

.service-text {
    color: var(--gray);
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-list {
    list-style: none;
    text-align: left;
    margin-bottom: 1.2rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.service-list li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--primary-soft);
    margin-top: auto;
}

.service-link:hover {
    gap: 1rem;
    background: var(--primary);
    color: white;
}

.services-tech {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(34, 139, 34, 0.1);
}

.services-tech h3 {
    margin-bottom: 2rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.services-tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
}

.services-tech-grid i {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--gray);
    transition: var(--transition);
    filter: grayscale(100%);
}

.services-tech-grid i:hover {
    color: var(--primary);
    transform: scale(1.2);
    filter: grayscale(0);
}

/* ===== PORTFOLIO ===== */
.portfolio {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f9f9f9, #fff);
}

.portfolio-disclaimer {
    background: #fff9e6;
    border-left: 4px solid #f0b400;
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin: 2rem auto 3rem;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.portfolio-disclaimer i {
    font-size: 1.5rem;
    color: #f0b400;
    flex-shrink: 0;
}

.portfolio-disclaimer p {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    margin: 2rem 0;
}

.portfolio-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(34, 139, 34, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light-gray);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 139, 34, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: white;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: 2px solid white;
    border-radius: 50px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay span {
    transform: translateY(0);
}

.portfolio-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-info p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tag {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.portfolio-client {
    color: var(--gray);
    font-size: 0.8rem;
    font-weight: 500;
}

.portfolio-note {
    text-align: center;
    margin-top: 3rem;
    padding: 1.2rem;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-note p {
    color: var(--gray);
    font-size: 0.9rem;
}

.portfolio-note i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.portfolio-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
}

/* ===== CONTACT ===== */
.contact {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, #f8faf8, #f0f5f0);
}

.contact-container {
    max-width: 1000px;
    margin: 3rem auto 0;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    display: block;
}

.contact-info {
    padding: clamp(1.5rem, 5vw, 3rem);
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eef2ee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-detail h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-detail p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 0.3rem;
}

.contact-detail a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.contact-detail-small {
    font-size: 0.85rem;
    color: var(--gray);
    background: var(--light-gray);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.contact-response {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.contact-response i {
    color: var(--primary);
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eef2ee;
}

.contact-row .contact-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-hours {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.contact-hours i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-rating {
    background: linear-gradient(135deg, #f1f9f1, #e8f3e8);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-rating-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.contact-rating-badge i {
    color: #FFD700;
}

.contact-rating-badge span:first-of-type {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.contact-rating p {
    color: var(--dark);
    font-weight: 500;
    margin: 0;
}

.contact-nearby {
    margin-bottom: 2rem;
}

.contact-nearby h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-nearby-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.contact-nearby-tags span {
    background: var(--light-gray);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(34, 139, 34, 0.1);
}

.contact-social h4 {
    margin-bottom: 1rem;
}

.contact-social-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-social-icon {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.contact-social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ===== CTA ===== */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: clamp(3rem, 8vw, 5rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    opacity: 0.8;
}

.cta-note i {
    margin-right: 0.3rem;
}

/* ===== FLOATING WA ===== */
.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    text-decoration: none;
}

.floating-wa-button {
    background: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.floating-wa-button i {
    font-size: 1.5rem;
}

.floating-wa-button span {
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-wa-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
}

.floating-wa-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo span span {
    color: var(--primary);
}

.footer-info p {
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.footer-tech {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-tech i {
    font-size: 1.5rem;
    color: #aaa;
    transition: var(--transition);
}

.footer-tech i:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.footer-links h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    width: fit-content;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    width: fit-content;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    width: 18px;
}

.footer-contact a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #334433;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-credit i {
    color: var(--primary);
    animation: heartbeat 1.5s ease infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Large Desktop (1200px - down) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (992px - down) */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-code {
        order: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-tech {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablet (768px - down) */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .navbar-container {
        padding: 0.5rem 0;
    }
    
    .navbar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        gap: 1.2rem;
        z-index: 1001;
    }
    
    .navbar-menu.show {
        display: flex;
    }
    
    .navbar-link {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
        width: 250px;
        text-align: center;
        background: #f5f5f5;
        border-radius: var(--radius-md);
    }
    
    .navbar-cta {
        width: 250px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .contact-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h3 {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contact h3 {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile (576px - down) */
@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .hero-tech-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        width: 100%;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .partner {
        padding: 1rem 0.3rem;
        min-height: 100px;
    }
    
    .partner-logo {
        max-width: 70px;
        max-height: 35px;
    }
    
    .partner-name {
        font-size: 0.7rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-detail h3 {
        font-size: 1.3rem;
    }
    
    .contact-rating {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-rating-badge {
        width: 100%;
        justify-content: center;
    }
    
    .contact-nearby-tags span {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .floating-wa-button span {
        display: none;
    }
    
    .floating-wa-button {
        padding: 1rem;
        border-radius: 50%;
    }
    
    .floating-wa-button i {
        font-size: 2rem;
        margin: 0;
    }
}

/* Small Mobile (400px - down) */
@media screen and (max-width: 400px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .partner {
        flex-direction: row;
        text-align: left;
        padding: 0.8rem 1rem;
        min-height: auto;
        gap: 1rem;
    }
    
    .partner-logo {
        max-width: 50px;
        max-height: 30px;
    }
    
    .partner-name {
        font-size: 0.8rem;
        text-align: left;
    }
    
    .portfolio-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}