/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Desktop Optimization */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .page-header {
        padding: 80px 0;
    }
    
    .page-header h1 {
        font-size: 3.5rem;
    }
    
    .page-header p {
        font-size: 1.3rem;
        max-width: 800px;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .content-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .content-section h3 {
        font-size: 1.7rem;
        margin-bottom: 25px;
        margin-top: 40px;
    }
    
    .content-section p,
    .content-section li {
        font-size: 1.2rem;
        line-height: 1.9;
    }
    
    .content-grid {
        gap: 60px;
        margin-top: 50px;
    }
    
    .section-image {
        height: 400px;
    }
    
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-top: 50px;
    }
    
    .mission-card {
        padding: 50px;
    }
    
    .mission-card h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        margin-top: 50px;
    }
    
    .team-member {
        padding: 40px;
    }
    
    .member-photo-img {
        width: 100px;
        height: 100px;
    }
    
    .team-member h3 {
        font-size: 1.4rem;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 40px;
        margin-top: 50px;
    }
    
    .achievement-item {
        padding: 50px 30px;
    }
    
    .achievement-number {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .achievement-item h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .value-item {
        padding: 40px;
        margin-bottom: 25px;
    }
    
    .value-item h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .contact-info {
        padding: 40px;
        margin-top: 30px;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 20px;
        font-size: 1rem;
    }
    
    .footer {
        padding: 80px 0 30px;
    }
    
    .footer-content {
        gap: 60px;
        margin-bottom: 50px;
    }
    
    .footer-section h4 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .footer-section ul li {
        padding: 8px 0;
        font-size: 1rem;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
        padding: 0 60px;
    }
    
    .page-header h1 {
        font-size: 4rem;
    }
    
    .content-section h2 {
        font-size: 2.8rem;
    }
    
    .content-section p,
    .content-section li {
        font-size: 1.3rem;
        line-height: 2;
    }
    
    .section-image {
        height: 450px;
    }
    
    .mission-card,
    .team-member,
    .achievement-item {
        padding: 60px 40px;
    }
    
    .value-item {
        padding: 50px;
    }
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: #6366f1;
}

/* Main Content */
.main-content {
    background: white;
    min-height: calc(100vh - 200px);
}

.page-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

.content-section:last-child {
    border-bottom: none;
}

.content-section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
}

.content-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
    color: #334155;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 20px;
}

.content-section ul {
    margin-bottom: 25px;
    padding-left: 25px;
}

.content-section li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 8px;
}

.content-section li strong {
    color: #1e293b;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Image Placeholders */
.image-placeholder {
    background: #f1f5f9;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    border: 2px dashed #cbd5e1;
}

.image-placeholder p {
    margin-top: 15px;
    color: #64748b;
    font-size: 1rem;
}

.placeholder-icon {
    opacity: 0.6;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.mission-icon {
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #1e293b;
    margin-top: 0;
}

.mission-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Values List */
.values-list {
    margin-top: 40px;
}

.value-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #6366f1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1e293b;
    margin-top: 0;
}

.value-item p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.member-photo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.member-photo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.member-photo-img:hover {
    transform: scale(1.05);
    border-color: #6366f1;
}

.section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #1e293b;
    margin-top: 0;
}

.member-role {
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
}

.team-member p:last-child {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.achievement-item {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6366f1;
    margin-bottom: 10px;
}

.achievement-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1e293b;
    margin-top: 0;
}

.achievement-item p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Contact Info */
.contact-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: #6366f1;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    margin-top: 30px;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.cookie-table th {
    background: #6366f1;
    color: white;
    font-weight: 600;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6366f1;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #6366f1;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    padding: 5px 0;
    color: #94a3b8;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #6366f1;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-image {
        height: 250px;
    }
    
    .member-photo-img {
        width: 70px;
        height: 70px;
    }
    
    .mission-grid,
    .team-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-table {
        font-size: 0.9rem;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .mission-card,
    .team-member,
    .achievement-item {
        padding: 25px;
    }
    
    .value-item {
        padding: 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

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

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

.mt-40 {
    margin-top: 40px;
}

/* Links */
a {
    color: #6366f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .page-header {
        background: none;
        color: black;
        padding: 20px 0;
    }
    
    .content-section {
        padding: 20px 0;
        border-bottom: 1px solid #ccc;
    }
    
    .mission-card,
    .team-member,
    .achievement-item,
    .value-item {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}