/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #193E39;
    --primary-dark: #0f2c28;
    --secondary-color: #DBFE7A;
    --accent-color: #193E39;
    --text-primary: #193E39;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f8f6;
    --border-color: #e5e7eb;
    --shadow: 0 10px 15px -3px rgba(25, 62, 57, 0.1), 0 4px 6px -2px rgba(25, 62, 57, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(25, 62, 57, 0.25);
    --gradient: linear-gradient(135deg, #193E39 0%, #0f2c28 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 2.8rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.875rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(25, 62, 57, 0.15), 0 10px 10px -5px rgba(25, 62, 57, 0.04);
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    font-weight: 700;
}

.btn-secondary:hover {
    background: #c4fd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(219, 254, 122, 0.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    /* background: rgba(255, 255, 255, 0.9); */
    background: #193E39;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Desktop nav-link behavior */
.header.scrolled .nav-link {
    color: white;
}

.header.scrolled .nav-link:hover {
    color: var(--secondary-color);
}

.header.scrolled .brand-text {
    color: var(--primary-color);
}

/* Mobile-specific nav-link overrides */
@media (max-width: 768px) {
    .header.scrolled .nav-link {
        color: var(--text-primary);
    }
    .header.scrolled .nav-link:hover,
    .header.scrolled .nav-link:focus {
        color: var(--text-primary);
    }
    .header .nav-link {
        color: var(--text-primary);
    }
    .header .nav-link:hover,
    .header .nav-link:focus {
        color: var(--text-primary);
    }
}

.nav {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.header.scrolled .logo {
    filter: none;
}


.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.header.scrolled .nav-toggle span {
    /* background: var(--primary-color); */
    color: white;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #1E322D 0%, #193E39 50%, #0f2c28 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23DBFE7A" fill-opacity="0.1"><circle cx="30" cy="30" r="1"/></g></svg>');
    opacity: 0.2;
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

/* Mobile-specific top margin */
@media (max-width: 768px) {
    .hero-title {
        margin-top: 3rem; /* increase as needed */
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Problem Section */
.problem {
    background: var(--bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.problem-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: var(--secondary-color);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.problem-icon svg {
    width: 30px;
    height: 30px;
}

.problem-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Features Section */
.features {
    background: white;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.platform-card:hover {
    transform: scale(1.05);
}

.platform-card img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 0.25rem;
    padding: 0.5rem;
    filter: grayscale(0%);
}

/* Bigger sizes on tablets and desktops */
@media (min-width: 768px) {
  .platform-card img {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1024px) {
  .platform-card img {
    width: 150px;
    height: 150px;
  }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-icon svg {
    width: 25px;
    height: 25px;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Integrations Section */
.integrations {
    background: var(--bg-secondary);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.integration-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.integration-card:hover {
    transform: translateY(-3px);
}

.integration-card img {
    width: 120px;
    height: 50px;
    object-fit: contain;
    /* background: #f9fafb; */
    border-radius: 0.25rem;
    padding: 0.5rem;
}


/* How It Works Section */
.how-it-works {
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem;
    background: var(--bg-accent);
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.step-card:hover {
    background: white;
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

/* Case Study Section */
.case-study {
    background: var(--bg-secondary);
}

.case-study-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* grid-template-columns: 2fr 1fr; */
    gap: 4rem;
    align-items: start;
}

.case-study-text h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.case-study-intro {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 2rem;
}

.case-study-details {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    border: 1px solid #f1f5f9;
}

.case-study-details p {
    margin-bottom: 1.5rem;
}

.case-study-details strong {
    color: var(--text-primary);
}

.case-study-conclusion {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    background: #fef3c7;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.disclaimer-small {
    font-size: 0.475rem;
    color: var(--text-light);
    font-style: italic;
}

.case-study-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    background: #f3f4f6;
}

/* Contact Section */
.contact {
    background: white;
}

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

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
}

.contact-form textarea {
    width: 100%;
    padding: 0.5rem;       /* same as input fields */
    border: 1px solid #ccc; /* match input border */
    border-radius: 0.25rem;
    font-family: inherit;   /* match input font */
    font-size: 1rem;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 2rem;
    background: var(--bg-accent);
    border-radius: 0.5rem;
    font-size: 1.3rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.trust-indicators {
    background: white;
    padding: 2rem;
    border-radius: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid #f1f5f9;
}

.trust-indicators p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.trust-indicators ul {
    list-style: none;
     margin-left: 0.5rem;
}

.trust-indicators li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start; /* this aligns children to the left */
    max-width: 300px;
}

.footer-logo {
    height: 50px;       /* controls logo size */
    width: auto;        /* keeps proportions */
    max-width: 100%;    /* prevents overflow */
    object-fit: contain; /* ensures no distortion */
    filter: brightness(0) invert(1);
}



.footer-tagline {
    color: #9ca3af;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
}

.trust-badge svg {
    width: 16px;
    height: 16px;
}

.footer-cta {
    display: flex;
    align-items: start;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
}

.footer-legal a:hover {
    color: white;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .case-study-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        gap: 1rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .problem-grid,
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .platforms-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        flex-direction: column;
        text-align: center;
    }
    
    .case-study-details,
    .contact-form {
        padding: 1.5rem;
    }
}