/* Import League Spartan Font */
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@100;300;400;500;600;700;800;900&display=swap');

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

body {
    font-family: 'League Spartan', sans-serif;
    line-height: 1.6;
    color: #053944;
    background-color: #f9f5e9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: #053944;
    color: #f9f5e9;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(5, 57, 68, 0.15);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Improved logo interaction + active state */
.logo {
    color: #f9f5e9; /* ensure good contrast on dark navbar */
    transition: transform 320ms cubic-bezier(.2,.9,.2,1),
                color 240ms ease, 
                text-shadow 320ms ease, 
                box-shadow 320ms ease;
    will-change: transform, box-shadow;
}

.logo-icon {
    transition: transform 360ms cubic-bezier(.2,.9,.2,1), filter 360ms ease, box-shadow 360ms ease;
    border-radius: 8px;
}

/* Active (selected/hovered) logo style: subtle scale, soft glow and icon pop */
.logo.active {
    transform: translateY(-3px) scale(1.06);
    color: #ffffff;
    text-shadow: 0 6px 18px rgba(5,57,68,0.18);
    box-shadow: 0 10px 30px rgba(5,57,68,0.12);
    -webkit-font-smoothing: antialiased;
    animation: logoGlow 2.4s ease-in-out infinite alternate;
}

.logo.active .logo-icon {
    transform: rotate(-6deg) scale(1.12);
    filter: drop-shadow(0 10px 18px rgba(5,57,68,0.18)) saturate(1.05);
}

@keyframes logoGlow {
    0% {
        box-shadow: 0 6px 18px rgba(5,57,68,0.06);
    }
    100% {
        box-shadow: 0 18px 40px rgba(5,57,68,0.14);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #f9f5e9;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}


/* Hero Section */
.hero {
    background: #f9f5e9;
    color: #053944;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideInDown 0.8s ease;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInUp 0.8s ease;
}

.cta-btn {
    background-color: #053944;
    color: #f9f5e9;
    border: none;
    padding: 12px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: slideInUp 0.8s ease 0.2s backwards;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 77, 77, 0.3);
}

/* About Section */
.about {
    padding: 60px 20px;
    background-color: #f9f5e9;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #053944;
}

.about-text {
    font-size: 1.8rem;
    line-height: 1.9;
    color: #053944;
    max-width: 9000px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 60px 20px;
    background-color: #f9f5e9;
}

.services h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #053944;
}

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(5, 57, 68, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(26, 77, 77, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #053944;
}

.service-card p {
    color: #053944;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #f9f5e9;
}

.contact h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #053944;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.info-item h3 {
    font-size: 1.3rem;
    color: #053944;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1.1rem;
    color: #053944;
}

.info-item a {
    color: #053944;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #053944cc;
}

/* Make Phone and Email headings/values 20% larger for better visibility */
.contact-info .info-item:nth-child(1) h3,
.contact-info .info-item:nth-child(2) h3,
.contact-info .info-item:nth-child(3) h3 {
    font-size: 1.56rem; /* 1.3rem * 1.2 */
}

.contact-info .info-item:nth-child(1) p,
.contact-info .info-item:nth-child(2) p,
.contact-info .info-item:nth-child(3) p,
.contact-info .info-item:nth-child(1) p a,
.contact-info .info-item:nth-child(2) p a,
.contact-info .info-item:nth-child(3) p a {
    font-size: 1.8rem; /* Significantly increased from 1.32rem */
    line-height: 1.6;
}

/* Increase social icon sizes specifically for the Follow Us block */
.contact-info .info-item:nth-child(3) .social-link {
    width: 54px;
    height: 54px;
    font-size: 1.44rem; /* 1.2rem * 1.2 */
}

.contact-info .info-item:nth-child(3) .social-link i {
    font-size: 1.56rem; /* 1.3rem * 1.2 */
}

/* Social Media */
.social-media {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f9f5e9;
    color: #053944;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    font-size: 1.2rem;
}

.social-link i {
    font-size: 1.3rem;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.facebook {
    background-color: #3b5998;
    color: white;
}

.social-link.facebook:hover {
    background-color: #2d4373;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.instagram:hover {
    opacity: 0.8;
}

.social-link.twitter {
    background-color: #1da1f2;
    color: white;
}

.social-link.twitter:hover {
    background-color: #1a8cd8;
}

.social-link.linkedin {
    background-color: #0077b5;
    color: white;
}

.social-link.linkedin:hover {
    background-color: #005885;
}

.social-link.whatsapp {
    background-color: #25d366;
    color: white;
}

.social-link.whatsapp:hover {
    background-color: #20ba5a;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 12px 15px;
    border: 2px solid #05394422;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #053944;
    box-shadow: 0 0 10px rgba(5, 57, 68, 0.1);
}

/* Google reCAPTCHA Styling */
.g-recaptcha {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    background: #053944;
    color: #f9f5e9;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(5, 57, 68, 0.15);
}

/* Footer */
.footer {
    background: #053944;
    color: #f9f5e9;
    text-align: center;
    padding: 2rem;
}

.footer p {
    margin: 0;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .logo {
        font-size: 1.4rem;
    }

    /* maintain ~2x scale for tablet sizes (originally 32 -> now 64) */
    .logo-icon {
        width: 64px;
        height: 64px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .social-media {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    /* Responsive scaling for contact details so they remain readable on small screens */
    .contact-info .info-item:nth-child(1) h3,
    .contact-info .info-item:nth-child(2) h3,
    .contact-info .info-item:nth-child(3) h3 {
        font-size: 1.35rem;
    }

    .contact-info .info-item:nth-child(1) p,
    .contact-info .info-item:nth-child(2) p,
    .contact-info .info-item:nth-child(3) p,
    .contact-info .info-item:nth-child(1) p a,
    .contact-info .info-item:nth-child(2) p a,
    .contact-info .info-item:nth-child(3) p a {
        font-size: 1.08rem;
    }

    .contact-info .info-item:nth-child(3) .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .contact-info .info-item:nth-child(3) .social-link i {
        font-size: 1.3rem;
    }

    /* small screens: keep icon noticeably larger but still fit the layout */
    .logo-icon {
        width: 48px;
        height: 48px;
    }
}
