@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.15rem;
    line-height: 1.5;
    color: #333;
    background-color: #f4f7f6;
}

main {
    /* Push content down to avoid being covered by fixed header */
    padding-top: 120px;
}

a {
    text-decoration: none;
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Modern 20px Global Image Styling (Excluding Header Logo) */
img:not(.logo img) {
    border-radius: 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Karla', sans-serif;
}

ul, ol, p {
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    border-radius: 50px;
    max-width: 96%;
    margin: 0 auto;
}

header nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-left: auto;
    margin-right: 0;
}

header nav ul li a {
    color: #4b5563;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000000;
    transition: width 0.3s ease;
}

header nav ul li a:hover {
    color: #000000;
}

header nav ul li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
.nav-toggle .line2 { opacity: 0; }
.nav-toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }

/* Buttons */
.btn {
    background: #000000;
    color: #fff;
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: #333333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-admin {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
    margin-left: 15px;
    box-shadow: none;
}

.btn-admin:hover {
    background: #f0f0f0;
    color: #000000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-small {
    padding: 5px 10px;
    font-size: 14px;
}

/* Page Headers and Hero Section */
.page-header {
    text-align: center;
    padding: 180px 20px 100px;
    background: linear-gradient(rgba(17, 17, 17, 0.6), rgba(17, 17, 17, 0.8)), url('images/WhatsApp-Image-2026-03-25-at-19.14.20-1.jpeg') top center/cover no-repeat;
    color: #fff;
}

.cta {
    text-align: center;
    padding: 80px 20px;
    background-color: #111827;
    color: #fff;
}

#home {
    background: linear-gradient(rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.7)), url('images/WhatsApp-Image-2026-03-25-at-19.14.20-1.jpeg') top center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 180px 20px 100px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

#home h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #e5e7eb;
    animation: fadeInDown 1s ease-out 0.2s both;
}

#home p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    animation: fadeInDown 1s ease-out 0.4s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header h1 {
    font-size: 3.2rem;
    margin-bottom: 10px;
}

/* Main Sections */
section {
    padding: 60px 5%;
    background: #fff;
    margin-bottom: 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.6rem;
    color: #222;
}

/* Grids (Values, Services, Features) */
#values, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

#services {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.services-content {
    flex: 1;
    min-width: 300px;
}

.services-list {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Core Values Modernization */
.core-value-card {
    background: #ffffff;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    z-index: 1;
    text-align: center;
}

.core-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #3b82f6;
    transition: height 0.3s ease;
    z-index: -1;
}

.core-value-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.value-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.value-icon svg {
    width: 44px;
    height: 44px;
}

.core-value-card:hover .value-icon {
    transform: scale(1.1);
    background: #3b82f6;
    color: #fff;
}

.core-value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #111827 !important;
}

.core-value-card p {
    color: #4b5563 !important;
    font-size: 1.05rem;
}

/* Modern About Section with Image Stack */
.about-modern {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 5%;
}

.about-image-stack {
    position: relative;
    width: 50%;
    min-height: 450px;
}

.about-image-stack .img-back {
    width: 80%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
}

.about-image-stack .img-front {
    width: 70%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    bottom: -30px;
    right: 0;
    border: 12px solid #f4f7f6;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.about-content-modern {
    width: 50%;
}

.about-content-modern .lead-text {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 30px;
}

.about-highlights {
    display: grid;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #3b82f6;
}

.highlight-icon {
    color: #3b82f6;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.highlight-text h4 {
    color: #111827;
    margin-bottom: 8px;
    font-size: 1.1rem;
    margin-top: 0;
}

.highlight-text p {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 0;
}

/* Custom Element CSS */
.pagelayer-service-text, .pagelayer-service-text h3, .pagelayer-service-text p, .pagelayer-service-text span, .admin-sidebar .tab-link {
    color: white !important;
}

.contact-details {
    height: fit-content !important;
    margin: auto;
}

.sticky-column {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 100px; /* Top value updated to preserve visibility under sticky header */
}

.value-item, .feature-item, .service-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Modern Service & Feature Cards */
.service-item, .feature-item {
    background: #ffffff;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-item:hover, .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-item img, .feature-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
}

.service-content-wrapper, .feature-content-wrapper {
    padding: 30px;
}

.service-content-wrapper h3, .feature-content-wrapper h3 {
    color: #111827 !important;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-content-wrapper p, .feature-content-wrapper p {
    color: #4b5563 !important;
    font-size: 1rem;
    line-height: 1.6;
}

/* Organizational Profile Styles */
.profile-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 5%;
    background: transparent;
}

.profile-block {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: left;
}

.profile-block h2 {
    color: #000000;
    border-bottom: 2px solid #f4f7f6;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.8rem;
}

.profile-block h3 {
    color: #111827;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.profile-block ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.profile-block ul li {
    margin-bottom: 10px;
}

/* Blog Cards Styling */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content .date {
    color: #555555;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #111827;
    line-height: 1.4;
}

.blog-content .author {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-content p {
    color: #4b5563;
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    color: #000000;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: #333333;
}

/* Accomplishments Grid */
.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 5%;
}

.accomplishment-item {
    height: 380px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    box-shadow: inset 0 -80px 60px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accomplishment-item:hover {
    transform: translateY(-5px);
    box-shadow: inset 0 -80px 60px rgba(0,0,0,0.8), 0 10px 20px rgba(0,0,0,0.2);
}

/* Why We Stand Out Grid */
.standout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.standout-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Modern Video Grid */
.modern-video-grid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modern-video-grid video {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 15px;
    background-color: #000;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Team Flip Boxes */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-items: center;
}

.flip-box {
    background-color: transparent;
    width: 250px;
    height: 300px;
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.flip-box-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flip-box-back {
    background-color: #111111;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Forms & Admin Dashboard */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form-section, .contact-details {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    outline: none;
}

.contact-form-section, .contact-details {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-details img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px; /* Slightly less rounded than global 20px for contrast */
    margin-bottom: 30px;
}

/* Admin Dashboard Specific Styles */
body.admin-body {
    background-color: #f4f7f6;
    display: flex;
    min-height: 100vh;
}

body.admin-body header, body.admin-body footer {
    display: none !important;
}

.admin-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #111827 0%, #1f2937 100%);
    color: #f9fafb;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}
.admin-sidebar::-webkit-scrollbar-thumb {
    background-color: #374151;
    border-radius: 10px;
}

.admin-brand {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #1f2937;
}

.admin-brand img {
    max-width: 110px;
    background: white;
    padding: 12px;
    border-radius: 12px;
    margin: 0 auto 15px;
}

.admin-brand h2 {
    font-size: 1.3rem;
    color: #f9fafb;
    margin: 0;
    letter-spacing: 0.5px;
}

.admin-nav {
    padding: 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav .tab-link, 
.admin-nav .logout-link {
    display: block;
    padding: 12px 18px;
    color: #9ca3af !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.admin-nav .tab-link:hover {
    background-color: #1f2937;
    color: #fff !important;
}

.admin-nav .tab-link.active {
    background-color: #3b82f6;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.admin-nav .logout-link {
    margin-top: 30px;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444 !important;
}

.admin-nav .logout-link:hover {
    background-color: #dc2626;
    color: #fff !important;
}

.admin-main {
    flex-grow: 1;
    margin-left: 260px; /* Offset for the fixed sidebar */
    padding: 40px 5%;
    background-color: #f4f7f6;
    min-height: 100vh;
}

/* Admin Topbar & Stats */
.admin-topbar {
    background: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 30px;
    max-width: 1000px;
    border: 1px solid rgba(0,0,0,0.05);
}

.sticky-topbar {
    position: sticky;
    top: 20px;
    z-index: 90;
}

.topbar-date {
    color: #4b5563;
    font-weight: 600;
    background: #f9fafb;
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #e5e7eb;
}

.stat-title {
    color: #6b7280;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: #3b82f6;
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Karla', sans-serif;
    line-height: 1;
}

.admin-section {
    display: none;
    background: #fff;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-section.active {
    display: block !important;
}

.admin-section h2 {
    color: #111827;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
}

.admin-form {
    box-shadow: none;
    padding: 0;
    background: transparent;
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
}

.admin-form .form-group label {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.admin-form .form-group input,
.admin-form .form-group textarea {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 15px;
    width: 100%;
    font-family: inherit;
    transition: all 0.3s ease;
}

.admin-form .form-group input:focus,
.admin-form .form-group textarea:focus {
    background-color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    outline: none;
}

.admin-form .btn {
    background-color: #111827;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 10px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-form .btn:hover {
    background-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.admin-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

table th {
    background-color: #f8fafc;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.95rem;
    vertical-align: middle;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background-color: #f9fafb;
}

/* Admin Images & Gallery Management */
.admin-table-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.admin-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.admin-gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.admin-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.admin-delete-btn:hover {
    background: #c82333;
    color: white;
}

.action-link {
    color: #dc3545;
    font-weight: 600;
}

.action-link:hover {
    text-decoration: underline;
    color: #c82333;
}

/* Modern Action Badges */
.btn-delete {
    background-color: #fee2e2;
    color: #ef4444;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}
.btn-delete:hover {
    background-color: #fecaca;
    color: #b91c1c;
}
.btn-reply {
    background-color: #dbeafe;
    color: #3b82f6;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}
.btn-reply:hover {
    background-color: #bfdbfe;
    color: #2563eb;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background: #111827;
    color: #d1d5db;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 80px 5% 30px;
    font-size: 0.95rem;
    text-align: left;
}

.footer-info img {
    max-width: 150px;
    margin: 15px 0;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

footer h2, footer h3 {
    color: #f9fafb;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #3b82f6;
}

footer a {
    color: #9ca3af;
    transition: all 0.3s ease;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    padding-left: 5px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 12px;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #6b7280;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    header nav {
        padding: 10px 20px;
    }
    header nav ul {
        position: absolute;
        left: 0;
        top: 85px; /* Height of the header */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }

    header nav ul.nav-active {
        max-height: 500px; /* A large enough value */
        padding: 20px 0;
    }

    header nav ul li {
        width: 100%;
        text-align: center;
    }

    header nav ul li a {
        padding: 15px 0;
        display: block;
        width: 100%;
    }

    header nav ul li a::after { display: none; }
    .hamburger { display: block; }
    .btn-admin { margin-left: auto; }

    .about-modern {
        flex-direction: column;
    }

    .sticky-column {
        position: static; /* Disable sticky behavior on mobile */
    }

    .about-image-stack, .about-content-modern {
        width: 100%;
    }
    .about-image-stack { margin-bottom: 40px; }
    .standout-grid img { height: 200px; }
}

@media (max-width: 768px) {
    .standout-grid {
        grid-template-columns: 1fr;
    }
}