/* ==========================================================================
   MaqTaq Application Custom Stylesheet (Organized Component & Page Styling)
   ========================================================================== */

/* --- Independence Day & Holiday Overlays --- */
#india-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

#india-bg-overlay .flag-diagonal {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    transform: rotate(-18deg);
    display: flex;
    flex-direction: column;
}

#india-bg-overlay .flag-diagonal .d-saffron {
    flex: 1;
    background: linear-gradient(135deg, #FF9933 0%, #FF7700 100%);
    opacity: 0.25;
    animation: flagPulseSaffron 4s ease-in-out infinite;
}

#india-bg-overlay .flag-diagonal .d-white {
    flex: 1;
    background: #ffffff;
    opacity: 0.18;
    animation: flagPulseWhite 4s ease-in-out 0.3s infinite;
}

#india-bg-overlay .flag-diagonal .d-green {
    flex: 1;
    background: linear-gradient(135deg, #138808 0%, #0a6303 100%);
    opacity: 0.25;
    animation: flagPulseGreen 4s ease-in-out 0.6s infinite;
}

@keyframes flagPulseSaffron {
    0%   { opacity: 0.18; }
    50%  { opacity: 0.35; }
    100% { opacity: 0.18; }
}

@keyframes flagPulseWhite {
    0%   { opacity: 0.12; }
    50%  { opacity: 0.25; }
    100% { opacity: 0.12; }
}

@keyframes flagPulseGreen {
    0%   { opacity: 0.18; }
    50%  { opacity: 0.35; }
    100% { opacity: 0.18; }
}

#india-bg-overlay .chakra-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 380px;
    height: 380px;
    opacity: 0.20;
    animation: slowRotate 35s linear infinite;
}

@keyframes slowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Hero Multi-Profile Animation Section --- */
.animation div:first-child {
    animation: text-animation 18s infinite ease-in-out !important;
}

@keyframes text-animation {
    0%, 13% { margin-top: 0px; }
    16.66%, 30% { margin-top: -35px; }
    33.33%, 47% { margin-top: -70px; }
    50%, 63% { margin-top: -105px; }
    66.66%, 80% { margin-top: -140px; }
    83.33%, 97% { margin-top: -175px; }
    100% { margin-top: 0px; }
}

/* --- Typography & Global Fonts --- */
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* --- Contact Us Page Component Styles --- */
.contact-hero-section h1:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #359653;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.contact-hero-gradient {
    background: linear-gradient(135deg, #12331d 0%, #1e522e 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 !important;
}

.contact-hero-lead {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.wave-separator-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-separator-svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 30px;
}

.contact-card-box {
    border-color: #eaeaea;
    border-radius: 16px !important;
}

.contact-form-control {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14.5px;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.contact-form-control:focus {
    border-color: #359653 !important;
    box-shadow: 0 0 0 4px rgba(53, 150, 83, 0.15) !important;
    outline: none;
}

.contact-info-card {
    background: linear-gradient(135deg, #12331d 0%, #1e522e 100%);
    border-radius: 16px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(18, 51, 29, 0.15);
}

.contact-info-icon-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 16px;
}

.contact-info-address {
    line-height: 1.6;
}

.contact-info-email-link {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
}

.contact-info-hours {
    line-height: 1.5;
}

.map-iframe-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.transition-hover {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

/* --- Reusable UI Utilities & Themes --- */
.btn-theme-success {
    background-color: #359653 !important;
    border-color: #359653 !important;
}

.btn-contact-submit {
    background-color: #359653;
    border-radius: 8px;
    font-size: 15px;
}

.bg-soft-green-header {
    background-color: #f8fbf9;
}

.bg-light-mint {
    background-color: #f0fdf4 !important;
    border: 1px solid #c2ffd4 !important;
}

.bg-light-mint-card {
    background-color: #f4faf6;
    border: 1px solid #e2eee6 !important;
}

.vendor-icon-circle-lg {
    width: 50px;
    height: 50px;
    background-color: #e6f7ec !important;
}

.vendor-icon-circle-md {
    width: 40px;
    height: 40px;
    background-color: #359653 !important;
}

.vendor-detail-modal-header {
    background-color: #359653;
    border-top-left-radius: .5rem;
    border-top-right-radius: .5rem;
}

.customer-nav-border {
    border-bottom: 1px solid #f0f2f1;
}

.service-icon-sm {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.service-icon-md {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
