/* ============================================
   SANKIYA - Main Stylesheet
   Colors: Blue (#1B3A6B), Red (#C8102E), White (#FFFFFF)
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary-blue: #1B3A6B;
    --primary-blue-light: #2A5298;
    --primary-blue-dark: #0F2347;
    --primary-red: #C8102E;
    --primary-red-light: #E01E3C;
    --primary-red-dark: #9B0D23;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-color: #2D3436;
    --text-light: #636E72;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --max-width: 1200px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary-red);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-blue-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.5;
}

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

.btn-primary:hover {
    background-color: var(--primary-blue-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-red:hover {
    background-color: var(--primary-red-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: var(--off-white);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

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

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue-dark);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu a {
    padding: 0.5rem 1rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
    background-color: rgba(200,16,46,0.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--primary-blue-light) 100%);
    overflow: hidden;
    margin-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200,16,46,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 3rem 0;
}

.hero h1 {
    color: var(--white);
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary-red-light);
}

.hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

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

.hero-decoration {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    opacity: 0.08;
    z-index: 1;
}

/* Dots pattern */
.dots-pattern {
    position: absolute;
    right: 5%;
    top: 20%;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    opacity: 0.12;
    z-index: 1;
}

.dots-pattern .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--white);
}

/* --- Section Styles --- */
.section {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--off-white);
}

.section-blue {
    background-color: var(--primary-blue);
    color: var(--white);
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
    color: var(--white);
}

.section-blue p {
    color: rgba(255,255,255,0.85);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-red), var(--primary-blue));
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-blue));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.9rem;
}

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

/* --- Blog/Article Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.article-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 3rem;
}

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

.article-card-body {
    padding: 1.5rem;
}

.article-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.article-card-category {
    display: inline-block;
    padding: 0.2rem 0.75rem;
    background-color: rgba(200,16,46,0.1);
    color: var(--primary-red);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.article-card h3 a {
    color: var(--primary-blue-dark);
}

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

.article-card p {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200,16,46,0.12) 0%, transparent 70%);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.85);
    max-width: 550px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* --- Stats Section --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.section-blue .stat-number {
    color: var(--white);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.section-blue .stat-label {
    color: rgba(255,255,255,0.75);
}

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

.platform-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.platform-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.platform-card h3 {
    margin-bottom: 0.75rem;
}

.platform-card p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-item i {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

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

.contact-info-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: var(--white);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}

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

/* --- Footer --- */
.footer {
    background-color: var(--primary-blue-dark);
    color: var(--white);
    padding: 4rem 0 0;
}

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

.footer-about .logo-text {
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-about p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.65);
    padding: 0.3rem 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.footer-contact p i {
    color: var(--primary-red);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

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

/* --- Service Detail Page --- */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
    padding: 8rem 0 4rem;
    margin-top: 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(200,16,46,0.1) 0%, transparent 70%);
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    position: relative;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

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

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

.breadcrumb .current {
    color: var(--white);
}

/* --- Rich Content --- */
.rich-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.rich-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.rich-content h2:first-child {
    margin-top: 0;
}

.rich-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    margin-top: 2rem;
    color: var(--primary-blue);
}

.rich-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    color: var(--primary-blue-dark);
}

.rich-content p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.rich-content p.lead {
    font-size: 1.2rem;
    color: var(--text-color);
    font-weight: 500;
}

.rich-content ul, .rich-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.rich-content ul li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.rich-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
}

.rich-content ul li strong {
    color: var(--text-color);
}

.rich-content a {
    color: var(--primary-red);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(200,16,46,0.3);
    text-underline-offset: 3px;
}

.rich-content a:hover {
    text-decoration-color: var(--primary-red);
}

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

.pagination button {
    padding: 0.5rem 1rem;
    border: 2px solid var(--light-gray);
    background: var(--white);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination button:hover:not(:disabled) {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.pagination button.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- Loading / Empty States --- */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--medium-gray);
}

.loading i {
    font-size: 2rem;
    color: var(--primary-blue);
    animation: spin 1s linear infinite;
    display: block;
    margin-bottom: 1rem;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--medium-gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--light-gray);
}

.empty-state h3 {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

/* --- Toast / Notifications --- */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast-success { background-color: #27ae60; }
.toast-error { background-color: var(--primary-red); }
.toast-info { background-color: var(--primary-blue); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a {
        padding: 0.75rem 1rem;
        width: 100%;
    }

    .hero {
        min-height: 80vh;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

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

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- No articles message --- */
.no-articles-home {
    text-align: center;
    padding: 2rem;
    color: var(--medium-gray);
    font-style: italic;
}

/* ========== TEAM SECTION ========== */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 360px;
    width: 100%;
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-photo {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

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

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 35, 71, 0.9) 0%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
    transform: translateY(0);
}

.team-overlay a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-overlay a:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.15);
}

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

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
}

.team-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-red-light));
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.team-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-credentials span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.team-credentials span i {
    color: var(--primary-blue);
    font-size: 0.8rem;
    width: 16px;
    flex-shrink: 0;
}

/* ========== FOOTER LEGAL ========== */
.footer-legal {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.2rem;
    line-height: 1.5;
}

.footer-legal p strong {
    color: rgba(255, 255, 255, 0.75);
}

/* ========== RESPONSIVE TEAM ========== */
@media (max-width: 768px) {
    .team-photo {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .team-photo {
        height: 300px;
    }

    .team-card {
        max-width: 100%;
    }
}
