/* ========================================
   UPTOWN HEALING - LEARN PAGE STYLES
   Mountain Rose Herbs inspired design
======================================== */

/* Import Google Fonts - CRITICAL FOR PROPER STYLING */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Define CSS variables - EXACT MATCH TO SHOP PAGE */
:root {
    /* Refined sage green palette */
    --primary: #7FA99B;
    --primary-light: #9BBDB0;
    --primary-dark: #6A8F81;
    --secondary: #C5D6CE;
    --accent: #8FB5A5;
    --light: #F7F9F8;
    --dark: #2F3E36;
    --text: #3A4A42;
    --white: #ffffff;
    --gray-50: #FAFBFA;
    --gray-100: #F5F7F6;
    --gray-200: #E8EBE9;
    --gray-300: #D5DAD7;
    --gray-400: #B4BCB8;
    --gray-500: #93A099;
    --gray-600: #728078;
    --gray-700: #556058;
    --gray-800: #3A4A42;
    --gray-900: #1F2821;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 2px 8px rgba(127, 169, 155, 0.08);
    --shadow-lg: 0 8px 24px rgba(127, 169, 155, 0.12);
    --border-radius: 0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles - EXACT MATCH TO SHOP PAGE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

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

/* ========================================
   HEADER STYLES - EXACT SHOP PAGE MATCH
======================================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Header Main Row - Mountain Rose Herbs Style */
.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    min-height: 80px;
}

/* LEFT SIDE - Navigation */
.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: flex-start;
    position: relative;
}

.header-left nav {
    display: flex;
    gap: 28px;
    position: relative;
}

/* Navigation Item Wrapper for Dropdowns */
.nav-item {
    position: relative;
}

.header-left nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 8px 0;
    white-space: nowrap;
    display: block;
    font-family: 'Libre Baskerville', serif;
}

.header-left nav a:hover {
    color: var(--primary);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    min-width: 800px;
    padding: 40px;
    display: none;
    z-index: 10000;
    margin-top: 8px;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

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

.dropdown-column h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
}

.dropdown-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-column ul li {
    margin-bottom: 12px;
}

.dropdown-column ul li a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: var(--transition);
    display: block;
    padding: 4px 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Libre Baskerville', serif;
}

.dropdown-column ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

/* CENTER - Logo */
.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* RIGHT SIDE - Actions */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.header-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}

.header-wrapper .logo {
    grid-column: 2;
    justify-self: center;
}

.header-actions {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: flex-end;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Search Icon Button */
.search-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    font-size: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    color: var(--primary);
}

/* Account Link - Text Style */
.account-link a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    font-family: 'Libre Baskerville', serif;
}

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

.account-link i {
    display: none;
}

.account-label {
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Libre Baskerville', serif;
}

/* Cart Link */
.cart-link a {
    color: var(--text);
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    position: relative;
}

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

.cart-link i {
    font-size: 24px;
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    padding: 0 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   MAIN NAVIGATION - EXACT SHOP PAGE MATCH
======================================== */

.main-navigation {
    background-color: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 0;
    position: relative;
    z-index: 1;
}

.main-navigation .container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.main-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    justify-content: center;
    gap: 0;
}

.main-navigation .menu::-webkit-scrollbar {
    display: none;
}

.main-navigation .menu-item {
    white-space: nowrap;
}

.main-navigation .menu-item a {
    display: block;
    padding: 18px 28px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    font-family: 'Libre Baskerville', serif;
}

.main-navigation .menu-item a:hover {
    color: var(--primary);
}

.main-navigation .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-navigation .menu-item a:hover::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

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

/* Mobile Menu Styles */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: color 0.2s;
    font-family: 'Libre Baskerville', serif;
}

.mobile-menu nav a:hover {
    color: var(--primary);
}

/* ========================================
   PAGE BANNER
======================================== */

.page-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 40px 0;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff10" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.page-banner h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 36px;
    margin-bottom: 8px;
    color: white;
    position: relative;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.page-banner .subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    font-family: 'Libre Baskerville', serif;
}

/* ========================================
   TAB NAVIGATION
======================================== */

.tab-navigation {
    background: white;
    padding: 30px 0 20px;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 90;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.tab-button {
    background: var(--light);
    border: 2px solid var(--secondary);
    color: var(--gray-600);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Libre Baskerville', serif;
}

.tab-button:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(127, 169, 155, 0.3);
}

.tab-button i {
    font-size: 16px;
}

/* ========================================
   MAIN CONTENT
======================================== */

.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 80px;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 32px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    margin-bottom: 28px;
    line-height: 1.6;
    font-family: 'Libre Baskerville', serif;
}

.intro-text {
    font-size: 16px;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 35px;
    font-family: 'Libre Baskerville', serif;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

.organ-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 26px;
    font-weight: 400;
    color: var(--primary);
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.organ-title i {
    font-size: 24px;
}

.organ-description {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.7;
    font-family: 'Libre Baskerville', serif;
}

/* Info Boxes */
.organ-responsibilities,
.warning-box,
.lifestyle-recommendations,
.info-note {
    margin: 30px 0;
    padding: 24px;
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.organ-responsibilities h4,
.warning-box h4,
.lifestyle-recommendations h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark);
}

.organ-responsibilities ul,
.warning-box ul,
.lifestyle-recommendations ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.organ-responsibilities li,
.warning-box li,
.lifestyle-recommendations li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    line-height: 1.7;
    color: var(--text);
    font-family: 'Libre Baskerville', serif;
}

.organ-responsibilities li::before,
.warning-box li::before,
.lifestyle-recommendations li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 14px;
}

.info-note p {
    margin: 0;
    line-height: 1.7;
    color: var(--text);
    font-family: 'Libre Baskerville', serif;
}

/* Section Headers */
h4 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    font-family: 'Libre Baskerville', serif;
}

/* Medication List */
.med-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.med-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.med-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.med-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    font-family: 'Libre Baskerville', serif;
}

.med-description {
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    font-family: 'Libre Baskerville', serif;
}

/* Food Highlight */
.food-highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Libre Baskerville', serif;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.benefit-card {
    background: white;
    border: 1px solid var(--secondary);
    border-radius: 8px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(127, 169, 155, 0.2);
    border-color: var(--primary-light);
}

.benefit-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Libre Baskerville', serif;
}

.benefit-title::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.benefit-card p {
    color: var(--text);
    line-height: 1.7;
    font-size: 15px;
    font-family: 'Libre Baskerville', serif;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.service-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
    font-family: 'Libre Baskerville', serif;
}

.service-card p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
    font-family: 'Libre Baskerville', serif;
}

/* Button Styling */
.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    text-align: center;
    display: inline-block;
    text-decoration: none;
    font-family: 'Libre Baskerville', serif;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(127, 169, 155, 0.3);
}

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

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

/* ========================================
   FOOTER STYLES - EXACT SHOP PAGE MATCH
======================================== */

.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 80px 0 0;
    margin-top: 80px;
}

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

.footer-logo img {
    height: 80px;
    margin-bottom: 24px;
}

.footer-description {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
    font-family: 'Libre Baskerville', serif;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.widget-title {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Libre Baskerville', serif;
}

.widget-menu {
    list-style: none;
}

.widget-menu li {
    margin-bottom: 12px;
}

.widget-menu a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    font-family: 'Libre Baskerville', serif;
}

.widget-menu a:hover {
    color: var(--white);
}

.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.newsletter-description {
    color: var(--gray-400);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: 'Libre Baskerville', serif;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 14px;
    font-family: 'Libre Baskerville', serif;
}

.newsletter-form input::placeholder {
    color: var(--gray-500);
}

.newsletter-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    font-family: 'Libre Baskerville', serif;
}

.newsletter-submit:hover {
    background: var(--primary-dark);
}

.newsletter-privacy {
    color: var(--gray-500);
    font-size: 12px;
    font-family: 'Libre Baskerville', serif;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.copyright {
    color: var(--gray-500);
    font-size: 13px;
    font-family: 'Libre Baskerville', serif;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background: var(--primary-dark);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1200px) {
    .header-container, .container, .main-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-newsletter {
        grid-column: 1 / -1;
    }
    
    .header-left nav {
        gap: 20px;
    }
    
    .header-left nav a {
        font-size: 12px;
    }

    .dropdown-menu {
        min-width: 700px;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .header-main {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }

    .mobile-menu-toggle, .menu-toggle {
        display: block;
    }
    
    .header-left nav {
        display: none;
    }

    .page-banner h1 {
        font-size: 32px;
    }

    .main-content {
        padding: 50px 30px 70px;
    }

    .section-title {
        font-size: 28px;
    }

    .organ-title {
        font-size: 22px;
    }

    .tab-navigation {
        padding: 20px 0;
    }

    .tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .benefits-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 28px;
    }

    .main-content {
        padding: 40px 20px 60px;
    }

    .section-title {
        font-size: 24px;
    }

    .organ-title {
        font-size: 20px;
    }

    .header-container, .container {
        padding: 0 20px;
    }

    .footer-newsletter {
        grid-column: auto;
        padding: 25px 20px;
    }

    .newsletter-form {
        flex-direction: row;
    }

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

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .logo img {
        height: 50px;
    }

    .account-label {
        font-size: 12px;
    }

    .footer-logo img {
        height: 60px;
    }

    .tab-buttons {
        padding: 0 20px;
    }

    .tab-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}