/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: #ffffff;
    color: #000000;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e5e5;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #000000;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: #666666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: #000000;
}

/* --- Buttons --- */
.cta-button {
    padding: 0.75rem 1.8rem;
    background: #000000;
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: #333333;
}

.cta-button.secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #e5e5e5;
}

.cta-button.secondary:hover {
    border-color: #000000;
    background: transparent;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    margin-top: 80px; /* Offset for fixed nav */
}

.hero.small-hero {
    min-height: 50vh;
    background: #fafafa;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    color: #666666;
    max-width: 700px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* --- Animated Logo --- */
.logo-display {
    width: 400px;
    height: 400px;
    margin: 3rem 0;
    position: relative;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 200px;
    height: 200px;
    border: 3px solid #000000;
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.logo-dot {
    width: 20px;
    height: 20px;
    background: #000000;
    border-radius: 50%;
    position: absolute;
    animation: pulse 2s infinite;
}

.logo-dot:nth-child(1) { top: -10px; left: 50%; transform: translateX(-50%); }
.logo-dot:nth-child(2) { bottom: -10px; left: 50%; transform: translateX(-50%); animation-delay: 0.5s; }
.logo-dot:nth-child(3) { left: -10px; top: 50%; transform: translateY(-50%); animation-delay: 1s; }
.logo-dot:nth-child(4) { right: -10px; top: 50%; transform: translateY(-50%); animation-delay: 1.5s; }

/* --- Divisions Grid --- */
.divisions {
    padding: 8rem 5%;
    background: #fafafa;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.division-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.division-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.division-icon {
    width: 50px;
    height: 50px;
    background: #000000;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.division-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 600;
}

.division-card p {
    color: #666666;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.division-link, .read-more {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.division-link:hover, .read-more:hover {
    gap: 1rem;
}

/* --- About & Stats --- */
.about {
    padding: 8rem 5%;
    background: #ffffff;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: #fafafa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 3px solid #000000;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

/* --- Values --- */
.values { padding: 8rem 5%; background: #fafafa; }
.values-container { max-width: 900px; margin: 0 auto; }
.value-item {
    background: #ffffff;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #000000;
    transition: transform 0.3s;
}
.value-item:hover { transform: translateX(10px); }

/* --- Blog Page Specifics --- */
.filter-bar {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-button {
    padding: 0.6rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    color: #666666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-button.active, .filter-button:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.blog-container { max-width: 1200px; margin: 0 auto; padding: 6rem 5%; }

.featured-post {
    background: #fafafa;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 4rem;
    border: 1px solid #e5e5e5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    cursor: pointer;
    transition: transform 0.3s;
}

.featured-post:hover { transform: translateY(-5px); }

.featured-image {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    min-height: 400px;
}

.featured-content { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }

.post-tag {
    padding: 0.4rem 1rem;
    background: #000000;
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: #fafafa;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s;
}

.post-card:hover { transform: translateY(-5px); }
.post-image { height: 220px; background: #333; }
.post-content { padding: 2rem; }

/* --- Contact Page Specifics --- */
.contact-container { max-width: 800px; margin: 4rem auto; padding: 0 5%; }
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: #000000; }
.form-textarea { min-height: 150px; resize: vertical; }

/* --- Footer --- */
footer {
    padding: 3rem 5%;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    color: #999999;
    background: #fafafa;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-20px); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.7; } }

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .about-container, .featured-post { grid-template-columns: 1fr; }
    .logo-display { width: 300px; height: 300px; }
    .logo-circle { width: 150px; height: 150px; }
}