:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-brand i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s;
    border-radius: 2px;
}

.nav-toggle:hover span {
    background-color: var(--primary-color);
}

/* Animated hamburger menu */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Services Detail */
.services-detail {
    padding: 60px 0;
}

.service-detail-card {
    background: var(--white);
    border-radius: 10px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-detail-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-detail-header h2 {
    font-size: 2rem;
    color: var(--text-color);
}

.service-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-features h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.service-features i {
    color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Company Info */
.company-info {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.company-details {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-details h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.company-details p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.company-location {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.company-location p {
    font-size: 1.1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.company-location i {
    color: var(--primary-color);
}

/* Company Registration */
.company-registration {
    padding: 60px 0;
    background-color: var(--white);
}

.registration-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.registration-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.registration-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.registration-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.registration-header h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

.registration-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
    min-width: 150px;
    flex-shrink: 0;
}

.info-value {
    color: var(--text-light);
    flex: 1;
    word-break: break-word;
}

/* Company Values */
.company-values {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Team Preview */
.team-preview {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.team-preview-content {
    max-width: 800px;
    margin: 0 auto;
}

.team-preview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.team-preview-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.team-position {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-contact {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.team-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.team-contact a {
    color: var(--primary-color);
    text-decoration: none;
}

.team-contact i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Team Page Specific Styles */
.team-intro {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.team-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.team-intro-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.directors-section {
    padding: 60px 0;
    background-color: var(--white);
}

.employees-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-header .section-title i {
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.director-card {
    border: 2px solid var(--primary-color);
    position: relative;
}

.director-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.director-card:hover::before {
    opacity: 0.1;
}

.director-avatar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 140px;
    height: 140px;
    font-size: 3.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.employee-card {
    border: 1px solid var(--border-color);
}

.employee-avatar {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.team-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-link:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-link i {
    font-size: 1rem;
}

.join-team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.join-team-content {
    max-width: 700px;
    margin: 0 auto;
}

.join-team-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.join-team-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.join-team-content .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
}

.join-team-content .btn-primary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-info > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-text p {
    color: var(--text-light);
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-map h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.map-container iframe {
    display: block;
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-note i {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section i {
    margin-right: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Error Section */
.error-section {
    padding: 60px 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.error-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Design */

/* Tablet and below (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1000;
    }

    .nav-brand span {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Sections */
    .services-preview,
    .about-preview,
    .team-intro,
    .company-info,
    .company-values,
    .directors-section,
    .employees-section,
    .contact-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .section-header .section-title {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Grids */
    .services-grid,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards */
    .service-card,
    .team-card,
    .value-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .director-avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    /* Registration Info */
    .registration-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .registration-card {
        padding: 1.5rem;
    }

    .registration-header h3 {
        font-size: 1.3rem;
    }

    .info-label {
        min-width: 120px;
        font-size: 0.95rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    /* Service Detail */
    .service-detail-card {
        padding: 2rem 1.5rem;
    }

    .service-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .service-detail-header h2 {
        font-size: 1.5rem;
    }

    .service-features ul {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h2,
    .contact-map h2 {
        font-size: 1.8rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .map-container {
        margin-bottom: 1rem;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
        margin-top: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    /* About Buttons */
    .about-buttons {
        flex-direction: column;
        width: 100%;
    }

    .about-buttons .btn {
        width: 100%;
    }

    /* Team Page */
    .team-intro-content h2,
    .join-team-content h2 {
        font-size: 2rem;
    }

    .join-team-content p,
    .team-preview-content p {
        font-size: 1rem;
    }

    .join-team-section {
        padding: 50px 0;
    }

    .contact-link {
        font-size: 0.85rem;
        padding: 10px;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    /* Navigation */
    .nav-brand a {
        font-size: 1rem;
    }

    .nav-brand i {
        font-size: 1.5rem;
    }

    .nav-brand span {
        font-size: 1rem;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    /* Typography */
    .section-title {
        font-size: 1.75rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .section-header .section-title {
        font-size: 1.5rem;
    }

    /* Cards */
    .service-card,
    .team-card,
    .value-card,
    .service-detail-card {
        padding: 1.25rem;
    }

    .service-card h3,
    .team-card h3,
    .value-card h3 {
        font-size: 1.25rem;
    }

    .team-position {
        font-size: 1rem;
    }

    .team-bio,
    .service-card p,
    .value-card p {
        font-size: 0.9rem;
    }

    /* Contact */
    .contact-info h2,
    .contact-map h2 {
        font-size: 1.5rem;
    }

    .contact-text h3 {
        font-size: 1.1rem;
    }

    .map-container iframe {
        height: 250px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .join-team-content .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Footer */
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    /* Registration Info */
    .registration-info {
        grid-template-columns: 1fr;
    }

    .registration-card {
        padding: 1.25rem;
    }

    .registration-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .registration-header h3 {
        font-size: 1.2rem;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .info-label {
        min-width: auto;
        font-size: 0.9rem;
    }

    .info-value {
        font-size: 0.9rem;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .service-card,
    .team-card,
    .value-card {
        padding: 1rem;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .director-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 0;
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .service-link,
    .contact-link,
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
    }

    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
        -webkit-tap-highlight-color: rgba(37, 99, 235, 0.2);
    }

    /* Remove hover effects on touch devices */
    .service-card:hover,
    .team-card:hover,
    .value-card:hover {
        transform: none;
    }

    .contact-link:hover {
        transform: none;
    }

    /* Better touch targets */
    .nav-menu a {
        padding: 1rem 1.5rem;
    }
}

/* Prevent text selection on mobile for better UX */
@media (max-width: 768px) {
    .nav-toggle,
    .btn {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Improve image and iframe responsiveness */
img,
iframe {
    max-width: 100%;
    height: auto;
}

/* Better focus states for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    p {
        line-height: 1.7;
    }
}

