@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;
    --bg-light: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
p {
    font-family: 'Outfit', 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;
}

.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 Content & Services Styles */
.maindiv {
    padding: 50px;
    background-color: #ddf5ff;
}

/* Header Group */
.header-group {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInDown 0.8s ease-out;
}

.sub-badge {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    font-weight: 600;
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}


/* Rows */
.row {
    display: flex;
    flex-wrap: nowrap;
    margin: 100px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15));
    border-radius: 12px;
}

.image,
.text {
    padding: 10px;
    width: 50%;
}

.image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.image:hover {
    transform: scale(1.02);
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Sname (Service Name text block) */
.sname {
    width: 50%;
    text-align: center;
}

.sname h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: -webkit-linear-gradient(45deg, var(--text-main), var(--primary-dark));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #391675;
    /* Fallback */
}

.sname p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}

.fancy-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #fff;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.fancy-btn:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}


/* 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-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;
    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;
}

.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;
    transition: opacity 0.3s ease;
}

.social-bar .icon:hover .hover-text {
    opacity: 1;
    font-size: 16px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .social-bar {
        display: none;
    }

    .footer {
        flex-direction: column;
    }

    /* Main Mobile Styles */
    .row {
        flex-direction: column !important;
        margin: 0 0 50px 0;
    }

    .image,
    .text {
        width: 100%;
        padding: 10px;
    }

    .sname {
        width: 100% !important;
    }

    .maindiv {
        padding: 30px 15px;
    }

    .sname h2 {
        font-size: 1.8rem !important;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 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;
    /* 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;
}