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

body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Make all images scale within containers */
img {
    max-width: 100%;
    height: auto;
}

/* Header - Red & White theme */
.main-header {
    background: #b91c1c;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(185, 28, 28, 0.25);
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

/* Mobile header/nav layout */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .main-header .logo h1 {
        font-size: 1.4rem;
        text-align: center;
    }
    .main-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    .main-header nav ul li {
        margin-left: 0;
    }
}

.main-header .logo h1 {
    font-size: 1.8rem;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
}

.main-header nav ul li {
    margin-left: 20px;
}

.main-header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem 0.25rem;
}

.main-header nav ul li a:hover {
    text-decoration: underline;
    color: #fecaca;
}

.main-header nav ul li a.active {
    color: #fef2f2;
    font-weight: 700;
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 2rem auto;
    gap: 2rem;
}

.contact-form, .social-box {
    flex: 1;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2, .social-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Roboto', Arial, sans-serif;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #b91c1c;
    outline: none;
    box-shadow: 0 0 5px rgba(185, 28, 28, 0.25);
}

.contact-form .form-group textarea {
    resize: vertical;
    line-height: 1.5;
    font-size: 1rem;
}

.contact-form .btn {
    display: block;
    width: 100%;
    background: #b91c1c;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
}

.contact-form .btn:hover {
    background: #991b1b;
}

/* Social Box Styling */
.social-box {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.social-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.social-box .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-box .social-icons img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(185, 28, 28, 0.2);
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-box .social-icons img:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.3);
}

.social-box .contact-info p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

.social-box .contact-info a {
    color: #b91c1c;
    text-decoration: none;
    font-weight: bold;
}

.social-box .contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form, .social-box {
        margin-bottom: 2rem;
    }
}

/* Mobile navigation (hamburger) */
@media (max-width: 768px) {
    .main-header { padding: 0.5rem 0; }
    .main-header .container { position: relative; }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 2px solid #fff;
        border-radius: 6px;
        background: transparent;
        color: #fff;
        cursor: pointer;
    }

    .menu-toggle .bar {
        width: 22px;
        height: 2px;
        background: #fff;
        position: relative;
        display: block;
    }
    .menu-toggle .bar::before,
    .menu-toggle .bar::after {
        content: '';
        position: absolute;
        left: 0;
        width: 22px;
        height: 2px;
        background: #fff;
    }
    .menu-toggle .bar::before { top: -6px; }
    .menu-toggle .bar::after { top: 6px; }

    .primary-nav { width: 100%; }
    /* Hide menu by default on mobile with higher specificity */
    .main-header .primary-nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #b91c1c;
        padding: 0.25rem 0;
        box-shadow: 0 6px 15px rgba(0,0,0,0.25);
        z-index: 20;
    }
    .main-header .primary-nav ul li { margin-left: 0; border-top: 1px solid rgba(255,255,255,0.2); }
    .main-header .primary-nav ul li a { display: block; padding: 0.9rem 0.75rem; }
    .main-header .primary-nav.open ul { display: flex; }
}

/* Hero Section */
.hero {
    background: url('../images/image1.jpg') no-repeat center center/cover;
    height: 100vh; /* Full-screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: white;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)); /* Softer gradient */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease-out; /* Add fade-in animation */
}

.hero-content h1 {
    font-size: 3.5rem; /* Larger heading */
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8); /* More pronounced shadow */
}

.hero-content p {
    font-size: 1.5rem; /* Larger paragraph text */
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-content .btn {
    background: #fff;
    color: #b91c1c;
    padding: 1rem 3rem;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-content .btn:hover {
    background: #b91c1c;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Add Fade-In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero { height: 70vh; }
    .hero-content h1 {
        font-size: 2.5rem; /* Adjust heading size for smaller screens */
    }

    .hero-content p {
        font-size: 1.2rem; /* Adjust paragraph size */
    }

    .hero-content .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem; /* Adjust button size */
    }
}

.about-map a.map-link {
    font-size: 1.2rem;
    color: #b91c1c;
    text-decoration: none;
    font-weight: bold;
}
.about-map a.map-link:hover { text-decoration: underline; }

/* About map responsive */
.about-map { padding: 2rem 1rem; }
.about-map iframe { width: 100%; height: 450px; border: 0; }
@media (max-width: 768px) { .about-map iframe { height: 300px; } }

/* About responsive layout */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-image, .about-text {
        max-width: 100%;
    }
    .about-text {
        text-align: left;
    }
}


/* Section Styling */
section {
    padding: 3rem 1rem;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

/* About Section */
.about {
    padding: 3rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    max-width: 45%;
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    color: #555;
}

/* Services Section */
.services-section {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fff;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 3rem auto;
}

.services-section h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.services-section p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.services-list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .services-list {
        flex-direction: column;
        align-items: stretch;
    }
}

.column {
    flex: 1;
    min-width: 250px;
}

.column ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.column ul li {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: #555;
}

.column ul li::before {
    content: "✔";
    margin-right: 10px;
    color: #b91c1c;
    font-weight: bold;
}

/* Keep RSA/NDLS image responsive */
.social-box .rsa-pic img {
    width: 100%;
    max-width: 400px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 50px;
}

/* Instagram Feed Styling */
#instagram-feed {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 2rem auto;
}

#instagram-feed .elfsight-app-f67055b9-b9f4-4272-9401-2553ef581b9d {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Hide Elfsight branding and attribution */
#instagram-feed [class*="elfsight"] [class*="powered"],
#instagram-feed [class*="elfsight"] [class*="branding"],
#instagram-feed [class*="elfsight"] [class*="attribution"],
#instagram-feed [class*="elfsight"] [class*="watermark"],
#instagram-feed [class*="elfsight"] [class*="credit"],
#instagram-feed [class*="elfsight"] a[href*="elfsight"],
#instagram-feed [class*="elfsight"] a[href*="widget"],
#instagram-feed [class*="elfsight"] [class*="footer"],
#instagram-feed [class*="elfsight"] [class*="bottom"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Thank You page */
.thank-you {
    padding: 4rem 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.thank-you h1 { color: #1f2937; margin-bottom: 1rem; }
.thank-you p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; }
.thank-you .btn.return-home {
    display: inline-block;
    background: #b91c1c;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}
.thank-you .btn.return-home:hover { background: #991b1b; }

/* Footer Styling - Red & White theme */
footer {
    background: #7f1d1d;
    color: #fef2f2;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    text-align: center;
}

footer a {
    color: #fecaca;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

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

.footer-contact,
.footer-info,
.footer-location {
    flex: 1;
    text-align: center;
    margin: 0.5rem;
    min-width: 200px;
}

.footer-contact p,
.footer-info p,
.footer-location p {
    margin: 0.5rem 0;
}

/* Medium screens (tablets) */
@media (max-width: 1024px) {
    .footer-container {
        justify-content: center;
        gap: 2rem;
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form, .social-box {
        margin-bottom: 2rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-contact,
    .footer-info,
    .footer-location {
        flex: none;
        width: 100%;
        max-width: 300px;
        margin: 0;
    }
}
