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

:root {
    --flame-orange: #FF6B35;
    --warm-orange: #FF8C42;
    --deep-blue: #2C3E50;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --white: #FFFFFF;
    --success-green: #28A745;
    --shadow: 0 4px 25px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.12);
    --border-radius: 16px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1100px;
    --container-padding: 2rem;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--deep-blue);
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 4rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    position: relative;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.content-wrapper ul {
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.content-wrapper li {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--flame-orange), var(--warm-orange));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--deep-blue);
    border: 2px solid var(--deep-blue);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--deep-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--flame-orange);
    border: 2px solid var(--flame-orange);
}

.btn-outline:hover {
    background: var(--flame-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(255, 107, 53, 0.2);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--deep-blue);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    flex-shrink: 0;
}

.nav-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--flame-orange), transparent);
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand:hover::after {
    transform: scaleX(1);
}

.flame-icon {
    font-size: 2rem;
    margin-right: 12px;
    animation: flame-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.4));
}

@keyframes flame-glow {
    0%, 100% {
        filter: hue-rotate(0deg) brightness(1) drop-shadow(0 0 12px rgba(255, 107, 53, 0.4));
        transform: scale(1) rotate(-1deg);
    }
    33% {
        filter: hue-rotate(8deg) brightness(1.1) drop-shadow(0 0 16px rgba(255, 107, 53, 0.6));
        transform: scale(1.03) rotate(1deg);
    }
    66% {
        filter: hue-rotate(-5deg) brightness(0.95) drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
        transform: scale(0.98) rotate(-0.5deg);
    }
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: none;
    overflow: visible;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--flame-orange);
    background: rgba(255, 107, 53, 0.08);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--flame-orange), var(--warm-orange));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

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

/* Active page styling */
.nav-link.active {
    color: var(--flame-orange);
    background: rgba(255, 107, 53, 0.1);
    font-weight: 700;
}

.nav-link.active::after {
    width: 80%;
    background: linear-gradient(90deg, var(--flame-orange), var(--warm-orange));
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-actions .btn-secondary {
    background: linear-gradient(135deg, var(--white), #f8f9fa);
    color: var(--deep-blue);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 10px 20px;
    font-size: 0.95rem;
}

.nav-actions .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-actions .btn-secondary:hover {
    background: var(--deep-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(44, 62, 80, 0.2);
    border-color: var(--flame-orange);
}

.nav-actions .btn-secondary:hover::before {
    left: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.95rem;
        padding: 0.7rem 0.8rem;
    }

    .nav-menu {
        gap: 0.2rem;
    }
}

@media (max-width: 1024px) {
    .nav-link {
        font-size: 0.9rem;
        padding: 0.6rem 0.7rem;
    }

    .nav-actions .btn-secondary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 30px rgba(0,0,0,0.15);
        gap: 2rem;
        z-index: 1000;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        text-align: center;
        width: auto;
        min-width: 200px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--flame-orange);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
        background: var(--flame-orange);
    }
}

/* Fix for content overlapping */
.content-section:first-of-type,
.hero,
.featured-communities {
    padding-top: 120px !important;
}

/* Ensure proper spacing for smaller screens */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .content-section:first-of-type,
    .hero,
    .featured-communities {
        padding-top: 100px !important;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.5rem;
    }

    .flame-icon {
        font-size: 1.7rem;
        margin-right: 8px;
    }

    .nav-actions .btn-secondary {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .content-section:first-of-type,
    .hero,
    .featured-communities {
        padding-top: 90px !important;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px var(--container-padding) 80px;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 50%, #F1F3F4 100%);
    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(255, 107, 53, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(44, 62, 80, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-flames {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.hero-flames .flame {
    font-size: 2.5rem;
    animation: flame-dance 3s infinite ease-in-out;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.4));
}

.hero-flames .flame:nth-child(1) { animation-delay: 0s; }
.hero-flames .flame:nth-child(2) { animation-delay: 0.5s; }
.hero-flames .flame:nth-child(3) { animation-delay: 1s; }

@keyframes flame-dance {
    0%, 100% {
        transform: scale(1) rotate(-2deg);
        opacity: 0.9;
    }
    25% {
        transform: scale(1.1) rotate(1deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.05) rotate(-1deg);
        opacity: 0.95;
    }
    75% {
        transform: scale(1.08) rotate(2deg);
        opacity: 1;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    background: linear-gradient(135deg, var(--deep-blue), var(--flame-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.flame-animation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flame-large {
    font-size: 12rem;
    animation: mega-flame 4s infinite ease-in-out;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.6));
    position: relative;
}

@keyframes mega-flame {
    0%, 100% {
        transform: scale(1) rotate(-3deg);
        filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.6)) hue-rotate(0deg);
    }
    25% {
        transform: scale(1.15) rotate(2deg);
        filter: drop-shadow(0 0 40px rgba(255, 107, 53, 0.8)) hue-rotate(10deg);
    }
    50% {
        transform: scale(1.1) rotate(-1deg);
        filter: drop-shadow(0 0 35px rgba(255, 107, 53, 0.7)) hue-rotate(5deg);
    }
    75% {
        transform: scale(1.12) rotate(3deg);
        filter: drop-shadow(0 0 45px rgba(255, 107, 53, 0.9)) hue-rotate(15deg);
    }
}

.flame-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flame-particles::before,
.flame-particles::after {
    content: '✨';
    position: absolute;
    font-size: 1.5rem;
    animation: float-sparkle 6s infinite ease-in-out;
    opacity: 0.7;
}

.flame-particles::before {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.flame-particles::after {
    bottom: 25%;
    right: 20%;
    animation-delay: 3s;
}

@keyframes float-sparkle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--deep-blue);
    color: var(--white);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, #34495e 100%);
}

.stats .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--flame-orange);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
    animation: count-up 2s ease-out;
}

@keyframes count-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Certification Overview */
.certification-overview {
    padding: 6rem 0;
    background: var(--light-gray);
    position: relative;
}

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

.flame-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.flame-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--flame-orange), var(--warm-orange));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.flame-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--flame-orange);
}

.flame-card:hover::before {
    transform: scaleX(1);
}

.flame-icons {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    animation: gentle-flame 2s infinite ease-in-out;
}

@keyframes gentle-flame {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.flame-card h3 {
    color: var(--deep-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.flame-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 1rem;
}

/* Featured Communities */
.featured-communities {
    padding: 5rem 0;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.community-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.community-card:hover {
    transform: translateY(-5px);
}

.community-header {
    padding: 1.5rem;
    background: var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.community-flames {
    font-size: 1.2rem;
}

.community-details {
    padding: 1.5rem;
}

.location {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.cert-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    background: var(--flame-orange);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* How It Works Preview */
.how-it-works-preview {
    padding: 5rem 0;
    background: var(--light-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--flame-orange);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* News Updates */
.news-updates {
    padding: 5rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--flame-orange);
}

.news-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-item h3 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--deep-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--flame-orange);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--flame-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

.section-action {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-visual {
        order: -1;
    }

    .flame-large {
        font-size: 8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 200px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .flames-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 60px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .flame-card {
        padding: 2rem 1.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

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

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--deep-blue) 0%, #34495e 100%);
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: var(--flame-orange);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--flame-orange);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--flame-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    background: var(--warm-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
    font-size: 0.95rem;
}

.section-action {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Form Styling */
.contact-form {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--flame-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.contact-form button[type="submit"] {
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading states */
body.loading {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Enhanced button styles */
.btn-primary,
.btn-secondary,
.btn-outline {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before,
.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-outline:hover::before {
    left: 100%;
}

/* Improved accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Reports Styling */
.export-controls{background:#fff;border-radius:8px;padding:2rem;margin-bottom:2rem;box-shadow:0 2px 5px rgba(0,0,0,0.1);}
.export-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;}
.export-btn{padding:1rem 1.5rem;border:none;border-radius:12px;font-weight:600;cursor:pointer}
.flame-rating{display:flex;flex-direction:column;align-items:center;gap:0.25rem;}
.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;padding:1rem 0;}
@media (max-width:768px){.export-buttons{grid-template-columns:repeat(2,1fr)}.photo-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.export-buttons{grid-template-columns:1fr}.photo-grid{grid-template-columns:1fr}}

/* Evaluator Dashboard Enhancements */
.modal-tabs{display:flex;border-bottom:1px solid #e0e0e0;margin-bottom:1rem}
.tab-btn{flex:1;padding:0.75rem 1rem;background:none;border:none;cursor:pointer;font-weight:600;color:var(--deep-blue)}
.tab-btn.active{background:var(--light-gray)}
.modal-tab-content{display:none}
.question-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;padding:1rem;margin-bottom:1rem}
.star-rating{display:flex;gap:0.25rem}
.star-btn{background:none;border:none;font-size:1.2rem;color:#ddd;cursor:pointer}
.star-btn.active{color:var(--flame-orange)}

