@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&display=swap');

:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --text-main: #391675;
    --text-muted: #64748b;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background: #ddf5ff;
}

h1,
h2,
h3,
p {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #6e8efb, #0891b2);
    color: white;
    padding: 0.5rem 7rem;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img{
    width: 22rem;
    height: auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.nav-links {
    display: flex;
    gap: 1.5rem;

}

.nav-links a {
    color: white;
    font-weight: 500;
    font-size: 1.2rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, #6e8efb, #0891b2);
    /* padding: 1rem; */
    position: absolute;
    top: 70px;
    width: 100%;
    z-index: 100;
}

.mobile-menu a {
    color: white;
    padding: 0.5rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .app-header {
        padding: 1.3rem 1rem 1.3rem 0.5rem;
    }
    .logo-img{
        width: 19rem;
        height: auto;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}


/* Main Page Styles */
.main_div {
    padding: 0 40px;
    background-image: url('../assets/img/fvswh.png');
    background-color: #ddf5ff;
    background-repeat: no-repeat;
    background-position: right top;
    /* min-height: 80vh; */
}

.contact-form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom right, #0000000d, #00000026);
    /* background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)); */
    /* Lightened for readability */
    /* font-family: 'Segoe UI', sans-serif; */
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Form Styles */
input,
textarea {
    width: 100%;
    padding: 14px 12px;
    margin: 20px 0;
    border: 2px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.3s;
    background-color: #fff;
    box-sizing: border-box;
    /* Ensure padding doesn't exceed width */
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input:focus,
textarea:focus {
    border-color: #a777e3;
    box-shadow: 0 0 8px #6e8efb;
    transform: scale(1.02);
    outline: none;
}

/* Placeholder Animation */
input::placeholder,
textarea::placeholder {
    color: #aaa;
    transition: transform 0.3s, font-size 0.3s;
}

input:focus::placeholder,
textarea:focus::placeholder {
    transform: translateY(-10px);
    font-size: 12px;
    color: #a777e3;
}

/* Button */
.fancy-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    /* Full width button in form */
    margin-top: 10px;
}

.fancy-btn:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Divider & Address */
.divider {
    border: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.address-container {
    width: 100%;
    background-color: #ddf5ff94;
    border-radius: 8px;
}

.address-content {
    padding: 0 20px;
    text-align: left;
}

.cont {
    line-height: 1.6;
    font-size: 1.1rem;
}


/* Footer & Social Bar */
.footer {
    background: linear-gradient(135deg, #6e8efb, #0891b2);
    color: white;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer h3,
.footer p,
.footer a {
    color: white !important;
}

/* Force footer text color */
.footer-section {
    flex: 1 1 200px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #ffca28;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 0.5rem 0;
}

.footer-section ul li a {
    color: #ffeb3b !important;
    cursor: pointer;
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #ffffff33;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #ccc !important;
}

.social-bar {
    position: fixed;
    top: 40%;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.social-bar .icon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 45px;
    height: 45px;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 0 5px 5px 0;
    overflow: hidden;
    padding: 0 5px;
    box-shadow: 0 0 6px 0 #3e3d3d;
    margin-bottom: 5px;
}

.social-bar .icon:hover {
    width: 160px;
}

.social-bar .whatsapp {
    background-color: #25D366;
}

.social-bar .call {
    background-color: #e74c3c;
}

.social-bar .hover-text {
    font-size: 0px;
    margin-left: 0px;
    white-space: nowrap;
    opacity: 0;
    color: white !important;
    transition: opacity 0.3s ease;
}

.social-bar .icon:hover .hover-text {
    opacity: 1;
    font-size: 16px;
    margin-left: 10px;
}


/* Responsive */
@media (max-width: 900px) {
    .main_div {
        padding: 20px;
        /* background-size: 15%; */
        /* Smaller bg image on tablet/mobile */
    }
}

@media (max-width: 768px) {
    .social-bar {
        display: none;
    }

    .footer {
        flex-direction: column;
    }

    .main_div {
        /* background-image: none; */
        padding: 20px 10px;
    }

    /* Hide decorative bg on mobile */
    .contact-form-container {
        padding: 50px 25px;
        background: linear-gradient(to bottom right, #0000000d, #00000026);
    }
}

/* Floating Buttons (Mobile) */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-buttons a {
    width: 50px;
    height: 50px;
    background-color: #25D366;
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.call-btn {
    /* background-color: #007bff !important; */
}

.floating-buttons a:hover {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .floating-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .social-bar {
        display: none;
    }
}






/* --- Popup Styles (from popup.component.css) --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.styled-form {
    max-width: 400px;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-family: 'Roboto', sans-serif;
}

input,
textarea {
    width: 96%;
    padding: 12px 0 12px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

input:focus,
textarea:focus {
    border-color: #6e8efb;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #a777e3, #6e8efb);
}

/* Helper for popup toggling */
.hidden {
    display: none !important;
}