/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('https://iili.io/3oemyzb.jpg') center/cover no-repeat;
    margin-top: 80px;
    padding: 80px 0;
}

.contact-hero .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 18, 0.7);
}

.contact-hero .section-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.contact-hero .section-badge {
    background: rgba(255, 224, 68, 0.9);
    color: #0d1b12;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.contact-hero .section-title {
    font-size: 3.5rem;
    margin: 0 0 20px;
}

.contact-hero .section-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.contact-info-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px 30px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    grid-template-areas:
        "ntinda info"
        "kasese info";
}



.contact-info-group {
    grid-area: info;
}

/* Remove nth-child placement for location cards */
.contact-info-card {
    background: #fff;
    padding: 30px 30px;
    border-radius: 16px;
    border: 1px solid rgba(238, 238, 238, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 224, 68, 0.3);
}

.contact-info-group {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-info-card:nth-child(-n+2) {
    grid-column: 1;
}

@media (max-width: 1024px) {
    .contact-info-container {
        grid-template-columns: 1fr; /* Stack all cards */
        grid-template-areas:
            "ntinda"
            "kasese"
            "info";
    }
    .contact-info-card {
        grid-column: auto;
    }
    .contact-info-group {
        grid-column: auto;
    }
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ffe044, #ffc107);
    color: #0d1b12;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(255, 224, 68, 0.4);
    transition: all 0.3s ease;
}

.contact-info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 224, 68, 0.6);
}

.contact-info-card h3 {
    font-size: 1.4rem;
    margin: 0 0 12px;
    color: #0d1b12;
    font-weight: 700;
}

.contact-info-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.contact-info-card p a {
    color: #ffe044; /* Yellow color for phone numbers */
    text-decoration: none;
}

.contact-info-card p a:hover {
    text-decoration: underline;
}

.contact-info-card p:has(i.fa-envelope) {
    color: #ffe044; /* Yellow color for email addresses */
}


/* Contact Form Section */
.contact-form-section {
    padding: 80px 20px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    position: relative;
}

.form-header {
    margin-bottom: 30px;
.form-header h2 {
    font-size: 2rem;
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}    margin: 0 0 10px;
    color: #0d1b12;
}

.form-header p {
    color: #555;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-input,
.form-select,
.form-textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #ffe044;
    box-shadow: 0 0 0 3px rgba(255, 224, 68, 0.3), 0 0 8px rgba(255, 224, 68, 0.2);
    outline: none;
}

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

.form-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #555;
}

.form-submit {
    background: #ffe044;
    color: #0d1b12;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background: #0d1b12;
    color: #fff;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-success.active {
    opacity: 1;
    visibility: visible;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #e6f7e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #28a745;
}

.form-success h3 {
    font-size: 1.5rem;
    margin: 0 0 10px;
    color: #0d1b12;
}

.form-success p {
    color: #555;
    margin: 0 0 20px;
}

.success-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.back-btn {
    background: #ffe044;
    color: #0d1b12;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #f5d530;
    transform: translateY(-3px);
}

.whatsapp-action {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.whatsapp-action:hover {
    background: #20c35e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 400px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: #0d1b12;
}

.faq-icon {
    color: #ffe044;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(13, 27, 18, 0.9), rgba(13, 27, 18, 0.9)), url('https://images.unsplash.com/photo-1516426122078-c23e76319801?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1868&q=80') center/cover no-repeat;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin: 0 0 20px;
}

.cta-container p {
    font-size: 1.2rem;
    margin: 0 0 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-btn,
.secondary-btn {
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background: #ffe044;
    color: #0d1b12;
}

.primary-btn:hover {
    background: #fff;
}

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

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 900px) {
    .contact-hero .section-title {
        font-size: 2.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        min-height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .contact-hero .section-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-info-container {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}
