/* =============================================
   CONTACT PAGE STYLES - COMPREHENSIVE REDESIGN
   ============================================= */

:root {
    --primary-dark: #1a3948;
    --secondary-dark: #0f2128;
    --accent-orange: #f59834;
    --sage-green: #a1b27e;
    --sage-dark: #92a574;
    --light-bg: #f1e6c7;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===================== PAGE HEADER ===================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(161, 178, 126, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ===================== SECTION HEADING ===================== */

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===================== CONTACT INFO OVERVIEW ===================== */

.contact-info-overview {
    padding: 80px 0;
    background: var(--light-bg);
}

.info-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 4px solid var(--sage-green);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    transition: left 0.6s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-orange);
}

.info-card-icon {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.info-card p {
    color: #555;
    margin-bottom: 0.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

.info-card a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    word-break: break-all;
    display: inline-block;
}

.info-card a:hover {
    color: var(--sage-green);
}

.info-card small {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ===================== CONTACT FORM SECTION ===================== */

.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--sage-green);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--accent-orange);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0d9d0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(245, 152, 52, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    font-family: 'Poppins', sans-serif;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.submit-btn {
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9d4d 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 152, 52, 0.3);
}

/* ===================== WAYS TO CONNECT SECTION ===================== */

.ways-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e6dcc1 100%);
}

.ways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.way-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-bottom: 4px solid var(--sage-green);
    position: relative;
    overflow: hidden;
}

.way-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(161, 178, 126, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.way-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-orange);
}

.way-icon {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.way-card:hover .way-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--sage-green);
}

.way-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.way-card p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ===================== SOCIAL MEDIA SECTION ===================== */

.social-section {
    padding: 80px 0;
    background: var(--white);
}

.social-links-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.social-link-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-md);
}

.social-link-btn i {
    font-size: 1.3rem;
}

.social-link-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff9d4d 100%);
}

/* ===================== CALL TO ACTION SECTION ===================== */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(161, 178, 126, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(245, 152, 52, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.cta-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 152, 52, 0.3);
    background: #ff9d4d;
}

.cta-secondary {
    background: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.cta-secondary:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===================== FOOTER ===================== */

.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
    border-top: 3px solid var(--accent-orange);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-orange);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(161, 178, 126, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--accent-orange);
    font-size: 0.95rem;
    font-weight: 600;
}

/* ===================== RESPONSIVE DESIGN ===================== */

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .info-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .form-wrapper {
        padding: 2rem;
    }

    .ways-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .social-links-container {
        gap: 1rem;
    }

    .social-link-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        gap: 1rem;
    }

    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--accent-orange);
        padding-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 0.9rem;
    }

    .footer-social {
        gap: 1rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .info-overview-grid,
    .ways-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .social-links-container {
        flex-direction: column;
        gap: 0.8rem;
    }

    .social-link-btn {
        width: 100%;
        justify-content: center;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 40px 12px 20px;
    }

    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
        text-align: center;
        border-bottom: 2px solid var(--accent-orange);
        padding-bottom: 0.4rem;
    }

    .footer-section p,
    .footer-section ul li,
    .footer-section a {
        font-size: 0.85rem;
        text-align: center;
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-social {
        justify-content: center;
        gap: 0.8rem;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.2rem;
        margin-top: 1.2rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .footer-tagline {
        font-size: 0.85rem;
    }
}
