/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated Font */
body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
}

/* Topbar */
.toppart {
  background-color: #003366;
  color: rgb(242, 244, 245);
  text-align: center;
  padding: 10px;
  font-size: 14px;
  position: relative; /* <-- ADDED THIS LINE */
}

.toppart small {
  margin: 0 15px;
}

/* New Header CSS */
header {
  display: flex;
  align-items: center;
  padding: 20px;
  background-color: rgb(244, 240, 236);
  border-bottom: 2px solid #ccc;
  min-height: 140px;
}

.logo {
  /* Use flexbox to center logo horizontally within its space */
  display: flex;
  align-items: center;
}

.logo img {
  height: 100px;
  width: auto;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 5px 15px rgba(0, 80, 158, 0.3));
}

.title {
  /* Let title fill the remaining space and center its content */
  flex-grow: 1;
  text-align: center;
}

.title h1 {
  font-size: 2.5rem;
  color: #003366;
  margin: 0 0 5px 0;
  font-weight: bold;
}

.title p {
  color: #666;
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive header */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
    min-height: auto;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .title {
    margin-left: 0;
  }
  
  .title h1 {
    font-size: 2rem;
  }
}

/* Mobile optimization */
@media (max-width: 768px) {
    /* Removed .header-bg media query rules as it's no longer an image */
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1.2rem;
    }
}

/* Updated Heading Colors */
h1, .title-h2 {
    color: #003366; /* Your primary blue */
    text-align: center;
}

h2 {
    color: #ffd700; /* Your accent gold */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    text-align: center;
}

/* Navbar */
.navbar {
  background-color: #003366;
  text-align: center;
  padding: 15px 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  transition: color 0.3s ease;
  position: relative; /* Added for underline effect */
}

/* Remove yellow underline and add glow effect instead */
.navbar a::before {
    display: none !important;
}

.navbar a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.navbar a:hover {
    color: #ffd700 !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

/* Main Content */
.main {
  padding: 20px;
}

/* Header Section */
.header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* NEW BACKGROUND VIDEO STYLES */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; 
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures the video covers the container without distortion */
    /* Apply the same darkening effect for text readability */
    filter: brightness(0.6) contrast(1.1); 
}
/* END NEW BACKGROUND VIDEO STYLES */


/* Stronger overlay for colored background - KEPT FOR TEXT READABILITY */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Added a slight dark tint for contrast */
    z-index: 2;
}

/* Ensure text is clearly visible over the truck image/video */
.header-content {
    position: relative;
    z-index: 3;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(244, 140, 80, 0.9);
}

.header-content h1:nth-child(2) {
    color: #ffd700; /* Keep the golden accent */
}

.header-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.btn-primary {
  background: linear-gradient(45deg, #00509e, #003366);
  color: #ffffff; /* Changed from #f3c15c to white for better contrast */
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  transition: transform 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, #003366, #00509e);
  color: #ffd700; /* Gold text on hover for nice effect */
}

/* About Us Section */
.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 40px;
    background-color: white;
    flex-wrap: wrap;
    justify-content: center;
}

.about-content, .about-img {
    flex: 1;
    min-width: 30px;
}

.about-img img {
    width: 100%; /* Changed from fixed 1500px to responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: add some styling */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

.about-content h2 {
    margin-bottom: 15px;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
}

/* ===========================================
   ABOUT US PAGE STYLES
   =========================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #6584a3, #00509e);
    color: white;
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(45deg, transparent 49%, white 50%);
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(186, 184, 184, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

/* Left Column - Image */
.about-left {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 80, 158, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(45deg, #00509e, #003366);
    color: white;
    padding: 30px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 80, 158, 0.3);
    min-width: 120px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.experience-number {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    color: #ffd700;
}

.experience-text {
    font-size: 0.9rem;
    margin-top: 5px;
    line-height: 1.2;
}

/* Right Column - Content */
.about-right {
    padding-left: 20px;
}

.section-header {
    margin-bottom: 30px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(45deg, #00509e, #ffd700);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    color: #003366;
    font-weight: bold;
    line-height: 1.2;
    margin: 0;
}

.about-text {
    color: #555;
    line-height: 1.8;
}

.lead-paragraph {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.services-list li {
    position: relative;
    padding: 12px 0 12px 40px;
    margin-bottom: 10px;
    border-left: 3px solid #00509e;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: -12px;
    top: 12px;
    background: #00509e;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.services-list li:hover {
    background: rgba(0, 80, 158, 0.05);
    padding-left: 30px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #003366, #00509e);
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================================
   STATS SECTION (INDEX PAGE)
   =========================================== */

.stats {
    padding: 80px 20px;
    background: linear-gradient(135deg, #6584a3, #00509e);
    color: white;
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(45deg, transparent 49%, #003366 50%);
    transform: translateY(-25px);
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    min-width: 220px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.3));
}

.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 15px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.stat-box p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===========================================
   FOOTER SECTION
   =========================================== */

footer {
    background: linear-gradient(135deg, #1a1a1a, #333333);
    color: white;
    padding: 60px 0 20px 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
    border-radius: 2px;
}

.contact-info p {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    color: #3256e8;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    color: #ffd700;
    transform: translateX(5px);
}
@media (max-width: 400px) {
    .page-title {
        font-size: 2rem !important;
        color: rgb(255, 255, 255) !important;
    }
    
    .page-subtitle {
        font-size: 1rem !important;
        color: #f0f0f0 !important;
    }
}
.contact-info p::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 0;
}

.contact-info p:nth-child(3)::before { content: '📞'; }
.contact-info p:nth-child(4)::before { content: '📧'; }

.quicklinks .links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quicklinks a {
    color: #cccccc;
    text-decoration: none;
    padding: 8px 0;
    border-left: 3px solid transparent;
    padding-left: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.quicklinks a:hover {
    color: #ffd700;
    border-left-color: #ffd700;
    padding-left: 25px;
    background: rgba(255, 215, 0, 0.1);
}

.social-media {
    text-align: center;
}

/* Enhanced Social Media Button Styles */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* WhatsApp Button */
.social-link.whatsapp {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.social-link.whatsapp:hover {
    background: linear-gradient(45deg, #128C7E, #25D366);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Facebook Button */
.social-link.facebook {
    background: linear-gradient(45deg, #1877F2, #42A5F5);
}

.social-link.facebook:hover {
    background: linear-gradient(45deg, #42A5F5, #1877F2);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
}

/* Instagram Button */
.social-link.instagram {
    background: linear-gradient(45deg, #E4405F, #F56040, #FFDC80);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #F56040, #E4405F, #FFDC80);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.4);
}

/* Add pulse animation on hover */
.social-link:hover {
    animation: socialPulse 0.6s ease-in-out;
}

@keyframes socialPulse {
    0% { transform: translateY(-5px) scale(1.1); }
    50% { transform: translateY(-7px) scale(1.15); }
    100% { transform: translateY(-5px) scale(1.1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 400px) {
    .about-row {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-right {
        padding-left: 0;
    }
    
    .experience-badge {
        position: static;
        margin: 20px auto 0 auto;
        transform: none;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats {
        gap: 30px;
        padding: 60px 20px;
    }
    
    .stat-box {
        min-width: 180px;
        padding: 30px 20px;
    }
    
    .counter {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .quicklinks .links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .stats {
        gap: 20px;
        padding: 40px 15px;
    }
    
    .stat-box {
        min-width: 150px;
        padding: 25px 15px;
    }
    
    .counter {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    footer {
        padding: 40px 0 15px 0;
    }
}

/* Animations */
/* ===========================================
   ANIMATION STYLES
   =========================================== */

/* Scroll Animation Base Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.animate {
    opacity: 1;
}

/* Slide In From Left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In From Right */
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Scale Up Animation */
.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scale-up.animate {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delay for multiple elements */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* Hero Text Animations */
.hero-text-1, .hero-text-2, .hero-text-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: heroTextSlide 1s ease-out forwards;
}

.hero-text-1 { animation-delay: 0.3s; }
.hero-text-2 { animation-delay: 0.6s; color: #ffd700; }
.hero-text-3 { animation-delay: 0.9s; }

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: heroTextSlide 1s ease-out 1.2s forwards;
}

@keyframes heroTextSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
   HOVER EFFECTS
   =========================================== */

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(45deg, #00509e, #003366);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 80, 158, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 80, 158, 0.4);
}

/* Service Card Hover Effects */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 80, 158, 0.2);
    border: 2px solid #00509e;
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    transform: rotate(360deg) scale(1.2);
}

/* Navigation Link Hover Effects */
.navbar a {
    position: relative;
    transition: all 0.3s ease;
}

.navbar a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4a);
    transition: left 0.3s ease;
}

.navbar a:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

.navbar a:hover::before {
    left: 0;
}

/* Stats Counter Hover Effects */
.stat-box:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(252, 248, 131, 0.2);
}

.stat-box .counter {
    transition: all 0.3s ease;
}

.stat-box:hover .counter {
    color: #ffd700;
    transform: scale(1.2);
}

/* Logo Hover Effect */
.logo img {
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(0, 80, 158, 0.3));
}

/* Contact Info Hover */
.toppart small {
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 15px;
}

.toppart small:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    transform: scale(1.05);
}

/* Glow Effect */
.glow-on-hover:hover {
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.3);
}

/* Bounce Effect */
.bounce-on-hover:hover {
    animation: bounceHover 0.6s ease;
}

@keyframes bounceHover {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-10px); }
    50% { transform: translateY(-5px); }
    75% { transform: translateY(-8px); }
}

/* Pulse Effect */
.pulse-on-hover:hover {
    animation: pulseHover 1.5s infinite;
}

@keyframes pulseHover {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Wobble Effect */
.wobble-on-hover:hover {
    animation: wobbleHover 0.8s ease;
}

@keyframes wobbleHover {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}

/* ===========================================
   PARALLAX & FLOATING EFFECTS
   =========================================== */

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    opacity: 0.1;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: white;
    text-align: center;
    cursor: pointer;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    40% {
        transform: translateY(-10px) rotate(-45deg);
    }
    60% {
        transform: translateY(-5px) rotate(-45deg);
    }
}

/* Services Section Styles */
.services {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #00509e, #ffd700);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
   
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff6600, #ff8533);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    background: linear-gradient(45deg, #ff8533, #ff6600);
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ===========================================
   CONTACT & QUOTE PAGE STYLES
   =========================================== */

.contact-container, .quote-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 80, 158, 0.1);
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    margin: 5px 0;
}

.contact-form, .quote-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 80, 158, 0.1);
}

.form-title {
    color: #003366;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00509e;
    box-shadow: 0 0 10px rgba(0, 80, 158, 0.2);
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form, .quote-form {
        padding: 30px 20px;
    }
}

/* ===========================================
   COURIER CALCULATOR STYLES (Quote Page)
   =========================================== */

.courier-calculator {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 80, 158, 0.1);
    margin-top: 40px;
}

.calculator-title {
    color: #003366;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.calculator-form {
    display: grid;
    gap: 20px;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.calc-group {
    display: flex;
    flex-direction: column;
}

.calc-group label {
    color: #003366;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.calc-group input,
.calc-group select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: #00509e;
    box-shadow: 0 0 10px rgba(0, 80, 158, 0.2);
}

.dimensions-group {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.dimensions-group.show {
    display: grid;
}

.calculate-btn {
    background: linear-gradient(45deg, #00509e, #003366);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 80, 158, 0.3);
}

.result-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9ff, #e6f2ff);
    border-radius: 10px;
    border-left: 5px solid #00509e;
}

.rate-display {
    font-size: 1.5rem;
    color: #003366;
    font-weight: bold;
    margin-bottom: 15px;
}

.rate-breakdown {
    color: #666;
    font-size: 0.9rem;
}

.rate-breakdown div {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

/* ===========================================
   LANGUAGE SWITCHER STYLES
   =========================================== */

.language-switcher {
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 1000;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: linear-gradient(45deg, #ff6600, #ff8533);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(255, 102, 0, 0.3);
}

.language-btn:hover {
    background: linear-gradient(45deg, #ff8533, #ff6600);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
    border: 1px solid #e0e0e0;
}

.language-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: linear-gradient(90deg, #f8f9ff, #e6f2ff);
    color: #00509e;
    transform: translateX(3px);
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:last-child {
    border-radius: 0 0 8px 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-switcher {
        top: 5px;
        right: 10px;
    }
    
    .language-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .language-options {
        min-width: 100px;
    }
    
    .language-option {
        padding: 8px 12px;
        font-size: 12px;
    }
}
