/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.section {
    display: none;
    min-height: 100vh;
    padding: 80px 20px;
}

.section.active {
    display: block;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h2 {
    color: #007bff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #007bff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #007bff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-btn {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #0056b3;
}

.hero-image {
    text-align: center;
}

.hero-image i {
    color: #007bff;
}

/* Features */
.features {
    max-width: 1200px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

/* About Us */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 0;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #007bff;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat h3 {
    font-size: 2rem;
    color: #007bff;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal button {
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Chat Bot */
.chat-bot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
}

.chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #007bff;
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.chat-window {
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none;
}

.chat-header {
    padding: 15px;
    background: #007bff;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 10px;
}

.message.bot {
    background: #e9ecef;
    text-align: left;
}

.chat-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #646464;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #007bff;
}

.social-icons {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.social-icons i {
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.social-icons i:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .chat-window {
        width: 250px;
        height: 350px;
        right: -20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }
}

/* CONTACT FORM */
/* Contact Section */
#contact {
    background: #f8f9fa;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 100px 20px 80px;
}

.contact-container h2 {
    font-size: 2.8rem;
    color: #007bff;
    margin-bottom: 15px;
}

.contact-container > p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: #007bff;
    margin-top: 5px;
}

.info-item h4 {
    margin-bottom: 8px;
    color: #222;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 80px 15px 60px;
    }

    .contact-container h2 {
        font-size: 2.2rem;
    }
}

/*TRACK SHIPPMENT*/
 /* #track .tracking-container {
      max-width: 780px;
      margin: 0 auto;
      text-align: center;
    }

    .tracking-input-group {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
      margin: 48px 0 60px;
    }

    #tracking-number {
      flex: 1;
      min-width: 260px;
      max-width: 420px;
      padding: 16px 20px;
      font-size: 1.1rem;
      border: 2px solid #cbd5e1;
      border-radius: 12px;
      outline: none;
      transition: border-color 0.25s;
    }

    #tracking-number:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
    }

    #track-btn {
      padding: 16px 40px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 12px;
      font-size: 1.1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s;
    }

    
    #track-btn:hover {
      background: #0055dd;
      transform: translateY(-2px);
    }

    #tracking-result {
      display: none;
      background: black;
      padding: 40px;
      border-radius: 16px;
      box-shadow: var(--shadow);
      text-align: left;
    }

    .status-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 32px;
      padding-bottom: 24px;
      border-bottom: 1px solid #e2e8f0;
    }

    .current-status {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
    }

    .eta {
      color: var(--gray);
      font-size: 1.05rem;
    }

    .timeline {
      position: relative;
      padding-left: 40px;
    }

    .timeline::before {
      content: '';
      position: absolute;
      top: 8px;
      bottom: 0;
      left: 12px;
      width: 4px;
      background: #e2e8f0;
    }

    .timeline-step {
      position: relative;
      margin-bottom: 32px;
    }

    .timeline-step:last-child { margin-bottom: 0; }

    .step-circle {
      position: absolute;
      left: -40px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #e2e8f0;
      border: 4px solid white;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 0.9rem;
    }

    .timeline-step.completed .step-circle {
      background: var(--success);
    }

    .timeline-step.current .step-circle {
      background: var(--primary);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(0,102,255,0.4); }
      70% { box-shadow: 0 0 0 12px rgba(0,102,255,0); }
      100% { box-shadow: 0 0 0 0 rgba(0,102,255,0); }
    }

    .step-title {
      font-weight: 600;
      margin-bottom: 6px;
    }

    .step-time {
      color: var(--gray);
      font-size: 0.95rem;
    }

    .tracking-details {
      margin-top: 40px;
      padding-top: 32px;
      border-top: 1px solid #e2e8f0;
    }

    .detail-row {
      display: flex;
      justify-content: space-between;
      margin-bottom: 16px;
    }

    .detail-label { color: var(--gray); font-weight: 500; }
    .detail-value { font-weight: 600; }

    .error-message {
      color: var(--error);
      font-weight: 500;
      margin: 20px 0;
      display: none;
    } */