:root {
    --brand-primary: #1A365D;
    --brand-secondary: #334155;
    --brand-tertiary: #E2E8F0;
    --brand-accent: #C5A059;
    --bg-body: #F8FAFC;
    --bg-surface: #F8FAFC;
    --bg-header: var(--brand-primary);
    --bg-footer: #0F172A;
    --bg-dropdown: #243B53;
    --text-light: #F8FAFC;
    --text-dark: #1E293B;
    --text-accent: var(--brand-accent);
    --nav-active-bg: rgba(255, 255, 255, 0.1); 
    --nav-hover-border: var(--brand-accent);
    --dropdown-hover-border: var(--brand-accent);
    --divider-line: rgba(255, 255, 255, 0.15); 
    --mobile-menu-bg: var(--brand-primary);
    --mobile-menu-hover-bg: rgba(255, 255, 255, 0.1);
    --mobile-dropdown-bg: rgba(0, 0, 0, 0.15);
}

body { 
    margin: 0; 
    padding: 0; 
    font-family: Georgia, 'Times New Roman', Times, serif; 
    padding-top: 20vh; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-y: auto;
    background-color: var(--bg-body);
    color: var(--text-dark);
}

/* Fixed scrollbar styling for Opera and WebKit browsers to eliminate the white gutter bar */
::-webkit-scrollbar {
    width: 8px;
    background-color: #F8FAFC;
}
::-webkit-scrollbar-track {
    background-color: #F8FAFC !important;
}
::-webkit-scrollbar-thumb {
    background-color: #CBD5E1 !important;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #94A3B8 !important;
}

.topcontainer {
    background-color: var(--bg-header);
    width: 100%;
    height: 15vh;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-sizing: border-box;
    z-index: 2000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.toplogo { height: 10vh; width: auto; transition: all 0.3s ease; }

.cedratechtxt {
    color: var(--text-light);
    font-size: 3vh;
    font-weight: bold;
    margin-left: 15px;
    white-space: nowrap;
    flex-shrink: 0; 
}

nav { margin-left: auto; }
nav ul { display: flex; list-style: none; gap: 7.5px; margin: 0; padding: 0; align-items: center; }

.nav-item {
    position: relative;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-item.hover-outline:hover { border-color: var(--nav-hover-border); }

.active-box {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--nav-active-bg);
    border-radius: 6px;
    z-index: 1;
}

.nav-item.active .active-box { display: block; }
.nav-item.active a { color: var(--text-light); }

nav a { 
    text-decoration: none; 
    color: var(--text-light); 
    font-weight: bold; 
    font-size: 2vh;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dropdown);
    padding: 5px 0;
    min-width: 320px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    list-style: none;
    z-index: 1001;
    border-radius: 0 0 6px 6px;
    border-top: 2px solid var(--brand-accent);
}

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

.dropdown-item {
    padding: 8px 20px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    margin: 2px 10px;
    border-radius: 4px;
}

.dropdown-item:hover { border-color: var(--dropdown-hover-border); }
.dropdown-menu li a { display: block; font-size: 1.8vh; white-space: nowrap; color: var(--text-light); }

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    margin-left: auto;
    color: var(--text-light);
    transition: transform 0.2s ease;
    user-select: none;
}

.menu-toggle:active { transform: scale(0.95); }

main h1 { text-align: center; color: var(--text-accent); }

/* Page Hero Section */
.page-hero {
    background-color: var(--brand-primary);
    color: var(--text-light);
    padding: 70px 5vw 80px 5.5vw;
    text-align: center;
}

.page-hero .eyebrow {
    color: var(--brand-accent);
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-hero p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Filter Tabs Bar */
.filter-section {
    background-color: var(--brand-primary);
    padding: 0 5vw 40px 5.5vw;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--bg-footer);
    font-weight: bold;
}

/* Service & Content Layouts */
.service-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 30px;
    text-align: center;
}

.overview-text {
    font-size: 1.35rem;
    line-height: 1.7;
    color: var(--brand-secondary);
    margin-bottom: 70px;
}

.section-block {
    margin-bottom: 60px;
}

.section-block h3 {
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 25px;
}

.deliverables-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
    text-align: left;
}

.deliverables-list li {
    position: relative;
    padding: 12px 0 12px 25px;
    font-size: 1.15rem;
    color: var(--brand-secondary);
    border-bottom: 1px solid var(--brand-tertiary);
}

.deliverables-list li::before {
    content: "▪";
    color: var(--brand-accent);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.engagement-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--brand-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.audience-box {
    background-color: var(--bg-surface);
    padding: 25px 30px;
    border-radius: 6px;
    border: 1px solid var(--brand-tertiary);
    font-size: 1.1rem;
    color: var(--brand-secondary);
    max-width: 750px;
    margin: 0 auto;
}

/* Portfolio Header & Layout */
.portfolio-header {
    background-color: var(--brand-primary);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 50px;
}
.portfolio-header span {
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}
.portfolio-header h1 {
    font-size: 2.8rem;
    margin: 0;
    color: white;
}

.portfolio-section {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}
.portfolio-section h3 {
    color: var(--brand-accent);
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--brand-tertiary);
    padding-bottom: 10px;
}
.portfolio-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.portfolio-section ul {
    margin-bottom: 30px;
    padding-left: 20px;
}
.portfolio-section li {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Interactive Tiers Grid Cards */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}
.tier-card {
    background: #FFFFFF;
    border: 1px solid var(--brand-tertiary);
    border-top: 4px solid var(--brand-accent);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.08);
}
.tier-card h4 {
    color: var(--brand-primary);
    margin-top: 0;
    font-size: 1.3rem;
    margin-bottom: 15px;
}
.tier-meta {
    font-size: 0.95rem;
    color: var(--brand-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.tier-meta strong {
    color: var(--brand-primary);
    min-width: 90px;
}

/* Interactive Paths Grid Cards */
.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}
.path-card {
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-left: 5px solid var(--brand-accent);
    border-radius: 8px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.path-card:hover {
    border-color: var(--brand-primary);
    border-left-color: var(--brand-primary);
    background: var(--bg-surface);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(26, 54, 93, 0.08);
}
.path-number {
    display: inline-block;
    background: #F1F5F9;
    color: var(--brand-primary);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    border: 1px solid #E2E8F0;
}
.path-card:hover .path-number {
    background: var(--brand-primary);
    color: var(--brand-accent);
    border-color: var(--brand-primary);
}
.path-card h4 {
    margin: 0 0 10px 0;
    color: var(--brand-primary);
    font-size: 1.2rem;
}
.path-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--brand-secondary);
    line-height: 1.5;
}

/* Interactive Catalog Filter & Accordion System */
.catalog-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.catalog-accordion-item {
    background: #FFFFFF;
    border: 1px solid var(--brand-tertiary);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    scroll-margin-top: calc(15vh + 30px);
}
.catalog-accordion-header {
    background: var(--bg-surface);
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--brand-primary);
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
}
.catalog-accordion-header:hover {
    background-color: #f1f5f9;
}
.catalog-accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--brand-accent);
    transition: transform 0.2s ease;
}
.catalog-accordion-item.open .catalog-accordion-header::after {
    transform: rotate(45deg);
}
.catalog-accordion-content {
    display: none;
    padding: 20px 25px;
    border-top: 1px solid var(--brand-tertiary);
}
.catalog-accordion-item.open .catalog-accordion-content {
    display: block;
}

/* Course Cards inside Accordion */
.course-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.course-item-card {
    background: var(--bg-surface);
    border-left: 4px solid var(--brand-primary);
    padding: 15px 20px;
    border-radius: 0 6px 6px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.15s ease;
}
.course-item-card:hover {
    transform: translateX(4px);
}
.course-info h5 {
    margin: 0 0 6px 0;
    color: var(--brand-primary);
    font-size: 1.05rem;
}
.course-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}
.tier-badge {
    background: var(--brand-accent);
    color: var(--bg-footer);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.textbar-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 5vh;
    margin-left: 5vw;
    margin-right: 5vw;
    margin-bottom: 8vh;
}

.textbar {
    text-align: center;
    background-color: var(--bg-surface);
    color: var(--text-dark);
    border-radius: 4px;
    border-top: 4px solid var(--brand-primary);
    padding: 40px 30px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 18px;
    line-height: 1.6;
}

.textbar h4 { margin-top: 0; color: var(--brand-primary); font-size: 22px; }

.cta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 100px;
}

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid var(--brand-primary);
}

.cta-button.primary { background-color: var(--brand-primary); color: white; }
.cta-button.primary:hover { background-color: transparent; color: var(--brand-primary); }
.cta-button.secondary { background-color: transparent; color: var(--brand-primary); }
.cta-button.secondary:hover { background-color: var(--brand-primary); color: white; }

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background-color: var(--brand-accent);
    color: var(--bg-footer);
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    background-color: #b08d48;
}

.btn-secondary-custom {
    background-color: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    padding: 15px 35px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

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

/* Practice Areas Grid */
.practice-areas {
    padding: 80px 5vw;
    background-color: var(--bg-surface);
}

.practice-areas h2 {
    text-align: center;
    color: var(--brand-primary);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.practice-card {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.practice-card.hide {
    display: none;
}

.practice-card:hover {
    border-color: var(--brand-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-accent);
    font-weight: bold;
    margin-bottom: 10px;
}

.practice-card h4 {
    margin-top: 0;
    color: var(--brand-primary);
    font-size: 1.25rem;
}

.practice-card p {
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.read-more {
    color: var(--brand-accent);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 15px;
    display: block;
}

/* Approach Banner / Extra Value Add Section */
.approach-section {
    background-color: #FFFFFF;
    padding: 80px 5vw;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.approach-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.approach-text h2 {
    font-size: 2.2rem;
    color: var(--brand-primary);
    margin-top: 0;
    margin-bottom: 20px;
}

.approach-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--brand-secondary);
    margin-bottom: 20px;
}

.approach-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background-color: var(--bg-surface);
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid var(--brand-accent);
}

.stat-box h3 {
    margin: 0 0 10px 0;
    font-size: 2rem;
    color: var(--brand-primary);
}

.stat-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--brand-secondary);
}

.info-sections {
    padding: 60px 5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-box, .interactive-card {
    padding: 30px;
    border-radius: 4px;
    background: #FFFFFF;
    border: 1px solid var(--brand-tertiary);
    transition: all 0.3s ease;
}

.feature-box h3 { color: var(--brand-primary); margin-top: 0; }

.interactive-card {
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.interactive-card:hover {
    border-color: var(--brand-accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.btn-inline {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 10px;
    border-bottom: 2px solid var(--brand-accent);
}

@media (max-width: 768px) {
    .split-row { grid-template-columns: 1fr; }
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--brand-primary);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    font-size: 20px;
    transition: opacity 0.4s, background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: center;
}

#backToTop:hover { background-color: var(--brand-accent); }

footer { background-color: var(--bg-footer); color: var(--text-light); padding: 50px 30px; margin-top: auto; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; align-self: center; justify-items: center;}
.footer-grid > div { text-align: center; }
footer h4 { margin-bottom: 15px; color: var(--brand-accent); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { color: var(--text-light); text-decoration: none; opacity: 0.85; transition: opacity 0.2s ease; }
footer a:hover { opacity: 1; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--divider-line); font-size: 0.85em; opacity: 0.7; }

.contact-section {
    background-color: var(--bg-footer);
    color: var(--text-light);
    padding: 80px 5vw;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.eyebrow {
    color: var(--brand-accent);
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    margin-bottom: 20px;
}

.contact-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.contact-cta {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--brand-accent);
    color: var(--bg-footer);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-cta:hover {
    transform: scale(1.05);
    background-color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 650px;
    margin: 40px auto 0;
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--brand-accent);
}

.contact-form button {
    background: var(--brand-accent);
    color: var(--bg-footer);
    border: none;
    padding: 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.contact-form button:hover {
    background: white;
}

@media (max-width: 900px) {
    .approach-container { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 1100px) {
    body { padding-top: 80px; }
    .topcontainer { height: 80px; padding: 0 20px; }
    .toplogo { height: 50px; }
    .cedratechtxt { font-size: 2.2vh; }
    .menu-toggle { display: block; }
    nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--mobile-menu-bg);
        border-top: 1px solid var(--divider-line);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    nav.active { display: block; }
    nav ul { flex-direction: column; align-items: stretch; padding: 20px 0; gap: 5px; }
    .nav-item { border-radius: 0; padding: 15px 30px; justify-content: center; }
    .active-box { display: none !important; }
    .nav-item.hover-outline:hover { border-color: transparent; background-color: var(--mobile-menu-hover-bg); }
    .nav-item.active a { color: var(--text-light); }
    .dropdown { flex-direction: column; }
    .dropdown-menu { position: static; box-shadow: none; background-color: var(--mobile-dropdown-bg); width: 100%; padding: 10px 0; margin-top: 10px; border-radius: 0; border-top: none; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .dropdown-item { text-align: center; padding: 12px 20px; }
    .dropdown-menu li a { font-size: 1.8vh; white-space: normal; }
    
    .catalog-accordion-item {
        scroll-margin-top: 100px;
    }
}

@media (max-width: 500px) { 
    .cedratechtxt { display: none; } 
    .contact-section h2 { font-size: 1.8rem; }
    .contact-cta { width: 100%; box-sizing: border-box; }
    .course-item-card { flex-direction: column; align-items: flex-start; }
    .action-buttons { flex-direction: column; }
    .btn-primary-custom, .btn-secondary-custom { width: 100%; box-sizing: border-box; text-align: center; }
    
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .cta-button {
        width: 80%;
        text-align: center;
        padding: 18px 20px;
    }
}

/* Gallery Layout Styles */
.gallery-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-category {
    margin-bottom: 50px;
}

.gallery-category-title {
    color: var(--brand-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--brand-tertiary);
    padding-bottom: 8px;
}

.gallery-row-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gallery-scroll-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    width: 100%;
    scrollbar-width: none;
}

.gallery-scroll-row::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 280px;
    height: 200px;
    background-color: var(--bg-surface);
    border: 1px solid var(--brand-tertiary);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-btn {
    background-color: var(--brand-primary);
    color: white;
    border: none;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.scroll-btn:hover {
    background-color: var(--brand-accent);
    color: var(--bg-footer);
    transform: scale(1.1);
}

.left-btn {
    left: -20px;
}

.right-btn {
    right: -20px;
}

@media (max-width: 768px) {
    .scroll-btn {
        display: none;
    }
    .gallery-item {
        flex: 0 0 240px;
        height: 160px;
    }
}