* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header Styling */
.modern-header {
    background-color: whitesmoke;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    height: 38px;
}

nav {
    margin-left: 3rem;
    display: flex;
    gap: 2rem;
    flex-grow: 1;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #0b0101 !important;
    font-weight: bold !important;
    font-size: 0.95rem;
    position: relative;
    padding: 0.75rem 1rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.enquiry-button {
    background: rgb(30, 126, 158);
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: none;
    cursor: pointer;
}

.enquiry-icon {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 1rem;
    }
}

/*phone styling*/
.phone-dropdown {
    position: relative;
    cursor: pointer;
    
    
  }
  
  .dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 1rem;
    z-index: 1001;
    margin-top: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
  }
  .phone-icon {
    font-size: 20px;
    color: #1a4f7c;
    transition: transform 0.3s ease;
  }
  .phone-icon:hover {
    transform: scale(1.1);
  }
  .phone-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .contact-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  
  .whatsapp-link {
    display: flex;
    align-items: center;
  }
  
  .whatsapp-icon {
    font-size: 26px;
    color: #25D366;
    transition: transform 0.3s ease;
  }
  
  .whatsapp-icon:hover {
    transform: scale(1.1);
  }
  
  .phone-dropdown {
    position: relative;
    cursor: pointer;
  }
  
  .dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 1rem;
    z-index: 1001;
    margin-top: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
  }
  
  .phone-dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .contact-item {
    padding: 0rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .contact-item h3 {
    color: black;
    font-size: 1rem;
    margin: 0;
    font-weight: bolder;
    font-family: 'Times New Roman', Times, serif;
  }
  
  .contact-item p {
    color: rgb(52, 51, 51);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    font-weight: 500;
    font-family: 'Times New Roman', Times, serif;
  }
  
  @media (max-width: 768px) {
    .dropdown-content {
        right: 50%;
        transform: translateX(50%);
    }
  }
/*country*/
.map-dropdown {
    position: relative;
    cursor: pointer;
}

.country-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0.5rem;
    z-index: 1001;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.map-dropdown.active .country-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.country-item {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s;
    text-decoration: none;
    color: inherit;
}

.country-item:hover {
    background-color: #f5f5f5;
}

.country-item img {
    width: 30px;
    height: 20px;
    object-fit: cover;
}

/* Modal Styling */
/* Modal Styling */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    position: relative;
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.form-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

/* Ensure modal title is centered and styled properly */
.modal-content h2 {
    text-align: center;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a365d;
    font-weight: 500;
}

.required {
    color: #dc2626;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
}

.submit-button {
    width: 100%;
    background: #2563eb;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 640px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-content {
        padding: 1.5rem;
    }
}

/* Show Modal */
.modal.active {
    display: flex;
}

/* Required field asterisk */
.required {
    color: #DC2626;
    margin-left: 2px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
    /* Add some spacing above the checkbox group */
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: 20px;
    height: 20px;
}

.checkbox-group label {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}




/* Reset and Base Styles */
:root {
    --primary: #00509E;
    --secondary: #00296B;
    --accent: #003F88;
    --text: #333;
    --light: #F5F7FA;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#hero-BPlHQZ {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../../assets/home-image.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
    margin-top: 80px;
    animation: slowZoom 20s ease-in-out infinite alternate;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .hero-content h1 {
    font-size: 4.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: white;
    font-family: 'Georgia', serif;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.3s;
    position: relative;
    display: inline-block;
  }
  
  .hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transform: translateX(-50%);
    animation: lineExpand 1s ease forwards 1s;
  }
  
  .hero-content p {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.6s;
  }
  
  .cta-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
    transition: all 0.3s ease;
  }
  
  .cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
  }
  
  @keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
  }
  
  @keyframes lineExpand {
    from {
        width: 0;
    }
    to {
        width: 60%;
    }
  }
  
  @media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
  }
  
  

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin: 15px 0;
    color: var(--secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary);
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.service-features i {
    color: var(--accent);
    font-size: 14px;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: var(--primary);
    color: var(--white);
}








/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    padding: 40px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: var(--text);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

.fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

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


/* Modern Footer */
.modern-footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 2rem 1rem;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
  }
  
  .social-icon {
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
  }
  
  .social-icon:hover {
    color: var(--accent-color);
  }
  
  .footer-section ul {
    list-style: none;
  }
  
  .footer-section ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-section ul a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
  }
  
  .footer-section ul a:hover {
    color: var(--white);
  }
  
  .footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #666;
  }
  

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }
    
    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Enhanced mobile responsiveness */
@media (max-width: 992px) {
  #hero-BPlHQZ {
    height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
    max-width: 90%;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .service-box {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .services-section {
    padding: 40px 20px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .section-title .subtitle {
    font-size: 0.9rem;
  }
  
  .service-box h3 {
    font-size: 1.3rem;
  }
  
  .service-features li {
    font-size: 0.9rem;
  }
  
  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
}

@media (max-width: 576px) {
  #hero-BPlHQZ {
    height: 50vh;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content h1::after {
    margin: 10px auto 15px;
    width: 80px;
    height: 3px;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    padding: 0 15px;
  }
  
  .cta-button {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title .subtitle {
    margin-bottom: 0.5rem;
  }
  
  .service-box {
    padding: 1.2rem;
  }
  
  .service-icon {
    height: 55px;
    width: 55px;
    margin-bottom: 10px;
  }
  
  .service-icon i {
    font-size: 1.5rem;
  }
  
  .service-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .service-features {
    margin-bottom: 1rem;
  }
  
  .close-modal {
    top: 0.8rem;
    right: 0.8rem;
  }
}

/* Mobile Responsiveness for Project Logistics Page */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a4f7c;
    margin-left: auto;
  }
  
  /* Desktop vs Mobile Layout */
  @media (min-width: 993px) {
    .mobile-menu-toggle {
      display: none;
    }
    
    nav {
      display: flex;
      margin-left: 3rem;
      gap: 4rem;
      flex-grow: 1;
    }
  }
  
  /* Tablet & Mobile Layout */
  @media (max-width: 992px) {
    .header-container {
      flex-wrap: wrap;
      padding: 0.75rem 1rem;
      justify-content: space-between;
    }
    
    .mobile-menu-toggle {
      display: block;
      order: 3;
    }
    
    nav {
      order: 5;
      width: 100%;
      flex-direction: column;
      gap: 1rem;
      align-items: flex-start;
      margin-left: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background-color: whitesmoke;
      position: absolute;
      top: 65px;
      left: 0;
      z-index: 1100;
    }
    
    nav.active {
      max-height: 300px;
      padding: 1rem;
      box-shadow: 0 8px 10px rgba(0,0,0,0.1);
    }
    
    .nav-link {
      width: 100%;
      padding: 0.75rem 1rem;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link:last-child {
      border-bottom: none;
    }
    
    .contact-actions {
      order: 2;
      margin-left: auto;
      margin-right: 10px;
    }
    
    .enquiry-button {
      order: 3;
    }
    
    .map-dropdown {
      order: 4;
    }
    
    /* Fix for hero section spacing */
    #hero-BPlHQZ {
      margin-top: 65px;
    }
  }
  
  /* Small Devices */
  @media (max-width: 768px) {
    .logo {
      height: 32px;
    }
    
    .contact-actions {
      gap: 1rem;
    }
    
    .enquiry-button {
      font-size: 0.9rem;
      padding: 0.25rem 0.5rem;
    }
    
    /* Project Logistics specific styles */
    .hero-content h1 {
      font-size: 2.2rem;
      line-height: 1.2;
      margin-bottom: 15px;
    }
    
    .hero-content p {
      font-size: 1rem;
      margin-bottom: 20px;
    }
    
    .cta-button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
    
    .services-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .section-title h2 {
      font-size: 1.8rem;
    }
    
    .service-box {
      padding: 20px;
    }
    
    .service-icon {
      width: 60px;
      height: 60px;
      margin-bottom: 15px;
    }
    
    .service-features li {
      font-size: 0.9rem;
    }
  }
  
  /* Extra Small Devices */
  @media (max-width: 576px) {
    .modern-header {
      height: 65px;
    }
    
    .header-container {
      padding: 0.5rem 1rem;
      height: 65px;
    }
    
    .logo {
      height: 30px;
    }
    
    .contact-actions {
      gap: 0.75rem;
    }
    
    .dropdown-content, 
    .country-content {
      right: -50px;
    }
    
    /* Ensure hero section content is visible */
    #hero-BPlHQZ {
      height: auto;
      min-height: 300px;
      padding: 60px 15px;
    }
    
    .hero-content h1 {
      font-size: 1.8rem;
      margin-bottom: 10px;
    }
    
    .hero-content p {
      font-size: 0.9rem;
      margin-bottom: 15px;
    }
    
    .cta-button {
      padding: 8px 16px;
      font-size: 0.8rem;
    }
    
    /* Service boxes on small screens */
    .service-box {
      padding: 15px;
    }
    
    .service-box h3 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }
    
    .service-icon {
      width: 50px;
      height: 50px;
      margin-bottom: 10px;
    }
    
    .service-icon i {
      font-size: 1.2rem;
    }
    
    .service-features li {
      font-size: 0.85rem;
      margin-bottom: 5px;
    }
    
    .learn-more {
      padding: 8px 16px;
      font-size: 0.85rem;
    }
    
    /* Better alignment for navigation dropdown */
    nav.active {
      top: 65px;
    }
    
    /* Fix for footer on small screens */
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .social-links {
      justify-content: center;
    }
  }

/* Toast notification styling */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1a4f7c;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  font-size: 14px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.hidden {
  display: none;
}