@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.contact-area {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Agar gradient chahiye to overlay ke liye ::before use karo, 
   warna yahan se hata do */
    background: none;
}

.contact-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/img/services/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.719);
    background-blend-mode: overlay;

    z-index: -1;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: center;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.contact-text {
    padding-right: 40px;
}

.small-heading {
    color: #e93c05;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.small-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background-color: #e93c05;
}

.main-heading {
    font-size: 48px;
    font-weight: 700;
    color: #1e1e1e;
    margin-bottom: 25px;
    line-height: 1.2;
}

.sub-text {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e93c05 0%, #ff6b35 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(233, 60, 5, 0.2);
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e1e1e;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #777;
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #e93c05 0%, #011f4c 100%) !important;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control-input {
    width: 100%;
    border: 2px solid #e6e6e6;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fafafa;
    color: #333;
}

.form-control-input:focus {
    outline: none;
    border-color: #e93c05 !important;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(233, 60, 5, 0.1);
}

.form-control-input:hover {
    border-color: #c0c0c0;
}

textarea.form-control-input {
    resize: none;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #e93c05 0%, #ff6b35 100%);
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(233, 60, 5, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 60, 5, 0.4) !important;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

/* .g-recaptcha {
    margin-bottom: 20px;
} */

/* Animation Classes */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 0.8s ease forwards;
}

.animate-text[data-delay="400"] {
    animation-delay: 0.4s;
}

.animate-text[data-delay="800"] {
    animation-delay: 0.8s;
}

.animate-form {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 0.8s ease forwards;
    animation-delay: 1.2s;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact-text {
        padding-right: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .main-heading {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .contact-area {
        padding: 60px 0;
    }

    .main-heading {
        font-size: 32px;
    }

    .small-heading,
    .sub-text {
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/* Dropdown main box */
.services-menu .dropdown-menu {
    display: none !important;
    /* Initially hidden */
    grid-template-columns: repeat(2, 1fr) !important;
    /* 2 columns for desktop */
    gap: 15px 20px !important;
    padding: 25px !important;
    width: 650px !important;
    background: #fff !important;
    border-radius: 12px !important;
    left: -220px !important;
    position: absolute !important;
    z-index: 1000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Show dropdown on hover for desktop */
.services-menu:hover .dropdown-menu {
    display: grid !important;
}

/* Service item */
.services-menu .dropdown-menu li {
    list-style: none !important;
}

/* Service link design */
.services-menu .dropdown-menu li a {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    background: #f9f1ed !important;
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    text-align: left !important;
    white-space: nowrap !important;
}

/* Icon style */
.services-menu .dropdown-menu li a i {
    color: #e93c05 !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

/* Hover effect */
.services-menu .dropdown-menu li a:hover {
    background: #e93c05 !important;
    color: #fff !important;
}

.services-menu .dropdown-menu li a:hover i {
    color: #fff !important;
}

/* Mobile-specific styles */
@media (max-width: 991px) {
    .services-menu .dropdown-menu {
        display: none !important;
        /* Hidden by default */
        grid-template-columns: 1fr !important;
        /* Single column for mobile */
        width: 100% !important;
        left: 0 !important;
        position: relative !important;
        padding: 15px !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        /* Slightly different background for mobile */
    }

    /* Show dropdown when meanmenu toggles it */
    .mean-container .mean-nav ul li.services-menu.mean-expanded .dropdown-menu {
        display: grid !important;
    }

    .services-menu .dropdown-menu li a {
        padding: 10px 15px !important;
        font-size: 14px !important;
        white-space: normal !important;
        background: #fff !important;
        border: 1px solid #eee !important;
    }

    .mean-container .mean-nav ul li.services-menu>a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #333 !important;
    }

    .mean-container .mean-nav ul li.services-menu .mean-expand {
        background: transparent !important;
        color: #e93c05 !important;
        font-size: 18px !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        text-align: center !important;
    }
}

.footer-newsletter .social-icons li a:hover {
    color: #e93c05 !important;
    transition: color 0.3s ease;
}
          .mean-container {
position: sticky !important;
top: 0 !important;
z-index: 9999 !important;
background: #fff !important; /* Adjust to match your navbar background */
}
/* Mobile-specific styles */
@media (max-width: 991px) {
    .services-menu .dropdown-menu {
        display: none !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        left: 0 !important;
        position: relative !important;
        padding: 15px !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
    }

    .mean-container .mean-nav ul li.services-menu.mean-expanded .dropdown-menu {
        display: grid !important;
    }

    .services-menu .dropdown-menu li a {
        padding: 10px 15px !important;
        font-size: 14px !important;
        white-space: normal !important;
        background: #fff !important;
        border: 1px solid #eee !important;
    }

    .mean-container .mean-nav ul li.services-menu>a {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        color: #333 !important;
    }

    .mean-container .mean-nav ul li.services-menu .mean-expand {
        display: none !important;
    }
}

/* Fix navbar visibility on scroll */
.mean-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
}