/* assets/css/style.css */

/* ==========================================================================
   CSS Reset and Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2E8B57; /* Deep green/teal */
    --primary-dark: #1F6B43;
    --primary-light: #4CAF7A;
    --secondary-color: #2C3E50; /* Dark navy/charcoal */
    --accent-color: #FFD700; /* Soft gold */
    --accent-alt: #3498DB; /* Blue accent */
    
    /* Neutral Colors */
    --light-color: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #ADB5BD;
    --dark-gray: #495057;
    --text-color: #212529;
    --text-light: #6C757D;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-xxl: 1.5rem;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--accent-alt);
    color: white;
}

.btn-secondary:hover {
    background-color: #2980B9;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-item.active .nav-link {
    color: var(--primary-color);
}

.nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-md) 0;
    }
}

/* ==========================================================================
   Hero Image Slider Styles
   ========================================================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 500%;
    height: 100%;
    display: flex;
    animation: slide 35s infinite linear;
}

.slide {
    width: 20%;
    height: 100%;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 4rem;
}

/* Slide animation */
@keyframes slide {
    0%, 16% { transform: translateX(0); }
    20%, 36% { transform: translateX(-20%); }
    40%, 56% { transform: translateX(-40%); }
    60%, 76% { transform: translateX(-60%); }
    80%, 96% { transform: translateX(-80%); }
    100% { transform: translateX(-100%); }
}

/* Pause animation on hover */
.hero-slider:hover .slider-container {
    animation-play-state: paused;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-trust {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-container {
        animation-duration: 40s;
    }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-light {
    background-color: var(--light-gray);
}

.section-accent {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: cover;
}

.section-accent .section-title {
    color: white;
}

.section-accent .section-title::after {
    background-color: white;
}

/* ==========================================================================
   About Platform
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

/* ==========================================================================
   Analysis Types
   ========================================================================== */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.analysis-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
}

.analysis-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.analysis-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.analysis-title {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 1.5rem;
}

.analysis-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.analysis-list li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: 1.5rem;
}

.analysis-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.analysis-list ul {
    list-style: none;
    margin-left: var(--spacing-lg);
    margin-top: var(--spacing-xs);
}

.analysis-list ul li::before {
    content: '•';
}

.analysis-note {
    font-style: italic;
    color: var(--text-light);
    border-left: 3px solid var(--accent-color);
    padding-left: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* ==========================================================================
   Download Options
   ========================================================================== */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.download-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.download-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.download-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

/* ==========================================================================
   No Coding Required
   ========================================================================== */
.no-coding-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.no-coding-text {
    font-size: 1.5rem;
    font-weight: 500;
}

/* ==========================================================================
   How to Use Steps
   ========================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.step p {
    margin-top: var(--spacing-md);
}

.guidance-note {
    background: white;
    border-left: 4px solid var(--accent-alt);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-xl);
}

.guidance-note ul {
    list-style: none;
    margin-top: var(--spacing-md);
}

.guidance-note li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: 1.5rem;
}

.guidance-note li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-alt);
}

/* ==========================================================================
   Free Trial
   ========================================================================== */
.free-trial-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.free-trial-content p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

/* ==========================================================================
   Pricing Packages
   ========================================================================== */
.pricing-subtitle {
    text-align: center;
    margin: var(--spacing-xl) 0 var(--spacing-lg);
    color: var(--primary-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.pricing-card {
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.pricing-card.popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-alt));
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-alt));
    color: white;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pricing-title {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: var(--spacing-lg);
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.custom-packages {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: var(--spacing-xl);
    text-align: center;
}

.custom-packages ul {
    list-style: none;
    display: inline-block;
    text-align: left;
    margin: var(--spacing-md) 0;
}

.custom-packages li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: 1.5rem;
}

.custom-packages li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-content p {
    font-size: 1.125rem;
}

/* ==========================================================================
   Payment Instructions
   ========================================================================== */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.payment-method {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.payment-method h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.payment-instructions {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.payment-instructions ol {
    margin-left: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.payment-instructions li {
    margin-bottom: var(--spacing-md);
}

.payment-instructions ul {
    list-style: none;
    margin-left: var(--spacing-lg);
    margin-top: var(--spacing-sm);
}

/* ==========================================================================
   FAQs
   ========================================================================== */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--spacing-sm);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-lg);
    background: white;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-gray);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: var(--spacing-lg);
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
}

/* ==========================================================================
   Founder & Members
   ========================================================================== */
.founder-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.founder-image-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 
        0 0 0 3px var(--primary-light),
        0 0 0 6px rgba(46, 139, 87, 0.2),
        0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.founder-image:hover {
    transform: scale(1.05);
}

.founder-info h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.founder-role {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.founder-affiliation {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

.founder-bio {
    font-style: italic;
    color: var(--text-light);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.member-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(145deg, #ffffff, #f5f7fa);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.member-image-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    transition: transform 0.3s ease;
}

.member-image:hover {
    transform: scale(1.05);
}

.member-name {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.member-designation {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .founder-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .founder-image-container {
        margin: 0 auto;
    }
}

/* ==========================================================================
   Enhanced Buttons
   ========================================================================== */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary, .btn-secondary {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   Enhanced Footer
   ========================================================================== */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2530 100%);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, #ffffff, #e9ecef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

.footer-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-style: italic;
}

.footer-subtitle {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: var(--spacing-xs);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact strong {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Enhanced Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 75vh;
        min-height: 500px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 450px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.125rem;
    }
    .hero-description {
        font-size: 1.125rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    .section {
        padding: 4rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .members-grid {
        grid-template-columns: 1fr;
    }
    .analysis-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .step {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 65vh;
        min-height: 400px;
    }
    .hero-title {
        font-size: 1.75rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .member-image-container {
        width: 140px;
        height: 140px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .nav,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
    
    a {
        color: black !important;
        text-decoration: underline;
    }
    
    .section {
        padding: 0 !important;
        margin: 20pt 0 !important;
        break-inside: avoid;
    }
    
    .hero {
        background: none !important;
        color: black !important;
        padding: 0 !important;
    }
    
    .hero-title,
    .section-title,
    h1, h2, h3, h4 {
        color: black !important;
    }
}

/* ==========================================================================
   Page-Specific Fixes and Improvements
   ========================================================================== */

/* ==========================================================================
   Hero Title Fixes for All Pages
   ========================================================================== */
.hero-small .hero-title {
    color: var(--secondary-color) !important;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: none;
}

.hero-small .hero-description {
    color: var(--text-color) !important;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

.hero-small {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-small .container {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Shiny App Embed Fixes
   ========================================================================== */
.shiny-embed {
    width: 100%;
    margin: 0 auto 3rem;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    background: white;
}

.shiny-embed iframe {
    width: 100%;
    height: 1000px !important; /* Increased height */
    min-height: 800px;
    border: none;
    display: block;
}

/* Shiny App Responsive Heights */
.tool-section .shiny-embed iframe {
    height: 850px !important;
}

/* Full-screen Shiny App Option */
.shiny-embed.fullscreen iframe {
    height: 1200px !important;
}

/* Shiny App Container */
.tool-section {
    margin-bottom: 4rem;
}

.tool-section:last-child {
    margin-bottom: 2rem;
}

/* Shiny App Instructions */
.shiny-instructions {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid var(--primary-color);
}

.shiny-instructions h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.shiny-instructions ul {
    margin: 0.5rem 0 0 1.5rem;
    color: var(--text-light);
}

/* ==========================================================================
   Contact Form Fixes
   ========================================================================== */
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.contact-form .form-group {
    margin-bottom: 1.8rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
    background: white;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Blog Page Fixes
   ========================================================================== */
.blog-listing {
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-card-thumbnail {
    height: 220px;
    overflow: hidden;
}

.blog-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-thumbnail img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.8rem;
}

.blog-card-title {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.blog-card-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* ==========================================================================
   Single Blog Post
   ========================================================================== */
.blog-post-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.blog-post-title {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-meta {
    color: var(--text-light);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-post-thumbnail {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.blog-post-content h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.blog-post-content h3 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* ==========================================================================
   Section Title Improvements
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ==========================================================================
   Button Improvements
   ========================================================================== */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Responsive Fixes
   ========================================================================== */
@media (max-width: 768px) {
    /* Hero titles on mobile */
    .hero-small .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-small .hero-description {
        font-size: 1.1rem;
    }
    
    /* Shiny app on mobile */
    .shiny-embed iframe {
        height: 700px !important;
        min-height: 600px;
    }
    
    .tool-section .shiny-embed iframe {
        height: 650px !important;
    }
    
    /* Contact form on mobile */
    .contact-form-container {
        padding: 1.5rem;
    }
    
    /* Blog post on mobile */
    .blog-post {
        padding: 1.5rem;
    }
    
    .blog-post-title {
        font-size: 1.8rem;
    }
    
    /* Contact grid */
    .contact-grid {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-small {
        padding: 3.5rem 0;
    }
    
    .hero-small .hero-title {
        font-size: 1.8rem;
    }
    
    .shiny-embed iframe {
        height: 600px !important;
    }
    
    .blog-card-thumbnail {
        height: 180px;
    }
}

/* ==========================================================================
   Pricing Table Improvements
   ========================================================================== */
.pricing-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    flex-grow: 1;
}

/* ==========================================================================
   Loading States
   ========================================================================== */
.loading {
    text-align: center;
    padding: 4rem;
    color: var(--text-light);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f0f0f0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ==========================================================================
   Form Message Styles
   ========================================================================== */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}



/* ==========================================================================
   Shiny App Size Fix and SEO Improvements
   ========================================================================== */

/* Make Shiny apps larger */
.shiny-embed {
    width: 100%;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.shiny-embed iframe {
    width: 100% !important;
    height: 2500px !important;
    min-height: 2400px;
    border: none;
    display: block;
}

.shiny-instructions {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e9ecef;
    font-size: 0.95rem;
}

.shiny-instructions h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.shiny-instructions ul {
    margin: 0.5rem 0 0 1.5rem;
    color: var(--text-light);
}

.shiny-instructions li {
    margin-bottom: 0.3rem;
}

/* Fix hero title colors on all pages */
.hero-small .hero-title {
    color: var(--secondary-color) !important;
}

.hero-small .hero-description {
    color: var(--text-color) !important;
}

.hero-small {
    background: #f8f9fa;
}

/* Improve contact form */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Add this CSS for the dropdown functionality */
.template-actions {
    margin-top: 15px;
}

.dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-toggle {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    transition: background-color 0.3s;
}

.dropdown-toggle:hover {
    background: #45a049;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    width: 100%;
    z-index: 100;
    top: 100%;
    left: 0;
    margin-top: 5px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
    font-size: 14px;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #000;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Keep the original template-card styling unchanged */
.template-card {
    position: relative;
}


/* ===== LOGO STYLES ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image-container {
    width: 60px;
    height: 60px;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

/* Mobile view */
@media (max-width: 768px) {
    .logo-image-container {
        width: 50px;
        height: 50px;
    }
}



/* ===== BANNER HEADER STYLES ===== */
.hero-small {
    height: 300px !important; /* Reduced height */
    min-height: 250px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-small .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-top: 0 !important;
}

.hero-small .hero-title {
    color: white !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-small .hero-description {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.2rem !important;
    max-width: 700px;
    margin: 0 auto 1.5rem !important;
    line-height: 1.6;
}

/* Make shiny embed sections start immediately after banner */
.section {
    padding-top: 60px !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-small {
        height: 250px !important;
        min-height: 200px !important;
        padding: 30px 0;
    }
    
    .hero-small .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-small .hero-description {
        font-size: 1.1rem !important;
        padding: 0 15px;
    }
}





/* ===== FIX ANCHOR LINK JUMPING ===== */
/* This prevents page from jumping when clicking links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on your header height */
}

/* Fix for shiny app iframe links */
.shiny-embed iframe {
    scroll-behavior: auto !important;
}

/* Prevent any element from forcing scroll to top */
*[id] {
    scroll-margin-top: 100px; /* Space for fixed header */
}

/* Specifically for shiny apps */
iframe html, iframe body {
    scroll-behavior: auto !important;
}

/* For any internal links that might cause jumping */
a[href^="#"] {
    scroll-behavior: smooth;
}


