/* ========================================
   MODERN 2-CONTAINER HEADER & FOOTER
   Professional Design for Shreeinfra
   ======================================== */

/* ===== MODERN 2-CONTAINER HEADER ===== */

.header-area.header-modern {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Top Info Bar */
.header-top-info {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 12px 0;
    border-bottom: 2px solid #f39c12;
}

.top-left-info {
    display: flex;
    align-items: center;
}

.top-left-info span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-left-info i {
    color: #f39c12;
    font-size: 14px;
}

.top-right-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    flex-wrap: wrap;
}

.top-right-info span {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.top-right-info span:hover {
    color: #f39c12;
}

.top-right-info i {
    color: #f39c12;
    font-size: 13px;
}

/* Main Navigation Bar */
.header-main-nav {
    background: #ffffff;
    padding: 20px 0;
}

/* Logo Styling */
.header-main-nav .logo {
    display: flex;
    align-items: center;
}

.header-main-nav .logo img {
    max-height: 55px;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.header-main-nav .logo:hover img {
    transform: scale(1.05);
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    margin-left: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.mobile-menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.5);
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Dropdown */
.mobile-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 998;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu-wrapper.active {
    max-height: 500px;
}

.mobile-menu-wrapper nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu-wrapper nav ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-wrapper nav ul li:last-child {
    border-bottom: none;
}

.mobile-menu-wrapper nav ul li a {
    display: block;
    padding: 15px 10px;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.mobile-menu-wrapper nav ul li a:hover {
    color: #f39c12;
    padding-left: 20px;
}


/* Modern Navigation Menu */
.header-main-nav .main-menu nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-main-nav .main-menu nav ul li {
    position: relative;
}

.header-main-nav .main-menu nav ul li a {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
    text-transform: capitalize;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.header-main-nav .main-menu nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.header-main-nav .main-menu nav ul li a:hover::before,
.header-main-nav .main-menu nav ul li a.active::before {
    width: 100%;
}

.header-main-nav .main-menu nav ul li a:hover,
.header-main-nav .main-menu nav ul li a.active {
    color: #f39c12;
}

/* Professional CTA Button */
.header-right-btn {
    display: flex;
    justify-content: flex-end;
}

.cta-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 0;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5);
    color: #ffffff !important;
}

.cta-btn i {
    font-size: 16px;
}

/* ===== ULTRA MODERN FOOTER ===== */

.footer-bg {
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    color: #b8b8b8;
    position: relative;
    overflow: hidden;
}

/* Decorative Elements */
.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #f39c12 50%, transparent 100%);
}

.footer-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.footer-top {
    padding: 90px 0 60px;
    position: relative;
    z-index: 1;
}

/* Modern Footer Widget Cards */
.footer-widget {
    margin-bottom: 40px;
}

.f-widget-title {
    margin-bottom: 30px;
}

.f-widget-title img {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(1.1);
}

.f-widget-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-transform: capitalize;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.f-widget-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 3px;
}

.footer-widget p {
    color: #c4c4c4;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 15px;
}

/* Modern Info Card */
.info-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    border-left: 4px solid #f39c12;
    margin-top: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(243, 156, 18, 0.4);
    transform: translateY(-3px);
}

.info-box .text {
    color: #e0e0e0;
    line-height: 2;
    font-size: 14px;
}

/* Premium Footer Links */
.footer-link ul,
.footer-link-two ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link ul li,
.footer-link-two ul li {
    margin-bottom: 14px;
}

.footer-link ul li a,
.footer-link-two ul li a {
    color: #c4c4c4;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-left: 20px;
}

.footer-link ul li a::before,
.footer-link-two ul li a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #f39c12;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-link ul li a:hover,
.footer-link-two ul li a:hover {
    color: #f39c12;
    padding-left: 28px;
}

.footer-link ul li a:hover::before,
.footer-link-two ul li a:hover::before {
    transform: translateX(5px);
}

/* Modern Newsletter Form */
.newslater {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newslater p {
    color: #c4c4c4;
    margin-bottom: 20px;
}

.newslater .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.newslater .form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #f39c12;
    outline: none;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1);
}

.newslater .form-control::placeholder {
    color: #888;
}

.newslater .yellow-btn {
    width: 100%;
    padding: 14px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.newslater .yellow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

/* Premium Copyright Section */
.copyright-wrap {
    background: #0a0a0a;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-wrap .col-lg-6,
.copyright-wrap .col-md-6 {
    color: #999;
    font-size: 14px;
}

.copyright-wrap a {
    color: #f39c12;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright-wrap a:hover {
    color: #e67e22;
}

/* Modern Social Icons */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c4c4c4;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-social a:hover::before {
    opacity: 1;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-5px) rotate(360deg);
}

/* ===== MOBILE RESPONSIVE ===== */

/* Tablet & Mobile Top Info Bar */
@media (max-width: 991px) {
    .header-top-info {
        padding: 10px 0;
    }

    .top-left-info,
    .top-right-info {
        justify-content: center;
        text-align: center;
        margin: 5px 0;
    }

    .top-right-info {
        gap: 15px;
        font-size: 12px;
    }

    .top-right-info span {
        font-size: 12px;
    }
}

/* Mobile Header */
@media (max-width: 767px) {
    .header-top-info {
        display: none;
    }

    .header-main-nav {
        padding: 15px 0;
    }

    .header-main-nav .logo img {
        max-height: 45px;
    }

    .header-right-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .cta-btn span {
        display: none;
    }

    .cta-btn i {
        font-size: 18px;
    }

    /* Show mobile toggle button */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Show mobile menu wrapper */
    .mobile-menu-wrapper {
        display: block;
    }
}

/* Footer Mobile Optimizations */
@media (max-width: 991px) {
    .footer-top {
        padding: 70px 0 40px;
    }

    .footer-bg .col-xl-4,
    .footer-bg .col-xl-3,
    .footer-bg .col-xl-2 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .f-widget-title h2 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 60px 0 30px;
    }

    .footer-bg .col-xl-4,
    .footer-bg .col-xl-3,
    .footer-bg .col-xl-2,
    .footer-bg .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-widget {
        margin-bottom: 40px;
        text-align: center;
    }

    .f-widget-title h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-link ul li a,
    .footer-link-two ul li a {
        padding-left: 0;
        justify-content: center;
    }

    .footer-link ul li a::before,
    .footer-link-two ul li a::before {
        display: none;
    }

    .footer-link ul li a:hover {
        padding-left: 0;
    }

    .info-box {
        text-align: center;
    }

    .copyright-wrap {
        padding: 25px 0;
        text-align: center;
    }

    .copyright-wrap .col-lg-6,
    .copyright-wrap .col-md-6 {
        text-align: center !important;
        margin-bottom: 15px;
    }

    .footer-social {
        justify-content: center;
    }

    .f-widget-title img {
        margin: 0 auto 20px;
        display: block;
    }
}

@media (max-width: 575px) {

    .footer-widget p,
    .footer-link ul li a,
    .footer-link-two ul li a {
        font-size: 14px;
    }

    .f-widget-title h2 {
        font-size: 18px;
    }

    .info-box {
        padding: 20px;
    }

    .copyright-wrap .col-lg-6,
    .copyright-wrap .col-md-6 {
        font-size: 13px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Extra Polish */
@media (min-width: 1200px) {
    .container {
        max-width: 1300px;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Active Menu Item */
.main-menu nav ul li a.active {
    color: #f39c12;
}

.main-menu nav ul li a.active::before {
    width: 100%;
}