﻿:root {
    --primary-color: #004e92;
    --secondary-color: #000428;
    --accent-color: #00b4db;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Eurostile', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-light);
    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;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    position: relative;
}

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 4, 40, 0.6), rgba(0, 78, 146, 0.4)), url('images/img_astar_bg.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    margin-left: 15px;
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }

    .section-title {
        margin-bottom: 40px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

/* Modern Hero & Stats */
.hero-modern {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0, 4, 40, 0.4), rgba(0, 78, 146, 0.2)), url('images/img_astar_bg.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    position: relative;
    overflow: hidden;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 650px;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    animation: slideUp 1s ease-out;
}

.hero-glass-card h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: none;
}

.hero-glass-card p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.95;
    font-weight: 300;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Strip */
.stats-strip {
    background: var(--primary-color);
    padding: 40px 0;
    color: white;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    position: relative;
}

/* Animated stat items */
.animate-stat {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-stat.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delay for each stat */
.animate-stat:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-stat:nth-child(2) {
    transition-delay: 0.2s;
}

.animate-stat:nth-child(3) {
    transition-delay: 0.3s;
}

.animate-stat:nth-child(4) {
    transition-delay: 0.4s;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    position: relative;
}

/* Pulse effect on stat numbers */
.stat-number.counting {
    animation: pulse 0.3s ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Glow effect on hover */
.stat-item:hover .stat-number {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: text-shadow 0.3s ease;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Glass Feature Card */
.glass-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.glass-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.glass-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.glass-feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Section Title Modern */
.section-header-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header-modern .sub-title {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.section-header-modern h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.section-header-modern h2::after {
    display: none;
}

@media (max-width: 900px) {
    .hero-modern {
        justify-content: center;
        padding: 0 20px;
        text-align: center;
    }

    .hero-glass-card {
        padding: 40px 20px;
    }

    .hero-glass-card h1 {
        font-size: 2.5rem;
    }

    .stats-strip {
        width: 95%;
        margin-top: 0;
        border-radius: 0;
        flex-direction: column;
        gap: 40px;
    }
}

/* Profile Feature Section (Alternating Layout) */
.profile-feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.profile-feature-row:last-child {
    margin-bottom: 0;
}

.profile-feature-row.reverse {
    flex-direction: row-reverse;
}

.profile-feature-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.profile-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-feature-row:hover .profile-feature-image img {
    transform: scale(1.05);
}

.profile-feature-content {
    flex: 1;
}

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

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: #e3f2fd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-icon-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-header h3 {
    margin-bottom: 0;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.profile-feature-content p {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

@media (max-width: 900px) {
    .profile-feature-row {
        flex-direction: column;
        gap: 40px;
    }

    .profile-feature-row.reverse {
        flex-direction: column;
    }
}

/* Grid Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Core Values Section */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.core-value-card {
    background: rgba(255, 255, 255, 0.1);
    /* Glassy background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
    height: 100%;
}

.core-value-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cv-letter {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    /* Muted white as in design */
    margin-bottom: 20px;
    line-height: 1;
}

.cv-title {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.cv-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Company Overview Animations */
.overview-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .overview-features-grid {
        grid-template-columns: 1fr;
    }
}

.overview-card {
    background: #f8faff;
    padding: 25px;
    border-radius: 16px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid transparent;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s forwards;
    animation-play-state: paused;
    /* Controlled by JS */
}

/* Add this class via JS when visible */
.overview-card.animate-visible {
    animation-play-state: running;
}

/* Stagger delays */
.overview-card:nth-child(1) {
    animation-delay: 0.1s;
}

.overview-card:nth-child(2) {
    animation-delay: 0.2s;
}

.overview-card:nth-child(3) {
    animation-delay: 0.3s;
}

.overview-card:nth-child(4) {
    animation-delay: 0.4s;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 78, 146, 0.1);
    background: white;
    border-color: rgba(0, 180, 219, 0.3);
}

.overview-icon {
    font-size: 1.5rem;
    margin-top: -3px;
    transition: transform 0.4s ease;
}

.overview-icon.primary {
    color: var(--primary-color);
}

.overview-icon.accent {
    color: var(--accent-color);
}

.overview-card:hover .overview-icon {
    transform: scale(1.2) rotate(5deg);
}

.overview-card h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.overview-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@keyframes fadeSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vision & Mission Premium Glassmorphism */
/* VM Grid Layout */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

@media (max-width: 900px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
}

/* Background Blobs */
.glass-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: floatBlob 10s infinite alternate ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 219, 0.4) 0%, rgba(0, 180, 219, 0) 70%);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 4, 40, 0.15) 0%, rgba(0, 4, 40, 0) 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.glass-border-ring {
    position: absolute;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(0, 180, 219, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 3px;
    /* Space for inner border */
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
}

.card-content-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    position: relative;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 80px rgba(0, 180, 219, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

/* Shimmer Animation */
.shimmer-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg) translateX(-150%);
    transition: transform 0.5s;
    pointer-events: none;
    z-index: 3;
}

.glass-card:hover .shimmer-effect {
    transform: skewX(-20deg) translateX(150%);
    transition: transform 0.8s ease-in-out;
}

/* Glass Divider */
.glass-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 25px 0;
    width: 100%;
}

/* Glass List Items */
.glass-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.glass-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.glass-list li:hover {
    background: rgba(255, 255, 255, 0.4);
}

.glass-check-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.glass-list li:hover .glass-check-icon {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

/* Horizontal Product Card */
.product-horizontal-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.product-horizontal-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 450px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-horizontal-card.reverse {
    flex-direction: row-reverse;
}

.ph-image {
    flex: 1;
    min-width: 50%;
    position: relative;
    overflow: hidden;
}

.ph-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-horizontal-card:hover .ph-image img {
    transform: scale(1.05);
}

.ph-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ph-content h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.ph-content p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.05rem;
}

.ph-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.ph-spec-box {
    background: #f8f9fa;
    padding: 15px 25px;
    border-radius: 12px;
    flex: 1;
}

.ph-spec-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    display: block;
}

.ph-spec-value {
    font-size: 0.95rem;
    color: #555;
}

.ph-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: gap 0.3s ease;
    width: fit-content;
}

.ph-link:hover {
    gap: 12px;
}

.ph-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 900px) {

    .product-horizontal-card,
    .product-horizontal-card.reverse {
        flex-direction: column;
    }

    .ph-image {
        min-height: 300px;
    }

    .ph-content {
        padding: 30px;
    }

    .ph-specs {
        flex-direction: column;
        gap: 10px;
    }
}

/* Vision Mission Section */
.vision-mission-wrapper {
    background-color: #eff6ff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    border: 1px solid rgba(0, 78, 146, 0.1);
}

.vision-mission-card {
    background-color: white;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.vm-column {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vm-divider {
    width: 2px;
    background-color: #f0f4f8;
    margin: 40px 0;
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    fill: var(--primary-color);
    opacity: 1;
}

.vm-column h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.vm-column p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    text-align: center;
}

.vm-column ul {
    text-align: left;
    padding-left: 20px;
    list-style-type: disc;
    width: 100%;
}

.vm-column li {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .vision-mission-card {
        flex-direction: column;
    }

    .vm-divider {
        width: 80%;
        height: 2px;
        margin: 0 auto;
    }

    .vm-column {
        padding: 40px 20px;
    }
}

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

.card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.card-image {
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-content {
    padding: 25px;
}

.card-content h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: var(--accent-color);
    margin-top: 2px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--transition);
    background: transparent;
}

.social-icon {
    width: 22px;
    height: 22px;
    fill: var(--text-light);
    transition: var(--transition);
}

.footer-social-links a:hover {
    background: var(--text-light);
    border-color: var(--text-light);
    transform: translateY(-5px);
}

.footer-social-links a:hover .social-icon {
    fill: var(--secondary-color);
    transform: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links.active {
        left: 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Specific Page Styles */
.page-header {
    background: linear-gradient(rgba(0, 4, 40, 0.8), rgba(0, 78, 146, 0.8)), url('images/glass_factory_interior.png');
    background-size: cover;
    background-position: center;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--text-light);
}

.tech-list,
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tech-item,
.product-item {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    cursor: pointer;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs */
.breadcrumb {
    padding: 20px 0;
    background: #e9ecef;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb span {
    margin: 0 10px;
    color: #ccc;
}

/* Product Detail */
.product-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.product-main img {
    border-radius: 10px;
    margin-bottom: 30px;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.product-main h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.product-main h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-main ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.product-main li {
    margin-bottom: 10px;
}

.product-sidebar {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.product-sidebar h3 {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.sidebar-links li {
    border-bottom: 1px solid #eee;
}

.sidebar-links li:last-child {
    border-bottom: none;
}

.sidebar-links a {
    display: block;
    padding: 15px 0;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.sidebar-links a:hover,
.sidebar-links a.active {
    color: var(--accent-color);
    padding-left: 10px;
}

/* Tables */
.specs-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

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

.specs-table th {
    background-color: var(--primary-color);
    color: white;
    width: 35%;
    font-weight: 600;
}

.specs-table tr:hover {
    background-color: #f9f9f9;
}

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

@media (max-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        order: 2;
    }
}

/* Map Section */
.map-section {
    width: 100%;
    height: 300px;
    background-color: #eee;
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    fill: white;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}

/* WhatsApp Chat Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 350px;
    background-color: #f5f7f9;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    z-index: 999;
    overflow: hidden;
    display: none;
    transform-origin: bottom right;
    animation: popup 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 480px) {
    .whatsapp-widget {
        width: 90%;
        right: 5%;
        bottom: 80px;
    }

    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-icon {
        width: 25px;
        height: 25px;
    }
}

.whatsapp-widget.active {
    display: block;
}

@keyframes popup {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.whatsapp-header {
    background-color: #25d366;
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-header-icon {
    font-size: 2.5rem;
}

.whatsapp-header-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: white;
}

.whatsapp-header-text p {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.3;
}

.whatsapp-body {
    padding: 20px;
}

.whatsapp-body-title {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    text-align: center;
}

.contact-item {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left-color: #25d366;
}

.contact-info-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-avatar {
    width: 45px;
    height: 45px;
    background-color: #eee;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: #333;
}

.contact-details p {
    font-size: 0.8rem;
    color: #888;
}

.contact-icon {
    color: #25d366;
    font-size: 1.5rem;
}

@media (max-width: 480px) {
    .whatsapp-widget {
        width: 300px;
        right: 20px;
        bottom: 100px;
    }
}

.profile-hero-bg {
    background: linear-gradient(rgba(0, 4, 40, 0.8), rgba(0, 78, 146, 0.8)), url('images/drone_side_1.jpeg');
    background-size: cover;
    background-position: center;
    padding: 250px 0 150px !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .profile-hero-bg {
        padding: 150px 0 80px !important;
        min-height: 400px;
    }
}

/* Modern Contact Page Styles */
.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.contact-map-wrapper {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card {
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: 0 10px 25px rgba(0, 78, 146, 0.15);
    transform: translateY(-5px);
}

.card-icon-wrapper {
    margin-bottom: 20px;
}

.card-icon-svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 992px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map-wrapper {
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Hero Section (Split Layout) */
.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.contact-image-col {
    position: relative;
    background: url('images/glass_factory_interior.png') no-repeat center center/cover;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.testimonial-box {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    width: 80%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    border-top-right-radius: 10px;
    z-index: 10;
}

.quote-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 10px;
    font-family: var(--font-main);
    font-weight: bold;
}

.testimonial-box p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.95;
}

.contact-form-col {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-col h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.contact-form-col .subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
}

/* Form Styles for Hero Layout */
.hero-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-contact-form input,
.hero-contact-form textarea {
    width: 100%;
    padding: 15px;
    background: #f4f4f4;
    border: none;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero-contact-form input:focus,
.hero-contact-form textarea:focus {
    outline: 2px solid var(--primary-color);
    background: #fff;
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--secondary-color);
}

@media (max-width: 900px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-image-col {
        min-height: 300px;
    }

    .testimonial-box {
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
    }

    .contact-form-col {
        padding: 30px;
    }

    .hero-form-row {
        grid-template-columns: 1fr;
    }
}

/* Certificate Display Section (Updated for Split View) */
.split-section-wrapper {
    display: flex;
    width: 100%;
    min-height: 600px;
}

.split-col-left {
    width: 50%;
    background-color: #f9f9f9;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-col-right {
    width: 50%;
    background: linear-gradient(135deg, rgba(0, 4, 40, 0.85) 0%, rgba(0, 78, 146, 0.85) 100%),
        url('images/cert_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section-title-left {
    margin-bottom: 50px;
    max-width: 600px;
}

.section-title-left h2,
.section-title-left h3 {
    font-size: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1;
}

.section-title-left p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

@media (min-width: 1400px) {
    .wcu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.wcu-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.wcu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.wcu-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: var(--accent-color);
}

.wcu-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.wcu-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.wcu-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Certificate Inner Styles adapted for split view */
.cert-display-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 40px;
}

.cert-display-header {
    max-width: 800px;
    margin: 0 auto 40px;
}

.cert-display-header h2,
.cert-display-header h3 {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.cert-display-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.cert-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.cert-slider-container {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    padding: 20px 0;
}

.cert-slider {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.cert-card {
    min-width: 260px;
    height: 340px;
    background: white;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid #eee;
}

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

.cert-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cert-nav-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.4);
}

.cert-nav-btn:active {
    transform: scale(0.95);
}

.cert-nav-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.cert-action {
    margin-top: 20px;
}

.btn-white {
    background-color: white;
    color: var(--secondary-color);
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .split-section-wrapper {
        flex-direction: column;
    }

    .split-col-left,
    .split-col-right {
        width: 100%;
        padding: 60px 20px;
    }

    .cert-slider-container {
        max-width: 100%;
    }

    .wcu-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .section-title-left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {

    .cert-display-header h2,
    .cert-display-header h3,
    .section-title-left h2,
    .section-title-left h3 {
        font-size: 2rem;
    }

    .cert-card {
        min-width: 260px;
        height: 360px;
    }

    .cert-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }

    .cert-display-inner {
        padding: 40px 20px;
    }
}

/* Certificate Lightbox Modal */
.cert-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.cert-lightbox.active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    z-index: 10;
    max-width: 90vw;
    max-height: 90vh;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    background: white;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 28px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

.cert-card {
    cursor: pointer;
}

.cert-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* --- Hamburger Menu Animation --- */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Fix background-attachment: fixed on mobile (iOS/Android) --- */
@supports (-webkit-touch-callout: none) {

    .hero,
    .hero-modern {
        background-attachment: scroll;
    }
}

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {
    .hero-glass-card {
        max-width: 500px;
        padding: 40px;
    }

    .hero-glass-card h1 {
        font-size: 2.8rem;
    }

    .grid-2 {
        gap: 30px;
    }

    .ph-content {
        padding: 40px;
    }

    .ph-content h3 {
        font-size: 1.8rem;
    }

    .contact-form-col {
        padding: 40px;
    }

    .contact-form-col h2 {
        font-size: 2rem;
    }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {

    /* -- Navigation -- */
    nav {
        height: 70px;
    }

    .logo-img {
        height: 45px;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    /* -- Hero Sections -- */
    .hero {
        background-attachment: scroll;
        height: auto;
        min-height: 80vh;
        padding: 100px 15px 60px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-modern {
        background-attachment: scroll;
        height: auto;
        min-height: 80vh;
        padding: 100px 15px 60px;
        justify-content: center;
        padding-left: 15px;
        text-align: center;
    }

    .hero-glass-card {
        padding: 30px 20px;
        max-width: 100%;
    }

    .hero-glass-card h1 {
        font-size: 2rem;
    }

    .hero-glass-card p {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 0.85rem;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero-glass-card .btn {
        display: inline-block;
        margin-bottom: 10px;
    }

    /* -- Stats Strip -- */
    .stats-strip {
        width: 95%;
        margin-top: -30px;
        padding: 30px 15px;
        border-radius: 12px;
        flex-direction: column;
        gap: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* -- Sections General -- */
    .section-header-modern {
        margin: 0 auto 40px;
    }

    .section-header-modern h2 {
        font-size: 2rem;
    }

    .section-header-modern .sub-title {
        font-size: 0.8rem;
    }

    /* -- Glass Feature Grid -- */
    .glass-feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .glass-feature-card {
        padding: 30px 20px;
    }

    /* -- Company Overview -- */
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .overview-features-grid {
        grid-template-columns: 1fr;
    }

    /* -- Core Values -- */
    .core-values-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .core-value-card {
        padding: 20px 15px;
    }

    .cv-letter {
        font-size: 2.2rem;
    }

    .cv-title {
        font-size: 1.1rem;
    }

    .cv-desc {
        font-size: 0.85rem;
    }

    /* -- VM Grid (Vision/Mission Glassmorphism) -- */
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card-content-glass {
        padding: 25px 20px;
    }

    .vm-icon-box {
        width: 60px;
        height: 60px;
    }

    /* -- Grid-3 (Manufacturing Process) -- */
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card-content {
        padding: 20px;
    }

    /* -- Product Horizontal Cards -- */
    .product-horizontal-card,
    .product-horizontal-card.reverse {
        flex-direction: column;
        min-height: auto;
    }

    .ph-image {
        min-height: 250px;
        min-width: 100%;
    }

    .ph-content {
        padding: 25px 20px;
    }

    .ph-content h3 {
        font-size: 1.6rem;
    }

    .ph-content p {
        font-size: 0.95rem;
    }

    .ph-specs {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }

    /* -- Product Detail Page -- */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-sidebar {
        position: static;
        order: -1;
    }

    .product-main h2 {
        font-size: 1.6rem;
    }

    .product-main h3 {
        font-size: 1.3rem;
    }

    .specs-table {
        white-space: normal;
    }

    .specs-table th,
    .specs-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    /* -- Breadcrumbs -- */
    .breadcrumb {
        margin-top: 70px !important;
        font-size: 0.8rem;
        padding: 15px 0;
    }

    /* -- Profile Feature Rows -- */
    .profile-feature-row,
    .profile-feature-row.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 50px;
    }

    .feature-header h3 {
        font-size: 1.4rem;
    }

    .profile-feature-content p {
        font-size: 0.95rem;
    }

    /* -- Vision/Mission (Profile Page) -- */
    .vision-mission-wrapper {
        padding: 20px;
    }

    .vision-mission-card {
        flex-direction: column;
    }

    .vm-divider {
        width: 80%;
        height: 2px;
        margin: 0 auto;
    }

    .vm-column {
        padding: 30px 15px;
    }

    .vm-column h3 {
        font-size: 1.4rem;
    }

    .vm-icon {
        width: 55px;
        height: 55px;
    }

    /* -- Split Section (Why Choose Us + Certificates) -- */
    .split-section-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .split-col-left,
    .split-col-right {
        width: 100%;
        padding: 40px 20px;
    }

    .wcu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .wcu-card {
        padding: 20px 15px;
    }

    .section-title-left h2,
    .section-title-left h3 {
        font-size: 1.8rem;
    }

    .section-title-left {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .cert-display-inner {
        padding: 30px 15px;
    }

    .cert-display-header h2,
    .cert-display-header h3 {
        font-size: 1.6rem;
    }

    .cert-card {
        min-width: 220px;
        height: 300px;
    }

    .cert-nav-btn {
        width: 40px;
        height: 40px;
    }

    .cert-nav-btn svg {
        width: 20px;
        height: 20px;
    }

    /* -- Contact Page -- */
    .contact-hero-grid {
        grid-template-columns: 1fr;
    }

    .contact-image-col {
        min-height: 250px;
    }

    .testimonial-box {
        position: relative;
        width: 100%;
        bottom: auto;
        left: auto;
        border-radius: 0;
    }

    .contact-form-col {
        padding: 25px 20px;
    }

    .contact-form-col h2 {
        font-size: 1.6rem;
    }

    .hero-form-row {
        grid-template-columns: 1fr;
    }

    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map-wrapper {
        min-height: 300px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 20px;
    }

    /* -- Technology / Card Grid -- */
    .tech-list,
    .product-list {
        grid-template-columns: 1fr;
    }

    /* -- Footer -- */
    footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-social-links {
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }

    .copyright {
        font-size: 0.8rem;
    }

    /* -- Page Header -- */
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .profile-hero-bg {
        padding: 140px 0 80px !important;
        min-height: auto;
    }

    /* -- WhatsApp Widget -- */
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-widget {
        width: 90%;
        right: 5%;
        bottom: 80px;
    }

    /* -- Glass blobs (decorative) -- */
    .glass-blob {
        display: none;
    }

    .glass-border-ring {
        display: none;
    }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero-modern {
        min-height: 70vh;
        padding-top: 80px;
    }

    .hero-glass-card h1 {
        font-size: 1.6rem;
    }

    .hero-glass-card p {
        font-size: 0.9rem;
    }

    .section {
        padding: 30px 0;
    }

    .stats-strip {
        width: 100%;
        border-radius: 0;
        margin-top: 0;
        padding: 25px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .section-header-modern h2 {
        font-size: 1.6rem;
    }

    .core-values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .core-value-card {
        padding: 15px 10px;
    }

    .cv-letter {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .cv-title {
        font-size: 1rem;
    }

    .cv-desc {
        font-size: 0.8rem;
    }

    .ph-image {
        min-height: 200px;
    }

    .ph-content {
        padding: 20px 15px;
    }

    .ph-content h3 {
        font-size: 1.3rem;
    }

    .product-main h2 {
        font-size: 1.4rem;
    }

    .card-image {
        height: 160px;
    }

    .cert-card {
        min-width: 180px;
        height: 250px;
    }

    .contact-form-col h2 {
        font-size: 1.4rem;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .btn-white {
        padding: 12px 30px;
    }

    .footer-social-links a {
        width: 38px;
        height: 38px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .page-header {
        padding: 100px 0 50px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .profile-hero-bg {
        padding: 120px 0 60px !important;
        min-height: auto;
    }

    .wcu-card h3 {
        font-size: 0.95rem;
    }

    .wcu-card p {
        font-size: 0.8rem;
    }

    .section-title-left h2,
    .section-title-left h3 {
        font-size: 1.5rem;
    }

    .cert-display-header h2,
    .cert-display-header h3 {
        font-size: 1.4rem;
    }
}

/* ── Language Toggle Switch ───────────────────────────────── */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    flex-shrink: 0;
}

.lang-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    transition: color 0.3s ease;
    user-select: none;
}

.lang-label.lang-en {
    color: var(--primary-color);
}

.lang-label.lang-zh {
    color: #888;
}

/* When Chinese is active, swap the label highlighting */
html[lang="zh-CN"] .lang-label.lang-en,
body.lang-zh .lang-label.lang-en {
    color: #888;
}

html[lang="zh-CN"] .lang-label.lang-zh,
body.lang-zh .lang-label.lang-zh {
    color: var(--primary-color);
}

.lang-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.lang-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
    z-index: -1;
    appearance: none;
    -webkit-appearance: none;
}

.lang-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #d1d5db, #e5e7eb);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15);
}

.lang-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lang-toggle input:checked + .lang-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.lang-toggle input:checked + .lang-slider::before {
    transform: translateX(20px);
}

.lang-toggle input:focus + .lang-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 3px rgba(0, 180, 219, 0.2);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lang-switcher {
        position: fixed;
        top: 22px;
        right: 70px;
        z-index: 1001;
        margin-left: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 4px 10px;
        border-radius: 20px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}
