/* ========== MODERN CIBA WEBSITE STYLES ========== */
html {
    scroll-behavior: smooth;
}

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

:root {
    /* ========== CIBA CORPORATE DESIGN TOKENS ========== */
    --ciba-blue: #0E2244;
    --ciba-blue-dark: #0A1A33;
    --ciba-blue-alt: #081326;        /* für sehr dunkle Bereiche wie Footer */
    --ciba-blue-card: #101C3A;       /* für Karten/Boxen */
    --ciba-yellow: #F9D94A;
    --ciba-gray: #B4B4B4;
    --ciba-card-bg: var(--ciba-blue-card); /* Mapping for existing usage */
    
    /* Mappings for existing classes */
    --primary-dark: var(--ciba-blue);
    --primary-light: var(--ciba-blue-dark);
    --accent-yellow: var(--ciba-yellow);
    --accent-gold: #F9D94A; /* CIBA Yellow */
    
    --text-white: #FFFFFF;
    --text-light: #E8E8E8;
    --text-light-soft: #D0D0D0;
    --text-muted: var(--ciba-gray);
    
    --bg-dark: var(--ciba-blue-dark);
    --bg-darker: var(--ciba-blue-alt);
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s ease;
    --glow-yellow: 0 0 20px rgba(249, 217, 74, 0.3);
    
    --header-height: 80px;
}

/* ========== BASE TYPOGRAPHY & LAYOUT (CIBA CD) ========== */
body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-light);
  background-color: var(--ciba-blue-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 700;
  color: var(--ciba-yellow);
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 1.8rem;
}

p, ul, li {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.page,
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

a {
  color: var(--ciba-yellow);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--text-white);
  text-decoration: underline;
}

/* Base link styling keeps contrast while allowing component-level overrides */
/* a { ... removed to avoid conflict ... } */

.card-title,
.feature-title,
.section-title {
    color: var(--accent-yellow);
}

/* ========== TYPOGRAPHY & COLOR UTILITIES ========== */
.text-light {
    color: var(--text-light);
}

.text-soft {
    color: var(--text-light-soft);
}

.text-muted {
    color: var(--text-muted);
}

.heading-peach {
    color: var(--ciba-yellow);
}

.heading-highlight {
    color: var(--accent-yellow);
}

.link-accent {
    color: var(--accent-yellow);
    text-decoration-color: rgba(249, 217, 74, 0.6);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.link-accent:hover,
.link-accent:focus-visible {
    color: var(--ciba-yellow);
    text-decoration-color: rgba(249, 217, 74, 0.8);
}

.mt-20 {
    margin-top: 20px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

/* (Removed legacy duplicated navbar/link/button blocks from top) */

/* ========== BUTTONS ========== */
.btn {
    padding: 12px 32px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    box-shadow: 0 4px 12px rgba(249, 217, 74, 0.25);
}

.btn-primary:hover {
    background: var(--ciba-yellow);
    filter: brightness(1.1);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(249, 217, 74, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--ciba-yellow);
    border: 2px solid var(--ciba-yellow);
}

.btn-secondary:hover {
    background: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(249, 217, 74, 0.4);
}

.btn-large {
    padding: 16px 48px;
    font-size: 1.1rem;
}

/* ========== HERO SECTION ========== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 120px 20px;
    background: linear-gradient(180deg, var(--ciba-blue) 0%, var(--ciba-blue-dark) 100%);
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 217, 74, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(249, 217, 74, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-reverse 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-gold) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 300;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero__image {
    position: relative;
    z-index: 2;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Visual Shapes (Gradient Decorations) */
.hero__visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== HEADER & NAVIGATION ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--ciba-blue);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.site-header__inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo__img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover .site-logo__img {
    transform: scale(1.05);
}

.brand-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.brand-since {
    font-family: 'Playfair Display', serif;
    font-size: 0.75rem;
    color: var(--ciba-yellow);
    letter-spacing: 0.5px;
    font-style: italic;
}

.navbar {
    display: flex;
    align-items: center;
}

.navbar__menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.navbar__menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar__menu a:hover,
.navbar__menu a[aria-current="page"] {
    color: var(--ciba-yellow);
}

.navbar__menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--ciba-yellow);
    transition: width 0.3s ease;
}

.navbar__menu a:hover::after,
.navbar__menu a[aria-current="page"]::after {
    width: 100%;
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 30px;
    padding-left: 30px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.navbar__lang {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.navbar__lang-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar__lang-link:hover,
.navbar__lang-link--active {
    color: var(--ciba-yellow);
}

.navbar__login {
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar__login:hover {
    background-color: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    border-color: var(--ciba-yellow);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.navbar-toggle {
    display: none;
}

/* Responsive Header */
@media (max-width: 1024px) {
    .navbar__menu {
        gap: 20px;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 900px) {
    .site-header {
        height: auto;
        padding: 15px 0;
    }
    
    .site-header__inner {
        flex-wrap: wrap;
    }
    
    .navbar {
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.05);
        overflow-x: auto;
    }
    
    .navbar__actions {
        margin-left: auto;
        padding-left: 20px;
    }
}

.hero__shape {
    position: absolute;
    border-radius: 50%;
    animation: pulse-shape 4s ease-in-out infinite;
}

.hero__shape--1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(249, 217, 74, 0.3), rgba(249, 217, 74, 0.1));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero__shape--2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(14, 34, 68, 0.5), rgba(14, 34, 68, 0.2));
    bottom: 20%;
    right: 15%;
    animation-delay: 1s;
}

.hero__shape--3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(14, 34, 68, 0.5), rgba(249, 217, 74, 0.2));
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes pulse-shape {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hero__placeholder {
    width: 100%;
    height: 100%;
    background: var(--ciba-card-bg);
    border: 3px dashed var(--ciba-yellow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--ciba-yellow);
    opacity: 0.5;
    transition: var(--transition);
}

.hero__placeholder:hover {
    background: var(--ciba-card-bg);
    border-color: var(--ciba-yellow);
    box-shadow: var(--glow-yellow);
    opacity: 1;
}

/* ========== STATS SECTION ========== */
.stats {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--ciba-blue) 0%, var(--ciba-blue-dark) 100%);
    border-top: 1px solid rgba(249, 217, 74, 0.1);
    border-bottom: 1px solid rgba(249, 217, 74, 0.1);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.stats__card {
    text-align: center;
    padding: 40px;
    background: var(--ciba-card-bg);
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.stats__card:hover {
    background: var(--ciba-card-bg);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.stats__icon {
    font-size: 3rem;
    color: var(--ciba-yellow);
    margin-bottom: 15px;
    background: none;
    -webkit-text-fill-color: initial;
}

.stats__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ciba-yellow);
    margin: 15px 0;
}

.stats__description {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ========== ABOUT SECTION ========== */
.about {
    padding: 120px 20px;
    background: var(--ciba-blue-alt);
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-gold) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 300;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-yellow);
}

.about-text p {
    line-height: 2;
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background: var(--ciba-card-bg);
    border-left: 4px solid var(--ciba-yellow);
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.feature-item:hover {
    background: var(--ciba-card-bg);
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--ciba-yellow);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--ciba-yellow);
}

.feature-item p {
    color: var(--text-white);
    font-size: 0.95rem;
}

/* ========== PROJECTS SECTION ========== */
.projects {
    padding: 120px 20px;
    background: var(--ciba-blue-dark);
}

.projects h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--ciba-yellow);
    background: none;
    -webkit-text-fill-color: initial;
}

.projects > .section-subtitle {
    text-align: center;
    margin-bottom: 80px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.project-card {
    padding: 40px;
    background: var(--ciba-card-bg);
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    backdrop-filter: none;
}

.project-card:hover {
    background: var(--ciba-card-bg);
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    margin-top: auto; /* Push to bottom if flex column */
}

.project-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--ciba-yellow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--ciba-blue-dark);
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    background: var(--ciba-yellow);
    box-shadow: 0 0 15px rgba(249, 217, 74, 0.4);
}

.project-card h3 {
    font-size: 1.4rem;
    color: var(--ciba-yellow);
    font-weight: 700;
}

.project-card p {
    color: var(--text-white);
    line-height: 1.8;
}

.project-link {
    color: var(--ciba-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.project-link:hover {
    transform: translateX(5px);
    color: var(--ciba-yellow);
}

.projects .projects-grid {
    gap: 24px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
    background: var(--ciba-card-bg);
    border: none;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.35);
}

.card h3 {
    margin: 0 0 8px;
    color: var(--accent-yellow);
    font-size: 1.35rem;
}

.card p {
    margin: 0 0 14px;
    color: #E6EDF7;
    opacity: 0.9;
    line-height: 1.7;
}

.card .more {
    color: var(--accent-yellow);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
}

.card .more:hover {
    color: var(--accent-gold);
}

@media (max-width: 1024px) {
    .projects .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .projects .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== CTA SECTION ========== */
.cta {
    padding: 100px 20px;
    text-align: center;
    background: var(--ciba-blue);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249, 217, 74, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--ciba-yellow);
    background: none;
    -webkit-text-fill-color: initial;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== NEWSLETTER SECTION ========== */
.newsletter {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--ciba-blue-dark) 0%, var(--ciba-blue-alt) 100%);
    border-top: 1px solid rgba(249, 217, 74, 0.1);
    border-bottom: 1px solid rgba(249, 217, 74, 0.1);
}

.newsletter .container {
    text-align: center;
    max-width: 600px;
}

.newsletter h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--ciba-yellow);
}

.newsletter p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    background: var(--ciba-blue-dark);
    border: 1.5px solid rgba(249, 217, 74, 0.3);
    color: var(--text-white);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    background: var(--ciba-blue-dark);
    border-color: var(--ciba-yellow);
    box-shadow: 0 0 10px rgba(249, 217, 74, 0.2);
}

/* ========== CONTACT SECTION ========== */
.contact {
    padding: 120px 20px;
    background: var(--ciba-blue-dark);
}

.contact h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    color: var(--ciba-yellow);
    background: none;
    -webkit-text-fill-color: initial;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.contact-info {
    padding: 30px;
    background: var(--ciba-card-bg);
    border: none;
    border-radius: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.contact-info:hover {
    background: var(--ciba-card-bg);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.contact-info h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--ciba-yellow);
}

.contact-info p {
    color: var(--text-white);
    line-height: 1.8;
}

.contact-info a {
    color: var(--ciba-yellow);
    text-decoration: none;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--ciba-yellow);
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(249, 217, 74, 0.1);
    border: 1px solid rgba(249, 217, 74, 0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    transition: var(--transition);
    color: var(--ciba-yellow);
}

.social-links a:hover {
    background: var(--ciba-yellow);
    border-color: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    transform: scale(1.1);
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px 20px;
    background: var(--ciba-blue-alt);
    border-top: 1px solid rgba(249, 217, 74, 0.1);
    text-align: center;
}

.footer p {
    color: var(--ciba-yellow);
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--ciba-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--ciba-yellow);
    transform: translateY(-2px);
}

/* ========== FOOTER IMPROVEMENTS ========== */
.footer-grid {
    text-align: left;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--ciba-yellow);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--ciba-yellow);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
}

/* ========== STICKY DONATION BUTTON ========== */
.sticky-donate-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(249, 217, 74, 0.4);
    transition: var(--transition);
    z-index: 50;
    font-size: 0.75rem;
    text-align: center;
    padding: 10px;
}

.sticky-donate-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(249, 217, 74, 0.6);
    background: var(--ciba-yellow);
}

/* ========== RESPONSIVE DESIGN ========== */

/* ===== TABLET (640px - 768px) ===== */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 80px 20px;
        min-height: auto;
    }

    .hero-image {
        height: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .cta-buttons .btn {
        width: 100%;
    }

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

    .sticky-donate-btn {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }
}

/* ===== MOBILE (< 640px) - CRITICAL FIXES ===== */
@media (max-width: 640px) {
    /* Hero Section Mobile */
    .hero {
        padding: 60px 15px 80px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-image {
        height: 250px;
        order: -1;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .btn-primary {
        width: 100%;
    }
    
    .btn-secondary {
        width: 100%;
    }
    
    /* Stats Section Mobile */
    .stat-card {
        padding: 20px;
    }
    
    .stat-card i {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .stat-card h3 {
        font-size: 1.5rem;
    }
    
    .stat-card p {
        font-size: 0.95rem;
    }
    
    /* Sticky Donate Button */
    .sticky-donate-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 0.65rem;
        padding: 5px;
    }
    
    /* Project Cards Mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .project-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }
    
    /* Form Mobile */
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .contact-form {
        padding: 20px;
    }
    
}

/* ===== SMALL PHONE (< 480px) ===== */
@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 1.3rem;
    }
}

/* Scroll Animations */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ========== NEW PAGES STYLES ========== */

.page {
    background: linear-gradient(180deg, var(--ciba-blue) 0%, var(--ciba-blue-dark) 100%);
    color: var(--text-light);
    min-height: 100vh;
    padding-bottom: 100px;
}

.page strong {
    color: var(--text-white);
}

.page h1,
.page h2,
.page h3,
.page h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
}

.page h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--ciba-yellow);
    letter-spacing: 0.5px;
}

.page h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--ciba-yellow);
    margin-bottom: 1.5rem;
}

.page h3 {
    color: var(--accent-yellow);
    font-size: 1.5rem;
}

.page a {
    color: var(--accent-yellow);
    text-decoration-color: rgba(249, 217, 74, 0.5);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.page a:hover,
.page a:focus-visible {
    color: var(--ciba-yellow);
    text-decoration-color: rgba(249, 217, 74, 0.8);
}

.page-hero {
    padding: 150px 20px 100px;
    background: linear-gradient(145deg, rgba(14, 34, 68, 0.95), rgba(14, 34, 68, 0.75));
    border-bottom: 1px solid rgba(249, 217, 74, 0.15);
}

.page-hero__content {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.page-hero__lead {
    font-size: 1.2rem;
    color: var(--text-light-soft);
    margin-top: 1.5rem;
    line-height: 1.9;
}

.page-section {
    padding: 90px 20px;
    border-bottom: 1px solid rgba(249, 217, 74, 0.08);
}

.page-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.page-section__grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 900px) {
    .page-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.page-section p,
.page-section li {
    color: var(--text-light-soft);
    line-height: 1.9;
}

.page-section ul {
    padding-left: 1.5rem;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-section--light {
    background: rgba(255, 255, 255, 0.02);
    border-left: 4px solid rgba(249, 217, 74, 0.25);
    border-radius: 12px;
}

.page-section--accent {
    background: rgba(249, 217, 74, 0.05);
    border-left: 4px solid rgba(249, 217, 74, 0.4);
    border-radius: 12px;
}

.page-section--light .page-section__inner,
.page-section--accent .page-section__inner {
    max-width: 1000px;
}

.page-section--accent h2 {
    color: var(--accent-yellow);
}

.page-section--light h2 {
    color: var(--ciba-yellow);
}

.page-section a {
    font-weight: 600;
}

/* Breadcrumb Navigation */
.breadcrumb-section {
    background: var(--ciba-blue);
    padding: 20px 0;
    border-bottom: 1px solid rgba(249, 217, 74, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-shadow: 0 0 10px var(--glow-yellow);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-white);
    font-weight: 600;
}

/* Hero Subpage */
.hero-subpage {
    background: linear-gradient(135deg, var(--ciba-blue) 0%, var(--ciba-blue-dark) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-subpage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(249, 217, 74, 0.1), transparent 70%);
}

.hero-subpage-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-subpage .hero-title {
    font-size: 3.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--ciba-yellow), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subpage .hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--ciba-yellow), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Timeline */
.about-timeline {
    padding: 60px 0;
}

.timeline {
    position: relative;
    margin: 4rem 0;
    padding-left: 40px;
    border-left: 3px solid var(--ciba-yellow);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -49px; /* Adjusted for padding-left: 40px + border width? No, left is relative to item? */
    /* Wait, .timeline has padding-left: 40px. .timeline-item is inside. */
    /* The border is on .timeline. */
    /* So border is at 0px. Content starts at x=40. */
    /* To center dot on border (x=0), we need left: -40px - (width/2) + (border-width/2)? */
    /* width=18px. center at 9px. */
    /* border=3px. center at 1.5px. */
    /* So we want center of dot at 1.5px. */
    /* Content starts at 40px. */
    /* So left should be -40px + 1.5px - 9px = -47.5px? */
    /* The original code had left: -11px. This implies the dot was inside the content area? */
    /* Or maybe .timeline-item had negative margin? No. */
    /* I'll trust the original positioning if it worked, or maybe it didn't work well. */
    /* But I'll just change colors for now. */
    left: -51px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--ciba-blue);
    border: 3px solid var(--ciba-yellow);
    border-radius: 50%;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ciba-yellow);
}

.timeline-content {
    color: var(--text-light);
    margin-top: 5px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.timeline-image {
    margin-top: 10px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Cards */
.card {
    background: var(--ciba-card-bg);
    border: none;
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(249, 217, 74, 0.2);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(249, 217, 74, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: rgba(249, 217, 74, 0.05);
    border: none;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(249, 217, 74, 0.1);
    color: var(--ciba-yellow);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(249, 217, 74, 0.2);
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--glow-yellow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(249, 217, 74, 0.1);
    box-shadow: 0 0 20px var(--glow-yellow);
}

/* ========== COMPONENT: FEATURE CARD ========== */
.feature-card {
    background: var(--ciba-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 217, 74, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--ciba-yellow);
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.feature-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== COMPONENT: PROJECT CARD ========== */
/* (Existing .project-card styles are good, adding tags) */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    margin-top: auto; /* Push to bottom if flex column */
}

.project-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========== COMPONENT: ACTION CARD ========== */
.action-card {
    background: var(--ciba-blue-dark);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(249, 217, 74, 0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.action-card:hover {
    background: rgba(249, 217, 74, 0.05);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.action-icon {
    font-size: 3rem;
    color: var(--ciba-yellow);
    margin-bottom: 20px;
}

.action-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--ciba-yellow);
}

.action-description {
    margin-bottom: 30px;
    color: var(--text-light);
}

/* ========== COMPONENT: TEAM CARD ========== */
.team-card {
    background: var(--ciba-card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--ciba-yellow);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.team-name {
    font-size: 1.4rem;
    color: var(--ciba-yellow);
    margin-bottom: 5px;
}

.team-role {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.team-bio {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* ========== UTILITIES ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
    outline: 3px solid var(--ciba-yellow);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    text-align: center;
    line-height: 40px;
    font-weight: 600;
    transition: var(--transition);
    z-index: 100;
}

.skip-link:hover {
    background: var(--ciba-yellow);
    color: var(--ciba-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
    top: 0;
}

/* ========== CUSTOM STYLES ========== */
/* (Add any custom global styles here) */
