:root {
    --primary: #16a34a;          /* Green */
    --primary-dark: #15803d;     /* Darker green */
    --secondary: #22c55e;        /* Light green accent */
    --dark: #1e293b;
    --light: #ffffff;            /* White */
    --gray: #64748b;
    --light-gray: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    outline: none;
    display: flex;
    align-items: start;
    justify-content: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    color: white;
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.logo-text p{
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    line-height: normal;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

.cta-button, .nav-links .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    font-size: 16px;
    text-align: center;
}


.cta-button:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.2);
}

.cta-button.outline {
    background-color: transparent;
    color: var(--primary);
}

.cta-button.outline:hover {
    background-color: var(--primary);
    color: white;
}

/* Hero Swiper */
.hero-swiper {
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px;
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.slide-content {
    position: relative;
    max-width: 600px;
    z-index: 1;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Solutions Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.solutions-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.solutions-content {
    flex: 1;
}

.solutions-image {
    flex: 1;
}

.solutions-swiper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.solutions-swiper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 32px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
}

/* Specialties Section */
.specialties-container {
    background: var(--light);
    padding: 60px;
    border-radius: 10px;
}

.specialties-columns {
    column-count: 3;
    column-gap: 40px;
}

.specialty-item {
    margin-bottom: 15px;
    break-inside: avoid;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.specialty-item i {
    margin-right: 10px;
    color: var(--primary);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--gray);
    font-size: 18px;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 24px;
}

.value-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--primary);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.newsletter-section p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 30px;
    background: var(--secondary);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--light-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .solutions-container {
        flex-direction: column;
    }

    .specialties-columns {
        column-count: 2;
    }

    .hero-slide {
        padding: 0 30px;
    }

    .slide-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .specialties-columns {
        column-count: 1;
    }

    .specialties-container {
        padding: 30px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: 50px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        border-radius: 50px;
    }
}

@media (max-width: 576px) {
    .hero-slide {
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Form Section */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 10px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background-color: white;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 5px rgba(22, 163, 74, 0.2);
    outline: none;
}

.contact-form button {
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

html {
  scroll-behavior: smooth;
}
.blog-top-padding {
    padding-top: 120px;
}

/* Rounded button style */
.cta-button.rounded {
    border-radius: 50px;
    padding: 10px 20px;
}

/* Fix blog section and footer clickable issue on mobile */
.blog-top-padding,
footer {
    position: relative;
    z-index: 2;
}

/* Ensure nav menu doesn't block clicks when hidden */
.nav-links {
    z-index: 999;
    pointer-events: none;
    opacity: 0;
}

.nav-links.active {
    left: 0;
    opacity: 1;
    pointer-events: auto;
}

/* === DESKTOP FIXES === */
@media (min-width: 993px) {
  .solutions-container {
    flex-direction: row;
  }

  .specialties-columns {
    column-count: 3;
  }

  .nav-links {
    position: static;
    flex-direction: row;
    height: auto;
    background: transparent;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    margin: 0 15px;
  }

  .mobile-menu-btn {
    display: none !important;
  }

  .hero-swiper {
    padding-top: 100px;
  }

  .slide-content {
    margin-left: 50px;
  }

  .services-grid,
  .values-grid,
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
