@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary-dark: #1e293b;       /* Premium Dark Slate/Navy */
    --primary-deep: #0f172a;       /* Deeper Slate Black */
    --accent-blue: #38bdf8;        /* Soft Electric Blue */
    --accent-blue-hover: #0284c7;  /* Hover variant */
    --bg-light: #f8fafc;           /* Soft Light Grey-Blue tint */
    --bg-card: #ffffff;            /* Card backgrounds */
    --text-dark: #1e293b;          /* Main headings */
    --text-body: #475569;          /* Subtext and body */
    --text-muted: #64748b;         /* Faded metadata */
    --border-color: #e2e8f0;       /* Border lines */
    
    /* Layout & Styling details */
    --font-sans: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

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

/* Utility classes */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

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

@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.5rem; }
    .section { padding: 4rem 0; }
}

/* Typography styles */
.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-blue);
    background-color: rgba(56, 189, 248, 0.1);
    border-radius: 50px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sec-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sec-title p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--primary-deep);
}

.btn-primary:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
    color: #fff;
}

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

.btn-outline:hover {
    border-color: var(--text-dark);
    background-color: var(--text-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Header & Nav */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-blue));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

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

.logo-title {
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2.5rem;
        gap: 2rem;
        transition: var(--transition);
        z-index: 100;
    }
    .nav-menu.active { right: 0; }
    .nav-menu .btn { width: 100%; margin-top: 1rem; }
}

/* Slide Deck Hero */
.hero-sec {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 8rem 0 10rem;
    position: relative;
    overflow: hidden;
}

/* Curves & Angled Sections (Slide deck style) */
.hero-sec::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: var(--bg-light);
    clip-path: ellipse(60% 80px at 50% 100px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .hero-actions { justify-content: center; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

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

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

.hero-card-visual {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    color: var(--text-dark);
    position: relative;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-card-visual:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

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

.visual-dot-group {
    display: flex;
    gap: 6px;
}

.visual-dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
}

.visual-dot.accent { background-color: var(--accent-blue); }

.visual-middle {
    margin: auto 0;
    padding: 1rem 0;
}

.visual-chart-line {
    height: 100px;
    background: linear-gradient(180deg, rgba(56,189,248,0.1) 0%, rgba(255,255,255,0) 100%);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--accent-blue);
}

.visual-chart-line::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(226, 232, 240, 0.5) 40px, rgba(226, 232, 240, 0.5) 41px);
}

.visual-card-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--primary-dark);
}

.visual-card-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Modern minimal cards */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(56, 189, 248, 0.4);
}

.card-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

/* Interactive selector (Masalah & Penyelesaian) */
.selector-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    overflow: hidden;
}

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

.selector-tabs {
    background-color: #f1f5f9;
    padding: 2rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.selector-tab {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}

.selector-tab:hover {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--text-dark);
}

.selector-tab.active {
    background-color: #ffffff;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent-blue);
}

.selector-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-solution-panel {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.problem-solution-panel.active {
    display: block;
}

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

.panel-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.panel-section {
    margin-bottom: 1.5rem;
}

.panel-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

/* Requirements list */
.req-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.req-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    transition: var(--transition);
}

.req-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-blue);
}

.req-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 700;
}

.req-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

/* Calculator Style */
.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

@media (max-width: 992px) {
    .calc-grid { grid-template-columns: 1fr; }
}

.calc-inputs {
    padding: 3rem;
}

.calc-results {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-results h3 {
    color: #ffffff;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.form-group label span.val {
    color: var(--accent-blue);
    font-weight: 600;
}

.calc-range {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
    transition: var(--transition);
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.result-row.total {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.result-val {
    font-size: 1.5rem;
    font-weight: 600;
}

.result-val.highlight {
    font-size: 2.25rem;
    color: var(--accent-blue);
    font-weight: 700;
}

/* Board of Directors Grid */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}

@media (max-width: 992px) {
    .board-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .board-grid { grid-template-columns: 1fr; }
}

.board-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(56, 189, 248, 0.3);
}

.board-img-container {
    height: 280px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.board-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.board-img-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.5rem;
}

.board-info {
    padding: 1.5rem;
}

.board-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.board-role {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}

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

.contact-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.map-container {
    height: 250px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-form-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
}

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

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

.form-control {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.form-control label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

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

/* Concept Cards (Tawarruq vs Murabahah) */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

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

.concept-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

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

.concept-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.concept-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.concept-malay {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.concept-body {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Announcement Banner Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-window {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-window {
    transform: scale(1);
}

.modal-header {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 2.5rem 2rem;
}

/* Sub-header Breadcrumb Area */
.sub-header {
    background-color: var(--primary-dark);
    color: #ffffff;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.sub-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: var(--bg-light);
    clip-path: ellipse(60% 20px at 50% 30px);
}

.sub-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-header-content h1 {
    color: #ffffff;
    font-size: 2.25rem;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item.active {
    color: var(--accent-blue);
    font-weight: 500;
}

@media (max-width: 576px) {
    .sub-header-content { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

/* Footer Section */
.footer {
    background-color: var(--primary-deep);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.4rem;
    gap: 0.5rem;
}

.footer h3 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-contact-list li {
    display: flex;
    gap: 0.75rem;
}

.footer-contact-list i {
    color: var(--accent-blue);
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

@media (max-width: 576px) {
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Gallery Styles */
.gallery-albums {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.album-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(56, 189, 248, 0.3);
}

.album-cover-container {
    height: 200px;
    background-color: #f1f5f9;
    position: relative;
    overflow: hidden;
}

.album-cover-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.album-card:hover .album-cover-container img {
    transform: scale(1.05);
}

.album-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.album-info {
    padding: 1.25rem;
}

.album-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.album-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Photo Grid */
.photo-grid-container {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.photo-grid-container.active {
    display: block;
}

.gallery-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.back-to-albums-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: background-color 0.2s;
}

.back-to-albums-btn:hover {
    background-color: var(--bg-light);
}

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

.photo-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background-color: #f1f5f9;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-item:hover img {
    transform: scale(1.06);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-content-container {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 2.25rem;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
}

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

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    z-index: 10000;
}

.lightbox-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-blue);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; background: rgba(15, 23, 42, 0.6); }
    .lightbox-next { right: 10px; background: rgba(15, 23, 42, 0.6); }
    .lightbox-close { right: 10px; top: -50px; }
}

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