/* Khan Stretch Ceilings - About Page Mobile Styles */

@import url('home.css');

/* Global link styles */
a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    color: inherit;
    text-decoration: none;
}

:root {
    --main-green: #2F5F3A;
    --accent-green: #3FA450;
    --accent-red: #8B1E1E;
    --metal-gray: #2D2D2D;
    --gold-light: #E8D6B9;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Poppins', 'Segoe UI', 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--gold-light);
    background: url('../../images/home/back.jfif') center/cover fixed no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    transition: all 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .nav-menu {
        display: none !important;
    }
    
    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Ensure navbar brand is visible */
    .nav-brand {
        display: block !important;
    }
}

/* Mobile Header */
.header {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
    padding: 0.5rem 0;
}

/* Navbar Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 1rem 0;
        transition: all 0.3s ease;
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
    }
    
    .brand-content {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .brand-logo {
        width: 125px;
        height: 80px;
        transition: transform 0.3s ease;
    }
    
    .brand-text h1 {
        color: var(--gold-light);
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
    }
    
    .brand-subtitle {
        color: var(--gold-light);
        font-size: 0.8rem;
        font-weight: 300;
    }
    
    .language-switcher {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 0.3rem;
        display: flex;
        gap: 0.2rem;
        margin-right: 1rem;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--main-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: '🏠';
    font-size: 1.5rem;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        transition: right 0.3s ease;
        z-index: 1001;
        padding-top: 5rem;
        box-shadow: -5px 0 15px var(--shadow);
    }
    
    .mobile-menu.active {
        right: 0;
    }
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--gray);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        position: relative;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--accent-green);
        background: rgba(63, 164, 80, 0.1);
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: var(--accent-green);
        transition: width 0.3s ease;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        width: 4px;
    }
    
    /* Mobile Menu Toggle */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1002;
        position: relative;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--gold-light);
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 2px;
    }
}

@media (max-width: 768px) {
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Mobile Overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    color: var(--gold-light);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 95, 58, 0.4);
    background: var(--gold-light);
    color: var(--main-green);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold-light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--white);
    transition: right 0.3s ease;
    z-index: 1001;
    padding-top: 5rem;
    box-shadow: -5px 0 15px var(--shadow);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--gold-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--main-green);
    background: rgba(232, 214, 185, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gold-light);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 4px;
}

/* Mobile Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Mobile Page Hero */
.page-hero {
    background: transparent;
    color: var(--gold-light);
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 70px;
    margin-bottom: 2rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.page-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gold-light);
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.page-hero p {
    font-size: 1rem;
    color: var(--gold-light);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* Mobile Company History */
.company-history {
        padding: 3rem 0;
        background: transparent;
    }

.company-history h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0 1rem;
}

.history-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gold-light);
    order: 2;
}

.history-text p {
    margin-bottom: 1.2rem;
}

.history-text .highlight {
    color: var(--accent-green);
    font-weight: 600;
}

.history-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow);
    height: 200px;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1rem;
    text-align: center;
    order: 1;
}

.history-image::before {
    content: '🏢';
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Mobile Company Story Section */
.company-story {
    padding: 3rem 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.company-story::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(80, 200, 120, 0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.story-text {
    position: relative;
    order: 1;
}

.story-text h2 {
    font-size: 2rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.story-text h2::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--main-green));
    border-radius: 2px;
}

.story-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.2rem;
    transition: all 0.3s ease;
}

.story-text p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 3px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(63, 164, 80, 0.5);
}

.story-text p:hover {
    color: var(--accent-green);
    transform: translateX(3px);
}

.story-text p:first-of-type {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gold-light);
    background: linear-gradient(135deg, rgba(63, 164, 80, 0.08), rgba(63, 164, 80, 0.03));
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 3px solid var(--accent-green);
    box-shadow: 0 4px 15px rgba(63, 164, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.story-text p:first-of-type::before {
    display: none;
}

.story-text p:first-of-type::after {
    content: '🏢';
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.3;
}

.story-image {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(63, 164, 80, 0.2);
    transition: transform 0.3s ease;
    order: 2;
}

.story-image:hover {
    transform: translateY(-5px) scale(1.01);
}

.company-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 1rem;
}

.company-photo::before {
    content: '🏗️';
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

.company-photo::after {
    content: 'Качество с 2024 года';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mobile Company Values */
.company-values {
        padding: 3rem 0;
        background: transparent;
    }

.company-values h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.value-item {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--gold-light));
}

.value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--gold-light);
}

.value-item h3 {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-item p {
    color: var(--gold-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Mobile Team Section */
.team-section {
    padding: 3rem 0;
    background: transparent;
}

.team-section h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.team-member {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-dark);
}

.member-photo {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 70%);
}

.member-info {
    padding: 1.5rem;
}

.member-info h3 {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.member-role {
    color: var(--accent-green);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.member-info p {
    color: var(--gold-light);
    line-height: 1.6;
    font-size: 0.85rem;
}

/* Mobile Company Advantages */
.company-advantages {
    padding: 3rem 0;
    background: transparent;
}

.company-advantages h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.advantage-item {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.advantage-item:hover {
    transform: translateY(-3px);
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-green), var(--gold-light), var(--main-green));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-item:hover::before {
    opacity: 1;
}

.advantage-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    display: block;
}

.advantage-item h3 {
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.advantage-item p {
    color: var(--gold-light);
    line-height: 1.5;
    font-size: 0.8rem;
}

/* Mobile Certificates Section */
.certificates {
    padding: 3rem 0;
    background: transparent;
}

.certificates h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
}

.certificate-item {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    touch-action: manipulation;
}

.certificate-item:hover,
.certificate-item:active {
    border-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow);
}

.certificate-icon {
    font-size: 2.5rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    display: block;
}

.certificate-item h3 {
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.certificate-item p {
    color: var(--gold-light);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Mobile CTA Section */
.cta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite reverse;
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
    color: var(--gold-light);
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--gold-light);
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.cta-section .btn-primary {
    background: var(--gold-light);
    color: var(--main-green);
    border: none;
    font-weight: 600;
    width: 100%;
    max-width: 280px;
}

.cta-section .btn-primary:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(63, 164, 80, 0.4);
}

.cta-section .btn-secondary {
    background: transparent;
    color: var(--gold-light);
    border: 2px solid var(--gold-light);
    font-weight: 600;
    width: 100%;
    max-width: 280px;
}

.cta-section .btn-secondary:hover {
    background: var(--gold-light);
    color: var(--main-green);
    transform: translateY(-2px);
}

/* Mobile Timeline (if needed) */
.timeline {
    padding: 3rem 0;
    background: transparent;
}

.timeline h2 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    font-weight: 700;
}

.timeline-container {
    position: relative;
    padding: 0 1rem;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid var(--accent-green);
}

.timeline-item:last-child {
    border-left: none;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent-green);
}

.timeline-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
}

.timeline-content h3 {
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--gold-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Mobile Touch Optimizations */
.team-member,
.value-item,
.advantage-item,
.certificate-item {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .page-hero {
        padding: 4rem 0 2.5rem;
    }
    
    .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .company-history,
    .company-values,
    .team-section,
    .company-advantages,
    .certificates,
    .cta-section {
        padding: 2.5rem 0;
    }
    
    .company-history h2,
    .company-values h2,
    .team-section h2,
    .company-advantages h2,
    .certificates h2,
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .history-content,
    .values-grid,
    .team-grid {
        padding: 0 0.8rem;
    }
    
    .advantages-grid,
    .certificates-grid {
        padding: 0 0.8rem;
    }
    
    .history-image {
        height: 180px;
    }
    
    .history-image::before {
        font-size: 2.5rem;
    }
    
    .member-photo {
        height: 160px;
        font-size: 2.5rem;
    }
    
    .value-item,
    .member-info {
        padding: 1.5rem 1.2rem;
    }
    
    .advantage-item,
    .certificate-item {
        padding: 1.2rem 0.8rem;
    }
    
    .advantage-number {
        font-size: 1.8rem;
    }
    
    .certificate-icon {
        font-size: 2rem;
    }
    
    .cta-buttons {
        padding: 0 0.8rem;
    }
}

@media (max-width: 360px) {
    .page-hero h1 {
        font-size: 1.6rem;
    }
    
    .advantages-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .history-content,
    .values-grid,
    .team-grid,
    .advantages-grid,
    .certificates-grid {
        padding: 0 0.6rem;
    }
    
    .value-item,
    .member-info,
    .advantage-item,
    .certificate-item {
        padding: 1rem;
    }
    
    .history-image {
        height: 160px;
    }
    
    .member-photo {
        height: 140px;
        font-size: 2rem;
    }
    
    .advantage-number {
        font-size: 1.6rem;
    }
    
    .certificate-icon {
        font-size: 1.8rem;
    }
}

/* Mobile Performance Optimizations */
.team-member,
.value-item,
.advantage-item {
    will-change: transform;
}

/* Mobile Accessibility */
@media (prefers-reduced-motion: reduce) {
    .page-hero::before,
    .cta-section::before,
    .team-member,
    .value-item,
    .advantage-item,
    .certificate-item {
        animation: none;
        transition: none;
    }
}

/* Mobile Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .value-item,
    .team-member,
    .advantage-item,
    .certificate-item,
    .timeline-content {
        background: #1a1a1a;
        color: #e0e0e0;
    }
    
    .value-item h3,
    .member-info h3,
    .advantage-item h3,
    .certificate-item h3,
    .timeline-content h3 {
        color: var(--light-green);
    }
}

/* Mobile Footer */
.footer {
    background: linear-gradient(135deg, var(--main-green), var(--metal-gray));
    color: var(--gold-light);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
}

.footer-brand h3 {
    color: var(--gold-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gold-light);
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-links h4 {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gold-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-contact h4 {
    color: var(--gold-light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(232, 214, 185, 0.2);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gold-light);
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
}