:root {
    --primary: #003366;
    --primary-foreground: #ffffff;
    --secondary: #D4AF37;
    --secondary-foreground: #003366;
    --background: #f8f9fa;
    --foreground: #1a2a3a;
    --muted: #e9ecef;
    --muted-foreground: #4a5568;
    --border: #dee2e6;
    --card: #ffffff;
    --radius: 0.5rem;
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Merriweather', serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: hsl(215, 100%, 20%);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--secondary);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: hsl(45, 90%, 45%);
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

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

.btn-ghost {
    background-color: transparent;
    color: var(--primary);
    padding: 0.5rem;
}

.btn-ghost:hover {
    color: hsl(215, 100%, 20%);
}

.btn-block {
    width: 100%;
}

.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
    .mobile-only {
        display: none;
    }
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    display: none;
}

@media (min-width: 768px) {
    .top-bar {
        display: block;
    }
}

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

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

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-foreground);
    transition: color 0.3s ease;
}



.main-header {
    padding: 1rem 0;
}

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

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

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .logo-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}

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

.logo-title {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .logo-title {
        font-size: 1.25rem;
    }
}

.logo-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-foreground);
    letter-spacing: 0.1em;
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: block;
    }
}

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

.nav-list > li {
    position: relative;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--foreground);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list > li > a:hover {
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.03);
}

.nav-list > li > a i {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: all 0.3s ease;
    z-index: 50;
    list-style: none;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown {
    width: 260px;
    background-color: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    padding: 0.5rem;
}

.dropdown li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.dropdown li a:hover {
    color: var(--primary);
    background-color: rgba(0, 0, 0, 0.03);
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    z-index: 100;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.close-menu-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--foreground);
    cursor: pointer;
}

.mobile-nav {
    padding: 1rem;
}

.mobile-nav > ul {
    list-style: none;
}

.mobile-nav > ul > li {
    border-bottom: 1px solid var(--border);
}

.mobile-nav > ul > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.mobile-submenu {
    display: none;
    list-style: none;
    padding-left: 1rem;
    margin-left: 0.5rem;
    border-left: 2px solid var(--muted);
}

.mobile-dropdown.active .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.mobile-submenu li a:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 1.5rem;
    width: 100%;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: black;
}

.hero-slides {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.hero-indicator.active {
    background-color: var(--secondary);
    border-color: white;
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 51, 128, 0.9), transparent 80%);
}

.hero .container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 42rem;
    padding: 1rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.25rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.25rem;
    }
}

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

.ticker {
    background-color: var(--primary);
    padding: 0.75rem 0;
    position: relative;
    z-index: 20;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ticker-content {
    display: flex;
    align-items: center;
    position: relative;
}

.ticker-badge {
    position: absolute;
    left: 0;
    z-index: 10;
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ticker-text-wrapper {
    margin-left: 8rem;
    overflow: hidden;
    flex: 1;
    position: relative;
}

.ticker-text-wrapper::before,
.ticker-text-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
}

.ticker-text-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--primary), transparent);
}

.ticker-text-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--primary), transparent);
}

@media (min-width: 768px) {
    .ticker-text-wrapper {
        margin-left: 10rem;
    }
}

.ticker-text {
    display: inline-flex;
    gap: 2rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    animation: ticker 25s linear infinite;
    will-change: transform;
}

.ticker-separator {
    color: var(--secondary);
}

@keyframes ticker {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.features {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    z-index: 10;
    margin-top: -2rem;
}

@media (min-width: 768px) {
    .features {
        margin: -2rem 0 0 0;
    }
}

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

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 51, 128, 0.3);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 51, 128, 0.05);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

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

.welcome-section {
    padding: 4rem 0;
}

.welcome-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .welcome-content {
        flex-direction: row;
        align-items: center;
    }
}

.welcome-text {
    flex: 1;
}

.section-label {
    display: block;
    color: var(--secondary-foreground);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.welcome-text h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .welcome-text h2 {
        font-size: 2.25rem;
    }
}

.section-divider {
    width: 5rem;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.info-boxes-title .section-divider {
    width: 20rem;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary) 70%, rgba(212, 175, 55, 0.3) 100%);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 2px 12px rgba(212, 175, 55, 0.7);
    }
}

.welcome-quote {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.welcome-author {
    margin-bottom: 1.5rem;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.author-title {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.welcome-image {
    flex: 1;
    position: relative;
}

.image-decoration {
    position: absolute;
    inset: -1rem;
    background-color: rgba(234, 179, 8, 0.2);
    border-radius: 1rem;
    transform: rotate(3deg);
}

.welcome-image img {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.welcome-image img:hover {
    filter: grayscale(0%);
}

.articles-section {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.02);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-header h2 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    color: var(--muted-foreground);
    max-width: 42rem;
}

.articles-carousel {
    position: relative;
    overflow: hidden;
}

.articles-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.5rem 0;
}

.articles-track::-webkit-scrollbar {
    display: none;
}

.articles-track .article-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .articles-track .article-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .articles-track .article-card {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: white;
    border: 1px solid rgba(0, 51, 128, 0.2);
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

@media (min-width: 768px) {
    .carousel-btn {
        display: flex;
    }
}

.article-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.article-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

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

.article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.article-card:hover h3 {
    color: var(--primary);
}

.article-content > p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary-foreground);
}

.read-more i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

.mobile-cta-wrapper {
    margin-top: 2rem;
    text-align: center;
}

.cta-section {
    padding: 5rem 0;
    background-color: var(--primary);
    color: var(--primary-foreground);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='0' width='40' height='40'/%3E%3Crect x='50' y='50' width='40' height='40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 20px 20px;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-content h2 {
    font-size: 1.875rem;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 2.25rem;
    }
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer {
    background-color: var(--primary);
    color: var(--primary-foreground);
    padding-top: 4rem;
    padding-bottom: 2rem;
    border-top: 4px solid var(--secondary);
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
}

.footer-logo .logo-title {
    color: white;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.footer-about p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: var(--secondary);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.footer-map {
    border-radius: 0.5rem;
    min-height: 180px;
    overflow: hidden;
}

.footer-map iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.page-hero {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .page-hero {
        height: 350px;
    }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 51, 128, 0.95), rgba(0, 51, 128, 0.7));
}

.page-hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .page-hero h1 {
        font-size: 2.5rem;
    }
}

.page-hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-content {
    padding: 4rem 0;
}

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

@media (min-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr 320px;
    }
}

.content-main h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.content-main h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-main p {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-main ul, .content-main ol {
    color: var(--muted-foreground);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-main li {
    margin-bottom: 0.5rem;
}

.content-image {
    margin: 2rem 0;
    border-radius: 0.75rem;
    overflow: hidden;
}

.content-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-align: center;
    padding: 0.75rem;
    background-color: var(--muted);
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid var(--border);
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
}

.sidebar-menu a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.sidebar-menu li.active a {
    color: var(--primary);
    font-weight: 600;
}

.sidebar-menu i {
    width: 1.25rem;
    color: var(--primary);
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-list i {
    color: var(--secondary);
    margin-top: 0.25rem;
}

.info-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.info-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary);
}

.info-card h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-card p {
    font-size: 0.875rem;
    margin: 0;
}

.content-box {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--muted);
    border-left: 5px solid var(--primary);
    border-radius: 0.5rem;
    line-height: 1.6;
}

.content-box p {
    margin: 0;
    font-size: 1.05rem;
}

.content-box h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.data-table th, .data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.data-table tr:hover {
    background-color: rgba(0, 51, 128, 0.02);
}

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

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

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

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

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

.staff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.staff-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.staff-card-image {
    aspect-ratio: 1;
    background-color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.staff-card-image i {
    font-size: 4rem;
    color: var(--muted-foreground);
}

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

.staff-card-content {
    padding: 1rem;
}

.staff-card-content h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.staff-card-content p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

/* Pejabat Page Layout Fix */
.pejabat-page {
    padding: 4rem 0;
}

.pejabat-wrapper {
    display: block !important;
    max-width: 100%;
}

.struktur-organisasi-title {
    text-align: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 2.5rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    background-color: var(--primary);
    padding: 1.5rem 2rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border: 8px solid var(--primary);
    box-shadow: inset 0 0 0 4px white, inset 0 0 0 8px var(--primary);
}

.officials-list {
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.official-section {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.kepala-rutan-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding: 0;
    border: none;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: none;
    background-color: transparent;
}

/* Kepala Rutan Card - Centered, Photo on top */
.kepala-rutan-section {
    text-align: center;
    margin-bottom: 3rem;
}

.kepala-rutan-card {
    background-color: white;
    border: 12px solid var(--primary);
    border-radius: 0;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 0 0 4px white;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    margin: 0 auto;
}

.kepala-photo {
    width: 320px;
    height: 400px;
    background-color: var(--muted);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 6px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.kepala-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kepala-info h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.kepala-info .nip {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-family: 'Courier New', monospace;
}

/* Eselon IV Grid - 3 columns */
.eselon-title {
    color: white !important;
    background-color: var(--primary);
    display: block !important;
    width: 100% !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2rem !important;
    border: 8px solid var(--primary) !important;
    box-shadow: inset 0 0 0 4px white, inset 0 0 0 8px var(--primary) !important;
    font-size: 1.5rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-align: center;
    box-sizing: border-box;
}

.eselon-section {
    margin-top: 3rem;
    text-align: center;
    width: 100%;
}

.eselon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.eselon-card {
    background-color: white;
    border: 12px solid var(--primary);
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 0 0 4px white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eselon-position {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
    line-height: 1.4;
    word-break: break-word;
    width: 100%;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eselon-position p {
    margin: 0;
    padding: 0;
    white-space: normal;
    display: block;
}

.eselon-photo {
    width: 220px;
    height: 280px;
    background-color: var(--muted);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 6px solid var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.eselon-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eselon-info h4 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.eselon-info .nip {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    font-family: 'Courier New', monospace;
}

@media (max-width: 1024px) {
    .eselon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .eselon-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kepala-rutan-card {
        max-width: 100%;
    }
}

.map-container {
    width: 100%;
    min-height: 450px;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    margin: 2rem 0;
}

/* =====================================================
   STYLES UNTUK HALAMAN HASIL USAHA WBP
   Grid produk dengan kartu untuk menampilkan
   produk hasil karya Warga Binaan Pemasyarakatan
   ===================================================== */

/* Grid container untuk menampilkan kartu produk */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Kartu produk individual */
.product-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Area gambar produk */
.product-image {
    width: 100%;
    height: 220px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

/* Placeholder gambar produk */
.product-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    text-align: center;
    padding: 1rem;
}

.product-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.product-placeholder span {
    font-size: 0.875rem;
}

/* Informasi produk */
.product-info {
    padding: 1rem;
}

/* Nama produk */
.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2a3a;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

/* Harga produk */
.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003366;
    margin-bottom: 1rem;
}

/* Container untuk link TikTok dan Shopee */
.product-links {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

/* Styling link produk */
.product-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Link TikTok */
.product-link.tiktok {
    background-color: #1a1a1a;
    color: #ffffff;
}

.product-link.tiktok:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Link Shopee */
.product-link.shopee {
    background-color: #ee4d2d;
    color: #ffffff;
}

.product-link.shopee:hover {
    background-color: #d73211;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Responsive: Tablet */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: Mobile landscape */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-name {
        font-size: 0.875rem;
        min-height: 2.4rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .product-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* Responsive: Mobile portrait */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .product-image {
        height: 200px;
    }
}

/* Info Boxes Section */
.info-boxes-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.info-boxes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(200, 200, 200, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.info-boxes-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.info-boxes-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
    letter-spacing: 0.5px;
}

.info-boxes-title h2 .highlight {
    color: var(--primary);
    font-weight: 700;
}

.info-boxes-title .section-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    margin: 0 auto;
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    align-items: center;
    row-gap: 0;
}

.info-box {
    background: transparent;
    padding: 0;
    margin: -0.5rem;
    border-radius: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    grid-column: span 1;
    text-decoration: none;
    color: inherit;
}

.info-box-top-left {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 2rem;
}

.info-box-top-right {
    grid-column: 4;
    grid-row: 1;
    margin-bottom: 2rem;
}

.info-box-bottom-left {
    grid-column: 1;
    grid-row: 3;
}

.info-box-bottom-right {
    grid-column: 4;
    grid-row: 3;
}

.info-box:hover {
    transform: none;
    box-shadow: none;
}

.info-box-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0px transparent);
}

.info-box:hover .info-box-icon {
    filter: drop-shadow(0 0 15px rgba(0, 51, 102, 0.6));
}

.info-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-family: var(--font-sans);
    font-weight: 700;
}

.info-box p {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.info-boxes-center-logo {
    grid-column: 2 / 4;
    grid-row: 1 / 4;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-decoration: none;
    cursor: pointer;
}

.info-boxes-center-logo img {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 51, 102, 0.15));
    transition: transform 0.3s ease;
}

.info-boxes-center-logo:hover img {
    transform: scale(1.05);
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .info-boxes-section {
        padding: 3rem 0;
    }

    .info-boxes-title h2 {
        font-size: 2rem;
    }

    .info-boxes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        row-gap: 0;
    }

    .info-box-top-left {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 1.5rem;
    }

    .info-box-top-right {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 1.5rem;
    }

    .info-boxes-center-logo {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 0;
        margin: 0;
    }

    .info-boxes-center-logo img {
        max-width: 280px;
    }

    .info-box-bottom-left {
        grid-column: 1;
        grid-row: 3;
    }

    .info-box-bottom-right {
        grid-column: 2;
        grid-row: 3;
    }

    .info-box {
        margin: -0.3rem;
    }

    .info-box-icon {
        font-size: 3rem;
        width: 70px;
        height: 70px;
    }

    .info-box h3 {
        font-size: 1.1rem;
    }

    .info-box p {
        font-size: 0.9rem;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .info-boxes-section {
        padding: 2rem 0;
    }

    .info-boxes-title h2 {
        font-size: 1.5rem;
    }

    .info-boxes-grid {
        grid-template-columns: 1fr;
        gap: 0;
        row-gap: 0;
    }

    .info-box-top-left {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 1.5rem;
    }

    .info-box-top-right {
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 1.5rem;
    }

    .info-boxes-center-logo {
        grid-column: 1;
        grid-row: 3;
        padding: 0;
        margin: 0;
    }

    .info-boxes-center-logo img {
        max-width: 220px;
    }

    .info-box-bottom-left {
        grid-column: 1;
        grid-row: 4;
    }

    .info-box-bottom-right {
        grid-column: 1;
        grid-row: 5;
    }

    .info-box {
        margin: -0.3rem;
    }

    .info-box-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }

    .info-box h3 {
        font-size: 1rem;
    }

    .info-box p {
        font-size: 0.85rem;
    }

