@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #F6EEE0;
    color: #00394E;
    line-height: 1.6;
}

/* Prevent background scrolling when body is locked */
body.no-scroll {
    overflow: hidden;
}

/* Header Styles - Moved to header.css */

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: fit-content;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url('imgs/hero.png') center center/cover no-repeat;
    filter: blur(5px);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00394E88;
    z-index: -1;
}

.hero-content {
    text-align: left;
    max-width: 1200px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-paragraph {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 2.5rem;
    color: #fff;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    font-size: 20px;
    font-weight: 500;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 150px;
}

.btn-primary {
    background-color: #EB561D;
    color: #fff;
}

.btn-primary:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #00394E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
    position: relative;
    margin-top: -10vh;
    padding-bottom: 4rem;
    z-index: 10;
}

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

.feature-box {
    background: #F6EEE0;
    border: 1px solid rgba(0, 57, 78, 0.2);
    border-radius: 16px;
    padding: 2rem;
    display: flex; 
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    cursor: pointer; 
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: #00394E;
}

.feature-icon {
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #00394E;
    transition: color 0.3s ease;
}

.feature-box:hover .feature-content h2 {
    color: #fff;
}



/* Feature text container and hover effects */
.feature-text-container {
    position: relative;
    min-height: 1.6em;
}

.feature-text-default,
.feature-text-hover {
    position: relative;
    margin: 0;
    transition: opacity 0.3s ease;
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-text-default {
    opacity: 1;
    color: #00394E;
}

.feature-text-hover {
    opacity: 0;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.feature-box:hover .feature-text-default {
    opacity: 0;
}

.feature-box:hover .feature-text-hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 700px) {
    /* Header styles moved to header.css to avoid conflicts */
}

/* Medium mobile devices */
@media (max-width: 620px) {
    .hero-content { text-align: center; }
    .hero-title {
        font-size: 2.0rem;
        line-height: 1.15;
        text-align: center;
        margin-bottom: 0.9rem;
    }
    
    .hero-paragraph {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        justify-content: center;
    }
    /* Ensure hero buttons don't wrap and phone link matches primary height (account for 2px border) */
    .hero .btn { white-space: nowrap; }
    .hero .btn-secondary { padding-top: calc(0.8rem - 2px); padding-bottom: calc(0.8rem - 2px); }
    
    .features {
        margin-top: -10vh;
        padding-bottom: 2rem;
    }
    
    .features-container {
        padding: 0 1rem;
        gap: 1.5rem;
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .feature-icon {
        min-width: 50px;
        text-align: center;
    }
    
    .feature-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .feature-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-content p {
        font-size: 1rem;
        margin: 0;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero {
        height: auto;
        min-height: 70vh;
        padding: 3rem 0 2rem;
    }
    .hero-content { padding: 0 1rem; }
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.12;
        margin-bottom: 0.75rem;
    }
    .hero-paragraph {
        font-size: 0.9rem;
        line-height: 1.35;
        margin-bottom: 0.85rem;
        max-width: 100%;
    }
    .btn {
        padding: 0.7rem 1.2rem;
    }
    /* Keep secondary the same height as primary at this breakpoint */
    .hero .btn-secondary { padding-top: calc(0.7rem - 2px); padding-bottom: calc(0.7rem - 2px); }
}

/* Extra small mobile devices */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    .hero-paragraph {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .btn {
        padding: 0.7rem 1.2rem;
    }
    /* Re-apply to override this breakpoint's padding */
    .hero .btn-secondary { padding-top: calc(0.7rem - 2px); padding-bottom: calc(0.7rem - 2px); }
    .feature-box {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .feature-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
}

/* Very small mobile devices - stack icon on top */
@media (max-width: 300px) {
    .feature-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1rem;
        gap: 0.6rem;
    }
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    .hero-paragraph {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    .btn {
        padding: 0.6rem 1rem;
    }
    /* Keep consistent height at the smallest breakpoint */
    .hero .btn-secondary { padding-top: calc(0.6rem - 2px); padding-bottom: calc(0.6rem - 2px); }
    
    .feature-icon {
        min-width: auto;
    }
    
    .feature-content h2 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .feature-content p {
        font-size: 0.85rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 0 6rem;
    background-color: #F6EEE0;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4rem;
    color: #00394E;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
    min-height: 200px;
}

.step-icon {
    margin-bottom: 1.5rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #00394E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6EEE0;
    box-shadow: 0 8px 24px rgba(0, 57, 78, 0.2);
    transition: all 0.3s ease;
}

.process-step:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 57, 78, 0.3);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #00394E;
}

.step-description {
    font-size: 1.1rem;
    font-weight: 500;
    color: #00394E;
    line-height: 1.5;
    margin: 0;
}

.process-connector {
    flex: 0 0 60px;
    height: 2px;
    background-color: #00394E;
    position: relative;
    align-self: flex-start;
    margin-top: 40px;
}

/* Tablet responsive for How It Works */
@media (max-width: 1024px) {
    .process-steps {
        gap: 0.5rem;
    }
    
    .process-step {
        min-width: 180px;
        max-width: 220px;
    }
    
    .process-connector {
        flex: 0 0 40px;
    }
}

/* Medium screen responsive for How It Works */
@media (max-width: 900px) {
    .process-steps {
        justify-content: center;
        gap: 1rem;
    }
    
    .process-step {
        min-width: 160px;
        max-width: 200px;
        flex: 0 0 auto;
    }
    
    .process-connector {
        flex: 0 0 30px;
    }
}

/* Small tablet responsive for How It Works */
@media (max-width: 800px) {
    .process-steps {
        justify-content: space-around;
        gap: 0.5rem;
    }
    
    .process-step {
        min-width: 140px;
        max-width: 180px;
    }
    
    .process-connector {
        flex: 0 0 20px;
    }
}

/* Mobile responsive for How It Works */
@media (max-width: 768px) {
    .how-it-works {
        padding: 4rem 0 2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .process-step {
        max-width: none;
        width: 100%;
        min-height: auto;
    }
    
    .process-connector {
        flex: none;
        width: 2px;
        height: 20px;
        background-color: #00394E;
        align-self: center;
    }
}

/* Energy Info Section */
.energy-info {
    padding: 8rem 0;
    background-color: #F6EEE0;
}

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

.energy-image {
    position: relative;
}

.energy-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    border-radius: 20px;
    background: linear-gradient(135deg, #00394E 0%, #667eea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6EEE0;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.energy-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.energy-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.energy-title {
    font-size: 32px;
    font-weight: bold;
    color: #00394E;
    line-height: 1.2;
}

.energy-description {
    font-size: 20px;
    font-weight: 500;
    color: #00394E;
    line-height: 1.6;
    letter-spacing: 0.5px;
    padding-left: 1rem;
}
.energy-description li {
    padding-left: 1rem;
    margin: 5px 0;
}

.energy-description li::marker {
    content: "◆";
font-size: 1rem;
}

/* Mobile responsive for Energy Info */
@media (max-width: 768px) {
    .energy-info {
        padding: 4rem 0;
    }
    
    .energy-info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .house-thermal-image {
        max-width: 100%;
    }
    
    .energy-content {
        gap: 2rem;
    }
    
    .energy-title {
        font-size: 24px;
    }
    
    .energy-description {
        font-size: 16px;
    }
}

/* About Us Page Styles */
.about-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

.about-hero-subtitle {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.mission-section {
    padding: 2.5rem 0;
    background-color: #F6EEE0;
}

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

.mission-content {
    max-width: 800px;
    margin: 0;
    text-align: left;
}

.mission-text {
    font-size: 18px;
    font-weight: 500;
    color: #00394E;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.company-info {
    padding: 2.5rem 0;
    background-color: #fff;
}

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

.company-content {
    max-width: 900px;
    margin: 0;
}

.company-text p {
    font-size: 16px;
    font-weight: 500;
    color: #00394E;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2px;
}

.company-text p:last-child {
    margin-bottom: 0;
}

.team-section {
    padding: 5rem 0;
    background-color: #F6EEE0;
    margin-bottom: 10rem;
}

.team-description {
    margin-top: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-description p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

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

.team-container .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.team-member {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.member-image {
    flex-shrink: 0;
}

.member-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00394E 0%, #667eea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6EEE0;
    box-shadow: 0 8px 24px rgba(0, 57, 78, 0.2);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0, 57, 78, 0.2);
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 28px;
    font-weight: bold;
    color: #00394E;
    margin-bottom: 0.5rem;
}

.member-title {
    font-size: 18px;
    font-weight: 600;
    color: #EB561D;
    margin-bottom: 1rem;
}

.member-description {
    font-size: 16px;
    font-weight: 500;
    color: #00394E;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Navigation styles moved to header.css to avoid conflicts */

/* Mobile responsive for About Us */
@media (max-width: 768px) {
    .about-hero {
        padding: 6rem 0 3rem;
    }
    
    .about-hero-title {
        font-size: 32px;
    }
    
    .about-hero-subtitle {
        font-size: 18px;
    }
    
    .mission-section,
    .company-info,
    .team-section {
        padding: 4rem 0;
    }
    
    .mission-content,
    .company-content {
        margin: 0 auto;
        text-align: center;
    }
    
    .mission-text {
        font-size: 16px;
    }
    
    .company-text p {
        font-size: 16px;
    }
    
    .team-members {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .member-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
    }
    
    .member-name {
        font-size: 24px;
    }
    
    .member-title {
        font-size: 16px;
    }
    
    .member-description {
        font-size: 14px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 6rem 0;
    background-color: #F6EEE0;
}

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

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin-bottom: 4rem;
}

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

.benefit-card {
    background: #F6EEE0;
    border: 1px solid rgba(0, 57, 78, 0.1);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    align-items: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: #00394E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6EEE0;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00394E;
}

.benefit-card p {
    font-size: 1rem;
    color: #00394E;
    line-height: 1.6;
    margin: 0;
}

/* Call to Action Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #00394E 0%, #667eea 100%);
    text-align: center;
}

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

.cta-section h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: #EB561D;
    color: #fff;
    border: none;
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

/* Reviews Section */
.reviews-section {
    padding: 8rem 0;
    background-color: #F6EEE0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.reviews-wrapper {
    /* Switch to CSS Grid to allow responsive reordering */
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "prev display next";
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.reviews-display {
    grid-area: display;
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 300px;
    overflow: hidden;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
    pointer-events: none;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.review-card.prev {
    opacity: 0.3;
    transform: translateX(-100%);
}

.review-card.next {
    opacity: 0.3;
    transform: translateX(100%);
}

.review-card {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 3rem;
    width: 100%;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: flex-start;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #00394E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6EEE0;
}

.reviewer-info h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #00394E;
    margin-bottom: 0.25rem;
}

.reviewer-info p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    text-align: left;
}

.review-text p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #00394E;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    text-align: left;
}

.review-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-arrow {
    /* Place arrows into grid areas for desktop */
    grid-area: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00394E;
    border: none;
    color: #F6EEE0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

/* Explicit grid-area mapping for arrows */
.nav-prev { grid-area: prev; }
.nav-next { grid-area: next; }

.nav-arrow:hover {
    background: #EB561D;
    transform: scale(1.1);
}

/* Footer */
.footer {
    background-color: #F6EEE0;
    color: #00394E;
    padding: 4rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    height: 1px;
    background-color: rgba(0, 57, 78, 0.3);
}

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

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #00394E;
}

.footer-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #00394E;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

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

.footer-section ul li a {
    color: #00394E;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #EB561D;
}

.footer-subsection {
    margin-bottom: 2rem;
}

.footer-subsection:last-child {
    margin-bottom: 0;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #00394E;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F6EEE0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #EB561D;
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 57, 78, 0.1);
    margin-top: 3rem;
    padding: 2rem 0;
}

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

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

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

.footer-links a {
    color: #00394E;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #EB561D;
}

.credit-link {
    display: inline-block;
    text-decoration: none;
    color: #00394E;
    position: relative;
    margin-right: 0.5rem;
}

.credit-link:hover {
    text-decoration: underline;
}

.credit-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #00394E;
    color: #F6EEE0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.credit-link::before {
    content: 'Made by Martin Dustan';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-color: #00394E;
    color: #F6EEE0;
    padding: 2px 8px 2px 22px;
    border-radius: 12px;
    font-size: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.credit-link:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive for new sections */
@media (max-width: 768px) {
    .why-choose-us,
    .cta-section,
    .reviews-section {
        padding: 4rem 0;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .reviews-wrapper {
        gap: 1rem;
        max-width: 100%;
    }
    
    .reviews-display {
        max-width: 100%;
        height: 250px;
    }
    
    .review-card {
        padding: 2rem;
    }
    
    .review-text p {
        font-size: 1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* On very small screens, move arrows below the review */
@media (max-width: 500px) {
    .reviews-container {
        padding: 0 1rem;
    }
    .reviews-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "display display"
            "prev next";
        row-gap: 1rem;
    }
    .reviews-display {
        max-width: 100%;
        height: 260px; /* slightly shorter for mobile */
    }
    .nav-arrow {
        justify-self: center;
    }
}

/* Selected state for feature box */
.feature-box.selected {
    border: 4px solid #00394E;
}

/* Desktop info box */
.desktop-info {
    background: #F6EEE0;
    border: 1px solid rgba(0, 57, 78, 0.2);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    display: none;
    max-width: 800px;
    position: relative;
}

/* Info icon */
.info-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

/* Info title */
.info-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Info content styling */
.desktop-info p,
.mobile-overlay p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.desktop-info h4,
.mobile-overlay h4 {
    color: #00394E;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.desktop-info ul,
.mobile-overlay ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.desktop-info li,
.mobile-overlay li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.desktop-info strong,
.mobile-overlay strong {
    color: #00394E;
}

/* Close button */
.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.close::before,
.close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #00394E;
    transition: background-color 0.3s ease;
}

.close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close:hover::before,
.close:hover::after {
    background-color: #EB561D;
}

/* Subtle desktop close */
.desktop-close {
    opacity: 0.3;
}

.desktop-close:hover {
    opacity: 1;
}

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F6EEE0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: clip-path 0.5s ease;
}

/* Update overlay-content for better centering */
.mobile-overlay .overlay-content {
    padding: 2rem;
    text-align: left; /* left-align overlay content on mobile */
    max-width: 80%;
    margin: 0 auto;
}

.mobile-overlay .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #00394E;
    transition: color 0.3s ease;
}

.mobile-overlay .close:hover {
    color: #EB561D;
}

/* Info header */
.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Tighter layout for extra-small screens */
@media (max-width: 420px) {
    .mobile-overlay .overlay-content {
        padding: 1rem;          /* reduce inner padding */
        max-width: 92%;         /* allow more usable width */
        margin: 0 auto;         /* keep centered horizontally */
    }
    .mobile-overlay .info-title {
        font-size: 1.35rem;     /* scale title down on very small screens */
    }
    
    
.benefit-card,
    .benefit-card:hover {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: col;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: none;
    align-items: center;
    margin-bottom: 1rem;
}
    .benefit-card h3 {
        font-size: 1.2rem;
    font-weight: 600;
    }
}

/* Update .btn hover states (around line 194-211) for better feedback and easing */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.btn:focus {
    outline: 2px solid #EB561D;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(235, 86, 29, 0.3);
    transition: all 0.3s ease-in-out;
}

/* Add at the end for reduced motion (after line 1400 or so) */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    /* Disable or simplify other animations as needed */
}

.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: clip-path 0.5s ease, opacity 0.3s ease;
}

.form-container {
  background: #00394E;
  color: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 600px;
  min-height: 500px;
  width: 90%;
  position: relative;
}

.step {
  padding-bottom: 80px; /* Space for fixed buttons */
}

.step-buttons {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  background: rgba(0, 57, 78, 0.9);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.step-buttons.first-step {
  justify-content: flex-end;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.checkbox-group input {
  display: none;
}

.checkbox-group label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #F6EEE0;
  border-radius: 8px;
  margin-right: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.checkbox-group input:checked + label::before {
  background: transparent;
  border-color: #F6EEE0;
}

.checkbox-group input:checked + label::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: #EB561D;
  border-radius: 4px;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.modal-close::before,
.modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-close:hover::before,
.modal-close:hover::after {
  background-color: #EB561D;
}

.step h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.checkbox-group label {
  color: #fff;
  position: relative;
}

.step-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-details input,
.contact-details textarea {
  padding: 0.75rem;
  border: 1px solid #00455F;
  border-radius: 8px;
  background: #002B3D;
  color: #fff;
  width: 100%;
}

@media (max-width: 768px) {
  .form-modal {
    background: #000;
  }
  .form-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 3rem 1.5rem;
    max-width: none;
    min-height: none;
  }
  .step-buttons {
    padding: 1rem 1.5rem;
    background: rgba(0, 57, 78, 0.9);
    border-radius: 0;
  }
  .contact-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  .contact-preferences,
  .contact-details {
    flex: none;
    width: 100%;
  }
}

/* After checkbox styles */

.radio-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.3s ease, font-weight 0.3s ease;
    position: relative;
}

.radio-group input {
  display: none;
}

.radio-group label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #F6EEE0;
  border-radius: 50%;
  margin-right: 1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
}

.radio-group input:checked + label {
  background: rgba(255, 255, 255, 0.1);
  font-weight: bold;
}

.radio-group input:checked + label::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}

.radio-group.inline {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-layout {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-preferences {
  flex: 1;
}

.contact-preferences h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-details {
  flex: 1;
}

/* Fix checkbox visual indicator */
.checkbox-group input:checked + label::before {
  background: transparent;
  border-color: #F6EEE0;
}

.checkbox-group input:checked + label::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: white;
  border-radius: 4px;
  top: 50%;
  left: 12px;
  transform: translate(-50%, -50%);
}

/* Fix radio button visual indicator */
.radio-group input:checked + label::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 20px;
  transform: translate(-50%, -50%);
}

.radio-group input:checked + label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 50%;
  }

/* Confirmation Modal Styles */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 57, 78, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.confirmation-modal.show {
  opacity: 1;
  visibility: visible;
}

.confirmation-container {
  background: linear-gradient(135deg, #F6EEE0 0%, #fff 100%);
  border-radius: 24px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 57, 78, 0.3);
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s ease;
  border: 2px solid rgba(235, 86, 29, 0.1);
}

.confirmation-modal.show .confirmation-container {
  transform: scale(1) translateY(0);
}

.confirmation-icon {
  margin-bottom: 1.5rem;
  animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirmation-title {
  font-size: 28px;
  font-weight: 700;
  color: #00394E;
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
}

.confirmation-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.confirmation-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: rgba(235, 86, 29, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(235, 86, 29, 0.1);
}

.confirmation-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #00394E;
  font-weight: 500;
}

.confirmation-detail svg {
  color: #EB561D;
  flex-shrink: 0;
}

.confirmation-close {
  min-width: 120px;
  margin-top: 1rem;
}

/* Mobile responsive styles for confirmation modal */
@media (max-width: 768px) {
  .confirmation-container {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .confirmation-title {
    font-size: 24px;
  }
  
  .confirmation-message {
    font-size: 14px;
  }
  
  .confirmation-details {
    padding: 1rem;
  }
  
  .confirmation-detail {
    font-size: 14px;
  }
}

/* Form Validation Styles */
.contact-details .field-wrapper.valid input,
.contact-details .field-wrapper.valid textarea {
    border-color: #10B981;
    background-color: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 1px #10B981;
}

.contact-details .field-wrapper.invalid input,
.contact-details .field-wrapper.invalid textarea {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 1px #EF4444;
}

.field-error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

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

.contact-details input:focus,
.contact-details textarea:focus {
    outline: none;
    border-color: #EB561D;
    box-shadow: 0 0 0 2px rgba(235, 86, 29, 0.2);
}

.contact-details .field-wrapper.valid input:focus,
.contact-details .field-wrapper.valid textarea:focus {
    border-color: #10B981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.contact-details .field-wrapper.invalid input:focus,
.contact-details .field-wrapper.invalid textarea:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Validation icon indicators */
.contact-details {
    position: relative;
}

.contact-details .field-wrapper {
    position: relative;
}

.contact-details .field-wrapper.valid::after {
    content: '✓';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #10B981;
    font-weight: bold;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

.contact-details .field-wrapper.invalid::after {
    content: '✗';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #EF4444;
    font-weight: bold;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 10;
}

/* Responsive validation styles */
@media (max-width: 768px) {
    .field-error {
        font-size: 0.8rem;
        margin-top: 0.2rem;
    }
    
    .contact-details .field-wrapper.valid::after,
    .contact-details .field-wrapper.invalid::after {
        right: 8px;
        font-size: 1rem;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 4rem 0;
    background-color: #F6EEE0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-content {
    margin-top: 2rem;
}

.contact-section .contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 57, 78, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 280px;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 57, 78, 0.15);
    border-color: #EB561D;
}

.contact-item h3 {
    color: #00394E;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-item p {
    margin: 0;
}

.contact-link {
    text-decoration: none;
    color: #00394E;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: #EB561D;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: #EB561D;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: #00394E;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-item {
        min-width: 250px;
        padding: 1.5rem;
    }

    .contact-item h3 {
        font-size: 1.1rem;
    }

    .contact-link {
        font-size: 1rem;
    }
}

/* Mission Contact Section Styles */
.mission-contact-section {
    padding: 4rem 0;
    background-color: #F6EEE0;
}

.mission-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.mission-column {
    text-align: left;
}

.mission-column .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-column {
    text-align: left;
}

.contact-column .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.mission-column .mission-content {
    max-width: none;
    margin: 0;
}

.mission-column .mission-text {
    font-size: 18px;
    font-weight: 500;
    color: #00394E;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.contact-column .contact-content {
    margin-top: 0;
}

.contact-column .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
}

.contact-column .contact-item {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 57, 78, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    border: 2px solid transparent;
    text-decoration: none;
    display: block;
}

.contact-column .contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 57, 78, 0.15);
    border-color: #EB561D;
}

.contact-column .contact-item h3 {
    color: #00394E;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.contact-column .contact-link {
    text-decoration: none;
    color: #00394E;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.contact-column .contact-link:hover {
    color: #EB561D;
}

.contact-column .contact-icon {
    width: 24px;
    height: 24px;
    color: #EB561D;
    transition: color 0.3s ease;
}

.contact-column .contact-item:hover .contact-icon {
    color: #00394E;
}

@media (max-width: 768px) {
    .mission-contact-section {
        padding: 3rem 0;
    }
    
    .mission-contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .mission-column,
    .contact-column {
        text-align: center;
    }
    
    .mission-column .section-title,
    .contact-column .section-title {
        text-align: center;
    }
    
    .contact-column .contact-info {
        align-items: center;
    }
    
    .contact-column .contact-item {
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .contact-column .contact-item h3 {
        font-size: 1.1rem;
        justify-content: center;
    }
    
    .contact-column .contact-link {
        font-size: 1rem;
        justify-content: center;
    }
    
    .mission-column .mission-text {
        font-size: 16px;
    }
    
    .team-container .section-title {
        text-align: center;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    backdrop-filter: blur(5px);
}

.loading-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.loading-spinner {
    margin-bottom: 20px;
}

.loading-text {
    color: #333;
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

/* --- Mobile hero spacing safeguard ---
   Ensures the hero has enough space on small screens where:
   - header is fixed (60px / 56px tall), and
   - features/cards overlap upward with negative margins
   This keeps layout intact elsewhere and only adjusts mobile. */
@media (max-width: 700px) {
    .hero {
        min-height: calc(100svh - 60px);
        padding-top: calc(60px + 1rem);
        padding-bottom: 12vh;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100svh - 56px);
        padding-top: calc(56px + 1rem);
        padding-bottom: 12vh;
    }
}