:root {
    --primary-color: #17B26A;
    --secondary-color: #4f5cf5;
    --text-dark: black;
    --text-light: black;
    --light-bg: #f8fafc;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --radius-base: 0.375rem;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============== Base & Reset =============== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
        'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.text-primary {
    color: var(--primary-color) !important;
}

.form-control {
    padding: 0.8rem .75rem;
    border-radius: 20px;
}

.form-select {
    padding: 0.8rem .75rem;
    border-radius: 20px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem #17b26a1f
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .25rem #17b26a1f
}

/* =============== Topbar =============== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}


/* =============== Buttons =============== */
.btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary {
    color: #333;
    background-color: transparent;
    border: 2px solid #333;
}

.btn-primary:hover {
    color: #333;
    background-color: transparent;
    border-color: #333;
}

.btn-secondary:hover {
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* =============== Hero Section =============== */
.hero-section {
    /* padding-top: 8rem; */
    background-image: url('../image/hero-section.png');
    height: 40rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 6rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 6rem;
    margin-bottom: 2rem;
}

.divider {
    width: 4rem;
    height: 0.25rem;
    background-color: var(--primary-color);
    margin: 2rem auto;
    border: none;
    border-radius: var(--radius-base);
}

/* =============== Process Cards =============== */

.process-card:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: white;
}

.process-card:hover h3 {
    color: white;
}

.process-card:hover p {
    color: white;
}

.process-card:hover .card-icon {
    color: var(--primary-color);
    background-color: white;
}

.card-icon {
    font-size: 1.25rem;
    color: white;
    background-color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 13px;
    border-radius: 23px;
    width: 3rem;
}

.process-card h3 {
    color: var(--text-dark);
}

.process-card p {
    color: var(--text-light);
}

.card-content {
    color: var(--text-dark);
}

/* =============== Logistic Cards =============== */
.card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#logistic-section .card {
    color: white;
    height: 20rem;
}

#logistic-section .card-1 {
    background-image: url('../image/card-1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#logistic-section .card-2 {
    background-image: url('../image/card-2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#logistic-section .card-3 {
    background-image: url('../image/card-3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#logistic-section .card-4 {
    background-image: url('../image/card-4.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#logistic-section .card-5 {
    background-image: url('../image/card-5.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#logistic-section .card-footer {
    position: absolute;
    bottom: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* =============== Get Started Section =============== */
.get-started {
    display: flex;
    align-items: center;
    background-color: var(--primary-color);
    height: 25rem;
    border-radius: 15px;
    color: white;
}

.object-fit-cover {
    object-fit: cover;
}


.get-started .title {
    font-size: 5rem;
    margin: 0 14rem;
    text-align: center;
}

/*=============== footer =====================*/
.footer-section {
    background: linear-gradient(135deg, #e8f7f1 0%, #ffffff 100%);
}

.footer-section .brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    /* Same green color used in the header */
}



.footer-section .newsletter button {
    padding: 12px 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footer-section .newsletter button:hover {
    background-color: #13A255;
}


.footer-section ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}


.social-icons i {
    margin-right: 10px;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.social-icons i:hover {
    color: var(--primary-color);
}



.footer-bottom-links ul li {
    margin-right: 1rem;
}

.footer-bottom-links ul li a {
    color: var(--text-dark);
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-links ul li a:hover {
    color: #17B26A;
}

.footer-bottom-links p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
}

/* =============== Responsive Design =============== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Large Devices (1200px and below) */
@media (max-width: 1200px) {
    .container {
        max-width: 90%;
    }

    .get-started .title {
        font-size: 3.5rem;
        margin: 0 8rem;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 5rem;
    }

    #shipping-section h1 {
        font-size: 2.2rem;
    }

    .notification-dropdown {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Medium Devices (992px and below) */
@media (max-width: 992px) {
    .process-grid,
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .get-started .title {
        font-size: 3rem;
        margin: 0 4rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 4rem;
    }

    .hero-section {
        height: auto;
        min-height: 35rem;
        padding: 2rem 0;
        background-size: cover;
        background-attachment: scroll;
    }

    #shipping-section h1 {
        font-size: 2rem;
    }

    #shipping-section {
        padding: 40px 0;
    }

    .get-started {
        height: auto;
        min-height: 20rem;
        padding: 2rem 1rem;
    }

    .btn-post-load {
        padding: 10px 80px;
        font-size: 1rem;
    }

    .footer-section .d-flex.justify-content-between {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom-links {
        text-align: center;
    }

    .footer-bottom-links ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Small Devices (768px and below) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-section {
        min-height: 30rem;
        padding: 1.5rem 0;
        background-size: cover;
        background-attachment: scroll;
    }

    .process-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .get-started .title {
        font-size: 2rem;
        margin: 0 2rem;
    }

    .get-started {
        min-height: 18rem;
        padding: 2rem 1rem;
    }

    .get-started .btn {
        width: 80% !important;
    }

    #shipping-section h1 {
        font-size: 1.75rem;
    }

    #shipping-section p {
        font-size: 0.9rem;
    }

    .btn-post-load {
        padding: 10px 50px;
        font-size: 0.95rem;
    }

    .card {
        height: auto;
        min-height: 15rem;
    }

    .footer-section .row {
        text-align: center;
    }

    .footer-section .col-md-4 {
        margin-bottom: 2rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-links ul li {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Chat responsive */
    .chat-sidebar {
        border-right: none;
        border-bottom: 1px solid #dee2e6;
    }

    .message-item .content {
        max-width: 85%;
    }

    /* Shipping section image positioning */
    #shipping-section .position-absolute {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        padding-left: 0 !important;
        margin-top: 2rem;
    }

    #shipping-section .col-md-7 {
        text-align: center;
    }

    /* Post list items */
    .list-group-item .row {
        flex-direction: column;
    }

    .list-group-item .col-auto {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .list-group-item .col {
        width: 100%;
    }

    .list-group-item .col-auto.d-flex.flex-column {
        width: 100%;
        align-items: stretch;
    }

    .list-group-item .col-auto.d-flex.flex-column .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Form responsive */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Extra Small Devices (576px and below) */
@media (max-width: 576px) {
    /* Topbar contact section improvements */
    .container.bg-primary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .container.bg-primary > div:first-child {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: flex-start;
    }

    .container.bg-primary > div:last-child {
        align-self: flex-end;
    }

    .container.bg-primary span {
        display: block;
        width: 100%;
    }
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-section {
        min-height: 25rem;
        padding: 1rem 0;
        background-size: cover;
        background-attachment: scroll;
    }

    .get-started .title {
        font-size: 1.5rem;
        margin: 0 1rem;
    }

    .get-started {
        min-height: 15rem;
        padding: 1.5rem 1rem;
    }

    .get-started .btn {
        width: 90% !important;
        font-size: 0.9rem;
    }

    #shipping-section h1 {
        font-size: 1.5rem;
    }

    #shipping-section p {
        font-size: 0.85rem;
    }

    .btn-post-load {
        padding: 8px 30px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    .card-icon {
        font-size: 1rem;
        padding: 10px;
        width: 2.5rem;
    }

    .process-card h3 {
        font-size: 1.1rem;
    }

    .process-card p {
        font-size: 0.9rem;
    }

    .footer-section .brand {
        font-size: 1.5rem;
    }

    .social-icons i {
        font-size: 1.25rem;
        margin-right: 8px;
    }

    .footer-bottom-links ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-links ul li {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .navbar-nav {
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    /* Notification dropdown */
    .dropdown-menu {
        width: 100% !important;
        max-width: calc(100vw - 2rem);
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* User dropdown */
    .dropdown-menu-end {
        right: 0 !important;
        left: auto !important;
    }

    /* Chat interface */
    .chat-header,
    .chat-footer {
        padding: 1rem !important;
    }

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

    .message-item img {
        width: 28px;
        height: 28px;
        margin: 0 8px;
    }

    .message-item .content {
        max-width: 80%;
    }

    .message-item .bubble {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    /* Form inputs */
    .col-md-2,
    .col-md-3,
    .col-md-4 {
        margin-bottom: 1rem;
    }

    .form-label {
        font-size: 0.9rem;
    }

    /* Topbar */
    .topbar .container,
    .container.bg-primary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .topbar .d-flex.gap-3,
    .container.bg-primary .d-flex.gap-3 {
        gap: 1rem !important;
    }

    /* Contact info better stacking */
    .container.bg-primary {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .container.bg-primary > div:first-child {
        width: 100%;
    }

    .container.bg-primary > div:last-child {
        align-self: flex-end;
    }

    /* Shipping suggestions */
    .list-group-item img {
        width: 100% !important;
        max-width: 200px;
        margin: 0 auto;
    }

    /* Display utilities */
    .d-none.d-md-inline {
        display: none !important;
    }

    .d-md-none {
        display: block !important;
    }
}

/* Very Small Devices (400px and below) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .get-started .title {
        font-size: 1.25rem;
    }

    #shipping-section h1 {
        font-size: 1.25rem;
    }

    .btn-post-load {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    .card-icon {
        font-size: 0.9rem;
        padding: 8px;
        width: 2rem;
    }

    .process-card {
        padding: 1rem !important;
    }

    .process-card h3 {
        font-size: 1rem;
    }

    .process-card p {
        font-size: 0.85rem;
    }
}

/* Ultra Narrow Devices (388px and below) - Specific optimizations */
@media (max-width: 388px) {
    /* Topbar contact section */
    .container.bg-primary {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.75rem;
    }

    .container.bg-primary .d-flex span {
        font-size: 0.7rem;
        line-height: 1.4;
    }

    .container.bg-primary .d-flex span i {
        font-size: 0.7rem;
    }

    /* Navigation bar */
    .navbar {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        min-height: 50px !important;
    }

    .navbar-brand img {
        max-height: 30px !important;
    }

    .navbar-brand .fs-2 {
        font-size: 1rem !important;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .navbar-nav .nav-link i {
        font-size: 0.875rem;
    }

    /* User dropdown button */
    .dropdown button img {
        width: 32px !important;
        height: 32px !important;
    }

    /* Notification dropdown */
    .dropdown-menu {
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        font-size: 0.875rem;
    }

    /* Buttons in navbar */
    .navbar-collapse .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .navbar-collapse .btn:last-child {
        margin-bottom: 0;
    }

    /* Contact info text truncation */
    .container.bg-primary span {
        white-space: normal;
        word-break: break-word;
        max-width: 100%;
    }

    .container.bg-primary span span.d-sm-none {
        display: inline !important;
    }

    .container.bg-primary span span.d-none.d-sm-inline {
        display: none !important;
    }

    /* Social icons spacing */
    .container.bg-primary .d-flex.gap-2 {
        gap: 0.75rem !important;
    }

    .container.bg-primary .d-flex.gap-2 a {
        font-size: 0.875rem;
    }

    /* Reduce gaps */
    .navbar .d-flex.gap-2 {
        gap: 0.5rem !important;
    }

    .navbar .d-flex.gap-3 {
        gap: 0.75rem !important;
    }

    /* Logo text */
    .navbar-brand span {
        font-size: 0.9rem !important;
    }

    /* Notification button */
    .btn.btn-light.rounded-circle {
        padding: 0.4rem !important;
        width: 36px;
        height: 36px;
    }

    .btn.btn-light.rounded-circle i {
        font-size: 0.875rem;
    }

    /* User dropdown button */
    .dropdown button.btn.btn-light {
        padding: 0.25rem !important;
    }

    /* Container padding */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .container-fluid {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Ensure navbar collapse content stacks properly */
    .navbar-collapse .d-flex.flex-column {
        width: 100%;
    }

    .navbar-collapse .d-flex.flex-column .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* User dropdown text visibility */
    .dropdown button .d-none.d-md-flex {
        display: none !important;
    }

    /* Logo brand name */
    .navbar-brand .brand {
        font-size: 1rem !important;
    }

    /* Notification badge positioning */
    .position-absolute.badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 20rem;
    }

    .get-started {
        min-height: 15rem;
    }
}

/* Print styles */
@media print {
    .topbar,
    .navbar,
    .footer-section {
        display: none;
    }
}


/* **********home page *********  */
.active {
    color: var(--primary-color) !important;
}

#shipping-section {
    background: url('../image/background-section.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
}

#shipping-section h1 {
    font-weight: 700;
    font-size: 2.5rem;
    color: #111827;
    /* dark text */
    margin-bottom: 1rem;
}

#shipping-section p {
    color: #6B7280;
    /* gray text */
    font-size: 1rem;
    line-height: 1.5;
}

#shipping-section img {
    max-width: 100%;
    height: auto;
    display: block;
}


.btn-post-load {
    text-decoration: none;
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 10px 130px;
    font-size: 1.1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-post-load .icon-circle {
    background-color: white;
    border-radius: 50%;
    color: var(--primary-color);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.btn-post-load:hover {
    background-color: white;
    color: var(--text-dark);
    border: solid 1px var(--text-dark);
}

.btn-post-load:hover .icon-circle {
    background-color: var(--primary-color);
    color: white;
}

.truck-card {
    text-align: left;
    margin-bottom: 2rem;
}

.truck-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.truck-card h5 {
    margin-top: 0.5rem;
    font-weight: 500;
}

.truck-card p {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Pagination container spacing */
.pagination {
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 0;
    gap: 0.5rem;
}

/* Pagination items */
.pagination li.page-item {
    border-radius: 50%;
    overflow: hidden;
    width: 36px;
    height: 36px;
}

/* Pagination links */
.pagination li.page-item a.page-link,
.pagination li.page-item span.page-link {
    color: #212529;
    background-color: #DBFAE6;
    border: none;
    line-height: 36px;
    text-align: center;
    padding: 0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover and focus states */
.pagination li.page-item a.page-link:hover,
.pagination li.page-item a.page-link:focus {
    background-color: var(--primary-color);
    /* Bootstrap primary color */
    color: white;
    text-decoration: none;
}

/* Active page */
.pagination li.page-item.active span.page-link {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

/* Disabled page links */
.pagination li.page-item.disabled span.page-link {
    color: #adb5bd;
    background-color: transparent;
}


/* Chat //////////////////////// */
.chat-item-card {
    background-color: #f8fafc;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
}

.chat-item-card:hover {
    background-color: rgba(23, 178, 106, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.chat-item.active .chat-item-card {
    background-color: var(--primary-color);
    color: white;
}

.chat-item.active .chat-item-card .text-dark {
    color: white !important;
}

.chat-item.active .chat-item-card .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hover-shadow:hover {
    box-shadow: var(--shadow-sm);
}

.transition-all {
    transition: var(--transition-base);
}

.message-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.message-item.me {
    flex-direction: row-reverse;
}

.message-item img {
    width: 32px;
    height: 32px;
    margin: 0 12px;
}

.message-item .content {
    max-width: 70%;
}

.message-item .bubble {
    padding: 12px 16px;
    border-radius: 18px;
    background-color: #e9ecef;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.message-item.me .bubble {
    background-color: var(--primary-color);
    color: white;
}

.message-item .message span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.message-item .sending {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

.chat-list-container::-webkit-scrollbar {
    width: 4px;
}

.chat-list-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-list-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.chat-body::-webkit-scrollbar {
    width: 4px;
}

.chat-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.chat-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

@media (max-width: 992px) {
    .chat-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        z-index: 10;
    }

    .chat-list-container {
        max-height: 300px;
    }
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent text size adjustment on iOS */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Improve spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Better modal responsiveness */
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 0.5rem;
    }
}