/* ================= IMANI GIFT LOGISTICS - MASTER STYLESHEET ================= */
/* Single, consolidated CSS file - no duplicates, no conflicts */

:root {
    --primary-color: #065e45;
    --secondary-color: #fff7d6;
    --accent-color: #a50e3c;
    --dark-color: #1e1e1e;
    --light-color: #ffffff;
    --text-color: #222222;
    --text-light: #777777;
    --section-padding: 80px 20px;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY & GLOBAL ================= */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-content {
    z-index: 1;
}

.section-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.section-image img:hover {
    transform: scale(1.03);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 15px;
}

.gallery-strip-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
  padding: 0;
}

.gallery-strip-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.gallery-strip-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
  padding: 0;
}

.gallery-strip-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 60px 0;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
}


/* ================= BUTTONS ================= */
.btn {
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,.15);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.btn-light {
    background: #fff;
    color: var(--primary-color) !important;
}

/* ================= ACCESSIBILITY ================= */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px dashed var(--primary-color);
    outline-offset: 3px;
}

/* ================= HEADER & NAVIGATION ================= */
/* ===============================
   HEADER BASE
================================= */

.header {
    background: var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Shadow effect when scrolling */
.header.scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===============================
   HEADER WRAPPER
================================= */

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

/* Shrink header slightly on scroll */
.header.scrolled .header-wrapper {
    height: 65px;
}

/* ===============================
   LOGO
================================= */

.logo img {
    width: clamp(70px, 8vw, 90px);
    height: auto;
    transition: transform 0.3s ease;
}

/* Slight shrink on scroll */
.header.scrolled .logo img {
    transform: scale(0.9);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ================= MODAL (BRAND VERSION) ================= */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(30, 30, 30, 0.65); /* uses dark tone */
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--light-color);
    margin: 6% auto;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    border-radius: 16px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-top: 6px solid var(--primary-color);
    animation: slideUp 0.3s ease;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-light);
    transition: 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-content h2 {
    margin-bottom: 18px;
    color: var(--primary-color);
}

.modal-content p {
    line-height: 1.7;
    margin-bottom: 12px;
    color: var(--text-color);
}

/* ================= ANIMATIONS ================= */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================= MOBILE TAGLINE (MARQUEE STRIP) ================= */

 .mobile-tagline .marquee {
       display: flex;
       justify-content: center;
       overflow: hidden;
       background-color: #065e45;
       color: #fff;
     }

     .mobile-tagline .ticker {
       display: inline-block;
       padding-left: 100%;
       white-space: nowrap;
       animation: scrollTagline 18s linear infinite;
     }

     .mobile-tagline .ticker::after {
       content: attr(data-text);
       padding-left: 60px;
     }

     @keyframes scrollTagline {
       0% {
         transform: translateX(0);
       }
       100% {
         transform: translateX(-100%);
       }
     }
/* ================= HERO (Shared) ================= */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-color) 100%);
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.8s ease forwards;
}

/* Decorative circle */
.hero::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(6, 94, 69, 0.08);
    border-radius: 50%;
    z-index: 0;
}

/* Keep content above background circle */
.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 16px;
}

/* Fix image styling properly */
.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    display: block;
}


/* ================= COOKIE CONSENT ================= */

#cookie-banner{
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: var(--dark-color);
color: var(--light-color);
padding: 18px 20px;
text-align: center;
display: none;
z-index: 9999;
box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

#cookie-banner p{
margin: 0 0 10px 0;
font-size: 14px;
color: var(--secondary-color);
}

#cookie-banner button{
background: var(--primary-color);
color: var(--light-color);
border: none;
padding: 10px 18px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: 0.3s ease;
}

#cookie-banner button:hover{
background: var(--accent-color);
}



/* Responsive Fix */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 25px;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero::after {
        display: none;
    }
}


/* ================= TRACKING FORM ================= */
.tracking-form {
    display: flex;
    gap: 16px;
    margin: 30px 0 35px;
    align-items: center;
}

.tracking-form input {
    flex: 1;
    padding: 18px 24px;
    border-radius: 30px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    transition: border 0.3s ease;
}

.tracking-form input:focus {
    border-color: var(--primary-color);
}

.tracking-form button {
    padding: 18px 30px;
    border-radius: 30px;
}

/* ================= TRUSTED (Homepage) ================= */
.trusted {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trusted-images {
    display: flex;
}

.trusted-images img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-left: -10px;
    border: 2px solid #fff;
}

/* ================= SECTION TITLES ================= */
.section-title {
    text-align: center;
    font-size: 36px;
}

.section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 10px auto 50px;
    color: var(--text-light);
}

.section-label {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

/* ================= SERVICES / CARDS (shared) ================= */
.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}


.service-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}


.service-icon {
    width: 65px;
    height: 65px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

/* ================= QUOTE FORM (Get a Quote page) ================= */
.quote-section {
    background: var(--secondary-color);
}

.quote-form-card {
    background: #fff;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    animation: fadeUp 0.8s ease forwards;
    max-width: 1000px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 30px;
}

.form-full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #fff;
}

.form-group textarea {
    border-radius: 25px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: center;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input {
    width: auto;
    margin-right: 5px;
}

.submit-area {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 15px;
}

.privacy-note i {
    color: var(--primary-color);
}

.secure-note {
    margin-top: 25px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ================= FORM MESSAGE (SUCCESS / ERROR) ================= */

.form-message {
  margin-top: 20px;
  padding: 14px;
  border-radius: 6px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #e6f7ee;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-message.error {
  display: block;
  background: #fdecea;
  color: #842029;
  border: 1px solid #f5c2c7;
}


/* ================= WHY CHOOSE US ================= */
.why-choose-us {
    background: #fff;
    border-radius: 30px;
    padding: 80px 20px;
}

.why-choose-us .container {
    max-width: 1200px;
    margin: auto;
}

.why-choose-us h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.why-choose-us ul {
    list-style: none;
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-choose-us li {
    margin-bottom: 14px;
    font-weight: 500;
    font-size: 18px;
}

.why-choose-us i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Legacy why-content (for homepage variant) */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.why-text ul {
    list-style: none;
    margin-top: 25px;
}

.why-text li {
    margin-bottom: 14px;
    font-weight: 500;
}

.why-text i {
    color: var(--primary-color);
    margin-right: 10px;
}

.why-image img {
    border-radius: 20px;
}

/* ================= INDUSTRIES ================= */
.industries {
    background: var(--secondary-color);
}

/* ================= TESTIMONIALS ================= */
.testimonials {
    background: #fff;
}

.testimonial-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    animation: fadeUp 0.8s ease forwards;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Legacy testimonial-card (single column variant) */
.testimonial-card:not(.testimonial-container .testimonial-card) {
    max-width: 600px;
    margin: auto;
}

.stars {
    color: gold;
    margin-bottom: 15px;
}

/* ================= CTA ================= */
.cta {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    font-size: 42px;
    color: #fff;
}

.cta p {
    color: #e5e5e5;
    margin: 15px 0 30px;
    font-size: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cta .btn-outline {
    border-color: #fff;
    color: #fff;
}

/* ================= CONTACT PAGE ================= */
.contact-hero {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    border-radius: 0 0 40px 40px;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.contact-hero p {
    opacity: 0.9;
}

.contact-section {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
}

.contact-info h2 {
    margin-bottom: 10px;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
}

.contact-form h2 {
    margin-bottom: 25px;
}

/* ================= FOOTER ================= */
.footer {
    background: var(--dark-color);
    color: #ccc;
    padding: 70px 20px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.3), transparent);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-logo img {
    width: 90px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #ccc;
    margin-right: 12px;
    font-size: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h3 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= RESPONSIVE ================= */


/* ===============================
   MOBILE (≤ 768px)
================================= */
@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    img, video {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* Mobile Header */
    .menu-toggle {
        display: block;
    }

    .auth-buttons {
        display: none;
    }

    .header-wrapper {
        padding: 15px 20px;
        height: auto;
    }

    .logo img {
        width: clamp(90px, 22vw, 130px);
        height: auto;
    }

    /* Navigation */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        padding: 20px;
        opacity: 0;
        transform: translateY(-10px);
        transition: 0.3s ease;
    }

    .nav.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Stack all grid layouts */
    .section-grid,
    .hero,
    .why-content,
    .contact-wrapper,
    .footer-container,
    .testimonial-container,
    .why-choose-us ul,
    .form-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 40px 20px;
        gap: 30px;
    }

    /* ===============================
       LOGISTICS SERVICES SECTION
    ================================= */
    .logistics-services {
        padding: 50px 20px;
        text-align: center;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 25px;
        width: 100%;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        margin: 0 auto;
    }

    .service-card img {
        max-width: 100%;
        height: auto;
    }

    /* Hide gallery strips ONLY on mobile */
    .gallery-strip,
    .image-strip,
    .trusted-images,
    .hero-gallery,
    .gallery-strip-1,
    .gallery-strip-2 {
        display: none !important;
    }

    /* Reorder section image */
    .section-image {
        order: -1;
        margin-bottom: 25px;
    }

    /* Buttons stacked */
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Forms */
    .tracking-form {
        flex-direction: column;
        gap: 15px;
    }

    .tracking-form input,
    .tracking-form button {
        width: 100%;
    }

    .submit-area {
        flex-direction: column;
        gap: 10px;
    }

    .contact-hero h1 {
        font-size: clamp(28px, 5vw, 36px);
    }
}


/* ===============================
   SMALL MOBILE (≤ 480px)
================================= */
@media (max-width: 480px) {

    .logo img {
        width: clamp(80px, 30vw, 100px);
    }

    .contact-hero h1 {
        font-size: 26px;
    }

    .section-grid,
    .hero,
    .why-content,
    .contact-wrapper,
    .footer-container,
    .testimonial-container,
    .why-choose-us ul,
    .form-grid {
        padding: 30px 15px;
    }

    .logistics-services {
        padding: 40px 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .cta-buttons {
        gap: 12px;
    }
}


/* ===============================
   TABLET (≤ 1024px)
================================= */
@media (max-width: 1024px) {

    .section-grid,
    .hero,
    .why-content,
    .contact-wrapper,
    .footer-container,
    .testimonial-container,
    .form-grid {
        gap: 40px;
    }

    .logo img {
        width: clamp(100px, 12vw, 150px);
    }
}
