/*
Theme Name: Nextma - Modern Corporate
Theme URI: https://nextma.ma
Author: Nextma
Author URI: https://nextma.ma
Description: Modern corporate WordPress theme for Nextma with advanced UI/UX effects and animations
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextma-theme
Domain Path: /languages

Colors:
- Primary Green: #1B6B3A
- Secondary Red: #C0392B
- Orange Accent: #F39C12
- Light BG: #F8F7F4
- Dark Text: #1A1A1A
*/

:root {
    --primary-green: #1B6B3A;
    --primary-dark: #145230;
    --secondary-red: #C0392B;
    --accent-orange: #F39C12;
    --text-dark: #1A1A1A;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #ecf0f1;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ========== HEADER & NAVIGATION ========== */
.site-header {
    background: var(--bg-white);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--primary-green);
}

.site-header-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-logo img {
    max-height: 25px;
    width: auto;
    display: block;
}

.site-logo:hover {
    opacity: 0.8;
}

.main-navigation {
    flex: 1;
    margin: 0 40px;
    display: flex;
    align-items: center;
}

.main-navigation,
.navbar-menu {
    width: 100%;
}

.main-navigation ul,
.navbar-menu {
    list-style: none !important;
    display: flex !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-navigation li,
.navbar-menu li {
    display: list-item !important;
}

.main-navigation a,
.navbar-menu a {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer !important;
}

.main-navigation a:hover,
.navbar-menu a:hover {
    color: var(--primary-green) !important;
}

.main-navigation a::after,
.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-red));
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.navbar-menu a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: var(--primary-green);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========== HERO SECTION ========== */
.hero-section {
    width: 100%;
    min-height: 90vh;
    background: linear-gradient(135deg, #fff 0%, #f0f8f5 50%, #fff8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px 40px;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27, 107, 58, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(231, 76, 60, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 5%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.25);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(46, 204, 113, 0.35);
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-red));
    border-radius: 2px;
}

/* ========== CONTENT WRAPPER ========== */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== METRICS SECTION ========== */
.metrics-section {
    width: 100%;
    background: var(--bg-white);
    padding: 100px 40px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-card {
    padding: 35px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-red));
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.metric-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========== SERVICES SECTION ========== */
.services-section {
    width: 100%;
    background: var(--bg-light);
    padding: 100px 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    padding: 40px;
    border-radius: 12px;
    background: var(--bg-white);
    border-left: 5px solid var(--primary-green);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:nth-child(2) { border-left-color: var(--secondary-red); }
.service-card:nth-child(3) { border-left-color: var(--accent-orange); }
.service-card:nth-child(4) { border-left-color: var(--primary-green); }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========== SOLUTIONS SECTION ========== */
.solutions-section {
    width: 100%;
    background: var(--bg-white);
    padding: 100px 40px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    padding: 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.solution-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.solution-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== CLIENTS CAROUSEL ========== */
.clients-section {
    width: 100%;
    background: var(--bg-light);
    padding: 100px 40px;
}

.clients-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.clients-track {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 0;
    -webkit-overflow-scrolling: touch;
}

.clients-track::-webkit-scrollbar {
    height: 6px;
}

.clients-track::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 3px;
}

.clients-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-red));
    border-radius: 3px;
}

.clients-track::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.client-logo {
    flex: 0 0 auto;
    min-width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    padding: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(27, 107, 58, 0.15);
    border-color: var(--primary-green);
    background: linear-gradient(135deg, var(--bg-white), #f0f8f5);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========== PROCESS STEPS ========== */
.process-section {
    width: 100%;
    background: var(--bg-white);
    padding: 100px 40px;
}

.process-container {
    max-width: 1100px;
    margin: 0 auto;
}

.process-intro {
    text-align: center;
    margin-bottom: 60px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--secondary-red) 50%, var(--accent-orange) 100%);
    z-index: 0;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    padding: 30px;
    padding-left: 50px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 1;
}

.process-step:hover {
    border-color: var(--primary-green);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
    transform: translateX(10px);
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
    border: 3px solid var(--bg-white);
}

.process-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, var(--secondary-red), #a93226);
}

.process-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, var(--accent-orange), #d68910);
}

.process-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
}

.process-step:nth-child(5) .step-number {
    background: linear-gradient(135deg, var(--secondary-red), #a93226);
}

.process-step:nth-child(6) .step-number {
    background: linear-gradient(135deg, var(--accent-orange), #d68910);
}

.process-step:nth-child(7) .step-number {
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
}

.step-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.step-bullets {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.step-bullets li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.step-bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
    width: 100%;
    background: var(--bg-light);
    padding: 100px 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 30px;
    border-radius: 12px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    opacity: 0.1;
    color: var(--primary-green);
}

.testimonial-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 15px 35px rgba(46, 204, 113, 0.15);
    transform: translateY(-5px);
}

.stars {
    color: var(--accent-orange);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-company {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== TIMELINE ========== */
.timeline-section {
    width: 100%;
    background: var(--bg-white);
    padding: 100px 40px;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 20px;
    margin-bottom: 50px;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }

.timeline-dot {
    width: 25px;
    height: 25px;
    background: var(--primary-green);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 3px var(--primary-green);
    position: relative;
    z-index: 1;
    margin: 0 auto;
}

.timeline-content {
    padding: 25px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 3px solid var(--primary-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.timeline-year {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 8px;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========== CONTACT PAGE ========== */
.contact-hero {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
    color: white;
    padding: 80px 40px;
    text-align: center;
}

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

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-wrapper {
    background: var(--bg-light);
    padding: 60px 40px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.info-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-item p {
    margin: 0;
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--secondary-red);
}

/* ========== CONTACT FORM ========== */
.contact-form-area {
    width: 100%;
}

.nextma-contact-form-wrapper {
    max-width: 700px;
    margin: 60px auto;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* WPForms Styling */
.wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
}

.wpforms-form {
    max-width: 100% !important;
}

.wpforms {
    background: var(--bg-white) !important;
    padding: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.nextma-contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(27, 107, 58, 0.1);
}

.form-submit {
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--primary-green), #27AE60);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
}

.contact-success {
    padding: 15px 20px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-error {
    padding: 15px 20px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* ========== FOOTER ========== */
.site-footer {
    width: 100%;
    background: var(--text-dark);
    color: white;
    padding: 60px 40px;
    margin-top: 100px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-weight: 600;
}

.footer-section p,
.footer-section li {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-section a {
    color: #27AE60;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #F39C12;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #b0b0b0;
    font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
/* ========== CONTACT FORM RESPONSIVE ========== */
@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 20px;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-wrapper {
        padding: 40px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        padding: 25px;
    }

    .nextma-contact-form-wrapper {
        padding: 25px;
        margin: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-submit {
        width: 100%;
    }
}

/* ========== TABLET (768px and below) ========== */
@media (max-width: 768px) {
    .site-header {
        padding: 12px 15px;
    }

    .site-header-inner {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-logo-wrapper {
        flex: 1;
        min-width: 120px;
    }

    .site-logo {
        width: auto;
        margin-bottom: 0;
    }

    .site-logo img {
        max-height: 20px;
    }

    .menu-toggle {
        display: flex !important;
        order: 2;
        flex-shrink: 0;
        margin: 0;
    }

    .header-cta {
        order: 3;
        width: auto;
        padding: 10px 20px;
        font-size: 0.85rem;
        margin: 0;
    }

    .main-navigation {
        width: 100%;
        margin: 0;
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation ul,
    .navbar-menu {
        flex-direction: column;
        gap: 0 !important;
        width: 100%;
        padding: 0 !important;
    }

    .main-navigation li,
    .navbar-menu li {
        width: 100%;
    }

    .main-navigation a,
    .navbar-menu a {
        display: block;
        padding: 12px 15px;
        border-bottom: 1px solid var(--border-color);
        font-size: 0.9rem;
        margin: 0 !important;
    }

    .main-navigation a:last-child,
    .navbar-menu a:last-child {
        border-bottom: none;
    }

    .main-navigation a::after,
    .navbar-menu a::after {
        display: none;
    }

    .hero-section {
        padding: 40px 20px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .content-wrapper {
        padding: 0 20px;
    }

    .metrics-section,
    .services-section,
    .solutions-section,
    .clients-section,
    .process-section,
    .testimonials-section,
    .timeline-section {
        padding: 60px 20px;
    }

    .metrics-grid,
    .services-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metric-card {
        padding: 25px;
    }

    .metric-number {
        font-size: 2rem;
    }

    .service-card {
        padding: 25px;
    }

    .solution-card {
        padding: 20px;
    }

    .client-logo {
        min-width: 140px;
        height: 80px;
        font-size: 0.8rem;
    }

    .clients-track {
        gap: 20px;
    }

    .process-step {
        grid-template-columns: 1fr;
        padding: 20px;
        padding-left: 20px;
        gap: 20px;
    }

    .process-steps::before {
        display: none;
    }

    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-bullets li {
        font-size: 0.85rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 40px;
    }

    .timeline-dot {
        margin: 20px auto;
    }

    .timeline-content {
        border-left: none;
        border-top: 3px solid var(--primary-green);
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========== MOBILE (480px and below) ========== */
@media (max-width: 480px) {
    .site-header {
        padding: 10px 15px;
        border-bottom-width: 2px;
    }

    .site-header-inner {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-logo-wrapper {
        flex: 1;
        min-width: 150px;
    }

    .site-logo {
        margin-bottom: 0;
    }

    .site-logo img {
        max-height: 18px;
    }

    .menu-toggle {
        display: flex !important;
        order: 2;
        flex-shrink: 0;
        margin: 0;
        padding: 8px;
    }

    .header-cta {
        order: 3;
        width: auto;
        padding: 10px 15px;
        font-size: 0.8rem;
        margin: 0;
    }

    .main-navigation {
        width: 100%;
        margin: 0;
        display: none;
        flex-direction: column;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.active {
        display: flex;
    }

    .main-navigation ul,
    .navbar-menu {
        gap: 0 !important;
        padding: 0 !important;
        width: 100%;
    }

    .main-navigation li,
    .navbar-menu li {
        width: 100%;
    }

    .main-navigation a,
    .navbar-menu a {
        padding: 12px 15px !important;
        font-size: 0.9rem;
        border-bottom: 1px solid var(--border-color) !important;
        margin: 0 !important;
        color: var(--text-dark) !important;
        display: block;
    }

    .main-navigation a:last-child,
    .navbar-menu a:last-child {
        border-bottom: none !important;
    }

    .main-navigation a::after,
    .navbar-menu a::after {
        display: none !important;
    }

    .hero-section {
        padding: 30px 15px;
        min-height: auto;
    }

    .hero-section::before,
    .hero-section::after {
        width: 200px;
        height: 200px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-cta {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .metrics-section,
    .services-section,
    .solutions-section,
    .clients-section,
    .process-section,
    .testimonials-section,
    .timeline-section {
        padding: 40px 15px;
    }

    .metric-card {
        padding: 20px;
    }

    .metric-number {
        font-size: 1.8rem;
    }

    .metric-label {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 20px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-desc {
        font-size: 0.85rem;
    }

    .solution-card {
        padding: 15px;
    }

    .solution-icon {
        font-size: 2rem;
    }

    .solution-name {
        font-size: 1rem;
    }

    .solution-desc {
        font-size: 0.85rem;
    }

    .client-logo {
        min-width: 110px;
        height: 70px;
        font-size: 0.75rem;
        padding: 15px;
    }

    .clients-track {
        gap: 15px;
    }

    .process-step {
        padding: 15px;
        gap: 15px;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .step-content h3 {
        font-size: 1rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .step-bullets {
        margin: 10px 0 0 0;
    }

    .step-bullets li {
        padding: 8px 0;
        padding-left: 25px;
        font-size: 0.8rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .testimonial-author {
        font-size: 0.9rem;
    }

    .timeline-year {
        font-size: 1.1rem;
    }

    .timeline-text {
        font-size: 0.85rem;
    }

    .site-footer {
        padding: 40px 15px;
        margin-top: 60px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-section p,
    .footer-section a,
    .footer-section li {
        font-size: 0.85rem;
    }
}
