/* --- Theme Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container { 
    width: 90%; 
    max-width: 1320px;
    margin: 0 auto; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
}

/* --- Header & Logo --- */
.site-header { 
    padding: 15px 0; 
    background: #000000; /* Solid Black by default */
    color: #fff; 
    position: sticky; 
    top: 0; 
    z-index: 999;
    transition: all 0.4s ease;
}
.home .site-header{
    background: transparent;
    position: absolute; /* Content header ke peeche se start hoga */
    width: 100%;
}
.logo a { 
    font-size: 24px; 
    font-weight: bold; 
    color: #fff; 
    text-decoration: none; 
}

.logo span { color: #8F173B; }

/* --- Navigation Desktop --- */
.main-nav {
    margin-left: auto; 
    margin-right: 30px;
}

.nav-list { 
    list-style: none; 
    display: flex; 
    margin: 0; 
    padding: 0; 
    align-items: center; 
}

.nav-list li { 
    margin-left: 25px; 
    position: relative; 
    padding: 10px 0; 
}

.nav-list li a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
}

.nav-list li a:hover { color: #8F173B; }

/* --- Dropdown Desktop --- */
.nav-list li ul { 
    position: absolute; 
    background: rgba(0, 0, 0, 0.95); 
    top: 120%; 
    left: 0; 
    padding: 15px 20px; 
    min-width: 220px;
    list-style: none;
    border-top: 3px solid #8F173B; 
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(43, 43, 43, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px); 
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
}

.nav-list li:hover > ul { 
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%; 
}

.nav-list li ul li { 
    margin: 0; 
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05); 
}

.nav-list li ul li:last-child { border-bottom: none; }
.nav-list li ul li a { font-size: 14px; display: block; width: 100%; }
.nav-list li ul li a:hover { padding-left: 8px; color: #8F173B; }

/* --- Buttons --- */
.btn-apply {
    background-color: #8F173B; 
    color: #ffffff; 
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-apply:hover {
    background-color: #fff;
    color: #000000;
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.mobile-apply, .menu-toggle { display: none; }

/* Footer Main Layout */
.site-footer {
    background: #000000; /* Darker Navy for Footer */
    color: #fff;
    padding: 60px 0 0;
    border-top: 1px solid rgb(172, 171, 171);
    /* margin-top: 50px; */
}
.footer-socials i{
    color: #8F173B;    
  

}
.footer-socials{
      display: flex;
    gap: 10px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns */
    gap: 40px;
    align-items: flex-start;
}
.footer-logo img {
    max-width: 150px; /* Footer ke hisab se size adjust karein */
    height: auto;
    display: inline-block;
}
.footer-logo{
        padding-bottom: 15px;
}

.footer-logo a {
    text-decoration: none;
    color: #fff; /* Agar text display ho raha ho */
    font-size: 24px;
    font-weight: bold;
}

.footer-col h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}
.site-header {
    padding: 20px 0;
    background: transparent; /* Solid color hata den */
    position: absolute; /* Isse header hero section ke upar aa jayega */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background 0.3s ease; /* Scroll par color change karne ke liye */
}
.nav-list li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    border-top: 5px solid #fff; /* Arrow color */
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: transform 0.3s ease;
}

.nav-list li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    border-top-color: #8F173B; /* Hover color */
}
.custom-logo-link img{
        width: 180px;
    height: auto;
}

/* Jab page scroll ho toh header ko thora dark shade dene ke liye (Optional) */
.site-header.scrolled {
    background: #1B171B; /* Scroll karne par Navy Blue shade */
    position: fixed; /* Scroll ke sath sath chale ga */
}
/* Logo in Footer */
.footer-logo a { font-size: 24px; font-weight: bold; color: #fff; text-decoration: none; }
.footer-logo span { color: #ffcc00; }

/* Links Styling */
.footer-links, .contact-list { list-style: none; padding: 0; }
.footer-links li, .contact-list li { margin-bottom: 12px; font-size: 15px; color: #ccc; }
.footer-links li a { color: #ccc; text-decoration: none; transition: 0.3s; }
.footer-links li a:hover { color: #ffcc00; padding-left: 5px; }

/* Newsletter Form */
.newsletter-form { display: flex; margin-top: 20px; }
.newsletter-form input {
    padding: 12px;
    border: 1px solid #333;
    background: #f2f2f2;
    color: #fff;
    width: 70%;
    border-radius: 4px 0 0 4px;
}
.newsletter-form button {
    width: 30%;
    background: #8F173B;
    border: none;
    color: #fcfdff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

/* Bottom Bar */
.footer-bottom {
    background: #8F173B; /* Yellow bar like your reference */
    color: #ffffff;
    padding: 15px 0;
    margin-top: 50px;
    font-weight: 600;
    font-size: 14px;
}
.footer-bottom .container { justify-content: space-between; }

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}