@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #FAF8F5;
    --bg-secondary: #F2ECE4;
    --text-primary: #1B2721;
    --text-secondary: #3A4C42;
    --text-light: #FAF8F5;
    --brand-primary: #2C4A3E;
    --brand-primary-rgb: 44, 74, 62;
    --brand-secondary: #D2C4B7;
    --brand-accent: #C5A26B;
    --brand-accent-hover: #B5915A;
    --border-color: #E2DCD5;
    --card-shadow: 0 10px 30px rgba(44, 74, 62, 0.04);
    --hover-shadow: 0 15px 35px rgba(44, 74, 62, 0.08);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout Constants */
    --header-height: 80px;
    --container-width: 1350px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
}

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

img, video {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--brand-primary);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--brand-accent);
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.paragraph-large {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    line-height: 1.6;
}

/* Grid & Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 4rem;
    padding-right: 4rem;
}

.section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

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

/* Shared Header/Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background-color: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(15px);
    height: 70px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-link img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.05rem;
    color: var(--brand-primary);
    line-height: 1;
    transition: color var(--transition-smooth);
}

.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.25rem;
    text-transform: uppercase;
    color: var(--brand-accent);
    display: block;
    margin-top: 0.15rem;
    transition: color var(--transition-smooth);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

nav ul a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap; /* Prevent nav links wrapping */
    transition: color var(--transition-fast);
}

nav ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--brand-accent);
    transition: var(--transition-fast);
}

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

nav ul a:hover::after,
nav ul a.active::after {
    width: 100%;
}

nav ul a.active {
    color: var(--brand-accent);
}

/* Transparent Header Styling Overrides (when not scrolled) */
header:not(.scrolled) .logo-text {
    color: var(--text-light);
}

header:not(.scrolled) .logo-subtext {
    color: var(--brand-secondary);
}

header:not(.scrolled) nav ul a {
    color: rgba(250, 248, 245, 0.9);
}

header:not(.scrolled) nav ul a:hover,
header:not(.scrolled) nav ul a.active {
    color: var(--brand-accent);
}

header:not(.scrolled) .btn-solid {
    border-color: rgba(250, 248, 245, 0.85);
    color: var(--text-light);
    background-color: transparent;
}

header:not(.scrolled) .btn-solid:hover {
    background-color: var(--text-light);
    color: var(--brand-primary);
    border-color: var(--text-light);
}

/* Call to Action Button */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    border-radius: 0;
    border: 1px solid var(--brand-primary);
    background-color: transparent;
    color: var(--brand-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-solid {
    background-color: var(--brand-primary);
    color: var(--bg-primary);
}

.btn-solid:hover {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--text-light);
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--brand-primary);
    position: absolute;
    transition: var(--transition-fast);
}

.mobile-nav-toggle span:nth-child(1) { top: 2px; }
.mobile-nav-toggle span:nth-child(2) { top: 11px; }
.mobile-nav-toggle span:nth-child(3) { top: 20px; }

.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Shared Footer */
footer {
    background-color: var(--brand-primary);
    color: var(--text-light);
    padding: 6rem 0 3rem 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info .logo-text {
    color: var(--text-light);
}

.footer-info p {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: rgba(250, 248, 245, 0.7);
    max-width: 320px;
}

.footer-links h4 {
    color: var(--brand-secondary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

.footer-links ul a {
    color: rgba(250, 248, 245, 0.7);
    font-size: 0.9rem;
}

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

.footer-contact h4 {
    color: var(--brand-secondary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact a {
    color: rgba(250, 248, 245, 0.7);
}

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

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 245, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(250, 248, 245, 0.5);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Home Page Styles */
.hero {
    height: 100vh;
    background-color: var(--brand-primary);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 39, 33, 0.65); /* Dark overlay to dim images */
    z-index: 2;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

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

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin-top: 40px;
}

.hero h1 {
    color: var(--text-light);
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero h1 span {
    font-weight: 500;
    display: block;
    color: var(--brand-secondary);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-family: var(--font-heading);
    font-style: italic;
    color: rgba(250, 248, 245, 0.85);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero .btn-container {
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.hero .btn {
    border-color: var(--text-light);
    color: var(--text-light);
}

.hero .btn::after {
    background-color: var(--text-light);
}

.hero .btn:hover {
    background-color: var(--text-light);
    color: var(--brand-primary);
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home About Section */
.home-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.home-about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.home-about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.home-about-media {
    position: relative;
}

.home-about-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 120%; /* 5:6 aspect ratio */
}

.home-about-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.home-about-media:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    background-color: var(--brand-primary);
    color: var(--text-light);
    padding: 2.5rem;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 40px rgba(44, 74, 62, 0.15);
}

.image-badge span.number {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    color: var(--brand-accent);
}

.image-badge span.label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-align: center;
    margin-top: 0.25rem;
}

/* Home Expertise Collage */
.collage-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    margin-top: 4rem;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

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

.collage-item:hover img {
    transform: scale(1.08);
}

.collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 39, 33, 0.8), rgba(27, 39, 33, 0.1));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.collage-overlay h4 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 400;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.collage-item:hover .collage-overlay h4 {
    transform: translateY(0);
}

/* Grid Layout definitions for collage */
.collage-item.w-2 { grid-column: span 2; }
.collage-item.h-2 { grid-row: span 2; }

/* Category Cards Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.category-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: var(--brand-accent);
}

.category-img {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.category-info {
    padding: 2rem;
    text-align: center;
}

.category-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.category-info p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--brand-accent);
    font-weight: 600;
}

/* About/Purpose Page Styles */
.about-hero {
    height: 60vh;
    background-color: var(--brand-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-primary);
    opacity: 0.7;
    z-index: 1;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#contact-hero::before {
    background: linear-gradient(180deg, rgba(27, 39, 33, 0.45) 0%, rgba(27, 39, 33, 0.35) 100%);
    opacity: 1;
}

#contact-hero .about-hero-bg {
    object-position: center top;
}

#infra-hero::before {
    background: linear-gradient(180deg, rgba(20, 32, 26, 0.5) 0%, rgba(20, 32, 26, 0.35) 100%);
    opacity: 1;
    z-index: 1;
}

#infra-hero .about-hero-bg {
    object-fit: cover;
    object-position: center 12%;
}

#infra-hero .about-hero-content {
    margin-top: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

#accreditations-hero::before {
    background: linear-gradient(180deg, rgba(27, 39, 33, 0.55) 0%, rgba(27, 39, 33, 0.4) 100%);
    opacity: 1;
}

#accreditations-hero .about-hero-bg {
    object-fit: fill;
    width: 100%;
    height: 100%;
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    color: var(--text-light);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 300;
}

.about-hero h1 span {
    font-weight: 500;
    color: var(--brand-secondary);
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 4rem;
}

.purpose-box {
    background-color: var(--bg-secondary);
    padding: 4rem;
    border-radius: 4px;
    border-top: 3px solid var(--brand-accent);
    box-shadow: var(--card-shadow);
}

.purpose-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.purpose-box h3 svg {
    color: var(--brand-accent);
}

.purpose-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--brand-accent);
}

.value-card .icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(44, 74, 62, 0.05);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.value-card:hover .icon-wrapper {
    background-color: var(--brand-primary);
    color: var(--text-light);
}

.value-card h3 {
    font-size: 1.8rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Infrastructure Timeline */
.infra-intro {
    background-color: var(--bg-secondary);
    padding: 5rem;
    border-radius: 4px;
    margin-bottom: 6rem;
    border-left: 4px solid var(--brand-primary);
}

.infra-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.infra-intro-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.infra-intro-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.infra-intro-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--brand-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 2rem 4rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-primary);
    border: 3px solid var(--brand-accent);
    top: 2.5rem;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-fast);
}

.timeline-item:hover::after {
    background-color: var(--brand-primary);
    transform: scale(1.2);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 2.5rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    position: relative;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: var(--brand-accent);
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.timeline-img {
    height: 220px;
    overflow: hidden;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.timeline-img img, .timeline-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-video-wrapper {
    position: relative;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(250, 248, 245, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: var(--transition-fast);
}

.video-play-btn:hover {
    background-color: var(--brand-accent);
    color: var(--text-light);
    transform: translate(-50%, -50%) scale(1.1);
}

.treatment-highlight {
    background-color: rgba(44, 74, 62, 0.03);
    border: 1px dashed var(--brand-primary);
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.treatment-highlight h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--brand-primary);
}

/* Infrastructure Sections & Media Blocks */
.infra-container {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.infra-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.infra-section.alt {
    grid-template-columns: 1fr 1fr;
}

.infra-section.alt .infra-text-block {
    grid-column: 2;
}

.infra-section.alt .infra-media-block {
    grid-column: 1;
    grid-row: 1;
}

.infra-text-block {
    padding-right: 1.5rem;
}

.infra-section.alt .infra-text-block {
    padding-right: 0;
    padding-left: 1.5rem;
}

.infra-text-block h3 {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    color: var(--brand-primary);
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.infra-text-block h3 span {
    font-size: 1.1rem;
    font-family: var(--font-body);
    color: var(--brand-accent);
    font-weight: 500;
    display: block;
    margin-top: 0.25rem;
}

.infra-text-block p {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.infra-media-block {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.infra-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

.infra-subgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.infra-subgrid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

.infra-video-container {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

.infra-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Products Page Styles */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2.2rem;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.product-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition-smooth);
    border-radius: 4px;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--brand-accent);
}

.product-item-img {
    height: 320px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

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

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

.product-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 74, 62, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
    color: var(--text-light);
}

.product-item-img:hover .product-zoom-overlay {
    opacity: 1;
}

.product-item-info {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.product-item-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-item-title {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
}

.product-item-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.product-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-spec-btn {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--brand-primary);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-spec-btn:hover {
    color: var(--brand-accent);
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 39, 33, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--brand-accent);
}

.lightbox-container {
    max-width: 1100px;
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background-color: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.lightbox-media {
    max-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #f6f3ed;
}

.lightbox-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 80vh;
}

.lightbox-details {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lightbox-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--brand-accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.lightbox-title {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.lightbox-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.lightbox-specs {
    margin-bottom: 3rem;
}

.lightbox-specs-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.lightbox-spec-list {
    list-style: none;
}

.lightbox-spec-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.lightbox-spec-list li span.spec-label {
    font-weight: 500;
    color: var(--brand-primary);
}

/* Accreditations Styles */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.accreditation-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    cursor: pointer;
}

.accreditation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--brand-accent);
}

.accreditation-badge {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 14px rgba(27, 39, 33, 0.06);
    transition: var(--transition-fast);
    padding: 10px;
    overflow: hidden;
}

.accreditation-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.accreditation-card:hover .accreditation-badge {
    border-color: var(--brand-accent);
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(27, 39, 33, 0.12);
}

.accreditation-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    min-height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accreditation-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.accreditation-card .learn-more {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.accreditation-card:hover .learn-more {
    color: var(--brand-accent);
}

/* Contact Us Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: flex-start;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info-card {
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

.contact-info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-text p, .contact-text a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.contact-form-container {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 4px;
    box-shadow: var(--card-shadow);
}

.contact-form h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
}

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

.form-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--brand-primary);
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    border-radius: 0;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(44, 74, 62, 0.03);
}

textarea.form-input {
    resize: vertical;
    min-height: 150px;
}

/* Accreditations Modal/Drawer Overlay */
.accreditation-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 40px rgba(27, 39, 33, 0.15);
    z-index: 2100;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-left: 1px solid var(--border-color);
}

.accreditation-drawer.open {
    right: 0;
}

.accreditation-drawer-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--brand-primary);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.accreditation-drawer-close:hover {
    color: var(--brand-accent);
}

.drawer-content {
    margin-top: 2rem;
}

.drawer-badge {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--brand-accent);
    box-shadow: 0 6px 16px rgba(27, 39, 33, 0.08);
    margin-bottom: 2rem;
    padding: 16px;
    overflow: hidden;
}

.drawer-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.drawer-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.drawer-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.drawer-details-list {
    list-style: none;
}

.drawer-details-list li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.drawer-details-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-accent);
    font-size: 1.2rem;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 39, 33, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2050;
    display: none;
    opacity: 0;
    transition: var(--transition-smooth);
}

.drawer-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 1300px) and (min-width: 1101px) {
    nav ul {
        gap: 1rem;
    }
    nav ul a {
        font-size: 0.75rem;
    }
    .logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 1200px) {
    .container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
        gap: 2.5rem;
    }
}

@media (max-width: 1100px) {
    :root {
        --header-height: 70px;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        border-left: 1px solid var(--border-color);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        transition: var(--transition-smooth);
        padding: 8rem 2rem 2rem 2rem;
    }
    
    nav.open {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    nav ul a {
        font-size: 1.1rem;
        color: var(--text-primary) !important;
    }
    
    header:not(.scrolled) .btn-solid {
        border-color: var(--brand-primary) !important;
        color: var(--bg-primary) !important;
        background-color: var(--brand-primary) !important;
    }

    .infra-container {
        gap: 5rem;
        margin-top: 3rem;
    }
    
    .infra-section,
    .infra-section.alt {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 680px;
        margin: 0 auto;
        width: 100%;
    }
    
    .infra-section.alt .infra-text-block {
        grid-column: auto;
        grid-row: auto;
    }
    
    .infra-section.alt .infra-media-block {
        grid-column: auto;
        grid-row: auto;
    }
    
    .infra-text-block,
    .infra-section.alt .infra-text-block {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    
    .infra-main-image {
        aspect-ratio: 1 / 1;
        height: auto;
    }
    
    .infra-video-container {
        height: 280px;
    }
    
    .infra-subgrid img {
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

@media (max-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .home-about-grid {
        gap: 4rem;
    }
    
    .collage-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .collage-item.w-2 { grid-column: span 2; }
    .collage-item.h-2 { grid-row: span 1; }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .value-card {
        padding: 2.5rem 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .accreditations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .section-padding {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    /* Prevent horizontal animation drift from pushing content offscreen */
    .reveal-left,
    .reveal-right {
        transform: translateY(20px);
    }
    
    .reveal-left.active,
    .reveal-right.active {
        transform: translateY(0);
    }

    /* Subpage Hero Banners */
    .about-hero {
        height: 48vh;
        min-height: 280px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .about-hero h1 {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
    }

    /* Home Page */
    .hero-content {
        padding: 0;
        margin-top: 20px;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 7.5vw, 3.5rem);
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .home-about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .home-about-text h3 {
        font-size: 1.9rem;
    }

    .collage-container {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 1rem;
    }

    .collage-item.w-2 { grid-column: span 1; }
    .collage-item.h-2 { grid-row: span 1; }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .image-badge {
        bottom: -0.75rem;
        left: -0.75rem;
        width: 105px;
        height: 105px;
        padding: 1.25rem;
    }
    
    .image-badge span.number {
        font-size: 1.35rem;
    }

    /* About Purpose & Values */
    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        margin-top: 2.5rem;
    }

    .value-card {
        padding: 2rem 1.5rem;
        gap: 1.25rem;
    }

    .value-card h3 {
        font-size: 1.5rem;
    }
    
    .timeline::after {
        left: 1.25rem;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 3.25rem;
        padding-right: 0;
    }
    
    .timeline-item::after {
        left: 1.25rem;
        margin-left: -8px;
    }
    
    .right {
        left: 0;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    /* Infrastructure */
    .infra-intro {
        padding: 2rem 1.5rem;
    }

    .infra-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .infra-intro-stats {
        display: flex;
        gap: 2rem;
        justify-content: flex-start;
    }

    .infra-intro-text h3 {
        font-size: 1.8rem;
    }

    .infra-container {
        gap: 4rem;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }

    .infra-text-block h3 {
        font-size: 1.7rem;
    }

    .treatment-highlight {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .infra-main-image {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .infra-video-container {
        height: 240px;
    }

    .infra-subgrid {
        gap: 0.75rem;
        margin-top: 0.75rem;
    }
    
    /* Products */
    .filter-container {
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Accreditations */
    .accreditations-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .accreditation-card {
        padding: 2.5rem 1.5rem;
    }
    
    .accreditation-drawer {
        width: 100%;
        max-width: 100%;
        right: -100%;
        padding: 2.5rem 1.5rem;
    }
    
    /* Modals & Lightboxes */
    .lightbox-container {
        grid-template-columns: 1fr;
        width: 92%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .lightbox-media {
        max-height: 35vh;
    }
    
    .lightbox-details {
        padding: 2rem 1.5rem;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    /* Footer */
    footer {
        padding: 4.5rem 0 2.5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .infra-text-block h3 {
        font-size: 1.5rem;
    }

    .infra-main-image {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .infra-video-container {
        height: 200px;
    }

    .accreditation-card h3 {
        font-size: 1.2rem;
    }

    .contact-info-card,
    .contact-form-container {
        padding: 1.5rem 1.25rem;
    }
}
