@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary: rgb(87, 171, 158);
    --primary-light: rgba(87, 171, 158, 0.8);
    --accent: #10b981;
    --background: #ffffff;
    --background-alt: rgba(87, 171, 158, 0.2);
    --text: #0f172a;
    --text-muted: #475569;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
    font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(87, 171, 158, 0.05), transparent);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--background), transparent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 0;
    align-items: center;
}

.hero-content {
    max-width: 100%;
    z-index: 2;
    /* Ensure text stays on top if they overlap */
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    margin-left: -4rem;
    /* Overlap effect */
    z-index: 1;
}

.hero-image img {
    max-width: 150%;
    height: auto;
    border-radius: 24px;
    /* Optional: add a subtle float animation */
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(87, 171, 158, 0.1);
    border: 1px solid rgba(87, 171, 158, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text);
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(87, 171, 158, 0.05);
    border-color: var(--primary);
}

/* Partners Section */
.partner-slider-wrapper {
    position: relative;
    padding: 0 4rem;
    /* Space for buttons */
    max-width: 1300px;
    margin: 0 auto;
}

.partner-slider {
    overflow: hidden;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.partner-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 180px;
    height: 100px;
    transition: all 0.3s ease;
    cursor: default;
}

.partner-item img {
    max-height: 80px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(87, 171, 158, 0.1);
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Slider Pause on Hover is handled in CSS for the track if we use CSS,
   but for JS we can handle it there if needed. For now just removing the keyframes. */

.partner-logo {
    height: 30px;
    filter: grayscale(1) invert(1);
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

/* Services */
.services {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    padding: 3rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

/* Stats/Features Section */
.stats {
    padding: 10rem 0;
    background: var(--background-alt);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.stats-content h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.why-us-content {
    margin-bottom: 3rem;
}

.stats-list {
    list-style: none;
}

.stats-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stats-item-icon {
    padding: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 8px;
}

.stats-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stats-item p {
    color: var(--text-muted);
}

/* Remote Support Section */
.remote-banner {
    padding: 6rem;
    margin-bottom: 10rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #2d5a53);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    color: white;
}

.remote-banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.remote-banner p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Contact */
.contact {
    padding-bottom: 10rem;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4rem;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item-icon {
    color: var(--primary-light);
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--text-muted);
}

/* Form Styling */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    background: #f8fafc;
    color: var(--text);
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(87, 171, 158, 0.1);
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-light);
}

/* Partner Badges */
.badges-section {
    padding: 6rem 0;
    text-align: center;
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.badge-item {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    width: 100%;
}

.badge-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.badge-item i {
    font-size: 2.5rem;
    color: var(--primary);
}

.badge-item img {
    height: 120px;
    width: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.badge-item:hover img {
    transform: scale(1.1);
}

/* Certifications */
.certs-section {
    padding: 6rem 0;
    background: var(--background-alt);
}

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

.cert-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.cert-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Case Study */
.case-study {
    padding: 6rem 0;
}

.case-study-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
}

.case-study-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.case-study-content .tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(87, 171, 158, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-image {
    width: 100%;
    height: 300px;
    background: var(--background-alt);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        justify-content: center;
        order: -1;
        /* Image on top for mobile */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-grid,
    .contact-card,
    .case-study-card,
    .badge-grid {
        grid-template-columns: 1fr;
    }

    .remote-banner {
        padding: 3rem 2rem;
    }
}