/* ===================== */
/* GENERAL STYLES */
/* ===================== */
:root {
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --white: #ffffff;
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

    /* Updated variables for header */
    --primary-light: linear-gradient(135deg, #a7f3d0, #6ee7b7);
    --primary-accent: #059669;
    --primary-accent-light: #047857;
    --text-dark: #064e3b;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    background: linear-gradient(to bottom, #d9f99d, #ecfdf5, #ffffff);
    color: var(--gray-800);
    line-height: 1.6;
    margin: 0;
    padding-top: 70px;
}

/* Override Bootstrap default styles that conflict with our design */
.container {
    max-width: 1200px !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Fix Bootstrap button conflicts */
.btn {
    border: none !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem;
}

.btn-green, .btn-success {
    background: var(--green-600) !important;
    color: #fff !important;
}

.btn-green:hover, .btn-success:hover {
    background: var(--green-700) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-blue, .btn-primary {
    background: var(--blue-600) !important;
    color: #fff !important;
}

.btn-blue:hover, .btn-primary:hover {
    background: var(--blue-700) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--gray-200) !important;
    color: var(--gray-800) !important;
}

.btn-secondary:hover {
    background: #d1d5db !important;
}

/* Fix Bootstrap modal conflicts */
.modal-content {
    border: none !important;
    border-radius: 1.25rem !important;
    box-shadow: var(--shadow-lg) !important;
}

.modal-header {
    border-bottom: 1px solid var(--gray-200) !important;
    padding: 1.5rem 1.5rem 1rem !important;
}

.modal-body {
    padding: 1rem 1.5rem !important;
}

.modal-footer {
    border-top: 1px solid var(--gray-200) !important;
    padding: 1rem 1.5rem 1.5rem !important;
}

.modal-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--gray-800) !important;
    margin: 0 !important;
}

.btn-close {
    padding: 0.5rem !important;
    margin: 0 !important;
}

/* Fix form controls */
.form-control, .form-select {
    border: 1px solid var(--gray-300) !important;
    border-radius: 0.5rem !important;
    padding: 0.6rem 0.8rem !important;
    transition: all 0.2s ease !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--blue-600) !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2) !important;
}

.form-label {
    font-weight: 600 !important;
    margin-bottom: 0.3rem !important;
    color: var(--gray-700) !important;
}

/* Fix table styles */
.table {
    margin-bottom: 0 !important;
}

.table-bordered {
    border: 1px solid var(--gray-200) !important;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--gray-200) !important;
}

/* HEADER - Light Green Gradient */
header.header {
    background: var(--primary-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* Higher than Bootstrap modals */
    color: var(--text-dark);
}

header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Navigation */
header nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

header nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.3rem 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

header nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: var(--primary-accent);
    transition: width 0.3s ease;
}

header nav a:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

header nav a:hover::after {
    width: 100%;
}

/* Mobile Navigation */
.nav-links {
    display: flex;
    gap: 20px;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 8px 12px;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-links a {
        padding: 6px 10px;
        margin: 2px 0;
        text-align: left;
        font-size: 14px;
        line-height: 1.2;
        border-radius: 6px;
        transition: background 0.2s;
        color: var(--green-700);
    }

    .nav-links a:hover {
        background: #f0f0f0;
    }

    .nav-links.show {
        display: flex;
    }

    .burger {
        display: block;
    }
}

/* ===================== */
/* HERO SECTION */
/* ===================== */
section.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #d1fae5 50%, #10b981 100%);
    color: #1f2937;
    position: relative;
    overflow: hidden;
}

section.hero::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #064e3b;
}

.hero-text p {
    font-size: 1.25rem;
    color: #374151;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 550px;
}

.hero-image {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: 1.25rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
        justify-content: space-between;
        padding: 0 2rem;
    }

    .hero-text {
        flex: 1;
        max-width: 50%;
    }

    .hero-image {
        flex: 1;
        max-width: 50%;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }
}

/* ===================== */
/* ABOUT SECTION */
/* ===================== */
section.about {
    padding: 6rem 1.5rem;
    background: #f0fdf4;
    color: #1f2937;
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #064e3b;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
}

.about-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.about-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.about-slider .slide {
    min-width: 100%;
    object-fit: cover;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 0.5rem;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    background: #d1fae5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #10b981;
}

@media (min-width: 768px) {
    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .about-text {
        flex: 1;
    }

    .about-slider-wrapper {
        flex: 1;
    }
}

/* ===================== */
/* CATEGORIES SECTION */
/* ===================== */
section.categories {
    padding: 6rem 1.5rem;
    background: #e0f2fe;
    color: #1f2937;
    text-align: center;
}

section.categories h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: #064e3b;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    border-radius: 1.5rem;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card.educational {
    background: linear-gradient(135deg, #10b981, #6ee7b7);
}

.category-card.burial {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.category-card.medical {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.category-card.emergency {
    background: linear-gradient(135deg, #f59e0b, #fcd34d);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.category-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease;
    transform-origin: center;
}

.category-icon-circle i {
    display: block;
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.category-card:hover .category-icon-circle {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.15);
}

.category-card:hover .category-icon-circle i {
    transform: scale(1.2);
}

.category-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.category-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===================== */
/* PROCESS SECTION */
/* ===================== */
section.process {
    padding: 6rem 1.5rem;
    background: #f0f9ff;
    color: #1f2937;
    text-align: center;
}

section.process h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: #064e3b;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-card {
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    color: #fff;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.process-card:nth-child(1) {
    background: radial-gradient(circle at center, #6ee7b7 0%, #10b981 100%);
}

.process-card:nth-child(2) {
    background: radial-gradient(circle at center, #60a5fa 0%, #3b82f6 100%);
}

.process-card:nth-child(3) {
    background: radial-gradient(circle at center, #fcd34d 0%, #f59e0b 100%);
}

.step-circle {
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #f4f5f4;
    margin-bottom: 10px;
}

.process-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.process-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===================== */
/* FORM STYLES */
/* ===================== */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.requirements {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 0.5rem;
}

.requirements h4 {
    margin-bottom: 0.5rem;
    color: #111827;
}

.requirements ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.requirements li {
    margin-bottom: 5px;
}

@media (max-width: 640px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== */
/* MODAL ACTIONS */
/* ===================== */
.modal-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
}

/* ===================== */
/* TRACKING NUMBER MODAL */
/* ===================== */
.tracking-success {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.success-icon {
    font-size: 3rem;
    color: var(--green-600);
    animation: pop 0.4s ease;
    flex-shrink: 0;
    line-height: 1;
}

.tracking-success-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.2;
}

.tracking-label {
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: left;
}

.tracking-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.1;
    padding: 0.8rem 1rem;
    background: var(--gray-50);
    border: 2px dashed var(--gray-300);
    border-radius: 0.75rem;
    text-align: center;
}

.tracking-display span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 1px;
    word-break: break-word;
}

@keyframes pop {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer.footer {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer h2 {
    font-size: 1rem;
    color: var(--green-700);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

footer p {
    color: var(--gray-500);
    margin-bottom: 0;
    font-size: 0.9rem;
}

footer .socials a {
    color: var(--gray-500);
    font-size: 1.3rem;
    margin: 0 0.3rem;
    transition: color 0.3s;
}

footer .socials a:hover {
    color: var(--green-600);
}

footer .copyright {
    color: var(--gray-400);
    margin-top: 0.5rem;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
}

/* ===================== */
/* TOAST STYLES - FIXED */
/* ===================== */

/* Default toast styles for desktop */
.custom-toast {
    min-width: 350px;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    backdrop-filter: blur(10px);
    overflow: hidden; /* This prevents content from overflowing the border radius */
}

/* Toast header - fixed border radius */
.toast-header {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: none !important;
}

/* Toast body - fixed border radius */
.toast-body {
    padding: 16px !important;
    color: white !important;
    font-weight: 500 !important;
    border-radius: 0 0 12px 12px !important;
    margin: 0 !important;
    border: none !important;
}

/* Success toast */
.toast-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.toast-success .toast-body {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

/* Danger toast */
.toast-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

.toast-danger .toast-body {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
}

/* Warning toast */
.toast-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

.toast-warning .toast-body {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}

/* Info toast */
.toast-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

.toast-info .toast-body {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

/* Toast progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    width: 100%;
    animation: progressBar 5s linear forwards;
    border-radius: 0 0 12px 12px;
}

@keyframes progressBar {
    0% { width: 100%; }
    100% { width: 0%; }
}

/* Toast icons */
.toast-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Close button styling */
.toast-header .btn-close {
    padding: 0.5rem !important;
    margin: 0 !important;
    filter: invert(0) !important;
}

/* Toast container positioning */
.toast-container {
    z-index: 9999 !important;
}

/* ===================== */
/* MOBILE TOAST STYLES */
/* ===================== */
@media (max-width: 576px) {
    /* Toast container adjustments for mobile */
    .toast-container {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0 15px 20px 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Mobile toast sizing */
    .custom-toast {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto 10px auto !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    }
    
    /* Mobile toast header */
    .toast-header {
        padding: 14px 16px !important;
        border-radius: 16px 16px 0 0 !important;
    }
    
    /* Mobile toast body */
    .toast-body {
        padding: 16px !important;
        font-size: 15px !important;
        border-radius: 0 0 16px 16px !important;
    }
    
    /* Mobile toast title */
    .toast-header .me-auto {
        font-size: 15px !important;
        font-weight: 600 !important;
    }
    
    /* Mobile close button */
    .toast-header .btn-close {
        padding: 0.4rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Stack toasts vertically on mobile */
    .toast-container > :not(:last-child) {
        margin-bottom: 10px !important;
    }
    
    /* Alternative mobile placement - Top position */
    .toast-container.top-mobile {
        top: 80px !important;
        bottom: auto !important;
        padding: 20px 15px 0 15px !important;
    }
    
    /* Alternative mobile placement - Center position */
    .toast-container.center-mobile {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        padding: 0 15px !important;
    }
    
    /* Smaller toast for very small screens */
    @media (max-width: 360px) {
        .toast-body {
            padding: 14px !important;
            font-size: 14px !important;
        }
        
        .toast-header {
            padding: 12px 14px !important;
        }
    }
}

/* Alternative simpler toast design */
.toast-modern {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.toast-modern .toast-header {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px 12px 0 0 !important;
    padding: 12px 16px !important;
}

.toast-modern .toast-body {
    border-radius: 0 0 12px 12px !important;
    padding: 14px 16px !important;
    font-weight: 500;
}

/* Modern color variants */
.toast-modern.toast-success .toast-body {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
}

.toast-modern.toast-danger .toast-body {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
}

.toast-modern.toast-warning .toast-body {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
}

.toast-modern.toast-info .toast-body {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
}

/* Minimal toast design option */
.toast-minimal {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-left: 4px solid !important;
    overflow: hidden;
}

.toast-minimal.toast-success {
    border-left-color: #10b981 !important;
}

.toast-minimal.toast-danger {
    border-left-color: #ef4444 !important;
}

.toast-minimal.toast-warning {
    border-left-color: #f59e0b !important;
}

.toast-minimal.toast-info {
    border-left-color: #3b82f6 !important;
}

.toast-minimal .toast-header {
    background: white !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 10px 10px 0 0 !important;
}

.toast-minimal .toast-body {
    background: white !important;
    color: #374151 !important;
    border-radius: 0 0 10px 10px !important;
}

/* ===================== */
/* UTILITY CLASSES */
/* ===================== */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem !important;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    section.hero {
        padding: 4rem 1rem;
    }
    
    section.about,
    section.categories,
    section.process {
        padding: 4rem 1rem;
    }
}

/* Fix z-index conflicts */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

header.header {
    z-index: 1030;
}

/* Full logo image */
.logo-full {
    height: 40px; /* Adjust based on your image proportions */
    width: auto;
    object-fit: contain;
    margin-right: 1rem;
}

/* Remove the old logo text styling since we're using a full image */
.logo-text {
    display: none;
}

/* ===================== */
/* MINIMAL LOGO STYLES */
/* ===================== */

header .logo-title {
    display: block;
    flex-shrink: 0;
}

.logo-full {
    width: 192px;
    height: 192px;
    object-fit: contain;
}

/* Container width controls logo size */
header .logo-title {
    width: 192px; /* w-48 = 12rem = 192px */
}

@media (max-width: 1024px) {
    header .logo-title {
        width: 148px; /* lg:w-36 = 9rem = 144px */
    }
}

@media (max-width: 768px) {
    header .logo-title {
        width: 128px; /* md:w-32 = 8rem = 128px */
    }
}

@media (max-width: 640px) {
    header .logo-title {
        width: 112px; /* sm:w-28 = 7rem = 112px */
    }
}
/* ===================== */
/* TRACKING PAGE STYLES */
/* ===================== */

/* Modern Tracking Section */
.tracking {
    padding: 70px 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.tracking-header {
    margin-bottom: 40px;
    text-align: center;
}

.tracking-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: #047857;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.tracking-subtitle {
    font-size: 16px;
    color: #374151;
    opacity: 0.8;
}

/* Card Wrapper */
.tracking-log-card-wrapper {
    display: flex;
    justify-content: center;
}

/* Glassmorphic Card */
.tracking-log-card {
    width: 100%;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 🔹 Tracking Entry Card */
.tracking-entry {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 20px;
    border-left: 5px solid transparent;
    margin-bottom: 18px;
    background: #f9f9f9; /* default fallback */
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.tracking-entry:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Inside each entry */
.tracking-entry h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.tracking-entry p {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.status-icon i {
    font-size: 18px;
}

.status-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tracking-date {
    font-size: 12px;
    margin-bottom: 4px;
}

.tracking-status {
    font-size: 14px;
    margin: 0;
}

.rollback-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.empty-entry {
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Process section specific styles for tracking page */
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Force exactly 5 columns */
    gap: 1.5rem;
}

/* Process card styling */
.process-card {
    border-radius: 1.5rem;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    color: #fff;
    text-align: center;
    min-height: 280px; /* Consistent height */
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Individual card gradients */
.process-card:nth-child(1) {
    background: radial-gradient(circle at center, #6ee7b7 0%, #10b981 100%);
}

.process-card:nth-child(2) {
    background: radial-gradient(circle at center, #60a5fa 0%, #3b82f6 100%);
}

.process-card:nth-child(3) {
    background: radial-gradient(circle at center, #fcd34d 0%, #f59e0b 100%);
}

.process-card:nth-child(4) {
    background: radial-gradient(circle at center, #fca5a5 0%, #ef4444 100%);
}

.process-card:nth-child(5) {
    background: radial-gradient(circle at center, #f9a8d4 0%, #d946ef 100%);
}

/* Process icon */
.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.process-card:hover .process-icon {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.3);
}

/* Step circle */
.step-circle {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f4f5f4;
    margin-bottom: 5px;
}

/* Responsive design */
@media (max-width: 1200px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on medium screens */
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .grid-5 {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .grid-5 {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 1rem;
    }
    
    .process-card {
        min-height: 250px;
        padding: 1.5rem 0.5rem;
    }
}