/* Hi-Tech Lab Premium Stylesheet - FIXED VERSION */

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #006a6a;
    --dark-teal: #005555;
    --light-teal: #008888;
    --gold-accent: #d4af37;
    --dark-gold: #b8941f;
    --charcoal: #1a1a1a;
    --silver: #c0c0c0;
    --white: #ffffff;
    --off-white: #fafafa;
    --platinum: #e5e4e2;
}

body {
    font-family: 'Montserrat', 'sarabun', sans-serif;
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--off-white);
}

/* Thai Font Override */
/* ===== Thai Font Override (FIX) ===== */

/* ตั้งค่าพื้นฐานตอนเป็นไทย */
body.th-font{
    font-family: 'Sarabun', 'sarabun', sans-serif;
}

body.en-font{
  font-family: 'Montserrat','sarabun',sans-serif;
}

/* ให้ทุกอย่างใช้ Sarabun ยกเว้นไอคอน/FontAwesome */
body.th-font *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]) {
    font-family: 'Sarabun', sans-serif !important;
}

/* หัวข้อที่เดิมใช้ Playfair ให้กลับมาเป็น Sarabun ตอนเป็นไทย */
body.th-font .hero-text h1,
body.th-font .section-header h2,
body.th-font .footer-section h4,
body.th-font .news-main-content h3,
body.th-font .news-small-content h4,
body.th-font .news-content h3,
body.th-font .gallery-overlay h3,
body.th-font .service-item h3 {
    font-family: 'Sarabun', sans-serif !important;
    font-weight: 700;
}

body.th-font .lang-toggle,
body.th-font .nav-links a,
body.th-font .news-date,
body.th-font .more-link a {
    font-family: 'Sarabun', sans-serif !important;
}

/* ===== Fix Font Awesome squares ===== */
.fa, .fas, .far, .fab,
i.fa, i.fas, i.far, i.fab,
i[class^="fa-"], i[class*=" fa-"]{
    font-family: "Font Awesome 6 Free" !important;
}

.fab, i.fab{
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.fas, i.fas, .fa-solid{
    font-weight: 900 !important;
}

.far, i.far, .fa-regular{
    font-weight: 400 !important;
}

body.th-font .hero-text h1,
body.th-font .section-header h2,
body.th-font .footer-section h4,
body.th-font .news-content h3,
body.th-font .gallery-overlay h3 {
    font-family: 'Sarabun', serif !important;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/* ===== Navigation Bar ===== */
/* ===== Navigation Bar ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 106, 106, 0.2);
}

nav.scrolled {
    background: rgba(0, 106, 106, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s;
}

.logo img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold-accent);
}

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

.nav-links .active a {
    color: var(--gold-accent);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Language Toggle */
.lang-toggle {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    border: 1px solid var(--gold-accent);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-toggle img {
    width: 20px;
    height: auto;
}

.lang-toggle:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--dark-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--charcoal);
}

/* ===== Hero Slider ===== */
.hero-slider {
    margin-top: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

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

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Video Slide */
.video-slide {
    background-image: none !important;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-slide::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 800px;
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gold-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-text p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--gold-accent);
    cursor: pointer;
    transition: all 0.3s;
}

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

/* ===== Container & Section Headers ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--dark-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 1.15rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 8rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--platinum);
}

/* Layout ใหม่ที่ไม่มีช่องว่าง */
.gallery-item.g1 {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.g2 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.g3 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.g4 {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.g5 {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.g6 {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item.g7 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.g8 {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item.g9 {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s 0.1s;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--gold-accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.4s 0.2s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 220px;
    }
    
    .gallery-item.g1 {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item.g4,
    .gallery-item.g5,
    .gallery-item.g8 {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.g6 {
        grid-column: span 1;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 1rem;
    }
    
    .gallery-item.g1 {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .gallery-item.g4,
    .gallery-item.g5,
    .gallery-item.g8 {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item.g6 {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .gallery-item.g1,
    .gallery-item.g4,
    .gallery-item.g5,
    .gallery-item.g6,
    .gallery-item.g8 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ===== Services Section - FIXED ===== */
.services-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--platinum);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-teal), var(--gold-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 106, 106, 0.15);
    border-color: var(--primary-teal);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-accent), var(--dark-gold));
    opacity: 0;
    transition: opacity 0.5s;
}

.service-item:hover .service-icon::after {
    opacity: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.5s;
}

.service-item:hover .service-icon {
    transform: rotateY(360deg);
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.service-item:hover h3 {
    color: var(--primary-teal);
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== News Section - FIXED ===== */
.news-section {
    padding: 8rem 0;
    background: var(--white);
}

.news-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.news-main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 5px;
}

.news-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.news-main:hover .news-main-image {
    transform: scale(1.05);
}

.news-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), #000000b0);
    color: white;
}

.news-date {
    color: var(--gold-accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.news-main-content h3 {
    font-family:  'Sarabun',sans-serif, 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: white;
}

.news-main-content h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.news-main-content h3 a:hover {
    color: var(--gold-accent);
}

.news-main-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-small {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--platinum);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-small:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.news-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.news-small:hover .news-small-image {
    transform: scale(1.1);
}

.news-small-content {
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-small-content h4 {
    font-family: 'Sarabun',sans-serif', Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 1.4;
    margin: 0;
}

.news-small-content h4 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.news-small-content h4 a:hover {
    color: var(--primary-teal);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.news-card {
    background: white;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.5s;
    position: relative;
}

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

.news-content {
    padding: 2.5rem;
}

.news-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--primary-teal);
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.more-link {
    text-align: center;
    margin-top: 4rem;
}

.more-link a {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s;
    border: 2px solid var(--primary-teal);
    border-radius: 5px;
}

.more-link a:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--dark-gold));
    border-color: var(--gold-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: white;
    padding: 4rem 3rem 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--gold-accent);
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.simio-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--gold-accent);
    padding-left: 0.5rem;
}

.arrow-icon {
    color: var(--gold-accent);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    padding: 0;
    font-size: 1.5rem;
}

.social-links a:hover {
    background: var(--gold-accent);
    color: var(--charcoal);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */

/* Large Desktop */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-container {
        padding: 1.2rem 2rem;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.2rem 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(0, 106, 106, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--gold-accent);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .news-main-image {
        height: 500px;
    }
}

/* Mobile Landscape & Small Tablet */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links {
        width: 280px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .gallery-section,
    .services-section,
    .news-section {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .news-main-image {
        height: 400px;
    }
    
    .news-main-content {
        padding: 2.5rem;
    }
    
    .news-main-content h3 {
        font-size: 1.8rem;
    }
    
    .news-small {
        grid-template-columns: 120
			/* Hi-Tech Lab Premium Stylesheet - FIXED VERSION */

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-teal: #006a6a;
    --dark-teal: #005555;
    --light-teal: #008888;
    --gold-accent: #d4af37;
    --dark-gold: #b8941f;
    --charcoal: #1a1a1a;
    --silver: #c0c0c0;
    --white: #ffffff;
    --off-white: #fafafa;
    --platinum: #e5e4e2;
}

body {
    font-family: 'Montserrat', 'sarabun', sans-serif;
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--off-white);
}

/* Thai Font Override */
body.th-font,
body.th-font * {
    font-family: 'Sarabun', 'sarabun', sans-serif !important;
}

body.th-font .hero-text h1,
body.th-font .section-header h2,
body.th-font .footer-section h4,
body.th-font .news-content h3,
body.th-font .gallery-overlay h3 {
    font-family: 'Sarabun', 'sarabun', serif !important;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/* ===== Navigation Bar ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 106, 106, 0.2);
}

nav.scrolled {
    background: rgba(0, 106, 106, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s;
}

.logo img:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(212, 175, 55, 0.6));
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--gold-accent);
}

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

.nav-links .active a {
    color: var(--gold-accent);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Language Toggle */
.lang-toggle {
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    border: 1px solid var(--gold-accent);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s;
    text-transform: uppercase;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-toggle img {
    width: 20px;
    height: auto;
}

.lang-toggle:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--dark-gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color: var(--charcoal);
}

/* ===== Hero Slider ===== */
.hero-slider {
    margin-top: 0;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
}
.hero-slide.active {
    opacity: 1;
}
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

/* Video Slide Styles */
.video-slide {
    background-image: none !important;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-slide::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    display: flex;
    align-items: center;
}
.hero-text {
    max-width: 800px;
    position: relative;
    z-index: 3;
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--gold-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 600;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.hero-text p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--gold-accent);
    cursor: pointer;
    transition: all 0.3s;
}
.dot.active {
    background: var(--gold-accent);
    transform: scale(1.3);
}

/* ===== Container & Section Headers ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--primary-teal);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.section-header p {
    font-size: 1.15rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

/* ===== Gallery Section ===== */
.gallery-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    border: 1px solid var(--platinum);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s 0.1s;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

.gallery-overlay p {
    color: var(--gold-accent);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.4s 0.2s;
}

.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* ===== Services Section - FIXED ===== */
.services-section {
    padding: 8rem 0;
    background: var(--off-white);
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-item {
    background: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--platinum);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-teal), var(--gold-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 106, 106, 0.15);
    border-color: var(--primary-teal);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-accent), var(--dark-gold));
    opacity: 0;
    transition: opacity 0.5s;
}

.service-item:hover .service-icon::after {
    opacity: 1;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
    transition: transform 0.5s;
}

.service-item:hover .service-icon {
    transform: rotateY(360deg);
}

.service-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.service-item:hover h3 {
    color: var(--primary-teal);
}

.service-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== News Section - FIXED ===== */
.news-section {
    padding: 4rem 0;
    background: var(--white);
}

.news-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
}

.news-main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 5px;
}

.news-main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.news-main:hover .news-main-image {
    transform: scale(1.05);
}

.news-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: white;
}

.news-date {
    color: var(--gold-accent);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.news-main-content h3 {
    font-family: 'Sarabun',sans-serif, 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: white;
}

.news-main-content h3 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.news-main-content h3 a:hover {
    color: var(--gold-accent);
}

.news-main-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-small {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.5rem;
    background: white;
    border: 1px solid var(--platinum);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-small:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.news-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.news-small:hover .news-small-image {
    transform: scale(1.1);
}

.news-small-content {
    padding: 1.5rem 1.5rem 1.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-small-content h4 {
    font-family: 'Sarabun',sans-serif', Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    line-height: 1.4;
    margin: 0;
}

.news-small-content h4 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.news-small-content h4 a:hover {
    color: var(--primary-teal);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.news-card {
    background: white;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.5s;
    position: relative;
}

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

.news-content {
    padding: 2.5rem;
}

.news-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-content h3 a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}

.news-content h3 a:hover {
    color: var(--primary-teal);
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.more-link {
    text-align: center;
    margin-top: 4rem;
}

.more-link a {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s;
    border: 2px solid var(--primary-teal);
    border-radius: 5px;
}

.more-link a:hover {
    background: linear-gradient(135deg, var(--gold-accent), var(--dark-gold));
    border-color: var(--gold-accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);
    color: white;
    padding: 6rem 3rem 3rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--gold-accent);
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.simio-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--gold-accent);
    padding-left: 0.5rem;
}

.arrow-icon {
    color: var(--gold-accent);
    margin-right: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    padding: 0;
    font-size: 1.5rem;
}

.social-links a:hover {
    background: var(--gold-accent);
    color: var(--charcoal);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
}

/* ===== Animations ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */

/* Large Desktop */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-container {
        padding: 1.2rem 2rem;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1.2rem 2rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(0, 106, 106, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--gold-accent);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .news-main-image {
        height: 500px;
    }
}

/* Mobile Landscape & Small Tablet */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .nav-links {
        width: 280px;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 3px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .gallery-section,
    .services-section,
    .news-section {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .news-featured {
        grid-template-columns: 1fr;
    }
    
    .news-main-image {
        height: 400px;
    }
    
    .news-main-content {
        padding: 2.5rem;
    }
    
    .news-main-content h3 {
        font-size: 1.8rem;
    }
    
    .news-small {
        grid-template-columns: 120px 1fr;
        gap: 1rem;
    }
    
    .news-small-content {
        padding: 1rem 1rem 1rem 0;
    }
    
    .news-small-content h4 {
        font-size: 1rem;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
        margin-bottom: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .gallery-section,
    .services-section,
    .news-section {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1.2rem;
    }
    
    .service-item {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
    
    .news-main-image {
        height: 300px;
    }
    
    .news-main-content {
        padding: 2rem;
    }
    
    .news-main-content h3 {
        font-size: 1.4rem;
    }
    
    .news-main-content .news-date {
        font-size: 0.75rem;
    }
    
    .news-small {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
    }
    
    .news-small-content h4 {
        font-size: 0.95rem;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
    }
    
    .lang-toggle {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

