@import url('callback.css');

/* =========================================================
   PAGE FIX: (Bottom & Double Scroll Fix)
   ========================================================= */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%; /* height: 100% हटाकर min-height किया गया है */
}

body {
    overflow-x: hidden;
}

main {
    width: 100%;
    min-width: 0;
}

/* =========================================================
   FOOTER FULL WIDTH FOUNDATION (Placeholder Fix)
   ========================================================= */
#footer-placeholder {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    flex: 0 0 auto;
}

#footer-placeholder .footer {
    display: block;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* =========================================================
   CONTAINER SETUP
   ========================================================= */
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =========================================================
   HARISHYA PREMIUM FOOTER
   ========================================================= */
.footer {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    margin-top: 70px;
    background: linear-gradient(135deg, #071a2e 0%, #0a2743 48%, #061525 100%);
    color: #dbe7f2;
    overflow: hidden; 
    box-sizing: border-box;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #0b4f8a, #3b82c4, #f47b0b, #ff9a2f, #0b4f8a);
    background-size: 200% 100%;
    animation: footerGradient 7s linear infinite;
}
@keyframes footerGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.footer::after {
    content: "";
    position: absolute;
    width: 420px; height: 420px;
    right: -180px; bottom: -230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 196, 0.12), transparent 70%);
    pointer-events: none;
}

/* =========================================================
   FOOTER GRID & COLUMNS (Desktop View - 4 Columns Layout)
   ========================================================= */
.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.6fr 0.9fr 1fr 1.4fr; 
    gap: 30px;
    padding-top: 60px;
    padding-bottom: 55px;
}
.footer-column { 
    min-width: 0; 
    box-sizing: border-box;
}

/* =========================================================
   FOOTER BRANDING (Logo & Name)
   ========================================================= */
.footer-brand-link {
    margin-bottom: 15px;
    height: auto;
    gap: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.footer-logo-wrap {
    width: 65px; height: 65px;
    display: flex; align-items: center; justify-content: center;
}
.footer-logo-wrap img {
    width: 100%; height: 100%; object-fit: contain;
    transition: transform 0.3s ease;
}
.footer-brand-link:hover .footer-logo-wrap img { transform: scale(1.05); }

.footer .company-name {
    display: flex; flex-direction: column; justify-content: center;
    line-height: 1; overflow: hidden;
}
.footer .brand-main-name {
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: 25px; font-weight: 800; letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, #63a4ff 50%, #ffffff 58%, #ffffff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.footer .brand-sub-name {
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
    font-size: 13px; font-weight: 700; letter-spacing: 3px;
    color: #ff9a2f; margin-top: 3px;
}
.footer .brand-tagline {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 8.4px; font-weight: 600; letter-spacing: 2px;
    color: #aebdca; margin-top: 4px; display: block;
}

.footer-description {
    max-width: 320px; margin: 10px 0 0;
    font-size: 14px; line-height: 1.8; color: #aebdca;
}
.footer-brand-line {
    width: 48px; height: 3px; margin-top: 20px;
    border-radius: 20px; background: linear-gradient(90deg, #0b6caf, #f47b0b);
}
.footer-tagline {
    margin: 10px 0 0; font-size: 11px; font-weight: 700;
    letter-spacing: 2.2px; color: #f47b0b; text-transform: uppercase;
}

/* =========================================================
   SOCIAL MEDIA ICONS 
   ========================================================= */
.footer-socials {
    margin-top: 25px;
}
.social-title {
    display: block; margin-bottom: 12px; font-size: 11px;
    font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #f47b0b;
}
.social-icons {
    display: flex; gap: 12px;
}
.social-icons a {
    width: 36px; height: 36px; display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 8px; 
    color: #ffffff !important; 
    transition: all 0.3s ease;
    text-decoration: none;
}
/* Brand Colors */
.social-fb { background: #1877F2; }
.social-tw { background: #000000; }
.social-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-li { background: #0A66C2; }

.social-icons a:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   FOOTER TITLES & LINKS
   ========================================================= */
.footer-title {
    margin: 2px 0 10px; font-family: "Poppins", sans-serif;
    font-size: 17px; font-weight: 700; color: #ffffff;
}
.footer-title-line {
    width: 34px; height: 2px; margin-bottom: 18px;
    border-radius: 10px; background: linear-gradient(90deg, #f47b0b, #3b82c4);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 0; color: #aebdca; text-decoration: none;
    font-size: 13px; transition: color 0.25s ease, transform 0.25s ease;
}
.footer-arrow {
    color: #f47b0b; font-size: 18px; line-height: 1;
    transition: transform 0.25s ease;
}
.footer-links a:hover { color: #ffffff; transform: translateX(4px); }
.footer-links a:hover .footer-arrow { transform: translateX(3px); }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-group { display: flex; flex-direction: column; gap: 12px; }
.contact-label {
    display: block; margin-bottom: 2px; font-size: 10px;
    font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #f47b0b;
}
.contact-item {
    display: flex; align-items: center; gap: 12px;
    color: #b8c7d5; text-decoration: none; font-size: 13px;
    transition: color 0.25s ease, transform 0.25s ease;
}
.contact-item:hover { color: #ffffff; transform: translateX(3px); }
.contact-icon {
    width: 36px; height: 36px; display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 10px; background: rgba(255,255,255,0.06);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}
.contact-item:hover .contact-icon {
    transform: scale(1.08);
}

/* Authentic Brand-Colored Contact Icons */
.phone-brand-icon {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(2, 132, 199, 0.38)) !important;
    border: 1px solid rgba(14, 165, 233, 0.5);
    color: #38bdf8 !important;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
}
.brand-contact-call:hover .phone-brand-icon {
    background: linear-gradient(135deg, #0284c7, #0ea5e9) !important;
    color: #ffffff !important;
    border-color: #38bdf8;
    transform: scale(1.12) rotate(-4deg);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.whatsapp-brand-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.22), rgba(18, 140, 126, 0.38)) !important;
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #25d366 !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}
.brand-contact-whatsapp:hover .whatsapp-brand-icon {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    color: #ffffff !important;
    border-color: #4ade80;
    transform: scale(1.12) rotate(4deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.email-brand-icon {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.18), rgba(255, 255, 255, 0.08)) !important;
    border: 1px solid rgba(234, 67, 53, 0.4);
    box-shadow: 0 4px 14px rgba(234, 67, 53, 0.2);
}
.brand-contact-email:hover .email-brand-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #ea4335;
    transform: scale(1.12);
    box-shadow: 0 6px 20px rgba(234, 67, 53, 0.45);
}

.contact-text {
    font-weight: 550;
    letter-spacing: 0.2px;
}
.brand-contact-call:hover .contact-text { color: #38bdf8 !important; }
.brand-contact-whatsapp:hover .contact-text { color: #25d366 !important; }
.brand-contact-email:hover .contact-text { color: #ffffff !important; }

.contact-divider {
    width: 100%; height: 1px; margin: 18px 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0.03));
}

/* =========================================================
   FOOTER BOTTOM (Privacy & Terms)
   ========================================================= */
.footer-bottom-wrap {
    position: relative; z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.16);
}
.footer-bottom {
    min-height: 58px; display: flex; align-items: center;
    justify-content: space-between; padding: 15px 20px;
    color: #8294a5; font-size: 12px; flex-wrap: wrap; gap: 10px;
}
.footer-bottom-left, .footer-bottom-right {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.policy-link {
    color: #8294a5; text-decoration: none;
    transition: color 0.3s ease;
}
.policy-link:hover { color: #f47b0b; }
.footer-bottom-dot { color: #f47b0b; font-size: 13px; }

/* =========================================================
   RESPONSIVE — TABLET (Max-width 1100px)
   ========================================================= */
@media (max-width: 1100px) {
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 40px; 
    }
    .footer-brand { grid-column: 1 / -1; max-width: 600px; }
    .footer-contact { grid-column: 1 / -1; }
}

/* =========================================================
   RESPONSIVE — SMALL TABLET (Max-width 800px)
   ========================================================= */
@media (max-width: 800px) {
    .footer { margin-top: 50px; }
    .footer-grid {
        grid-template-columns: 1fr 1fr; 
        gap: 40px 30px;
        padding-top: 48px; padding-bottom: 42px;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (Max-width 600px) 
   ========================================================= */
@media (max-width: 600px) {
    .footer { margin-top: 40px; } 
    .footer-grid {
        grid-template-columns: 1fr; 
        padding: 30px 20px 40px; 
        gap: 35px; 
    }
    .footer-brand-link { margin-bottom: 5px; justify-content: flex-start; }
    .footer-logo-wrap { width: 55px; height: 55px; }
    .footer .brand-main-name { font-size: 22px; letter-spacing: 1.5px; }
    .footer .brand-sub-name { font-size: 11px; margin-top: 2px; }
    .footer .brand-tagline { font-size: 7px; margin-top: 2px; }
    
    .footer-description { margin-top: 10px; font-size: 13.5px; line-height: 1.7; max-width: 100%; }
    .footer-brand-line { margin-top: 15px; }
    .footer-tagline { margin-top: 10px; }
    .footer-title { font-size: 17px; }
    
    .social-icons a { width: 40px; height: 40px; } 
    
    .contact-item { font-size: 13.5px; }
    
    .footer-bottom { 
        flex-direction: column; 
        justify-content: center; 
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .footer-bottom-left, .footer-bottom-right { 
        justify-content: center; 
    }
}

/* =========================================================
   LIGHT MODE / DARK MODE TOGGLE FIX
   ========================================================= */
body.light-mode .footer, 
body.light-theme .footer, 
body.light .footer,
[data-theme="light"] .footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important; 
    color: #334e68 !important;
}

/* Light Mode Footer Text Colors */
.light-mode .footer .brand-main-name, 
.light-theme .footer .brand-main-name,
[data-theme="light"] .footer .brand-main-name {
    background: linear-gradient(90deg, #0b4f8a 0%, #0b4f8a 42%, #3b82c4 50%, #0b4f8a 58%, #0b4f8a 100%) !important;
    background-size: 220% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.light-mode .footer .brand-sub-name, 
.light-theme .footer .brand-sub-name,
[data-theme="light"] .footer .brand-sub-name { color: #f47b0b !important; }

.light-mode .footer .brand-tagline, 
.light-theme .footer .brand-tagline,
[data-theme="light"] .footer .brand-tagline { color: #718096 !important; }

.light-mode .footer-title, 
.light-theme .footer-title,
[data-theme="light"] .footer-title { color: #0b4f8a !important; }

.light-mode .footer-description, 
.light-theme .footer-description,
.light-mode .footer-links a, 
.light-theme .footer-links a,
.light-mode .contact-item, 
.light-theme .contact-item,
[data-theme="light"] .footer-description,
[data-theme="light"] .footer-links a,
[data-theme="light"] .contact-item { color: #486581 !important; }

.light-mode .footer-links a:hover, 
.light-theme .footer-links a:hover,
.light-mode .contact-item:hover, 
.light-theme .contact-item:hover,
[data-theme="light"] .footer-links a:hover,
[data-theme="light"] .contact-item:hover { color: #f47b0b !important; }

/* Light Mode Icons */
.light-mode .contact-icon, 
.light-theme .contact-icon,
[data-theme="light"] .contact-icon { background: rgba(11, 79, 138, 0.08); color: #0b4f8a; }

/* Keep Brand Contact Icons Colorful in Light Mode */
[data-theme="light"] .phone-brand-icon, .light-mode .phone-brand-icon {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(2, 132, 199, 0.28)) !important;
    color: #0284c7 !important;
    border-color: rgba(14, 165, 233, 0.45) !important;
}
[data-theme="light"] .whatsapp-brand-icon, .light-mode .whatsapp-brand-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(22, 163, 74, 0.28)) !important;
    color: #16a34a !important;
    border-color: rgba(37, 211, 102, 0.45) !important;
}
[data-theme="light"] .email-brand-icon, .light-mode .email-brand-icon {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.14), rgba(255, 255, 255, 0.8)) !important;
    border-color: rgba(234, 67, 53, 0.35) !important;
}

/* Light Mode Hover Text Fix (Prevents white-on-white text) */
[data-theme="light"] .brand-contact-call:hover .contact-text,
.light-mode .brand-contact-call:hover .contact-text { color: #0284c7 !important; }

[data-theme="light"] .brand-contact-whatsapp:hover .contact-text,
.light-mode .brand-contact-whatsapp:hover .contact-text { color: #16a34a !important; }

[data-theme="light"] .brand-contact-email:hover .contact-text,
.light-mode .brand-contact-email:hover .contact-text { color: #dc2626 !important; }

.light-mode .contact-divider, 
.light-theme .contact-divider,
[data-theme="light"] .contact-divider { background: linear-gradient(90deg, rgba(11, 79, 138, 0.15), rgba(11, 79, 138, 0.03)) !important; }

/* Copyright Company Name Styling */
.footer-copyright-name {
    color: #38bdf8;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

/* Light Mode Footer Bottom */
.light-mode .footer-bottom-wrap, 
.light-theme .footer-bottom-wrap,
[data-theme="light"] .footer-bottom-wrap { background: #e9ecef !important; border-top: 1px solid rgba(11, 79, 138, 0.1) !important; }

.light-mode .footer-bottom, 
.light-theme .footer-bottom,
.light-mode .policy-link,
[data-theme="light"] .footer-bottom,
[data-theme="light"] .policy-link { color: #627d98 !important; }

.light-mode .policy-link:hover,
[data-theme="light"] .policy-link:hover { color: #f47b0b !important; }

[data-theme="light"] .footer-copyright-name,
.light-mode .footer-copyright-name {
    color: #0b4f8a !important;
}