﻿/* Loading Animation */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

    #loader img {
        width: 150px;
        animation: pulse 1.5s infinite ease-in-out;
    }

    #loader.fade-out {
        opacity: 0;
        pointer-events: none;
    }

:root {
    --primary: #FF6B00;
    --primary-dark: #E05E00;
    --white: #FFFFFF;
    --light: #FFF5EF;
    --dark: #222222;
    --text: #444444;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border: 1px solid #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    font-size: 14px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-8, .col-md-4, .col-md-6, .col-lg-3, .col-md-3 {
    padding: 0 15px;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

    header.scrolled {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

.top-bar {
    background-color: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

.top-links {
    display: flex;
    gap: 20px;
}

    .top-links a {
        color: var(--white);
        text-decoration: none;
        transition: color 0.3s;
    }

        .top-links a:hover {
            color: var(--primary);
        }

.main-header {
    padding: 15px 0;
    transition: all 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 80px;
    transition: all 0.3s;
}

.main-nav {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

    .main-nav a {
        color: var(--dark);
        text-decoration: none;
        margin: 0 15px;
        font-weight: 500;
        position: relative;
        transition: all 0.3s;
    }

        .main-nav a:hover {
            color: var(--primary);
        }

        .main-nav a.active {
            color: var(--primary);
        }

            .main-nav a.active:after {
                content: '';
                position: absolute;
                bottom: -10px;
                left: 0;
                width: 100%;
                height: 2px;
                background-color: var(--primary);
                animation: underline 0.3s ease;
            }

.cta-button {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

    .cta-button:hover {
        background-color: transparent;
        color: var(--primary);
        transform: translateY(-2px);
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
}

    .mobile-menu-btn:hover {
        color: var(--primary);
    }

/* Hero Section */
.hero {
    background-color: var(--light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    height: 500px; /* Fixed minimum height */
    display: flex;
    align-items: center;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background-color: var(--primary);
        border-radius: 50%;
        opacity: 0.1;
        animation: float 6s ease-in-out infinite;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -100px;
        width: 300px;
        height: 300px;
        background-color: var(--primary);
        border-radius: 50%;
        opacity: 0.1;
        animation: float 8s ease-in-out infinite;
    }

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
    line-height: 1.2;
}

.hero p {
    font-size: 15px;
    max-width: 500px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Form Container */
.form-container {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    height: 100%;
}

/* Form Tabs - Updated Styling */
.form-tabs {
    display: flex;
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid var(--primary);
}

.tab-btn {
    flex: 1;
    padding: 12px 10px;
    background-color: var(--white);
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

    .tab-btn.active {
        background-color: var(--primary);
        color: var(--white);
    }

/* Form Content */
.form-content {
    display: none;
}

    .form-content.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

/* Track Order Form */
.track-form .input-group {
    margin-bottom: 20px;
}

.track-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.track-form input {
    width: 100%;
    padding: 12px 15px;
    border: var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

    .track-form input:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    }

.track-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

    .track-form button:hover {
        background-color: var(--primary-dark);
    }

/* Shipment Form */
.shipment-form .form-group {
    margin-bottom: 15px;
}

.shipment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

.shipment-form input,
.shipment-form select {
    width: 100%;
    padding: 12px 15px;
    border: var(--border);
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

    .shipment-form input:focus,
    .shipment-form select:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
    }

.shipment-form button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

    .shipment-form button:hover {
        background-color: var(--primary-dark);
    }

/* Services Section */
.services {
    padding: 50px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--dark);
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary);
        }

    .section-title p {
        max-width: 700px;
        margin: 0 auto;
        font-size: 1.1rem;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-top: 3px solid var(--primary);
    opacity: 0;
    transform: translateY(20px);
}

    .service-card.animate {
        opacity: 1;
        transform: translateY(0);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(255, 107, 0, 0.1);
    }

.service-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.4rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(to right, #373b44, #4286f4) !important;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .stats::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

    .stat-item.animate {
        opacity: 1;
        transform: translateY(0);
    }

    .stat-item h3 {
        font-size: 3rem;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .stat-item p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

    .feature-item:nth-child(even) {
        transform: translateX(20px);
    }

    .feature-item.animate {
        opacity: 1;
        transform: translateX(0);
    }

    .feature-item:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 25px rgba(255, 107, 0, 0.1);
    }

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s;
}

.feature-item:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}

.feature-content h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.3rem;
}

/* OTP Verification Modal */
.otp-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

    .otp-modal.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

.otp-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    position: relative;
}

.otp-header {
    margin-bottom: 20px;
    text-align: center;
}

    .otp-header h3 {
        color: var(--dark);
        margin-bottom: 10px;
    }

    .otp-header p {
        color: var(--text);
    }

.otp-inputs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .otp-inputs input {
        width: 50px;
        height: 50px;
        text-align: center;
        font-size: 18px;
        border: var(--border);
        border-radius: 4px;
    }

        .otp-inputs input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
        }

.otp-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .otp-actions button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
    }

.otp-verify {
    background-color: var(--primary);
    color: var(--white);
}

.otp-resend {
    background: none;
    color: var(--primary);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
        background-color: var(--primary);
    }

.footer-column ul {
    list-style: none;
}

    .footer-column ul li {
        margin-bottom: 12px;
    }

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

    .footer-column a:hover {
        color: var(--primary);
        padding-left: 5px;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border-radius: 50%;
        transition: all 0.3s;
    }

        .social-links a:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes underline {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 106px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        opacity: 0;
    }

        .main-nav.active {
            transform: translateY(0);
            opacity: 1;
        }

        .main-nav a {
            margin: 10px 0;
            padding: 10px 0;
        }

    .mobile-menu-btn {
        display: block;
    }

    .col-md-8, .col-md-4, .col-md-6, .col-lg-3, .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero {
        height: auto;
        padding: 80px 0;
    }

    .hero-text {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .form-container {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

    .tab-btn {
        padding: 10px 5px;
        font-size: 0.9rem;
    }

    .services, .stats, .features {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-links {
        justify-content: center;
    }

    .hero {
        padding: 60px 0;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

    .otp-inputs input {
        width: 40px;
        height: 40px;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }
}


/*Floating logo start*/
.icons {
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin-top: -120px !important;
}

.icon-container {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: floating;
    animation-name: floating;
    -webkit-animation-play-state: running;
    animation-play-state: running;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 5px 40px 0 rgba(23, 28, 33, 0.13), 0 20px 13px 0 rgba(23, 28, 33, 0.05);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 1;
    -webkit-transition: margin 1s cubic-bezier(0.2, 0.6, 0.3, 1), opacity 2s ease;
    transition: margin 1s cubic-bezier(0.2, 0.6, 0.3, 1), opacity 2s ease;
    animation-duration: 4s;
    height: 144px;
    margin-left: 76px;
    margin-top: -25px;
    position: absolute;
    width: 144px;
}

@keyframes floating {
    0% {
        -webkit-transform: translateY(8px) rotate3d(0, 0, 1, 3deg);
        transform: translateY(8px) rotate3d(0, 0, 1, 3deg);
    }

    100% {
        -webkit-transform: translateY(-8px) rotate3d(0, 0, 1, 0deg);
        transform: translateY(-8px) rotate3d(0, 0, 1, 0deg);
    }
}

.icon {
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}


.google {
    -webkit-animation-duration: 4s;
    animation-duration: 4s;
    height: 90px;
    margin-left: -6px;
    margin-top: 20px;
    position: absolute;
    width: 90px;
}
/*Floating logo ends*/