/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #f7b801;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Glass Effect - iOS Style */
.glass {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.125);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37),
                inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    background: rgba(40, 44, 52, 0.15) !important;
    backdrop-filter: blur(50px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(50px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    opacity: 1;
}

.logo:hover .logo-img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(255, 107, 53, 0.4));
    transform: scale(1.05);
}

.logo i {
    color: var(--primary-color);
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: inherit;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.language-selector i {
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector:hover i {
    color: var(--primary-color);
    transform: rotate(20deg);
}

.language-selector select {
    background: transparent;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    outline: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-selector:hover select {
    color: var(--primary-color);
}

.language-selector select option {
    background: var(--dark-bg);
    color: var(--text-light);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banners/banner_home.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(2px);
    opacity: 0.7;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.3), rgba(0, 78, 137, 0.1));
    z-index: 1;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.2), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c5f, #ff6b35);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.6),
                0 0 40px rgba(255, 107, 53, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.5),
                0 0 30px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover::before {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    color: var(--text-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(247, 184, 1, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><rect fill="%23ff6b35" width="1200" height="400"/></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 3rem;
    border-radius: 25px;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Page Header */
.page-header {
    height: 40vh;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
}

.products-page-header {
    background: url('../images/banners/banner_products.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-page-header {
    background: linear-gradient(135deg, rgba(0, 78, 137, 0.4), rgba(0, 78, 137, 0.3)), url('../images/banners/about_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.experience-page-header {
    background: url('../images/banners/construction_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.experience-page-header .container {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.experience-page-header h1,
.experience-page-header p {
    color: white;
}

.contact-page-header {
    position: relative;
    overflow: hidden;
}

.contact-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/banners/banner-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
}

.contact-page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.contact-page-header .container {
    position: relative;
    z-index: 3;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(173, 216, 230, 0.4), transparent 50%), radial-gradient(circle at 80% 30%, rgba(240, 248, 255, 0.3), transparent 60%);
}

.page-header .container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* About Content */
.about-content {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-intro {
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.about-intro h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cooperation-section {
    margin: 4rem 0;
}

.cooperation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    align-items: center;
}

.cooperation-image {
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    cursor: pointer;
    position: relative;
}

.cooperation-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

.cooperation-map-img {
    cursor: zoom-in;
}

.cooperation-image:hover img {
    transform: scale(1.5) translate(25%, 0);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

/* Image Modal/Lightbox */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.cooperation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    transition: transform 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mv-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.values-section {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.team-section {
    margin-top: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.team-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.team-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-image i {
    font-size: 3rem;
    color: var(--text-light);
}

.team-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
    overflow-x: hidden;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
}

.product-card {
    border-radius: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.product-image {
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 4rem;
    color: var(--text-light);
}

.product-icon-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.project-image .product-icon-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
    word-wrap: break-word;
}

.product-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-features-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.product-features-two-col li {
    font-size: 0.9rem;
    padding: 0.3rem 0;
    padding-left: 1.5rem;
}

.product-button-container {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}

/* Product page specific button styles */
.product-content .btn-secondary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.product-content .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-content .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.5),
                0 0 30px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-content .btn-secondary:hover::before {
    opacity: 1;
}

.why-choose {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    color: var(--text-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
}

.why-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Clients Section */
.clients-section {
    margin-top: 4rem;
    padding: 3rem 0 4rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 25px;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    overflow: visible;
}

.clients-section .section-title {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.clients-section .section-subtitle {
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.clients-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.clients-track {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 3rem;
    align-items: center;
    width: max-content;
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(31, 38, 135, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    will-change: transform;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(31, 38, 135, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 10;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.3s ease, transform 0.3s ease;
    transform-origin: center;
}

.client-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.clients-carousel:hover .clients-track {
    animation-play-state: paused;
}

/* Timeline Section */
.timeline-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 100px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    padding: 1rem;
}

.timeline-content {
    flex: 1;
    padding: 1.5rem;
    border-radius: 20px;
    margin: 0 2rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Projects Gallery */
.projects-gallery {
    padding: 80px 0;
    background: var(--light-bg);
}

.projects-gallery .section-title {
    color: var(--secondary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-dark);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.project-image {
    height: 200px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image i {
    font-size: 4rem;
    color: var(--text-light);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.project-location {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.project-company {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Certifications */
.certifications-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    color: var(--text-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.cert-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cert-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cert-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    padding: 2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-form-wrapper h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1),
                inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 12px;
    color: #666;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--light-bg);
    padding: 0 5px;
    color: var(--primary-color);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    color: var(--text-light);
}

.map-wrapper {
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

#map {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(31, 38, 135, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        position: relative;
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0 15px;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 30, 60, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: none !important;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.3rem;
        padding: 0.5rem;
        min-width: 40px;
        color: var(--text-light);
        flex-shrink: 0;
    }
    
    .language-selector {
        padding: 5px 8px;
        font-size: 0.8rem;
        gap: 4px;
        flex-shrink: 0;
        margin-left: auto;
    }
    
    .language-selector i {
        font-size: 0.9rem;
    }
    
    .language-selector select {
        font-size: 0.8rem;
        width: auto;
        max-width: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Page headers */
    .page-header {
        height: 30vh;
        min-height: 200px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Grids - single column on mobile */
    .stats-grid,
    .services-grid,
    .products-grid,
    .projects-grid,
    .why-grid,
    .values-grid,
    .team-grid,
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Product cards */
    .products-section {
        padding: 40px 0;
    }
    
    .products-grid {
        gap: 1.5rem;
    }
    
    .product-card {
        margin: 0;
        max-width: 100%;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-content h3 {
        font-size: 1.2rem;
    }
    
    .product-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .product-features-two-col {
        grid-template-columns: 1fr;
    }
    
    .product-features li {
        font-size: 0.85rem;
    }
    
    /* Project cards */
    .project-card {
        margin: 0;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
    
    /* Cooperation section */
    .cooperation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .cooperation-image:hover img {
        transform: scale(1.02);
    }
    
    /* About section */
    .about-intro {
        padding: 1.5rem;
    }
    
    .mv-card,
    .value-card,
    .why-card {
        padding: 1.5rem;
    }
    
    /* Contact section */
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        flex: 0 0 60px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        margin: 0 0 0 1rem;
        padding: 1rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col ul {
        padding-left: 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Client logos responsive */
    .clients-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }
    
    .clients-section .section-title {
        font-size: 1.8rem;
    }
    
    .clients-section .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .client-logo {
        width: 150px;
        height: 80px;
    }
    
    .clients-track {
        gap: 2rem;
        animation-duration: 25s;
    }
    
    /* CTA section */
    .cta-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }
    
    .language-selector {
        padding: 4px 6px;
        gap: 3px;
    }
    
    .language-selector i {
        font-size: 0.8rem;
    }
    
    .language-selector select {
        font-size: 0.75rem;
        max-width: 60px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.2rem;
        min-width: 35px;
        padding: 0.3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .product-image,
    .project-image {
        height: 140px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stat-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card i,
    .service-icon {
        font-size: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
}

/* Thank You Page Styles */
.thank-you-content {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-card {
    text-align: center;
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.thank-you-card i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.thank-you-card h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.thank-you-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.thank-you-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thank-you-actions .btn {
    min-width: 150px;
}

@media (max-width: 768px) {
    .thank-you-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .thank-you-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thank-you-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}
/* Certificate Carousel Styles */
.cert-carousel-container {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cert-carousel {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cert-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 1rem;
}

.cert-slide {
    min-width: 130px;
    height: 165px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cert-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cert-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cert-slide:hover img {
    transform: scale(1.1);
}

.cert-carousel-btn {
    background: rgba(0, 78, 137, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cert-carousel-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.cert-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.cert-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 78, 137, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-dot.active,
.cert-dot:hover {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* Certificate Modal Styles */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    opacity: 0;
    transition: opacity 1.2s ease;
}

.cert-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.cert-modal-content {
    position: relative;
    padding: 0;
    width: 50%;
    max-width: 500px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cert-modal.show .cert-modal-content {
    transform: scale(1);
}

.cert-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    max-height: 70vh;
    object-fit: contain;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cert-close {
    position: absolute;
    top: -50px;
    right: -10px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-close:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cert-gallery-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cert-carousel-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cert-slide {
        min-width: 150px;
        height: 120px;
    }
    
    .cert-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .cert-modal-content {
        width: 80%;
        max-width: 400px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .cert-slide {
        min-width: 120px;
        height: 100px;
    }
    
    .cert-carousel-container {
        margin: 2rem 0;
    }
    
    .cert-dots {
        margin-top: 1rem;
    }
    
    .cert-dot {
        width: 10px;
        height: 10px;
    }
}

/* Error Pages */
.error-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-bg));
}

.error-content {
    text-align: center;
    padding: 4rem;
    border-radius: 25px;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.error-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.error-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .error-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-message {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 250px;
    }
}