/* Custom CSS for GShipment Creative Website */

/* Global Styles */
:root {
    --primary-color: #4e57ef;
    --secondary-color: #6c757d;
    --accent-color: #00d09c;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #4e57ef 0%, #8a94f8 100%);
    --gradient-accent: linear-gradient(135deg, #00d09c 0%, #4e57ef 100%);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: #f9faff;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-animated:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a42d1;
    border-color: #3a42d1;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(78, 87, 239, 0.5);
    transition: all 0.4s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(78, 87, 239, 0.7);
    transform: translateY(-3px);
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 2rem;
    border-radius: 2px;
    position: relative;
}

.title-underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    left: 20px;
    top: 0;
    border-radius: 2px;
    animation: underlineMove 3s infinite;
}

@keyframes underlineMove {
    0% { left: 0; }
    50% { left: 40px; }
    100% { left: 0; }
}

.section-subtitle {
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.ship-logo {
    animation: float 3s ease-in-out infinite;
}

.ship-body {
    fill: var(--primary-color);
}

.ship-sail {
    fill: var(--accent-color);
    transform-origin: center;
    animation: sailWave 2s ease-in-out infinite;
}

.ship-window {
    fill: white;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes sailWave {
    0%, 100% { transform: skewX(0); }
    50% { transform: skewX(-5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

.dot {
    animation: dotFade 1.5s infinite;
    opacity: 0;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.5s; }
.dot:nth-child(3) { animation-delay: 1s; }

@keyframes dotFade {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Announcement Bar */
.announcement-bar {
    background: var(--gradient-primary);
    color: white;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.announcement-text {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.announcement-bar a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.announcement-bar a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.promo-code {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    animation: pulse 2s infinite;
}

/* Navigation */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-svg {
    margin-right: 10px;
    transition: all 0.3s ease;
}

.logo-bg {
    fill: var(--primary-color);
    transition: all 0.3s ease;
}

.logo-icon {
    fill: white;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-bg {
    fill: var(--accent-color);
}

.navbar-brand:hover .logo-svg {
    transform: rotate(10deg);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-text {
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: 5px;
    padding: 0.5rem;
}

.animated-dropdown {
    transform-origin: top center;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 400;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(78, 87, 239, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-pattern.svg');
    background-size: cover;
    opacity: 0.1;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.animated-heading {
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated-text {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    transition: all 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.pulse-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-box {
    position: absolute;
    padding: 10px 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark-color);
}

.floating-box i {
    color: var(--primary-color);
}

.box-1 {
    top: 20%;
    left: -20px;
    animation: float1 4s ease-in-out infinite;
}

.box-2 {
    top: 50%;
    right: -30px;
    animation: float2 5s ease-in-out infinite;
}

.box-3 {
    bottom: 15%;
    left: 10%;
    animation: float3 6s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -15px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 10px) rotate(-5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 10px) rotate(3deg); }
}

.hero-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.hero-shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: white;
    position: relative;
}

.service-tabs .nav-pills {
    border-radius: 50px;
    background-color: #f8f9fa;
    padding: 0.5rem;
    display: inline-flex;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-tabs .nav-link {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0;
}

.service-tabs .nav-link.active {
    color: white;
}

.service-tabs .nav-link.active::before {
    opacity: 1;
}

.service-tabs .nav-link:hover:not(.active) {
    background-color: rgba(78, 87, 239, 0.1);
    transform: translateY(-3px);
}

.service-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.service-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image img {
    transition: all 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-image:hover .service-image-overlay {
    opacity: 1;
}

.tracking-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tracking-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
    top: 30%;
    left: 20%;
    animation: trackingMove 4s linear infinite;
}

.tracking-path {
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    top: calc(30% + 4px);
    left: 20%;
}

@keyframes trackingMove {
    0% { left: 20%; }
    100% { left: 80%; }
}

.globe-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.globe-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    animation: globePulse 2s ease-in-out infinite;
}

.globe-path {
    position: absolute;
    width: 60%;
    height: 60%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    top: 20%;
    left: 20%;
    animation: globeRotate 10s linear infinite;
}

.dot1 { top: 30%; left: 30%; animation-delay: 0s; }
.dot2 { top: 50%; left: 70%; animation-delay: 0.5s; }
.dot3 { top: 70%; left: 40%; animation-delay: 1s; }

@keyframes globePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes globeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.warehouse-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.box {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 4px;
}

.box1 {
    top: 40%;
    left: 30%;
    animation: boxMove1 3s ease-in-out infinite;
}

.box2 {
    top: 60%;
    left: 50%;
    animation: boxMove2 4s ease-in-out infinite;
}

.box3 {
    top: 30%;
    left: 70%;
    animation: boxMove3 5s ease-in-out infinite;
}

@keyframes boxMove1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

@keyframes boxMove2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
}

@keyframes boxMove3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
}

.express-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.express-vehicle {
    position: absolute;
    font-size: 24px;
    color: var(--accent-color);
    top: 50%;
    left: 10%;
    animation: expressMove 4s linear infinite;
}

.express-path {
    position: absolute;
    width: 80%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    top: calc(50% + 12px);
    left: 10%;
}

@keyframes expressMove {
    0% { left: 10%; transform: translateY(-50%); }
    100% { left: 90%; transform: translateY(-50%); }
}

.service-title {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-description {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    margin-right: 15px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature-text {
    flex: 1;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #f8f9fa;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.feature-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    perspective: 1000px;
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front, .feature-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 2rem;
    border-radius: 10px;
}

.feature-card-front {
    background-color: white;
}

.feature-card-back {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.section-shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.section-shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.section-shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: white;
}

.testimonial-carousel {
    position: relative;
    padding: 0 50px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 1rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    padding-left: 1rem;
}

.rating {
    color: #ffc107;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #f8f9fa;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.author-info p {
    margin-bottom: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.carousel-control {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: none;
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.client-logos {
    margin-top: 4rem;
}

.client-logo-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.client-logo {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    padding: 0 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.client-logo img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Calculator Section */
.calculator-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.calculator-features {
    margin-top: 2rem;
}

.calculator-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.calculator-feature:hover {
    transform: translateX(10px);
}

.calculator-feature .feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(78, 87, 239, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.calculator-feature:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(10deg);
}

.calculator-feature .feature-content {
    flex: 1;
}

.calculator-feature h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.calculator-feature p {
    margin-bottom: 0;
    color: var(--secondary-color);
}

.calculator-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.calculator-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.calculator-header h4 {
    margin-bottom: 0;
    font-weight: 600;
}

.calculator-body {
    padding: 2rem;
}

.calculator-form .form-label {
    font-weight: 500;
}

.calculator-form .form-control,
.calculator-form .form-select {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.calculator-form .form-control:focus,
.calculator-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(78, 87, 239, 0.25);
}

.calculate-btn {
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.calculate-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.calculate-btn:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.shipping-options {
    margin-top: 1.5rem;
}

.shipping-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.option-header {
    display: flex;
    align-items: center;
}

.courier-logo {
    width: 60px;
    margin-right: 1rem;
}

.courier-logo img {
    max-width: 100%;
}

.delivery-time p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.option-details {
    display: flex;
    align-items: center;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-right: 1rem;
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-accent);
    position: relative;
    overflow: hidden;
}

.cta-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.particle1 {
    top: 20%;
    left: 10%;
    animation: particleMove1 5s linear infinite;
}

.particle2 {
    top: 70%;
    left: 20%;
    animation: particleMove2 7s linear infinite;
}

.particle3 {
    top: 40%;
    left: 70%;
    animation: particleMove3 6s linear infinite;
}

.particle4 {
    top: 80%;
    left: 80%;
    animation: particleMove4 8s linear infinite;
}

.particle5 {
    top: 30%;
    left: 40%;
    animation: particleMove5 9s linear infinite;
}

@keyframes particleMove1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(100px, 50px); }
    100% { transform: translate(0, 0); }
}

@keyframes particleMove2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-70px, -30px); }
    100% { transform: translate(0, 0); }
}

@keyframes particleMove3 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 80px); }
    100% { transform: translate(0, 0); }
}

@keyframes particleMove4 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-120px, -60px); }
    100% { transform: translate(0, 0); }
}

@keyframes particleMove5 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(80px, -40px); }
    100% { transform: translate(0, 0); }
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 5rem 0 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-svg {
    margin-right: 10px;
}

.footer-logo .logo-bg {
    fill: white;
}

.footer-logo .logo-icon {
    fill: var(--primary-color);
}

.footer-logo .logo-text {
    color: white;
    font-size: 1.5rem;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a:hover i {
    color: var(--accent-color);
}

.footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    margin-right: 1rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px) rotate(10deg);
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom-links {
    list-style: none;
    padding-left: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Count Up Animation */
.count-up {
    font-weight: 700;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .services-section,
    .why-choose-us,
    .testimonials-section,
    .calculator-section {
        padding: 4rem 0;
    }
    
    .feature-card-front, .feature-card-back {
        padding: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: var(--box-shadow);
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .dropdown-menu {
        box-shadow: none;
        padding-left: 1.5rem;
        border-left: 2px solid var(--primary-color);
    }
    
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-stats {
        margin-bottom: 2rem;
    }
    
    .hero-image-container {
        margin-top: 2rem;
    }
    
    .service-tabs .nav-pills {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .service-tabs .nav-link {
        margin-bottom: 0.5rem;
    }
    
    .service-image {
        margin-bottom: 2rem;
    }
    
    .client-logo {
        flex: 0 0 33.333%;
        max-width: 33.333%;
        margin-bottom: 1.5rem;
    }
    
    .calculator-section .col-lg-6:first-child {
        margin-bottom: 3rem;
    }
}

@media (max-width: 767.98px) {
    .announcement-bar {
        font-size: 0.8rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-carousel {
        padding: 0 30px;
    }
    
    .client-logo {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        max-height: 30px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.25rem;
        font-size: 1rem;
    }
    
    .service-tabs .nav-pills {
        background-color: transparent;
        padding: 0;
    }
    
    .service-tabs .nav-link {
        margin: 0.25rem;
        width: 100%;
        text-align: center;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
    
    .testimonial-author {
        padding: 1rem 1.5rem;
    }
    
    .client-logo {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .calculator-card {
        padding: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer h5 {
        margin-top: 2rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer p {
        text-align: center;
    }
    
    .footer-contact li {
        justify-content: flex-start;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }
}
