/* ============================================================================
   AfriMeDD - Modern Design
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary-orange: #FF6B35;
    --primary-dark: #1A1A2E;
    --text-dark: #2D3748;
    --text-gray: #718096;
    
    --pastel-peach: #FFE5D9;
    --pastel-green: #D4F1DD;
    --pastel-yellow: #FFF4D6;
    --pastel-blue: #D6F4F4;
    --pastel-purple: #E9E3FF;
    --pastel-pink: #FFE3E3;
    
    --white: #FFFFFF;
    --light-bg: #F7F9FC;
    
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 30px;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ============================================================================
   Reset & Base
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* ============================================================================
   Typography
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #e55a28;
}

/* ============================================================================
   Container & Layout
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

main {
    min-height: calc(100vh - 80px);
    overflow-x: hidden;
}

/* ============================================================================
   Navigation
   ============================================================================ */

.navbar {
    background: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.navbar-brand h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    color: var(--primary-dark);
}

.navbar-brand a {
    color: var(--primary-dark);
}

.navbar-brand a:hover {
    color: var(--primary-orange);
}

.navbar-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

.navbar-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.navbar-menu a:hover {
    color: var(--primary-orange);
}

/* ============================================================================
   Buttons
   ============================================================================ */

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #e55a28;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero-section {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #F7F9FC 0%, #E8F4F8 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-text h1 {
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-gray);
}

.hero-features {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.hero-feature svg {
    width: 20px;
    height: 20px;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% {
        border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

/* ============================================================================
   Page Hero (For internal pages)
   ============================================================================ */

.page-hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #F7F9FC 0%, #E8F4F8 100%);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: var(--spacing-sm);
}

/* ============================================================================
   Service Cards (4 colored cards)
   ============================================================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin: var(--spacing-xxl) 0;
}

.service-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:nth-child(1) {
    background: var(--pastel-peach);
}

.service-card:nth-child(2) {
    background: var(--pastel-green);
}

.service-card:nth-child(3) {
    background: var(--pastel-yellow);
}

.service-card:nth-child(4) {
    background: var(--pastel-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-orange);
}

.service-icon svg {
    width: 64px;
    height: 64px;
    stroke: var(--primary-orange);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.service-card .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-dark);
}

.service-card .btn:hover {
    background: var(--white);
}

/* ============================================================================
   Content Sections
   ============================================================================ */

.content-section {
    padding: var(--spacing-xxl) 0;
}

.content-section h2 {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

.content-image img {
    width: 100%;
    height: auto;
    box-shadow: var(--shadow-md);
    border-radius: 54% 46% 63% 37% / 48% 55% 45% 52%;
    animation: morph-alt 10s ease-in-out infinite;
}

@keyframes morph-alt {
    0%, 100% {
        border-radius: 54% 46% 63% 37% / 48% 55% 45% 52%;
    }
    33% {
        border-radius: 70% 30% 50% 50% / 56% 40% 60% 44%;
    }
    66% {
        border-radius: 40% 60% 70% 30% / 40% 65% 35% 60%;
    }
}

/* ============================================================================
   Values Grid (Vision, Mission, Values)
   ============================================================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.value-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.value-card:nth-child(1) {
    background: var(--pastel-blue);
}

.value-card:nth-child(2) {
    background: var(--pastel-green);
}

.value-card:nth-child(3) {
    background: var(--pastel-peach);
}

.value-card:nth-child(4) {
    background: var(--pastel-yellow);
}

.value-card:nth-child(5) {
    background: var(--pastel-purple);
}

.value-card:nth-child(6) {
    background: var(--pastel-pink);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 svg {
    stroke: var(--primary-orange);
}

.value-card p {
    font-size: 0.95rem;
}

/* ============================================================================
   Team Grid
   ============================================================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.photo-placeholder {
    width: 100%;
    height: 300px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
}

.team-member-info {
    padding: var(--spacing-md);
    text-align: center;
}

.team-member h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.team-member .role {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.team-member .bio {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

/* ============================================================================
   Gallery / Photos Grid
   ============================================================================ */

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    height: 300px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   Articles Grid
   ============================================================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: var(--spacing-md);
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
}

.article-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.article-excerpt {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================================================
   Partners Grid
   ============================================================================ */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.partner-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.partner-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: var(--spacing-md);
}

.partner-card h3 {
    font-size: 1.1rem;
}

/* ============================================================================
   Governance & Domains
   ============================================================================ */

.domains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.domain-card {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.domain-card:nth-child(1) { background: var(--pastel-peach); }
.domain-card:nth-child(2) { background: var(--pastel-green); }
.domain-card:nth-child(3) { background: var(--pastel-blue); }
.domain-card:nth-child(4) { background: var(--pastel-yellow); }
.domain-card:nth-child(5) { background: var(--pastel-purple); }
.domain-card:nth-child(6) { background: var(--pastel-pink); }

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.domain-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.governance-structure {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.org-unit {
    padding: var(--spacing-lg);
    background: var(--light-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-orange);
}

.org-unit h3 {
    margin-bottom: var(--spacing-md);
}

.org-unit ul {
    list-style: none;
}

.org-unit li {
    padding: var(--spacing-xs) 0;
    font-size: 0.95rem;
}

/* ============================================================================
   Forms
   ============================================================================ */

.form-container {
    max-width: 700px;
    margin: var(--spacing-xl) auto;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--text-dark);
}

input, textarea, select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

input.error, textarea.error {
    border-color: #E53E3E;
}

/* ============================================================================
   Alerts
   ============================================================================ */

.alert {
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-md);
    border-left: 4px solid;
}

.alert-success {
    background: #F0FFF4;
    border-left-color: #48BB78;
    color: #2F855A;
}

.alert-error {
    background: #FFF5F5;
    border-left-color: #F56565;
    color: #C53030;
}

.alert-info {
    background: #EBF8FF;
    border-left-color: #4299E1;
    color: #2C5282;
}

/* ============================================================================
   Footer
   ============================================================================ */

footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    margin-bottom: var(--spacing-md);
    color: var(--white);
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Hero sections */
    .page-hero h1,
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .page-hero p,
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .page-hero {
        min-height: 250px !important;
    }
    
    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .navbar-menu.active {
        display: block;
    }
    
    .navbar-menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .navbar-menu ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-menu ul li a {
        display: block;
        padding: 1rem;
    }
    
    /* Grids */
    .services-grid,
    .values-grid,
    .team-grid,
    .domains-grid,
    .gallery-grid,
    .articles-grid,
    .governance-structure {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    /* Cards */
    .service-card,
    .value-card,
    .team-card,
    .article-card {
        max-width: 100%;
    }
    
    /* Contact page */
    section[style*="grid-template-columns"] > div:first-child {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Buttons */
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    /* Hero split layout */
    .hero-split {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
        text-align: center;
    }
    
    .hero-image img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    /* Vision Mission */
    .vision-mission-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Typography adjustments */
    h1 { 
        font-size: 1.8rem; 
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    h2 { 
        font-size: 1.5rem; 
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    h3 { 
        font-size: 1.2rem; 
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    p {
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Container fixes */
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Spacing */
    .content-section {
        padding: 2rem 0;
    }
    
    section[style*="padding: 60px"] {
        padding: 2rem 0 !important;
    }
}

@media (max-width: 480px) {
    :root {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Hero */
    .page-hero h1,
    .hero-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .page-hero p,
    .hero-content p {
        font-size: 0.9rem !important;
        max-width: 100% !important;
    }
    
    .page-hero {
        min-height: 200px !important;
        padding: 2rem 0 !important;
    }
    
    /* Typography */
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    
    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    /* Logo */
    .logo {
        max-width: 120px;
    }
    
    /* Partners grid */
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    /* Cards padding */
    .service-card,
    .value-card,
    .team-card,
    .article-card {
        padding: 1.5rem;
    }
    
    /* Contact form */
    form input,
    form textarea,
    form select {
        font-size: 16px !important;
    }
    
    /* Stats */
    .stat-card {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Contact page special */
    div[style*="padding: 40px"] {
        padding: 1.5rem !important;
    }
    
    div[style*="font-size: 52px"] {
        font-size: 1.8rem !important;
    }
    
    div[style*="font-size: 28px"] {
        font-size: 1.3rem !important;
    }
    
    div[style*="font-size: 20px"] {
        font-size: 1rem !important;
    }
}

/* ============================================================================
   Utilities
   ============================================================================ */

.text-center { text-align: center; }
.text-orange { color: var(--primary-orange); }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-lg { margin-bottom: var(--spacing-lg); }
