/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background-color: #f7fafc;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tab System */
.tab-content {
    display: none;
    min-height: 100vh;
}

.tab-content.active {
    display: block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.nav-logo h2 {
    color: #1e40af;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e293b 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 72px;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e293b 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    opacity: 0.8;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ReCirclers Hero */
.recirclers-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 72px;
}

.recirclers-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

/* CTA Buttons */
.cta-button {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
    letter-spacing: 0.025em;
    margin: 0 0.5rem;
}

.cta-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.4);
}

.cta-button.tertiary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: none;
}

.cta-button.tertiary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.overview-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.overview-card:hover::before {
    opacity: 1;
}

.overview-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.overview-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: #ffffff;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1e293b;
    position: relative;
    letter-spacing: -0.025em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.75rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    font-weight: 400;
}

.highlight {
    background: linear-gradient(120deg, #dbeafe 0%, #bfdbfe 100%);
    background-repeat: no-repeat;
    background-size: 100% 45%;
    background-position: 0 85%;
    padding: 0.75rem 0;
    font-size: 1.25rem !important;
    color: #1e40af !important;
    font-weight: 600 !important;
    border-radius: 4px;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Programs Section */
.programs-container {
    max-width: 850px;
    margin: 0 auto;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.accordion-item:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    cursor: pointer;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1e40af;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 2.5rem 2rem;
}

.accordion-content p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Approach Section */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.approach-item {
    text-align: center;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    overflow: hidden;
}

.approach-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.approach-item:hover::before {
    opacity: 1;
}

.approach-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.1);
}

.approach-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.approach-item p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* ReCirclers Specific Styles */
.challenge-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #dc2626;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.5;
}

.quote-overlay {
    text-align: center;
    margin: 4rem 0;
}

.quote-overlay blockquote {
    font-size: 2rem;
    font-weight: 600;
    color: #1e40af;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Model Grid */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.model-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.model-card:hover::before {
    opacity: 1;
}

.model-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.model-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.model-card p {
    color: #4b5563;
    line-height: 1.6;
}

.model-subtitle {
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: #059669;
    margin-top: 3rem;
    font-weight: 500;
    line-height: 1.6;
}

/* Impact Dashboard */
.impact-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.impact-stat {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.impact-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.impact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 0.5rem;
    display: block;
}

.impact-label {
    font-size: 0.95rem;
    color: #4b5563;
    font-weight: 500;
}

/* Coverage Map */
.coverage-map {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    margin-top: 3rem;
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.coverage-map h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1e293b;
}

.map-locations {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.location-pin {
    background: #f0fdf4;
    color: #059669;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #bbf7d0;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.testimonial-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    position: relative;
}

.testimonial-photo {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-card cite {
    font-size: 1rem;
    color: #059669;
    font-weight: 600;
    font-style: normal;
}

/* Action Cards */
.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.action-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    text-align: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.action-card:hover::before {
    opacity: 1;
}

.action-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.action-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.action-card p {
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.action-button {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.action-button:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
}

/* Collaborators */
.collaborators-text {
    text-align: center;
    font-size: 1.3rem;
    font-style: italic;
    color: #4b5563;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.partners-placeholder {
    background: #f8fafc;
    padding: 4rem;
    border-radius: 16px;
    text-align: center;
    border: 2px dashed #cbd5e1;
    color: #64748b;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: #4b5563;
    margin-left: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-item a {
    color: #1e40af;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

.contact-item a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 1.05rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.error-message {
    display: block;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    min-height: 1.25rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
}

.submit-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #f1f5f9;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-section h3 {
    font-size: 1.4rem;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    cursor: pointer;
}

.footer-section ul li a:hover {
    color: #f1f5f9;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 1rem;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.4);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.impact-number.counting {
    animation: countUp 0.6s ease-out;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-icon,
.approach-icon,
.overview-icon,
.model-icon,
.action-icon {
    animation: float 6s ease-in-out infinite;
}

.overview-icon { animation-delay: -1s; }
.model-icon { animation-delay: -2s; }
.action-icon { animation-delay: -3s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title,
    .page-title {
        font-size: 3.5rem;
    }
    
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .approach-grid,
    .model-grid,
    .action-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1rem;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title,
    .page-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .card,
    .approach-item,
    .model-card,
    .action-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2.5rem;
    }
    
    .accordion-header {
        padding: 1.5rem 2rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 2rem 1.5rem;
    }
    
    .approach-grid,
    .model-grid,
    .action-cards,
    .challenge-stats,
    .impact-dashboard {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    
    .scroll-top-btn {
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .quote-overlay blockquote {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .impact-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-title,
    .page-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .accordion-header h3 {
        font-size: 1.2rem;
    }
    
    .approach-item,
    .model-card,
    .action-card {
        padding: 1.75rem;
    }
    
    .approach-icon,
    .model-icon,
    .action-icon {
        font-size: 3rem;
    }
    
    .card {
        padding: 1.75rem;
    }
    
    .overview-card {
        padding: 2rem;
    }
    
    .testimonials-grid {
        gap: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .quote-overlay blockquote {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .scroll-top-btn,
    .cta-button,
    .action-button {
        display: none;
    }
    
    .hero,
    .recirclers-hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .hero,
    .recirclers-hero,
    .section-alt {
        background: white !important;
        color: black !important;
    }
    
    .hero *,
    .recirclers-hero * {
        color: black !important;
    }
}

/* Enhanced Professional Touches */
.section:nth-child(even) {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.section:nth-child(odd) {
    background: #ffffff;
}

/* Enhanced focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.submit-button:focus,
.scroll-top-btn:focus,
.action-button:focus {
    outline: 3px solid rgba(30, 64, 175, 0.5);
    outline-offset: 2px;
}

/* Improved text selection */
::selection {
    background: rgba(30, 64, 175, 0.2);
    color: #1e293b;
}

::-moz-selection {
    background: rgba(30, 64, 175, 0.2);
    color: #1e293b;
}

/* Navbar Base */
.navbar {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-logo h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #0077cc;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px; /* below navbar */
    right: 20px;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
