/* ============================
   CSS Variables
   ============================ */
:root {
    --primary: #E37059;
    --primary-dark: #D85F4A;
    --primary-light: #FF8A70;
    --secondary: #4A90D9;
    --accent: #6B8E23;
    
    --dark: #1f2937;
    --darker: #F9F9F9;
    
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.08);
    
    --text: #333333;
    --text-muted: #666666;
    --text-light: #e2e8f0;
    
    --gradient-primary: linear-gradient(135deg, #E37059 0%, #D85F4A 100%);
    --gradient-hero: linear-gradient(135deg, rgba(227, 112, 89, 0.95) 0%, rgba(216, 95, 74, 0.95) 100%);
}

/* General Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #555;
    background: #F9F9F9;
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Subtitle */
.section-subtitle {
    font-size: 1.15rem;
    color: #777;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.header {
    background: linear-gradient(135deg, #E37059 0%, #D85F4A 100%);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger div {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-links a i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover > .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    color: #444;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #fff5f3;
    color: #E37059;
    padding-left: 1.5rem;
}

.dropdown-content a i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
    color: #E37059;
    width: 20px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(180deg, #E37059 0%, #c9543f 100%);
        transition: right 0.4s ease;
        padding-top: 80px;
    }

    .nav-links.show + nav,
    nav:has(.nav-links.show) {
        right: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        position: fixed;
        top: 70px;
        right: -100%;
        background: linear-gradient(180deg, #E37059 0%, #c9543f 100%);
        height: calc(100vh - 70px);
        padding: 1rem 0;
        transition: right 0.4s ease;
    }

    .nav-links.show {
        display: flex;
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 1rem 2rem;
        border-radius: 0;
        justify-content: flex-start;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.1);
        margin-top: 0;
    }

    .dropdown-content a {
        color: white;
        padding-left: 3rem;
    }

    .dropdown-content a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .dropdown-content a i {
        color: white;
    }
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(227, 112, 89, 0.92) 0%,
        rgba(200, 80, 60, 0.95) 100%
    );
    padding: 2rem;
    padding-top: 80px;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
    min-height: 4.5rem;
    display: inline;
}

.cursor {
    font-size: 3.5rem;
    font-weight: 300;
    animation: none;
    opacity: 1;
}

.cursor.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    margin: 1.5rem 0 2.5rem;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    line-height: 1.8;
}

/* Hero Button */
.hero .btn {
    background: white;
    color: #E37059;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero .btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.hero .btn i {
    font-size: 1rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 1.5rem;
        padding-top: 100px;
    }

    .hero h2,
    .cursor {
        font-size: 2rem;
    }

    .hero h2 {
        min-height: 3rem;
    }

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

    .hero .btn {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }
}

/* Services Section */
.services {
    text-align: center;
    padding: 5rem 1rem;
    background: #f9f9f9;
}

.services h2 {
    font-size: 2.8rem;
    color: #E37059;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

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

.service-item {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.service-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(227, 112, 89, 0.15);
    border-color: #E37059;
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #E37059, #D85F4A);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-item ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.service-item ul li {
    font-size: 0.95rem;
    color: #555;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-item ul li::before {
    content: "✓";
    color: #E37059;
    font-weight: 700;
    position: absolute;
    left: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: #fff5f3;
    color: #E37059;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    background: #E37059;
    color: white;
}

/* ===================== */
/* Our Software Section  */
/* ===================== */
.software {
    padding: 5rem 1rem;
    background: linear-gradient(180deg, #fff 0%, #f5f0ef 100%);
    text-align: center;
}

.software-header {
    margin-bottom: 3rem;
}

.software-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E37059, #D85F4A);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.software-badge i {
    font-size: 0.9rem;
}

.software h2 {
    font-size: 2.8rem;
    color: #E37059;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 500px) {
    .software-grid {
        grid-template-columns: 1fr;
    }
}

.software-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    overflow: hidden;
}

.software-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E37059, #ff8a70);
}

.software-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.software-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(227, 112, 89, 0.2);
    border-color: #E37059;
}

.software-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.software-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.software-item:hover .software-icon {
    transform: scale(1.1) rotate(-5deg);
}

.software-icon i {
    font-size: 1.6rem;
    color: white;
}

.sms-icon {
    background: linear-gradient(135deg, #4A90D9, #357ABD);
}

.fundraise-icon {
    background: linear-gradient(135deg, #6B8E23, #556B2F);
}

.software-title h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.software-tagline {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.software-item > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.software-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: #f5f5f5;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag i {
    font-size: 0.75rem;
    color: #E37059;
}

.software-item:hover .feature-tag {
    background: #fff5f3;
}

.software-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #4A90D9, #357ABD);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
}

.software-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.4);
}

.software-btn.fundraise-btn {
    background: linear-gradient(135deg, #6B8E23, #556B2F);
    box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3);
}

.software-btn.fundraise-btn:hover {
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.4);
}

/* Software animation delays */
.software-item:nth-child(1) { transition-delay: 0.1s; }
.software-item:nth-child(2) { transition-delay: 0.2s; }

/* Why Us Section */
.why-us {
    padding: 5rem 1rem;
    background: white;
    text-align: center;
}

.why-us h2 {
    font-size: 2.8rem;
    color: #E37059;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.feature-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff5f3, #ffe8e4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, #E37059, #D85F4A);
    transform: scale(1.1);
}

.feature-item:hover .feature-icon i {
    color: white;
}

.feature-icon i {
    font-size: 2rem;
    color: #E37059;
    transition: color 0.3s ease;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    background: #f9f9f9;
    padding: 5rem 1rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.8rem;
    color: #E37059;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
}

.contact-info-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-item i {
    font-size: 1.5rem;
    color: #E37059;
    margin-top: 0.25rem;
}

.contact-info-item h4 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #E37059;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

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

.contact-form label {
    display: block;
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #E37059;
    box-shadow: 0 0 0 4px rgba(227, 112, 89, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    background: linear-gradient(135deg, #E37059, #D85F4A);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 112, 89, 0.35);
}

/* Contact Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact h2 {
        font-size: 2.2rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #ccc;
    padding: 4rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col h3 i {
    color: #E37059;
}

.footer-col h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #999;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul a {
    color: #999;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul a:hover {
    color: #E37059;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 3rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3 {
        justify-content: center;
    }

    .footer-col ul a:hover {
        transform: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E37059, #D85F4A);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px rgba(227, 112, 89, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(227, 112, 89, 0.5);
}

/* Particles.js */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #E37059 0%, #c9543f 100%);
}

/* Animation delays for staggered effects */
.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.3s; }
.service-item:nth-child(4) { transition-delay: 0.4s; }
.service-item:nth-child(5) { transition-delay: 0.5s; }

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

.contact-info-item:nth-child(1) { transition-delay: 0.1s; }
.contact-info-item:nth-child(2) { transition-delay: 0.2s; }
.contact-info-item:nth-child(3) { transition-delay: 0.3s; }

/* Ticket Section (for open-ticket.html) */
.ticket {
    background: #f9f9f9;
    padding: 5rem 1rem;
    text-align: center;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.ticket .container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.ticket h2 {
    font-size: 2.2rem;
    color: #E37059;
    margin-bottom: 0.5rem;
}

.ticket p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.ticket-form label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}

.ticket-form input,
.ticket-form textarea,
.ticket-form select {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.ticket-form input:focus,
.ticket-form textarea:focus,
.ticket-form select:focus {
    outline: none;
    border-color: #E37059;
    box-shadow: 0 0 0 4px rgba(227, 112, 89, 0.1);
}

.ticket-form textarea {
    resize: vertical;
}

.ticket-form .btn {
    background: linear-gradient(135deg, #E37059, #D85F4A);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ticket-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 112, 89, 0.35);
}

/* Communication options */
.communication-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.communication-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #555;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.communication-options label:hover {
    background: #f5f5f5;
}

.communication-options i {
    font-size: 1.3rem;
    color: #E37059;
}

/* Login Section */
.login {
    background: #f9f9f9;
    padding: 5rem 1rem;
    text-align: center;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.login .container {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
}

.login h2 {
    font-size: 2.2rem;
    color: #E37059;
    margin-bottom: 0.5rem;
}

.login p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
}

.login-form label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    text-align: left;
}

.login-form input {
    width: 100%;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #E37059;
    box-shadow: 0 0 0 4px rgba(227, 112, 89, 0.1);
}

.login-form .btn {
    width: 100%;
    background: linear-gradient(135deg, #E37059, #D85F4A);
    color: white;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 112, 89, 0.35);
}

/* ========================================
   PRODUCT PAGE STYLES (FundRaise Pro, etc.)
   ======================================== */

/* Animated Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 20%, rgba(227, 112, 89, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(74, 144, 217, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(227, 112, 89, 0.08) 0%, transparent 70%);
}

/* Product Page Hero */
.product-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    background: var(--gradient-hero);
    color: white;
}

.product-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-hero-content {
    animation: fadeInUp 1s ease;
}

.product-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.product-hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.product-hero-stats {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 0;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
}

.product-hero-stats::before {
    content: "";
    position: absolute;
    left: -1rem;
    right: -1rem;
    top: 0.75rem;
    bottom: 0;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 18px;
    z-index: 0;
}

.product-hero-stats > * {
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.90);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* Hero Mockup */
.product-hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-mockup {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid var(--card-border);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-content {
    background: linear-gradient(135deg, #ffffff 0%, #f5f0ef 100%);
    border-radius: 12px;
    padding: 2rem;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mockup-stat {
    background: rgba(227, 112, 89, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.mockup-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.mockup-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mockup-chart {
    flex: 1;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 1rem;
}

.chart-bar {
    width: 20px;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease forwards;
}

@keyframes growUp {
    from { height: 0; }
}

/* Product Page Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(227, 112, 89, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 112, 89, 0.38);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid rgba(227, 112, 89, 0.45);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: white;
    background: var(--gradient-primary);
}

/* Hero outline button fix for gradient background */
.product-hero .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.product-hero .btn-outline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

/* Product Features Section */
.product-features {
    padding: 6rem 2rem;
    position: relative;
    background: var(--darker);
}

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

.product-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.product-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

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

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.product-feature-card:hover::before {
    opacity: 1;
}

.product-feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 112, 89, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.product-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.product-feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Module Sections */
.module-section {
    padding: 6rem 2rem;
}

.module-section:nth-child(even) {
    background: linear-gradient(180deg, #fff 0%, #f5f0ef 100%);
}

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.module-grid.reverse {
    direction: rtl;
}

.module-grid.reverse > * {
    direction: ltr;
}

.module-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.module-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.module-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.module-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.module-feature-icon i {
    font-size: 0.75rem;
    color: white;
}

.module-feature-text strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.module-feature-text span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.module-visual {
    position: relative;
}

.module-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.module-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: none;
}

.module-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.module-card-icon.fundraising { background: rgba(16, 185, 129, 0.2); color: var(--primary); }
.module-card-icon.tuition { background: rgba(99, 102, 241, 0.2); color: var(--secondary); }
.module-card-icon.hebrew { background: rgba(139, 92, 246, 0.2); color: var(--accent); }

/* Pricing CTA Section */
.pricing-cta {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.pricing-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(227, 112, 89, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(74, 144, 217, 0.14) 0%, transparent 50%);
    z-index: -1;
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.pricing-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.pricing-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.pricing-highlights {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.pricing-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.pricing-highlight i {
    color: var(--primary);
}

/* Product FAQ Section */
.product-faq {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, #fff 0%, #f5f0ef 100%);
}

.product-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
}

.product-faq-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.product-faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Product Footer (simplified) */
.product-footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--card-border);
    background: var(--darker);
}

.product-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.product-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.product-footer-links a:hover {
    color: var(--primary);
}

.product-footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll Animations for Product Pages */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Page Responsive */
@media (max-width: 1024px) {
    .product-hero-container,
    .module-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .module-grid.reverse {
        direction: ltr;
    }

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

    .product-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 6rem 1rem 3rem;
    }

    .product-hero h1 {
        font-size: 2rem;
    }

    .product-hero-stats {
        gap: 1.5rem;
    }

    .product-features-grid,
    .product-faq-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-highlights {
        gap: 1rem;
    }
    
    .product-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .product-footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}