/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

/* --- Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #050505; color: #fff; overflow-x: hidden; }
a { text-decoration: none; transition: 0.3s; }

/* Scroll Settings */
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 80px; 
}
section {
    scroll-margin-top: 100px; 
}

/* --- Header --- */
header {
    padding: 15px 10%; 
    display: flex; justify-content: center; 
    align-items: center;
    position: sticky; top: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #FFD700;
}
.logo { 
    font-size: 24px; font-weight: 800; color: #FFD700; 
    letter-spacing: 1px; line-height: 1.1; text-align: center;
}
.logo span { color: #fff; display: block; font-size: 14px; letter-spacing: 3px; }

/* --- Hero Slider --- */
.hero-slider { position: relative; height: 80vh; width: 100%; overflow: hidden; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    display: flex; justify-content: center; align-items: center; text-align: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }
.hero-content { z-index: 2; padding: 20px; }
.hero-content h5 { color: #FFD700; letter-spacing: 2px; margin-bottom: 10px; }
.hero-content h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; text-transform: uppercase; font-weight: 800; }
.btn-main {
    padding: 12px 35px; background: #FFD700; color: #000; font-weight: 700;
    border-radius: 5px; text-transform: uppercase; display: inline-block; margin-top: 20px;
}

/* --- Tracking Section --- */
.tracking-section {
    padding: 60px 20px; background: #0a0a0a;
    display: flex; justify-content: center;
}
.glass-tracking-card {
    width: 100%; max-width: 900px;
    background: #111; padding: 30px; border-radius: 15px;
    border: 1px solid #222; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}
.tracking-header h2 { color: #FFD700; margin-bottom: 10px; }
.tracking-header p { color: #888; margin-bottom: 20px; }

/* NEW INPUT STYLES */
.tracking-input-wrapper {
    display: flex; background: #222; padding: 5px; border-radius: 50px;
    border: 1px solid #333; margin-bottom: 20px; gap: 10px; align-items: center;
}

.courier-dropdown {
    background: #000; color: #FFD700; border: none;
    padding: 12px 20px; border-radius: 40px; outline: none; font-weight: 600; cursor: pointer; margin-left: 5px;
    text-align: center;
}
.courier-dropdown:hover { background: #111; }
.courier-dropdown option { background: #111; color: #fff; text-align: left; }

#YQNum {
    flex: 1; background: transparent; border: none; padding: 15px 10px;
    color: #fff; font-size: 16px; outline: none;
}
#YQNum::placeholder { color: rgba(255, 255, 255, 0.4); opacity: 1; }

.track-btn-new {
    background: #FFD700; color: #000; border: none; padding: 12px 30px;
    border-radius: 50px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.track-btn-new:hover { background: #fff; }

.result-box { 
    margin-top: 20px; background: #fff; border-radius: 10px; overflow: hidden; min-height: 50px; display: none; 
}
.tracking-embed { width: 100%; height: 600px; border: none; display: block; }

.history-container h3 { color: #FFD700; margin-bottom: 10px; margin-top: 20px; font-size: 16px; }
#history-list { list-style: none; padding: 0; }
#history-list li {
    background: #222; margin: 5px 0; padding: 10px; border-radius: 5px; cursor: pointer; color: #ccc; transition: 0.2s;
}
#history-list li:hover { background: #333; color: #fff; }
.clear-btn {
    background: transparent; border: 1px solid #555; color: #888; padding: 5px 15px; margin-top: 10px; cursor: pointer; border-radius: 5px; font-size: 12px;
}
.clear-btn:hover { border-color: #FFD700; color: #FFD700; }

/* --- Stats Counter --- */
.stats-section {
    display: flex; justify-content: space-around; padding: 50px 20px;
    background: #000; border-top: 1px solid #222; border-bottom: 1px solid #222;
    flex-wrap: wrap; gap: 20px;
}
.stat-item { text-align: center; }
.stat-item h2 { font-size: 2.5rem; color: #FFD700; font-weight: 800; margin-bottom: 5px; }
.stat-item p { color: #aaa; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }

/* --- Services --- */
.services { padding: 60px 20px; background: #050505; text-align: center; }
.section-title h2 { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.line { width: 60px; height: 3px; background: #FFD700; margin: 0 auto 50px; }
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-item {
    background: #111; padding: 30px 20px; border-radius: 10px; border: 1px solid #222; transition: 0.3s;
}
.service-item:hover { border-color: #FFD700; transform: translateY(-5px); }
.s-icon { font-size: 35px; color: #FFD700; margin-bottom: 20px; }
.service-item h3 { margin-bottom: 15px; color: #fff; }
.service-item p { color: #888; font-size: 14px; line-height: 1.6; }

/* --- About --- */
.about {
    background: linear-gradient(to right, #111, #000); padding: 60px 20px; display: flex; justify-content: center;
}
.about-card {
    background: rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 15px; text-align: center; max-width: 500px; border: 1px solid #444;
}
.profile-icon {
    width: 80px; height: 80px; background: #FFD700; color: #000; border-radius: 50%; margin: 0 auto 15px; display: flex; justify-content: center; align-items: center; font-size: 35px;
}
.designation { color: #FFD700; display: block; margin-bottom: 15px; font-size: 14px; letter-spacing: 1px; }

/* --- Floating WhatsApp --- */
.float-wa {
    position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px;
    background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center;
    font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.5); z-index: 10000; display: flex; align-items: center; justify-content: center;
}

/* --- FOOTER --- */
footer { background: #000; padding: 50px 20px 20px; border-top: 1px solid #222; }
.footer-wrapper { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.footer-contact-section { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-contact-section h3 { 
    color: #FFD700; margin-bottom: 25px; font-size: 22px; text-transform: uppercase;
    letter-spacing: 1px; border-bottom: 2px solid #FFD700; padding-bottom: 5px; display: inline-block;
}
.contact-item { 
    display: flex; align-items: center; justify-content: flex-start; gap: 15px; color: #ccc; font-size: 16px; margin-bottom: 12px; transition: 0.3s;
}
.contact-item:hover { color: #fff; transform: translateX(5px); }
.contact-item i { color: #FFD700; font-size: 18px; min-width: 25px; }
.footer-bottom-copyright { border-top: 1px solid #222; padding-top: 30px; text-align: center; }
.logo-footer { font-size: 24px; font-weight: bold; color: #fff; margin-bottom: 8px; }
.logo-footer span { color: #FFD700; }
.copyright-text { color: #7399c5; font-size: 13px; letter-spacing: 0.5px; }
.copyright-text a { color: #7399c5; font-size: 13px; letter-spacing: 0.5px;  }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    header { padding: 15px 20px; } 
    .logo { font-size: 18px; }
    .hero-content h1 { font-size: 2rem; }
    
    .tracking-input-wrapper { flex-direction: column; border-radius: 15px; padding: 15px; gap: 15px; }
    .courier-dropdown { width: 100%; margin-left: 0; margin-bottom: 5px; text-align: center; border: 1px solid #333; }
    #YQNum { text-align: center; border-bottom: 1px solid #333; margin-bottom: 10px; width: 100%; }
    .track-btn-new { width: 100%; }
}
