@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,700&display=swap');

:root {
    --bg-dark: #09131d;
    --bg-card: #152433;
    --accent-cyan: #2898c8;
    --text-white: #ffffff;
    --text-gray: #aab2bd;
    --border-color: rgba(255,255,255,0.1);
    --font-main: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-title.cyan {
    color: var(--accent-cyan);
}

.section-title.italic {
    font-style: italic;
}

.section-title.left {
    text-align: left;
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-desc.left {
    text-align: left;
    margin-left: 0;
}

.section-divider {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.section-divider .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-gray);
}

.section-divider .dot.filled {
    background: var(--accent-cyan);
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   顶部栏
   ======================================== */
.top-bar {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 100;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left .top-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(40, 200, 100, 1);
    font-weight: 500;
}

.top-bar-center {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--text-gray);
    font-size: 14px;
}

.social-icon:hover {
    color: var(--accent-cyan);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-get-quote {
    background-color: var(--accent-cyan);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-get-quote:hover {
    background-color: #1e7ba3;
}

/* ========================================
   语言下拉菜单
   ======================================== */
.lang-dropdown {
    position: relative;
    z-index: 1002;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 14px;
    color: var(--text-gray);
    font-family: var(--font-main);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-dropdown-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-white);
}

.lang-dropdown-btn .fa-globe {
    font-size: 15px;
    color: var(--accent-cyan);
}

.lang-dropdown-btn .lang-arrow,
.lang-nav-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-arrow,
.lang-dropdown.open .lang-nav-btn i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.lang-dropdown.open .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: none;
    width: 100%;
    font-family: var(--font-main);
    text-align: left;
}

.lang-option:hover {
    background: rgba(40, 152, 200, 0.1);
    color: var(--text-white);
    padding-left: 22px;
}

.lang-option.active {
    color: var(--accent-cyan);
    font-weight: 600;
}

.lang-option.active::after {
    content: '✓';
    margin-left: auto;
    color: var(--accent-cyan);
    font-size: 14px;
}

.lang-option .lang-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-option .lang-label {
    flex: 1;
}

.lang-nav-btn {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: transparent;
    color: var(--text-white);
}

/* ========================================
   导航栏
   ======================================== */
.main-header {
    background-color: var(--bg-dark);
    position: relative;
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    background-color: rgba(9, 19, 29, 0.95);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-svg {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-white);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.has-dropdown {
    position: relative;
}

.has-dropdown .fa-chevron-down {
    font-size: 8px;
    margin-left: 2px;
}

.has-dropdown > a span {
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    min-width: 220px;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 3px solid var(--accent-cyan);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 8px 20px;
}

.dropdown-menu a {
    color: var(--text-gray);
    font-size: 14px;
    display: block;
}

.dropdown-menu a:hover {
    color: var(--accent-cyan);
    padding-left: 8px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* ========================================
   Hero 轮播
   ======================================== */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider, .hero-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9,19,29,0.8) 0%, rgba(9,19,29,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 1s ease 0.5s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 35px;
    color: var(--text-gray);
}

.btn-hero {
    display: inline-block;
    background-color: var(--accent-cyan);
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

.btn-hero:hover {
    background-color: #fff;
    color: var(--bg-dark);
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background-color: var(--accent-cyan);
    transform: scale(1.3);
}

.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
    pointer-events: none;
}

.hero-nav-btn {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.hero-nav-btn:hover {
    background-color: var(--accent-cyan);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    right: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-icon {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-gray);
    border-radius: 12px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-gray);
    animation: scrollWheel 2s infinite ease;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

/* ========================================
   About Airteker
   ======================================== */
.about-section {
    position: relative;
    padding: 100px 0;
}

.about-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 19, 29, 0.85);
}

.about-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about-text {
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 18px;
    line-height: 1.8;
}

.btn-contact {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    border-radius: 30px;
    font-weight: 600;
}

.btn-contact:hover {
    background-color: var(--accent-cyan);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    background-color: rgba(21, 36, 51, 0.6);
    border: 1px solid var(--border-color);
    padding: 40px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
}

.stat-label {
    display: block;
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number-wrap {
    font-size: 50px;
    font-weight: 800;
    color: var(--accent-cyan);
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.stat-plus {
    font-size: 30px;
    margin-left: 5px;
}

/* ========================================
   Products
   ======================================== */
.products-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    padding-bottom: 70px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
}

.product-card:last-child { border-right: none; }

.product-img-wrap {
    padding: 40px;
    transition: var(--transition);
    background-color: #f5f5f5;
    border-radius: 12px;
    margin: 20px;
}

.product-img-wrap img {
    margin: 0 auto;
    height: 250px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap {
    background-color: #e5e5e5;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.1);
}

.product-name {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text-white);
    transition: var(--transition);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.product-card:hover .product-name {
    color: var(--accent-cyan);
}

/* ========================================
   Solutions Banner
   ======================================== */
.solutions-banner {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.solutions-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 152, 200, 0.85); /* Cyan overlay */
}

.solutions-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    color: #fff;
}

.solution-item {
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.solution-item:last-child { border-right: none; }

.solution-item:hover {
    transform: translateY(-5px);
}

.solution-item h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    white-space: nowrap;
}

.solution-item p {
    font-size: 14px;
    margin-bottom: 20px;
}

.solution-icon {
    font-size: 40px;
}

/* ========================================
   Services
   ======================================== */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.services-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.services-left {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    border-top: 3px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-top-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    background-color: rgba(40, 152, 200, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.service-title {
    font-size: 15px;
    margin-bottom: 12px;
    height: 44px;
    display: flex;
    align-items: flex-start;
    line-height: 1.45;
}

.service-desc {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.7;
    flex: 1;
}

.services-right {
    flex: 1;
}

.services-image img {
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ========================================
   Certifications
   ======================================== */
.certifications-section {
    padding: 60px 0;
    background-color: #111d29;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cert-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cert-logo {
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
    background: var(--bg-card);
    padding: 15px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.cert-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--accent-cyan);
}

.cert-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* ========================================
   Partners
   ======================================== */
.partners-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

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

.partner-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.partner-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(40, 152, 200, 0);
    transition: var(--transition);
}

.partner-img:hover::after {
    background: rgba(40, 152, 200, 0.4);
}

/* ========================================
   News
   ======================================== */
.news-section {
    padding: 100px 0;
    background-color: #111d29;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.btn-view-more {
    padding: 10px 25px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-white);
    font-size: 14px;
}

.btn-view-more:hover {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

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

.news-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.news-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-body {
    padding: 25px;
    position: relative;
    background-color: var(--bg-card);
    z-index: 2;
}

.news-date {
    display: block;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-title {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
    height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-title {
    color: var(--accent-cyan);
}

.news-excerpt {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   Quote Form
   ======================================== */
.quote-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.quote-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input, select, textarea {
    width: 100%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background-color: rgba(40, 152, 200, 0.05);
}

.phone-group {
    display: flex;
}

.phone-group select {
    width: 100px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.phone-group input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

textarea {
    height: 150px;
    resize: vertical;
    margin-bottom: 20px;
}

.btn-submit {
    display: block;
    margin: 0 auto;
    background-color: var(--accent-cyan);
    color: #fff;
    border: none;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: #1e7ba3;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 152, 200, 0.3);
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background-color: #050a10;
    padding-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
    margin-bottom: 50px;
}

.footer-logo-svg {
    height: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col-line {
    width: 30px;
    height: 2px;
    background-color: var(--accent-cyan);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-gray);
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    gap: 20px;
}

.footer-contact {
    display: flex;
    gap: 30px;
    color: var(--text-gray);
    font-size: 14px;
}

.footer-contact i {
    color: var(--accent-cyan);
    margin-right: 8px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.footer-social a:hover {
    background-color: var(--accent-cyan);
}

.copyright {
    color: var(--text-gray);
    font-size: 12px;
    text-align: center;
    width: 100%;
    padding: 15px 0 0;
    margin-top: 5px;
    border-top: 1px solid rgba(255,255,255,0.03);
}

/* ========================================
   Floating Sidebar & Chat
   ======================================== */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.float-btn {
    width: 45px;
    height: 45px;
    background-color: var(--accent-cyan);
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.float-btn:hover {
    background-color: #1a6d91;
}

.float-btn.whatsapp { background-color: #25D366; }
.float-btn.whatsapp:hover { background-color: #1ebe59; }

.chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition);
}

.chat-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* ========================================
   Animations & Utilities
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;
}

.nav-overlay.active {
    display: block;
}

/* RTL support for Arabic */
html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] .top-bar-inner,
html[dir="rtl"] .header-inner {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nav-list {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-links {
    direction: rtl;
}

html[dir="rtl"] .news-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .floating-sidebar {
    right: auto;
    left: 20px;
}

html[dir="rtl"] .lang-dropdown-menu {
    right: auto;
    left: 0;
}

/* ========================================
   Search Overlay
   ======================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 19, 29, 0.95);
    backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.search-overlay-inner {
    text-align: center;
    width: 90%;
    max-width: 600px;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.search-close:hover {
    color: var(--accent-cyan);
    background: rgba(40, 152, 200, 0.1);
}

.search-overlay h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.search-input-wrap {
    display: flex;
    gap: 0;
    margin-bottom: 25px;
}

.search-input-wrap input {
    flex: 1;
    padding: 18px 25px;
    background: rgba(21, 36, 51, 0.8);
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: 50px 0 0 50px;
    color: #fff;
    font-size: 16px;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.search-input-wrap input:focus {
    border-color: var(--accent-cyan);
    background: rgba(40, 152, 200, 0.05);
}

.search-submit {
    padding: 18px 30px;
    background: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
    border-radius: 0 50px 50px 0;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.search-submit:hover {
    background: #1e7ba3;
    border-color: #1e7ba3;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.search-tag {
    padding: 8px 20px;
    background: rgba(40, 152, 200, 0.1);
    border: 1px solid rgba(40, 152, 200, 0.3);
    border-radius: 20px;
    color: var(--text-gray);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.search-tag:hover {
    background: rgba(40, 152, 200, 0.2);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* Hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hidden sidebar */
.hidden-sidebar {
    transform: translateX(80px) translateY(-50%) !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .nav-list {
        gap: 12px;
    }
    .nav-link {
        font-size: 12px;
    }
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
    .services-layout {
        flex-direction: column;
    }
    .solution-item h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        z-index: 1001;
        padding-top: 80px;
        transition: right 0.3s ease;
        overflow-y: auto;
        border-left: 1px solid var(--border-color);
    }
    .main-nav.open {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    .nav-link {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-link::after {
        display: none;
    }
    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        border-top: none;
        background: transparent;
        padding-left: 15px;
    }
    .has-dropdown.open .dropdown-menu {
        display: block;
    }
    .header-right {
        display: none;
    }
    .hero-section {
        height: 450px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    .services-layout {
        flex-direction: column;
    }
    .services-left {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-contact {
        flex-direction: column;
        gap: 10px;
    }
    .partners-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .scroll-down {
        display: none;
    }
    .section-title {
        font-size: 24px;
    }
    .about-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 380px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .stat-number-wrap {
        font-size: 36px;
    }
    .solution-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        padding: 20px;
    }
    .solution-item:last-child {
        border-bottom: none;
    }
    .floating-sidebar {
        right: 10px;
    }
    .chat-btn {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}
