/* assets/css/style.css */
/* Everwell Care Services Global Design System */
/* Google Fonts are loaded via <link> in includes/header.php (non-render-blocking). */

:root {
    --primary: #1a4a3a;       /* Emerald Green */
    --secondary: #0f2d4a;     /* Navy Blue */
    --accent: #c9a84c;        /* Gold */
    --white: #ffffff;
    --light: #f7f8f6;         /* Light Gray / Mint */
    --dark: #2d2d2d;          /* Dark Gray */
    --gray-medium: #8a8d89;
    --gray-light: #e1e4df;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 600;
    line-height: 1.25;
}

p {
    margin-bottom: 1rem;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-medium);
    font-family: var(--font-body);
    font-weight: 400;
}

.text-center { text-align: center; }
.flex { display: flex; }
.grid { display: grid; }

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
}

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

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

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

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

.btn-accent {
    background-color: var(--accent);
    color: var(--secondary);
    font-weight: 600;
}

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

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--secondary);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animation Utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) forwards;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

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

.top-contacts {
    display: flex;
    gap: 20px;
}

.top-contacts a, .top-contacts span {
    color: rgba(255,255,255,0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-socials {
    display: flex;
    gap: 15px;
}

.top-socials a {
    color: rgba(255,255,255,0.9);
    transition: var(--transition-fast);
}

.top-socials a:hover {
    color: var(--accent);
}

header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

header.sticky {
    box-shadow: var(--shadow-md);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

header.sticky .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 600;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
    padding: 10px 0;
}

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

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 12px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    border-top: 3px solid var(--primary);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item a {
    display: block;
    padding: 8px 20px;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item a:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: 24px;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15,45,74,0.95), rgba(26,74,58,0.92)), url('../images/hero-bg.webp') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    z-index: 10;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
}

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

/* Stats Bar */
.stats-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-tile {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--accent);
}

.stat-text h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.stat-text p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

/* Two Column Showcase */
.two-col-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.showcase-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.showcase-img::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-md);
    pointer-events: none;
    z-index: 2;
}

/* Card Grids */
.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Feature/Service Cards */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
    border-top: 4px solid var(--primary);
    transition: var(--transition-normal);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card:hover .card-icon {
    color: var(--accent);
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Banner Strip */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.9);
}

/* Blog / News listing */
.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

.blog-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

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

.blog-card-date {
    font-size: 0.8rem;
    color: var(--gray-medium);
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 20px;
}

/* Inner Page Hero */
.page-hero {
    background: linear-gradient(rgba(15,45,74,0.9), rgba(15,45,74,0.9)), url('../images/page-hero-bg.webp') center/cover no-repeat;
    color: var(--white);
    padding: 130px 0;
    text-align: center;
}

.page-hero-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 10px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.breadcrumbs a {
    color: var(--accent);
}

/* Mission & Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-box, .vision-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.mission-box {
    border-left: 6px solid var(--primary);
}

.vision-box {
    border-left: 6px solid var(--accent);
}

.mission-box .icon, .vision-box .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-box .icon { color: var(--primary); }
.vision-box .icon { color: var(--accent); }

/* Bullet Lists */
.icon-list {
    margin-top: 20px;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.icon-list li i {
    color: var(--accent);
    margin-top: 5px;
}

/* Accordion FAQs */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 25px;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.accordion-header:hover {
    background-color: var(--light);
}

.accordion-icon {
    transition: transform var(--transition-normal);
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal) ease-out;
    background-color: var(--light);
}

.accordion-content-inner {
    padding: 20px 25px;
    border-top: 1px solid var(--gray-light);
}

/* Gallery page */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--light);
    border: 1px solid var(--gray-light);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--secondary);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,45,74,0.85); /* Navy transparent overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition-normal);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--accent);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.gallery-overlay p {
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-caption {
    color: var(--white);
    margin-top: 15px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--gray-light);
}

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

.team-card-img {
    height: 320px;
    overflow: hidden;
    background-color: var(--light);
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-card-img img {
    transform: scale(1.03);
}

.team-card-content {
    padding: 25px;
    text-align: center;
}

.team-card-name {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-card-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.team-card-bio {
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 15px;
    text-align: left;
}

.team-social-link {
    color: var(--secondary);
    font-size: 1.1rem;
}

.team-social-link:hover {
    color: var(--primary);
}

/* Form Styles */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background-color: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(26,74,58,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group.has-error .form-control {
    border-color: #dc3545;
}

.form-group.has-error .invalid-feedback {
    display: block;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

/* Contact Two Column Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-box {
    background-color: var(--secondary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-info-box h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-detail-icon {
    font-size: 1.3rem;
    color: var(--accent);
    margin-top: 3px;
}

.contact-detail-text h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-text p {
    margin: 0;
    color: rgba(255,255,255,0.85);
}

.contact-detail-text a {
    color: var(--accent);
}

.contact-detail-text a:hover {
    color: var(--white);
}

/* Footer styling */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding-top: 80px;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

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

.footer-col p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo .logo-main {
    color: var(--white);
    font-size: 2rem;
}

.footer-logo .logo-sub {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background-color: var(--accent);
    color: var(--secondary);
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.6);
}

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

.footer-tagline-strip {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Careers page items */
.job-listing-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-normal);
}

.job-listing-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.job-meta-badge {
    background-color: var(--light);
    color: var(--secondary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 8px;
}

.job-details-title {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.job-details-subtitle {
    font-size: 0.9rem;
    color: var(--gray-medium);
}

/* Single Job Application Layout */
.job-header-section {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0;
}

.job-header-section h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.job-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.job-badge-item {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.job-badge-item i {
    color: var(--accent);
}

/* Admin Dashboard layout */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 30px 0;
}

.admin-sidebar-logo {
    padding: 0 25px 25px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-menu-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    font-weight: 500;
}

.admin-menu-item a:hover, .admin-menu-item.active a {
    color: var(--white);
    background-color: rgba(255,255,255,0.06);
    border-left: 4px solid var(--accent);
}

.admin-menu-item i {
    width: 20px;
    font-size: 1.05rem;
}

.admin-main {
    background-color: var(--light);
    padding: 40px;
    overflow-y: auto;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-page-title h1 {
    font-size: 2rem;
    color: var(--secondary);
}

.admin-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin-bottom: 30px;
}

/* Admin Stats Row */
.admin-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary);
}

.admin-stat-card.stats-blue { border-left-color: var(--secondary); }
.admin-stat-card.stats-gold { border-left-color: var(--accent); }
.admin-stat-card.stats-red { border-left-color: #dc3545; }

.admin-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.admin-stat-label {
    font-size: 0.85rem;
    color: var(--gray-medium);
    font-weight: 500;
    text-transform: uppercase;
}

.admin-stat-icon {
    font-size: 2.2rem;
    color: var(--gray-light);
}

/* Tables in Admin */
.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.admin-table th, .admin-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
}

.admin-table th {
    background-color: var(--light);
    color: var(--secondary);
    font-weight: 600;
    font-family: var(--font-body);
}

.admin-table tbody tr:hover {
    background-color: #fafbfa;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-success { background-color: #d1e7dd; color: #0f5132; }
.badge-secondary { background-color: #e2e3e5; color: #41464b; }
.badge-danger { background-color: #f8d7da; color: #842029; }
.badge-warning { background-color: #fff3cd; color: #664d03; }
.badge-primary { background-color: #cff4fc; color: #055160; }

/* Action Links */
.action-links {
    display: flex;
    gap: 12px;
}

.action-edit { color: var(--primary); }
.action-edit:hover { color: var(--secondary); }
.action-delete { color: #dc3545; }
.action-delete:hover { color: #842029; }

/* Tabs Layout in Admin Settings */
.settings-tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 30px;
    gap: 15px;
}

.settings-tab-btn {
    border: none;
    background: none;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--gray-medium);
    border-bottom: 3px solid transparent;
    transition: var(--transition-fast);
}

.settings-tab-btn.active, .settings-tab-btn:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
}

/* Modal details */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.admin-modal-content {
    background-color: var(--white);
    border-radius: var(--radius-md);
    width: 600px;
    max-width: 90%;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.admin-modal-header {
    background-color: var(--secondary);
    color: var(--white);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h3 {
    color: var(--white);
    font-size: 1.15rem;
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
}

.admin-modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Responsive styles */
@media (max-width: 991px) {
    .two-col-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .card-grid-3, .team-grid, .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .top-contacts {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .top-contacts a, .top-contacts span {
        justify-content: center;
        text-align: center;
        line-height: 1.4;
    }

    .nav-menu {
        display: none; /* Mobile navigation is handled by JS toggle drawer */
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding: 5px 0 5px 20px;
        background-color: transparent;
        min-width: auto;
        width: 100%;
        text-align: center;
    }
    
    .nav-item.open .dropdown-menu {
        display: block;
    }

    .dropdown-item a {
        padding: 8px 0;
        color: var(--secondary);
    }
    
    .dropdown-item a:hover {
        padding-left: 0;
        color: var(--primary);
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card-grid-3, .card-grid-2, .team-grid, .gallery-grid, .mission-vision-grid, .form-row, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .job-listing-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .admin-layout {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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