/* Global Styles for MedishipExpress */

:root {
    --primary-color: #0a1f44; /* Dark Navy Blue from logo */
    --secondary-color: #0fb359; /* Vibrant Green from logo */
    --success-color: #0fb359;
    --text-color: #222222;
    --bg-color: #F8FAFC;
    --white: #FFFFFF;
    
    --border-radius: 12px;
    --shadow-light: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
    
    --section-gap: 80px;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-gap) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-color);
}

.bg-light {
    background-color: var(--bg-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

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

.btn-success:hover {
    background-color: #218838;
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-list li a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: #111827;
    color: #F3F4F6;
    padding: var(--section-gap) 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    margin-bottom: 10px;
    color: #9CA3AF;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #9CA3AF;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9CA3AF;
}

.footer-bottom a {
    color: #9CA3AF;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* Global Cards */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}
/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}
.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.top-bar i {
    margin-right: 5px;
    color: #a0c9ff;
}
.social-links {
    display: flex;
    gap: 12px;
    border-left: 1px solid rgba(255,255,255,0.2);
    padding-left: 20px;
}
.social-links a {
    color: var(--white);
    transition: var(--transition);
}
.social-links a:hover {
    color: var(--secondary-color);
}

/* Main Header Updated */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers the navigation */
}
.nav-list li a {
    padding: 10px 15px;
    font-weight: 600;
    position: relative;
}
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: calc(100% - 30px);
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav-item i {
    font-size: 1.3rem;
    margin-bottom: 4px;
    /* Green outline */
    color: transparent;
    -webkit-text-stroke: 1.5px var(--secondary-color);
    transition: all 0.3s ease;
}

/* WhatsApp Icon Animation */
@keyframes pulse-whatsapp {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); color: #25D366; -webkit-text-stroke: 0; }
    100% { transform: scale(1); }
}

.mobile-nav-item .fa-whatsapp {
    animation: pulse-whatsapp 2s infinite;
    font-size: 1.7rem;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
    color: var(--primary-color);
}

.mobile-nav-item:hover i, .mobile-nav-item:active i {
    color: var(--primary-color);
    -webkit-text-stroke: 0;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        /* Add padding to bottom so content isn't hidden behind the fixed nav */
        padding-bottom: 60px;
    }
}
