/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}


.cta-button.secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}
/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1b5e20;
}

.logo img { height: 28px; width: auto; display: block; border-radius: 6px; }
.logo span { letter-spacing: 0.5px; }

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #2e7d32;
}

/* Header Login link as subtle button */
.login-link {
    padding: 0.4rem 0.9rem;
    border: 1px solid #2e7d32;
    border-radius: 999px;
    color: #2e7d32 !important;
}
.login-link:hover { background: #e8f5e8; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1b5e20;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg, rgba(0, 20, 0, 0.65), rgba(55, 140, 65, 0.65)), url('assets/tesas-hero.jpg') center/cover no-repeat;
    color: white;
    min-height: calc(100vh - 70px);
    margin-top: 70px; /* Account for fixed header */
    position: relative;
    overflow: hidden;
    border-radius: 0 0 24px 24px;
}

/* background handled directly on .hero now */

.hero-content, .hero-image {
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.upi-apps {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.upi-apps img {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
}

.upi-apps img:hover {
    opacity: 1;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.cta-button {
    background-color: #fff;
    color: #2e7d32;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background-color: #e8f5e8;
}

.hero-meta {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.08);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fullscreen hero overrides default section constraints */
.hero {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.intro {
    background-color: #fff;
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    flex: 1;
    margin: 0 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.feature i {
    font-size: 2rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.feature-icon {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #2e7d32;
}

.upi-supported {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.upi-supported img {
    height: 30px;
    width: auto;
    opacity: 0.8;
}

/* Partners */
.partners {
    background-color: #e8f5e8;
}

.partner-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.partner {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.partner:hover {
    transform: translateY(-5px);
}

.partner ul {
    list-style: none;
    padding-left: 0;
}

.partner li {
    margin-bottom: 0.5rem;
}

.flowchart {
    width: 100%;
    margin: 1rem 0;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
}

.partner-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.process {
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    min-width: 120px;
}

.step:hover {
    transform: translateY(-5px);
}

.step-icon {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: #2e7d32;
}

.step p {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Contact */
.contact {
    background-color: #e8f5e8;
    text-align: center;
}

.contact-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-details p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #2e7d32;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #1b5e20;
}

form { max-width: 500px; margin: 0 auto; display: flex; flex-direction: column; }

form input, form select, form textarea {
    margin-bottom: 1rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #2e7d32;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #1b5e20;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

footer ul li {
    margin: 0 1rem;
}

footer a {
    color: white;
    text-decoration: none;
}

/* Testimonials */
.testimonials { background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: #ffffff; border-radius: 12px; padding: 1rem; text-align: center; box-shadow: 0 6px 12px rgba(0,0,0,0.08); }
.testimonial-card .avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 0.5rem; }

/* Business Models */
.business-models { background:#fff; }
.section-subtitle { color:#475569; margin-top: -0.5rem; margin-bottom: 1.25rem; }
.models-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:1.5rem; }
.model-card { background:#ffffff; border-radius:12px; padding:1rem; box-shadow:0 6px 12px rgba(0,0,0,0.08); }
.model-card ul { padding-left: 1.1rem; }
.model-card li { margin: 0.5rem 0; }

/* Partner Apply */
.partner-apply { background:#e8f5e8; }
.partner-apply form { max-width: 1000px; margin: 0 auto; background:#fff; padding:1.5rem; border-radius:12px; box-shadow:0 6px 12px rgba(0,0,0,0.08); }
.partner-apply .form-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:1rem; }
.partner-apply .form-grid .full { grid-column: 1 / -1; }
.partner-apply label { display:block; font-weight:600; margin-bottom:0.4rem; }
.partner-apply input, .partner-apply select, .partner-apply textarea { width:100%; padding:0.6rem; border:1px solid #cbd5e1; border-radius:8px; }
.partner-apply .submit { margin-top:1rem; background:#2e7d32; color:#fff; border:none; padding:0.8rem 1.2rem; border-radius:8px; cursor:pointer; }
.partner-apply .submit:hover { background:#1b5e20; }

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: left;
        padding-top: 5rem;
        border-radius: 0 0 16px 16px;
        min-height: calc(100vh - 70px);
    }
    
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 99;
    }
    
    nav .nav-menu.active {
        right: 0;
    }
    
    nav .nav-menu li {
        margin: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    nav .nav-menu li a {
        display: block;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: background 0.2s;
    }
    
    nav .nav-menu li a:hover {
        background: #e8f5e8;
    }
    
    nav .nav-menu .login-link {
        display: inline-block;
        margin-top: 1rem;
    }
    
    .models-grid {
        grid-template-columns: 1fr;
    }
    
    .features, .partner-types, .intro-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-grid { grid-template-columns: 1fr; }
    .partner-apply .form-grid { grid-template-columns: 1fr; }
    .process-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* Orientation specific */
@media (orientation: portrait) and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .upi-apps img {
        height: 50px;
        padding: 0.3rem;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .upi-supported img {
        height: 24px;
    }
    section {
        padding: 2rem 1rem;
    }
}

@media (orientation: landscape) and (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 4rem 2rem 2rem;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-ctas {
        flex-wrap: wrap;
    }
}