/* Main CSS for Bhutan Taxi Association Website */

/* Variables */
:root {
    --primary-color: #ffcc00;
    --secondary-color: #222222;
    --accent-color: #f7b500;
    --text-color: #333333;
    --light-color: #ffffff;
    --gray-color: #f4f4f4;
    --dark-gray: #666666;
    --border-color: #e1e1e1;
    --font-main: 'Arial', sans-serif;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--gray-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--light-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-login {
    background-color: var(--secondary-color);
    color: var(--light-color);
    font-size: 0.85rem;
    padding: 10px 18px;
}

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

/* Header Styles */
.top-bar {
    background: linear-gradient(to right, #222222, #333333);
    color: var(--light-color);
    padding: 6px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: var(--light-color);
    margin-right: 15px;
    font-size: 0.8rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.search-box {
    display: flex;
    height: 32px;
}

.search-box input {
    padding: 6px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-box button {
    padding: 6px 12px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: var(--secondary-color);
}

.main-header {
    background-color: var(--light-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 90px;
    object-fit: contain;
}

.main-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: auto;
}

.main-menu li {
    position: relative;
    margin: 0 10px;
    white-space: nowrap;
}

.main-menu li a {
    font-weight: 700;
    font-size: 16px;
    font-family: var(--font-main);
    text-transform: uppercase;
    padding: 10px 5px;
    display: block;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: none;
    border-bottom: none;
    letter-spacing: 0.5px;
}

/* Specific colors from screenshot */
.main-menu li:nth-child(1) a {
    color: #e74c3c; /* HOME - Red */
}

.main-menu li:nth-child(2) a {
    color: #3498db; /* ABOUT US - Blue */
}

.main-menu li:nth-child(3) a {
    color: #2ecc71; /* WHO IS WHO - Green */
}

.main-menu li:nth-child(4) a {
    color: #f39c12; /* MEMBERS - Orange/Golden */
}

.main-menu li:nth-child(5) a {
    color: #9b59b6; /* NEWS - Purple */
}

.main-menu li:nth-child(6) a {
    color: #e67e22; /* CONTACTUS - Orange */
}

.main-menu li:nth-child(7) a {
    color: #1abc9c; /* SERVICE - Turquoise */
}

.main-menu li:nth-child(8) a {
    color: #d35400; /* OUR STORIES - Dark Orange */
}

/* Hover styling */
.main-menu li a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Underline effect */
.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.main-menu li:nth-child(1) a::after {
    background: #e74c3c;
}

.main-menu li:nth-child(2) a::after {
    background: #3498db;
}

.main-menu li:nth-child(3) a::after {
    background: #2ecc71;
}

.main-menu li:nth-child(4) a::after {
    background: #f39c12;
}

.main-menu li:nth-child(5) a::after {
    background: #9b59b6;
}

.main-menu li:nth-child(6) a::after {
    background: #e67e22;
}

.main-menu li:nth-child(7) a::after {
    background: #1abc9c;
}

.main-menu li:nth-child(8) a::after {
    background: #d35400;
}

.main-menu li a:hover::after {
    width: 100%;
}

/* Active menu item */
.main-menu li.active a::after {
    width: 100%;
}

/* Submenu styling */
.has-submenu > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.85em;
    transition: transform 0.3s ease;
}

.has-submenu:hover > a::after {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
    overflow: hidden;
    border-top: 3px solid;
    padding: 5px 0;
}

/* Add back the hover functionality */
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-submenu {
    position: relative;
}

.submenu li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.submenu li:last-child {
    border-bottom: none;
}

.has-submenu:nth-child(4) .submenu {
    border-top-color: #f39c12; /* MEMBERS submenu */
}

.has-submenu:nth-child(2) .submenu {
    border-top-color: #3498db; /* ABOUT US submenu */
}

.has-submenu:nth-child(3) .submenu {
    border-top-color: #2ecc71; /* WHO IS WHO submenu */
}

.has-submenu:nth-child(7) .submenu {
    border-top-color: #1abc9c; /* SERVICE submenu */
}

.submenu li a {
    color: #333 !important;
    font-weight: 500;
    text-transform: none;
    padding: 10px 15px;
    font-size: 14px;
}

.submenu li a:hover {
    background: #f5f5f5;
    color: inherit !important;
    padding-left: 20px;
}

/* Top service quick links */
.service-quick-links {
    display: flex;
    gap: 0;
}

.service-link {
    padding: 8px 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    text-shadow: none;
    margin: 0;
}

.service-link:nth-child(1) {
    background: #e74c3c; /* PASSENGER */
    color: white;
    border-radius: 4px 0 0 4px;
}

.service-link:nth-child(2) {
    background: #3498db; /* TOURIST */
    color: white;
}

.service-link:nth-child(3) {
    background: #f39c12; /* COURIER */
    color: white;
}

.service-link:nth-child(4) {
    background: #2ecc71; /* CAR RENTAL */
    color: white;
}

.service-link:nth-child(5) {
    background: linear-gradient(135deg, #28a745, #20c997); /* TRACK COURIER */
    color: white;
}

.service-link.downloads-link {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe) !important;
    color: white !important;
    border-radius: 0 4px 4px 0;
}

.service-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-link.track-link {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    color: white !important;
    font-weight: 600;
    animation: pulse-glow 2s infinite;
    border-radius: 0 4px 4px 0;
}

.service-link.track-link:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3); }
    50% { box-shadow: 0 2px 15px rgba(40, 167, 69, 0.5); }
    100% { box-shadow: 0 2px 5px rgba(40, 167, 69, 0.3); }
}

/* Downloads link styling is handled by .service-link.downloads-link above */

/* Main Content Styles */
main {
    padding: 0;
}

main .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-title {
    color: var(--secondary-color);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 650px;
    overflow: hidden;
    width: 100vw;
    margin-top: -41px;
    padding: 0;
    border: none;
}

.hero-slider {
    height: 100%;
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.hero-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

.hero-content {
    position: relative;
    color: var(--light-color);
    max-width: 100%;
    padding: 170px 0;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-content .btn {
    font-size: 1rem;
    padding: 12px 30px;
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.slider-nav {
    background-color: rgba(0,0,0,0.5);
    color: var(--light-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 20px;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-nav:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Booking Form Styles */
.booking-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.booking-form {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
}

.booking-form h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    background-color: rgba(255,255,255,0.05);
    color: var(--light-color);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255,255,255,0.1);
}

.form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-submit {
    margin-top: 30px;
}

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

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

.service-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
}

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

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-content {
    padding: 25px;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.service-card p {
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.7;
}

/* Stats Section */
.stats-section {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6)), url('../img/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
}

.stat-item {
    padding: 30px 20px;
    position: relative;
}

.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background-color: var(--gray-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 700;
}

.feature-item p {
    color: var(--dark-gray);
}

/* Chairman Message */
.chairman-message {
    padding: 60px 0;
    background-color: var(--light-color);
}

.message-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.chairman-photo img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    max-width: 100%;
    height: auto;
    border: 2px solid var(--primary-color);
}

.message-text {
    line-height: 1.8;
}

.message-text p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.chairman-signature {
    margin: 30px 0;
    font-style: italic;
}

/* News Section */
.news-section {
    padding: 60px 0;
    background-color: var(--gray-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card .news-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    font-size: 0.85rem;
    font-weight: bold;
    margin: -15px 0 15px 20px;
    position: relative;
    border-radius: 20px;
}

.news-card h3 {
    padding: 0 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.news-card p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.news-card .read-more {
    display: block;
    padding: 15px 20px;
    text-align: right;
    color: var(--primary-color);
    font-weight: bold;
    border-top: 1px solid var(--border-color);
}

.news-card .read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-card .read-more:hover i {
    transform: translateX(5px);
}

.view-all-news {
    text-align: center;
}

/* Footer Styles */
footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-top .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
}

.footer-info h3,
.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.footer-info h3::after,
.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.footer-info p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
    opacity: 1;
}

.footer-newsletter p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-newsletter input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 4px;
}

.footer-newsletter button {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background-color: var(--accent-color);
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--light-color);
    margin-left: 20px;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* Form Validation Styles */
.form-control.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.member-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    border-bottom: 3px solid var(--primary-color);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.member-info .position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.member-info .bio {
    color: var(--dark-gray);
    line-height: 1.6;
}

.full-width {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: none;
    box-sizing: border-box;
    overflow: hidden;
}

/* Vision & Mission Page */
.vision-mission-section {
    padding: 60px 0;
}

.vision-mission-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mission-box, .vision-box, .values-box {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.vm-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--secondary-color);
}

.vision-mission-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.vision-mission-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.mission-details ul, .vision-details ul {
    list-style: none;
    padding-left: 10px;
}

.mission-details li, .vision-details li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.mission-details i, .vision-details i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    background-color: var(--gray-color);
    padding: 20px;
    border-radius: 8px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.value-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--secondary-color);
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.value-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Organogram Page */
.organogram-section {
    padding: 60px 0;
}

.organogram-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.organogram-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.org-chart:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
    z-index: 0;
}

.org-level {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
    gap: 30px;
}

.org-box {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 15px 25px;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border-left: 4px solid var(--primary-color);
    position: relative;
}

.org-box.primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-left: 4px solid var(--secondary-color);
}

.org-box.wide {
    min-width: 300px;
}

.org-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.org-desc {
    font-size: 0.9rem;
    opacity: 0.8;
}

.org-responsibilities {
    margin-top: 60px;
}

.org-responsibilities h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--secondary-color);
    position: relative;
}

.org-responsibilities h3:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.responsibility-card {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.responsibility-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.responsibility-card ul {
    padding-left: 20px;
}

.responsibility-card li {
    margin-bottom: 10px;
    color: var(--dark-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .org-chart:before {
        left: 50%;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-box, .vision-box, .values-box {
        padding: 20px;
    }
    
    .vm-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .vision-mission-content h3 {
        font-size: 1.5rem;
    }
    
    .org-responsibilities h3 {
        font-size: 1.5rem;
    }
    
    .responsibility-card {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .org-box {
        min-width: 80%;
        padding: 15px;
    }
    
    .org-box.wide {
        min-width: 80%;
    }
    
    .value-item {
        padding: 15px;
    }
    
    .vision-mission-content p {
        font-size: 1rem;
    }
    
    .responsibility-card h4 {
        font-size: 1.2rem;
    }
    
    .vm-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.submenu-toggle {
    margin-left: 5px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 204, 0, 0.1);
    transition: all 0.3s ease;
}

.submenu-toggle:hover {
    background: rgba(255, 204, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Members Page Styling */
.members-container {
    padding: 40px 0;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.member-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

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

.member-photo {
    height: 200px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-card:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
}

.member-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.member-vehicle {
    color: #555;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-license {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.member-contact {
    margin-bottom: 15px;
}

.member-contact p {
    margin: 5px 0;
    color: #666;
}

.member-contact i {
    margin-right: 8px;
    color: #FFC107;
}

.member-location {
    padding-top: 10px;
    border-top: 1px solid #eee;
    color: #666;
}

.member-location i {
    color: #FFC107;
    margin-right: 8px;
}

.no-members-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 8px;
    color: #666;
}

/* Premium Member Styles */
.premium-members .section-title h2 {
    color: #FFC107;
}

.member-card.premium {
    border: 2px solid #FFC107;
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #FFC107;
    color: #333;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.premium-badge i {
    margin-right: 5px;
}

.member-description {
    padding: 15px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
}

.member-rating {
    margin-top: 15px;
    color: #FFC107;
}

/* Responsive styles */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

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

/* Multi-colored Menu Items */
.main-menu li:nth-child(1) a {
    color: #e74c3c; /* Red */
    border-bottom: 3px solid #e74c3c;
}

.main-menu li:nth-child(1) a:hover,
.main-menu li:nth-child(1).active a {
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.main-menu li:nth-child(1) a::after {
    background: linear-gradient(to right, #e74c3c, #c0392b);
}

.main-menu li:nth-child(2) a {
    color: #3498db; /* Blue */
    border-bottom: 3px solid #3498db;
}

.main-menu li:nth-child(2) a:hover,
.main-menu li:nth-child(2).active a {
    background: linear-gradient(145deg, #3498db, #2980b9);
    color: #fff;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.main-menu li:nth-child(2) a::after {
    background: linear-gradient(to right, #3498db, #2980b9);
}

.main-menu li:nth-child(3) a {
    color: #2ecc71; /* Green */
    border-bottom: 3px solid #2ecc71;
}

.main-menu li:nth-child(3) a:hover,
.main-menu li:nth-child(3).active a {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
    color: #fff;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.main-menu li:nth-child(3) a::after {
    background: linear-gradient(to right, #2ecc71, #27ae60);
}

.main-menu li:nth-child(4) a {
    color: #f1c40f; /* Golden */
    border-bottom: 3px solid #f1c40f;
}

.main-menu li:nth-child(4) a:hover,
.main-menu li:nth-child(4).active a {
    background: linear-gradient(145deg, #f1c40f, #f39c12);
    color: #fff;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

.main-menu li:nth-child(4) a::after {
    background: linear-gradient(to right, #f1c40f, #f39c12);
}

.main-menu li:nth-child(5) a {
    color: #9b59b6; /* Purple */
    border-bottom: 3px solid #9b59b6;
}

.main-menu li:nth-child(5) a:hover,
.main-menu li:nth-child(5).active a {
    background: linear-gradient(145deg, #9b59b6, #8e44ad);
    color: #fff;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
}

.main-menu li:nth-child(5) a::after {
    background: linear-gradient(to right, #9b59b6, #8e44ad);
}

.main-menu li:nth-child(6) a {
    color: #e67e22; /* Orange */
    border-bottom: 3px solid #e67e22;
}

.main-menu li:nth-child(6) a:hover,
.main-menu li:nth-child(6).active a {
    background: linear-gradient(145deg, #e67e22, #d35400);
    color: #fff;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.main-menu li:nth-child(6) a::after {
    background: linear-gradient(to right, #e67e22, #d35400);
}

.main-menu li:nth-child(7) a {
    color: #1abc9c; /* Turquoise */
    border-bottom: 3px solid #1abc9c;
}

.main-menu li:nth-child(7) a:hover,
.main-menu li:nth-child(7).active a {
    background: linear-gradient(145deg, #1abc9c, #16a085);
    color: #fff;
    box-shadow: 0 5px 15px rgba(26, 188, 156, 0.3);
}

.main-menu li:nth-child(7) a::after {
    background: linear-gradient(to right, #1abc9c, #16a085);
}

/* Override previous styles for all menu items */
.main-menu li a {
    border-bottom: none;
    text-shadow: none;
}

.main-menu li a:hover {
    transform: translateY(-3px);
}

.main-menu li.active a::after {
    width: 100%;
}

/* Colored submenu indicators */
.has-submenu:nth-child(1) > a::after {
    color: #e74c3c;
}

.has-submenu:nth-child(2) > a::after {
    color: #3498db;
}

.has-submenu:nth-child(3) > a::after {
    color: #2ecc71;
}

.has-submenu:nth-child(4) > a::after {
    color: #f1c40f;
}

.has-submenu:nth-child(5) > a::after {
    color: #9b59b6;
}

.has-submenu:nth-child(6) > a::after {
    color: #e67e22;
}

.has-submenu:nth-child(7) > a::after {
    color: #1abc9c;
}

/* Track Courier Link Styling */
.main-menu li a.track-courier {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white !important;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.main-menu li a.track-courier::before {
    content: '\f1e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.main-menu li a.track-courier:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
    color: white !important;
}

.main-menu li a.track-courier::after {
    display: none !important;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Enhanced Mobile Responsiveness */

/* Hide desktop elements on mobile, show mobile elements */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}

.mobile-menu-header {
    display: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .main-menu li {
        margin: 0 5px;
    }
    
    .main-menu li a {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .service-quick-links {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    
    /* Mobile Navigation */
    .top-bar {
        padding: 5px 0;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info a {
        margin: 0 10px;
        font-size: 0.8rem;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .main-header .container {
        position: relative;
    }
    
    .logo img {
        max-height: 60px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    nav {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1) !important;
        border-right: 3px solid var(--primary-color) !important;
        transition: left 0.3s ease !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
    }
    
    nav.active {
        left: 0 !important;
    }
    
    .mobile-menu-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid var(--border-color) !important;
        background: #fff !important;
        width: 100% !important;
    }
    
    .mobile-menu-logo img {
        max-height: 40px;
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        font-size: 20px;
        color: var(--secondary-color);
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 204, 0, 0.1);
        color: var(--primary-color);
    }
    
    .main-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 0 !important;
        margin: 0 !important;
        width: 100% !important;
        display: flex !important;
        visibility: visible !important;
        list-style: none !important;
    }
    
    .main-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-menu li a {
        display: block;
        padding: 15px 20px;
        color: var(--secondary-color);
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .main-menu li a:hover,
    .main-menu li a.active {
        background-color: var(--primary-color);
        border-left-color: var(--accent-color);
        color: var(--secondary-color);
    }
    
    .main-menu li a::after {
        display: none;
    }

    /* Mobile Track Courier Styling */
    .main-menu li a.track-courier {
        background: linear-gradient(135deg, #28a745, #20c997) !important;
        color: white !important;
        border-radius: 8px !important;
        margin: 5px 20px !important;
        font-weight: 600 !important;
        border-left: 4px solid #20c997 !important;
    }

    .main-menu li a.track-courier:hover {
        background: linear-gradient(135deg, #20c997, #17a2b8) !important;
        color: white !important;
        border-left-color: #17a2b8 !important;
    }
    
    .submenu {
        position: static;
        display: none;
        background: rgba(0,0,0,0.05);
        box-shadow: none;
        border-radius: 0;
        width: 100%;
        padding: 0;
    }
    
    .has-submenu.active .submenu {
        display: block;
    }
    
    .submenu li a {
        padding: 12px 20px 12px 40px;
        font-size: 0.9rem;
        border-left: none;
    }
    
    /* Mobile Overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        display: block;
    }
    
    /* Content Adjustments */
    main {
        padding-top: 20px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .page-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }
    
    /* Hero Section Mobile */
    .hero-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    /* Forms Mobile */
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 15px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
    }
    
    /* Cards and Grids Mobile */
    .services-grid,
    .features-grid,
    .news-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card,
    .feature-item,
    .news-card,
    .team-member {
        margin-bottom: 20px;
    }
    
    /* Members Grid Mobile */
    .members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-card {
        padding: 20px;
        text-align: center;
    }
    
    .member-photo {
        margin-bottom: 15px;
    }
    
    /* Stats Section Mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Footer Mobile */
    .footer-top .container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    /* Login Buttons Mobile */
    .login-buttons {
        display: none;
    }
}

@media (max-width: 480px) {
    /* Extra Small Devices */
    .container {
        padding: 0 15px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .feature-item,
    .news-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .member-card {
        padding: 15px;
    }
    
    .contact-info a {
        display: block;
        margin: 5px 0;
    }
    
    /* Form improvements for very small screens */
    .form-control {
        padding: 12px;
        font-size: 16px;
    }
    
    /* Navigation improvements */
    nav {
        width: 100%;
        left: -100%;
    }
    
    .main-menu li a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    .main-menu li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .form-control {
        min-height: 44px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
} 