@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&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: #ecfeff;
}

h1,
h2,
h3,
p {
    font-family: 'Roboto', sans-serif;
}

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 {
    background-color: #ddf5ff;
    height: 100%;
    min-height: 80vh;
    padding: 60px 0;
}

.main_div {
    margin: 0px 200px;
}

.heading {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #391675;
    margin-bottom: 2rem;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

li {
    margin-bottom: 1rem;
}

li p {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}


/* 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;
    font-family: 'Outfit', sans-serif;
}

.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 {
        margin: 0 50px;
    }
}

@media (max-width: 768px) {
    .social-bar {
        display: none;
    }

    .footer {
        flex-direction: column;
    }

    .main_div {
        margin: 0 20px;
    }
}


.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;
    /* WhatsApp green */
    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;
}

.call-btn {
    background-color: #007bff;
    /* Blue for call */
}

.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;
}