/* ============================================
   Pro Butcher Works Theme - Main Stylesheet
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f9f9f9;
    font-family: 'Work Sans', sans-serif;
    color: #1a1c1c;
    line-height: 1.5;
    overflow-x: hidden;
}

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

/* ---------- COLOR VARIABLES ---------- */
:root {
    --primary: #60000c;
    --primary-dark: #8a0015;
    --primary-container: #8a0015;
    --on-primary: #ffffff;
    --secondary: #506169;
    --secondary-light: #d1e2ec;
    --tertiary: #3b2a00;
    --tertiary-container: #563f00;
    --tertiary-fixed: #ffdf9e;
    --surface: #f9f9f9;
    --surface-container: #eeeeee;
    --surface-container-low: #f3f3f3;
    --surface-container-lowest: #ffffff;
    --surface-container-high: #e8e8e8;
    --surface-container-highest: #e2e2e2;
    --on-surface: #1a1c1c;
    --on-surface-variant: #5a403c;
    --outline-variant: #e3beb8;
    --background: #f9f9f9;
    --on-background: #1a1c1c;
    --error: #ba1a1a;
    --error-container: #ffdad6;
    --inverse-surface: #2f3131;
    --inverse-on-surface: #f1f1f1;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 6rem 0;
    
    /* Transitions */
    --transition-default: all 0.3s ease;
}

/* ---------- TYPOGRAPHY ---------- */
.font-headline {
    font-family: 'Epilogue', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Epilogue', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

/* ---------- CONTAINER ---------- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ---------- BUTTONS ---------- */
.btn-primary {
    background: linear-gradient(135deg, #60000c 0%, #8a0015 100%);
    color: white;
    font-family: 'Epilogue', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 1rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

.btn-outline {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    font-family: 'Epilogue', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s;
    padding: 1rem 2rem;
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.2);
}

/* ---------- HEADER ---------- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-default);
}

.sticky-header.header-scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.site-branding img {
    max-height: 80px;
    width: auto;
}

.site-title a {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-navigation {
    display: block;
}

.primary-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu a {
    font-family: 'Epilogue', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #506169;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ---------- MOBILE DRAWER NAVIGATION ---------- */

/* Desktop Book Button - Hidden on Mobile */
.desktop-book-btn {
    display: inline-flex;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

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

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

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

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.mobile-drawer.active {
    visibility: visible;
    pointer-events: auto;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--surface-container-lowest);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-drawer.active .drawer-content {
    transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
    background: var(--surface-container-lowest);
}

.drawer-branding img {
    max-height: 40px;
    width: auto;
}

.drawer-site-title {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
}

.drawer-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    border-radius: 50%;
    transition: background 0.2s;
}

.drawer-close:hover {
    background: var(--surface-container-high);
}

.drawer-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--on-surface);
    border-radius: 2px;
}

.drawer-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Drawer Navigation */
.drawer-navigation {
    flex: 1;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-menu li {
    margin-bottom: 0.5rem;
}

.drawer-menu a {
    display: block;
    padding: 0.75rem 0;
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--on-surface);
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

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

.drawer-menu .current-menu-item a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Submenu Styles */
.drawer-menu .menu-item-has-children {
    position: relative;
}

.drawer-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding-left: 1rem;
    display: none;
}

.drawer-menu .sub-menu.active {
    display: block;
}

.drawer-menu .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-menu .submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.drawer-menu .submenu-toggle.active {
    transform: rotate(180deg);
}

.drawer-menu .submenu-toggle .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--secondary);
}

.drawer-menu .sub-menu a {
    padding: 0.5rem 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Drawer Footer */
.drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--outline-variant);
    background: var(--surface-container-low);
}

.drawer-book-btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.drawer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.drawer-contact-item .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--primary);
}

.drawer-contact-item a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.drawer-contact-item a:hover {
    color: var(--primary);
}

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

/* Animation for drawer items */
.drawer-menu li {
    opacity: 0;
    transform: translateX(20px);
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.drawer-menu li:nth-child(1) { animation-delay: 0.05s; }
.drawer-menu li:nth-child(2) { animation-delay: 0.1s; }
.drawer-menu li:nth-child(3) { animation-delay: 0.15s; }
.drawer-menu li:nth-child(4) { animation-delay: 0.2s; }
.drawer-menu li:nth-child(5) { animation-delay: 0.25s; }
.drawer-menu li:nth-child(6) { animation-delay: 0.3s; }
.drawer-menu li:nth-child(7) { animation-delay: 0.35s; }
.drawer-menu li:nth-child(8) { animation-delay: 0.4s; }
.drawer-menu li:nth-child(9) { animation-delay: 0.45s; }
.drawer-menu li:nth-child(10) { animation-delay: 0.5s; }

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    height: 921px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--on-background);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    opacity: 0.6;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(96, 0, 12, 0.9) 0%, rgba(26, 28, 28, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: #563f00;
    color: #ffdf9e;
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #eeeeee;
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- SERVICES SECTION ---------- */
/* ============================================
   Services Section with Images
   ============================================ */

.services-section {
    padding: var(--section-padding);
    background-color: var(--surface);
    position: relative;
    overflow: hidden;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header-left {
    max-width: 600px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    background: rgba(96, 0, 12, 0.1);
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.why-join .section-title,
.faq-section .section-title{
margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary);
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Service Card with Image */
.service-card-image {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.service-card-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(96, 0, 12, 0.15);
}

/* Image Wrapper */
.service-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-image:hover .service-image {
    transform: scale(1.05);
}

/* Image Overlay */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(96, 0, 12, 0.2),
        rgba(96, 0, 12, 0.8)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.5rem;
}

.service-card-image:hover .service-overlay {
    opacity: 1;
}

.service-overlay-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.service-card-image:hover .service-overlay-content {
    transform: translateY(0);
}

.service-number {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    font-family: 'Epilogue', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Service Content */
.service-content {
    padding: 1.5rem;
    position: relative;
    background: white;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--on-surface);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card-image:hover .service-title {
    color: var(--primary);
}

.service-description {
    color: var(--secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-link:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Alternate Card Styles */
.service-card-image.service-alt {
    background: var(--surface-container);
}

.service-card-image.service-alt .service-content {
    background: var(--surface-container);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        gap: 1.5rem;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-image {
        max-width: 100%;
    }
    
    .service-image-wrapper {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 480px) {
    .service-content {
        padding: 1.25rem;
    }
    
    .service-title {
        font-size: 1rem;
    }
    
    .service-description {
        font-size: 0.8125rem;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card-image {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card-image:nth-child(1) { animation-delay: 0.1s; }
.service-card-image:nth-child(2) { animation-delay: 0.2s; }
.service-card-image:nth-child(3) { animation-delay: 0.3s; }
.service-card-image:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects */
.service-card-image {
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card-image:hover::after {
    transform: scaleX(1);
}

/* ---------- ABOUT SECTION ---------- */
.about-section {
    padding: var(--section-padding);
    background-color: var(--surface-container-low);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    aspect-ratio: 4/5;
    background-color: var(--surface-container-highest);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 12rem;
    height: 12rem;
    background-color: var(--primary);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.experience-years {
    color: white;
    font-family: 'Epilogue', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
}

.experience-text {
    color: #ff8f8a;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-tag {
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--on-surface);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.about-title span {
    color: var(--primary);
}

.about-description {
    font-size: 1.125rem;
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature h4 {
    font-family: 'Epilogue', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.875rem;
    color: var(--secondary);
}

/* ---------- ADVANTAGES SECTION ---------- */
.advantages-section {
    padding: var(--section-padding);
    background-color: var(--surface);
}

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

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    background: var(--surface-container-low);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-card .advantage-icon {
    width: 3rem;
    height: 3rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-card .advantage-icon .material-symbols-outlined {
    color: var(--primary);
}

.advantage-card h3 {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
}

.advantage-card p {
    color: var(--secondary);
    font-size: 0.875rem;
}

.advantage-highlight {
    background: var(--on-background);
    color: white;
    position: relative;
    overflow: hidden;
}

.advantage-highlight .advantage-icon .material-symbols-outlined {
    color: white;
}

.advantage-highlight .advantage-icon {
    background: rgba(255,255,255,0.1);
}

.advantage-highlight h3 {
    color: white;
}

.advantage-highlight p {
    color: #e2e2e2;
}

.advantage-tag {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: #ffdf9e;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---------- TRUST SECTION ---------- */
.trust-section {
    padding: 4rem 0;
    background: rgba(243, 243, 243, 0.5);
}

.trust-label {
    text-align: center;
    color: var(--secondary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    margin-bottom: 2.5rem;
    opacity: 0.6;
}

.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    filter: grayscale(1);
    opacity: 0.5;
}

.trust-logos span {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: 8rem 0;
    background-color: var(--on-background);
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(96,0,12,0.1);
    mix-blend-mode: overlay;
}

.cta-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 20px 20px;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.cta-title span {
    color: #8a0015;
}

.cta-subtitle {
    color: #eeeeee;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 1.5rem auto 2rem;
    font-weight: 300;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background-color: #f3f3f3;
    color: #506169;
}

.footer-widgets {
    padding: 5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1a1c1c;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    line-height: 1.6;
    opacity: 0.8;
}

.footer-col h5 {
    color: #1a1c1c;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-menu a {
    color: #506169;
    text-decoration: none;
    transition: color 0.2s;
}

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

.contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info .material-symbols-outlined {
    color: var(--primary);
}

.contact-info a {
    color: #506169;
    text-decoration: none;
}

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

/* Newsletter Form Styles */
.newsletter-form {
    position: relative;
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    animation: slideDown 0.3s ease;
    display: none;
}

.newsletter-message.success {
    background-color: #d4edda;
    color: #155724;
    border-left: 3px solid #28a745;
}

.newsletter-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 3px solid #dc3545;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter button loading state */
.newsletter-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-form input {
    background: white;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    width: 100%;
    font-family: inherit;
}

.newsletter-form button {
    background: var(--primary);
    color: white;
    padding: 0.75rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(227, 190, 184, 0.3);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.7rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: #506169;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ---------- BLOG SECTION ---------- */
.blog-section {
    padding: var(--section-padding);
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--secondary);
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-meta .material-symbols-outlined {
    font-size: 1rem;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--on-surface);
    text-decoration: none;
}

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

.blog-excerpt {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

/* ---------- PAGINATION ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination .page-numbers {
    padding: 0.5rem 1rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-default);
}

.pagination .page-numbers.current {
    background: var(--primary);
    color: white;
}

.pagination .page-numbers:hover:not(.current) {
    background: var(--surface-container-high);
}

/* ---------- 404 PAGE ---------- */
.error-404 {
    padding: 8rem 0;
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

.error-404 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404 p {
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.error-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.search-form-wrapper {
    max-width: 400px;
    width: 100%;
}

.search-form-wrapper input[type="search"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--outline-variant);
    border-radius: 4px;
    font-size: 1rem;
}

/* ---------- SEARCH RESULTS ---------- */
.search-results-section {
    padding: var(--section-padding);
}

.search-header h1 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
}

.search-result-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: var(--transition-default);
}

.search-result-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: var(--on-surface);
    text-decoration: none;
}

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

.result-excerpt {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-type {
    font-size: 0.875rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.no-results {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 8px;
}

.no-results p {
    margin-bottom: 1.5rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .experience-badge {
        width: 10rem;
        height: 10rem;
        bottom: -1rem;
        right: -1rem;
    }
    
    .experience-years {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 4rem 0;
    }
    
    /* Hide desktop navigation and book button on mobile */
    .desktop-navigation {
        display: none;
    }
    
    .desktop-book-btn {
        display: none;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Adjust header for mobile */
    .header-container {
        height: 70px;
    }
    
    .site-branding img {
        max-height: 40px;
    }
    
    .site-title a {
        font-size: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-section {
        height: 700px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title,
    .about-title,
    .cta-title {
        font-size: 1.75rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .experience-badge {
        width: 8rem;
        height: 8rem;
        bottom: -0.5rem;
        right: -0.5rem;
    }
    
    .experience-years {
        font-size: 1.5rem;
    }
    
    .trust-logos span {
        font-size: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .error-code {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Touch-friendly adjustments for mobile */
@media (max-width: 768px) {
    .drawer-menu a,
    .drawer-book-btn,
    .drawer-close {
        min-height: 44px;
    }
    
    .drawer-menu a {
        padding: 0.875rem 0;
    }
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.advantage-card,
.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* ---------- ACCESSIBILITY ---------- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Drawer accessibility */
.drawer-close:focus-visible,
.mobile-menu-toggle:focus-visible,
.drawer-book-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   Page Templates Styles
   ============================================ */

/* About Page Styles */
.about-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.mission-vision {
    padding: 80px 0;
    background: var(--surface);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card, .vision-card, .values-card {
    padding: 2.5rem;
    background: white;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-default);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mission-icon, .vision-icon, .values-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-icon .material-symbols-outlined,
.vision-icon .material-symbols-outlined,
.values-icon .material-symbols-outlined {
    font-size: 2rem;
    color: white;
}

/* Timeline Styles */
.history-timeline {
    padding: 80px 0;
    background: var(--surface-container-low);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 120px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
}

.timeline-content {
    width: calc(50% - 40px);
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
}

/* Team Styles */
.leadership-team {
    padding: 80px 0;
    background: var(--surface);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-default);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: bottom 0.3s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-default);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.team-info {
    padding: 1.5rem;
    text-align: center;
}

.team-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-bio {
    font-size: 0.875rem;
    color: var(--secondary);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Epilogue', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
 }

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-section {
    padding: 80px 0;
    background: var(--surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.info-items {
    margin: 2rem 0;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--surface-container-high);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon .material-symbols-outlined {
    color: var(--primary);
    font-size: 1.5rem;
}

.info-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-content p {
    color: var(--secondary);
    margin-bottom: 0.25rem;
}

.info-content a {
    color: var(--secondary);
    text-decoration: none;
}

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

.social-connect {
    margin-top: 2rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: var(--surface-container-high);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-default);
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--on-surface);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--outline-variant);
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition-default);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(96,0,12,0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Map Section */
.map-section {
    padding: 0 0 80px;
}

.map-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--surface-container-low);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--surface-container-high);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    transition: transform 0.2s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

/* Gallery Page Styles */
.gallery-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.gallery-filters-section {
    padding: 40px 0;
    background: var(--surface);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: white;
    border: 1px solid var(--outline-variant);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-default);
    font-family: inherit;
    font-weight: 500;
}

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

.gallery-grid-section {
    padding: 40px 0 80px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-image {
    position: relative;
    aspect-ratio: 1;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(96,0,12,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-info {
    text-align: center;
    color: white;
    padding: 1rem;
}

.gallery-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.gallery-view {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-default);
    text-decoration: none;
}

.gallery-view:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 1rem;
}

/* Careers Page Styles */
.careers-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.why-join {
    padding: 80px 0;
    background: var(--surface);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition-default);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon .material-symbols-outlined {
    font-size: 2rem;
    color: white;
}

.job-openings {
    padding: 80px 0;
    background: var(--surface-container-low);
}

.jobs-list {
    max-width: 900px;
    margin: 0 auto;
}

.job-item {
    background: white;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-default);
}

.job-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.job-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--outline-variant);
}

.job-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-type {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.job-type.full-time {
    background: #e3f2fd;
    color: #1976d2;
}

.job-location {
    font-size: 0.875rem;
    color: var(--secondary);
}

.btn-apply {
    padding: 0.5rem 1.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-default);
}

.btn-apply:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.job-description {
    padding: 1.5rem;
    display: none;
}

.job-item.active .job-description {
    display: block;
}

.job-description p {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.job-requirements ul {
    margin: 0.5rem 0 0 1.5rem;
    color: var(--secondary);
}

/* Application Modal */
.application-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow-y: auto;
}

.application-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--outline-variant);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--primary);
    font-weight: 600;
}

.application-form {
    padding: 1.5rem;
}

.application-form input[type="file"] {
    padding: 0.5rem;
    border: 1px solid var(--outline-variant);
    border-radius: 4px;
    width: 100%;
}

.application-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--secondary);
    font-size: 0.75rem;
}

/* Responsive Styles for Page Templates */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-year {
        margin-bottom: 1rem;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        top: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.875rem;
    }
}

.footer-brand img{
    width: 175px;
    height: auto;
    margin-bottom: 20px;
}