/* Base Styles */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #0ea5e9;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --text-color: #374151;
    --white: #ffffff;
    --black: #000000;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100%;
}

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

ul {
    list-style: none;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #15307a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary-light {
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-secondary-light:hover {
    background-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 20px 0;
}

header.sticky {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.logo p {
    font-size: 0.8rem;
    color: var(--gray-600);
    letter-spacing: 1px;
}

.logo a {
    text-decoration: none;
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    z-index: 1001;
}

.dropdown-content a {
    display: block;
    padding: 8px 15px;
    color: var(--gray-700);
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--gray-100);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    background-color: var(--gray-100);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/silicon-heat-transfer-badge-with-all-background-pattern.avif');
    background-size: cover;
    background-position: center;
    padding: 180px 0 60px;
    color: var(--white);
    text-align: center;
}

/* Video Banner */
.video-banner {
    position: relative;
    padding: 180px 0 60px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    height: 400px; /* Set fixed height for consistent appearance */
    max-width: 100%;
}

.video-banner .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.video-banner video {
    position: absolute;
    top: -15%; /* Push video up to hide bottom 25% */
    left: 0;
    width: 100%;
    height: 115%; /* Make video 33% taller than container */
    object-fit: cover;
    z-index: -1;
}

.video-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.breadcrumb li {
    display: inline-block;
    font-size: 1rem;
}

.breadcrumb li a {
    color: var(--gray-300);
    transition: var(--transition);
}

.breadcrumb li a:hover {
    color: var(--white);
}

.breadcrumb li.active {
    color: var(--accent-color);
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--gray-300);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 80px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-color: var(--dark-color); /* Fallback if video doesn't load */
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

/* Intro Video Section */
.intro-video {
    padding: 100px 0;
    background-color: var(--white);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-container video {
    width: 100%;
    display: block;
}

/* Product Categories Section */
.product-categories-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.product-category {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.product-category:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

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

.product-category:hover .product-image img {
    transform: scale(1.05);
}

.product-category h3 {
    margin: 20px 0 10px;
    padding: 0 20px;
    color: var(--primary-color);
}

.product-category p {
    padding: 0 20px;
    margin-bottom: 20px;
    color: var(--gray-600);
}

.product-category .btn {
    margin: 0 20px 20px;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-700);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
}

.image-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
}

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

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    top: 15px;
    left: 15px;
    z-index: -1;
    border-radius: 10px;
}

/* About Section Video */
.about .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about .video-container:hover video {
    transform: scale(1.03);
}

@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .about-image {
        width: 100%;
    }
    
    .about .video-container {
        padding-bottom: 56.25%;
    }
}

/* Products Section */
.products {
    padding: 100px 0;
}

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

.product-item {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.product-item-image {
    height: 300px;
    overflow: hidden;
}

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

.product-item:hover .product-item-image img {
    transform: scale(1.05);
}

.product-item-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 350px; /* Set a minimum height for consistency */
    position: relative; /* Add position relative for absolute positioning of button */
    padding-bottom: 80px; /* Add padding at bottom to make room for button */
}

.product-item-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.product-item-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.product-item-info p {
    margin-bottom: 20px;
    color: var(--gray-700);
    line-height: 1.6;
}

.product-specs {
    background-color: var(--gray-100);
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    min-height: 180px; /* Set a minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1; /* Allow it to grow to fill available space */
}

.product-specs li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.product-specs li:last-child {
    margin-bottom: 0;
}

.product-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.product-specs li strong {
    color: var(--gray-800);
    font-weight: 600;
    margin-right: 5px;
}

.product-specs li a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-all;
}

.product-specs li a:hover {
    text-decoration: underline;
}

/* Position the button at the bottom of the info section */
.product-item-info .btn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    width: calc(100% - 50px);
}

@media (max-width: 992px) {
    .product-items {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .product-item-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .product-items {
        grid-template-columns: 1fr;
    }
    
    .product-item-image {
        height: 200px;
    }
    
    .product-item-info,
    .product-specs {
        min-height: auto; /* Allow flexible height on mobile */
    }
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-overlay h4 {
    color: var(--white);
}

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

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

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-700);
    position: relative;
    padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: -10px;
}

.testimonial-content p::after {
    right: 0;
    bottom: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    color: var(--gray-800);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--dark-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

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

.contact-item {
    display: flex;
    gap: 15px;
}

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

.contact-item .details h3 {
    color: var(--gray-800);
    margin-bottom: 5px;
}

.contact-item .details p {
    color: var(--gray-600);
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding: 80px 0 30px;
}

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

.footer-logo h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
}

.footer-links h3,
.footer-products h3,
.footer-social h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h3::after,
.footer-products h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 0;
}

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

.footer-links ul li a:hover,
.footer-products ul li a:hover {
    color: var(--white);
}

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

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    
    nav ul.active {
        display: flex;
        transform: translateX(0);
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.2rem;
        padding: 10px;
        display: block;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        opacity: 0;
        padding: 0;
        margin-top: 10px;
        background-color: var(--gray-100);
        border-radius: 8px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
        max-height: 300px;
        opacity: 1;
        padding: 10px 0;
    }
    
    .dropdown-content a {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    /* Mobile menu close button */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
        color: var(--primary-color);
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }
    
    /* Mobile menu header */
    .mobile-menu-header {
        position: absolute;
        top: 20px;
        left: 20px;
        display: flex;
        align-items: center;
    }
    
    .mobile-menu-header h2 {
        font-size: 1.5rem;
        color: var(--primary-color);
        margin: 0;
    }
    
    /* Mobile menu footer */
    .mobile-menu-footer {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }
    
    .mobile-menu-footer p {
        font-size: 0.9rem;
        color: var(--gray-500);
    }
    
    /* Language button in mobile menu */
    #language-btn {
        padding: 10px 20px;
        border-radius: 30px;
        background-color: var(--gray-100);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
        transition: var(--transition);
    }
    
    #language-btn:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }
    
    #language-btn i {
        margin-right: 8px;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

/* Reveal on Scroll Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Featured Products Slider */
.featured-products {
    padding: 100px 0;
    background-color: var(--white);
}

.product-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.product-slide {
    display: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
}

.product-slide:first-child {
    display: block;
}

.product-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-info p {
    color: var(--gray-600);
    margin-bottom: 15px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.prev-btn,
.next-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.prev-btn:hover,
.next-btn:hover {
    background-color: var(--accent-color);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray-300);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Latest News Section */
.latest-news {
    padding: 100px 0;
    background-color: var(--light-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

.news-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-10px);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

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

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

.news-item .news-content {
    padding: 25px 45px; /* Significantly increased horizontal padding from 30px to 45px on both sides */
}

.news-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-item .news-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: var(--transition);
}

.news-item .news-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more:hover i {
    transform: translateX(5px);
}

.view-all-news {
    text-align: center;
}

/* Call to Action Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.9)), url('../images/3d-big-silicon-logo-on-denim-tag.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray-300);
}

.cta .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background-color: var(--white);
}

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

.feature-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    background-color: var(--white);
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* About Page Styles */

/* Values Section */
.values {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.value-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.value-item:hover .value-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.value-item h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-item p {
    color: var(--gray-600);
}

/* Certificates Section */
.certificates {
    padding: 100px 0;
    background-color: var(--white);
}

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

.certificate-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.certificate-item:hover {
    transform: translateY(-10px);
}

.certificate-image {
    height: 200px;
    overflow: hidden;
}

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

.certificate-item:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-info {
    padding: 20px;
    text-align: center;
}

.certificate-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.certificate-info p {
    color: var(--gray-600);
}

/* Team Section */
.team {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

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

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.member-info .position {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.member-info .bio {
    color: var(--gray-600);
}

/* Color Card Section */
.color-card {
    padding: 100px 0;
    background-color: var(--white);
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.color-item {
    text-align: center;
}

.color-sample {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.color-item p {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.color-note {
    text-align: center;
    margin-top: 30px;
    color: var(--gray-600);
    font-style: italic;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background-color: var(--light-color);
}

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

.project-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

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

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
    text-align: center;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.project-info p {
    color: var(--gray-600);
}

/* Responsive Styles for About Page */
@media screen and (max-width: 768px) {
    .values-grid,
    .certificates-grid,
    .team-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .color-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Products Page Styles */

/* Product Overview Section */
.product-overview {
    padding: 80px 0;
    background-color: var(--white);
}

.product-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.product-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    width: 180px;
    text-align: center;
}

.product-nav-item:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
    color: var(--white);
}

.product-nav-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    transition: var(--transition);
}

.product-nav-item:hover .product-nav-icon {
    background-color: var(--white);
    color: var(--primary-color);
}

.product-nav-item span {
    font-weight: 500;
}

/* Product Section */
.product-section {
    padding: 100px 0;
}

.product-section:nth-child(odd) {
    background-color: var(--light-color);
}

.product-section:nth-child(even) {
    background-color: var(--white);
}

/* Product Introduction */
.product-intro {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.product-intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.product-intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.product-intro-image:hover img {
    transform: scale(1.05);
}

.product-intro-text {
    flex: 1;
}

.product-intro-text p {
    color: var(--gray-700);
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.product-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features .feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Product Items */
.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.product-item {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

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

.product-item-image {
    height: 300px;
    overflow: hidden;
}

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

.product-item:hover .product-item-image img {
    transform: scale(1.05);
}

.product-item-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 350px; /* Set a minimum height for consistency */
    position: relative; /* Add position relative for absolute positioning of button */
    padding-bottom: 80px; /* Add padding at bottom to make room for button */
}

.product-item-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 10px;
}

.product-item-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

.product-item-info p {
    margin-bottom: 20px;
    color: var(--gray-700);
    line-height: 1.6;
}

.product-specs {
    background-color: var(--gray-100);
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 20px;
    width: 100%;
    min-height: 180px; /* Set a minimum height for consistency */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1; /* Allow it to grow to fill available space */
}

.product-specs li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.product-specs li:last-child {
    margin-bottom: 0;
}

.product-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.product-specs li strong {
    color: var(--gray-800);
    font-weight: 600;
    margin-right: 5px;
}

.product-specs li a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    word-break: break-all;
}

.product-specs li a:hover {
    text-decoration: underline;
}

/* Position the button at the bottom of the info section */
.product-item-info .btn {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    width: calc(100% - 50px);
}

/* Custom Solutions Section */
.custom-solutions {
    padding: 100px 0;
    background-color: var(--light-color);
}

.custom-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.custom-text {
    flex: 1;
}

.custom-text p {
    color: var(--gray-700);
    margin-bottom: 30px;
    line-height: 1.8;
}

.custom-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.custom-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.custom-image:hover img {
    transform: scale(1.05);
}

.custom-process {
    margin: 40px 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    margin-right: 20px;
}

.step-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.step-info p {
    margin-bottom: 0;
    color: var(--gray-600);
}

/* Responsive Styles for Products Page */
@media screen and (max-width: 992px) {
    .product-intro,
    .custom-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .product-intro-image,
    .custom-image {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .product-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .product-nav-item {
        width: 100%;
        max-width: 300px;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .product-items {
        grid-template-columns: 1fr;
    }
}

/* Gallery Page Styles */
.gallery-filter {
    padding: 30px 0;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #f5f5f5;
    border: none;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #0056b3;
    color: #fff;
}

.gallery-main {
    padding: 0 0 60px;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 250px;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 20px;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-overlay h4 {
    margin: 0 0 5px;
    font-size: 18px;
}

.gallery-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

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

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

.video-gallery {
    background-color: #f9f9f9;
    padding: 60px 0;
}

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

.video-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

.video-info {
    padding: 20px;
}

.video-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

.video-info p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* News Page Styles */
.news-content {
    padding: 60px 0;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.news-article {
    margin-bottom: 50px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.article-image {
    height: 400px;
    overflow: hidden;
}

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

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

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.article-meta i {
    margin-right: 5px;
    color: #0056b3;
}

.article-content h2 {
    margin: 0 0 20px;
    font-size: 28px;
    color: #333;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content ul li {
    margin-bottom: 10px;
    color: #555;
}

.event-details {
    margin-top: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.event-details p {
    margin-bottom: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 5px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a.active, .pagination a:hover {
    background-color: #0056b3;
    color: #fff;
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
}

.pagination a.next i {
    margin-left: 5px;
}

/* Sidebar Styles */
.news-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0056b3;
}

.search-form {
    display: flex;
    position: relative;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
}

.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget ul li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.categories-widget ul li a:hover {
    color: #0056b3;
}

.categories-widget ul li a span {
    color: #999;
    font-size: 14px;
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: flex;
    gap: 15px;
}

.post-image {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info h4 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 500;
}

.post-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h4 a:hover {
    color: #0056b3;
}

.post-info .date {
    font-size: 13px;
    color: #999;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f5f5f5;
    color: #555;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tags a:hover {
    background-color: #0056b3;
    color: #fff;
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 15px;
}

.newsletter-form button {
    width: 100%;
}

/* Responsive Styles for Gallery and News */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-content h2 {
        font-size: 22px;
    }
}

/* Contact Page Styles */
.contact-info-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

.contact-icon {
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 40px;
    color: #0056b3;
}

.contact-details h3 {
    margin: 0 0 15px;
    font-size: 20px;
    color: #333;
}

.contact-details p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.contact-form-section {
    padding: 60px 0;
}

.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    color: #555;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-checkbox input {
    width: auto;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 14px;
}

.contact-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    height: 400px; /* Fixed height container */
}

.contact-image img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.contact-image .video-trim-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.contact-image video {
    width: 100%;
    height: 115%; /* Make video 33% taller than container */
    display: block;
    border-radius: 10px;
    object-fit: cover;
    position: absolute;
    top: 0; /* Align to top */
    left: 0;
    transform: scale(1.1); /* Slightly scale up to avoid any gaps */
    transform-origin: top; /* Scale from the top */
}

.map-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.map-container {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: auto;
}

.map-container iframe {
    width: 100%;
    height: 900px; /* Doubled height from original 450px */
    border: 0;
    display: block;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq-container {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: none;
}

.faq-answer p {
    margin: 0;
    padding: 0 0 20px;
    color: #666;
    line-height: 1.7;
}

/* Active state for FAQ items */
.faq-item.active .faq-question {
    background-color: #f5f5f5;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust based on content */
    display: block;
}

/* Responsive Styles for Contact Page */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-form-container {
        grid-template-columns: 1fr;
    }
    
    .contact-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}

@media (max-width: 576px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .contact-image {
        height: 200px;
    }
}

/* Certifications Section */
.certifications {
    padding: 80px 0;
    background-color: var(--light-color);
}

.certification-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.certification-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.certification-intro p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.7;
}

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

.certification-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.certification-icon {
    height: 180px;
    overflow: hidden;
}

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

.certification-item:hover .certification-icon img {
    transform: scale(1.05);
}

.certification-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.certification-info h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.certification-info p {
    color: var(--gray-600);
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.certification-note {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 30px;
}

.certification-note p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.certification-note a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.certification-note a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .certification-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certification-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-icon {
        height: 200px;
    }
}

/* Lab Reports Section */
.lab-reports {
    padding: 80px 0;
    background-color: var(--white);
}

.lab-reports-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.lab-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lab-intro p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.lab-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.lab-report-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.lab-report-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.lab-report-item:hover .lab-report-image img {
    transform: scale(1.05);
}

.report-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 138, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.report-overlay span {
    color: var(--white);
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid var(--white);
    border-radius: 4px;
}

.lab-report-item:hover .report-overlay {
    opacity: 1;
}

.lab-report-info {
    padding: 20px;
}

.lab-report-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.lab-report-info p {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .lab-reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Quality Assurance Section */
.quality-assurance {
    padding: 80px 0;
    background-color: var(--light-color);
}

.quality-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.quality-text {
    flex: 1;
}

.quality-text p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
}

.quality-text .btn {
    margin-top: 15px;
}

.quality-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.quality-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.quality-image:hover img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .quality-content {
        flex-direction: column;
    }
    
    .quality-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Language Popup Styles */
.language-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.language-popup-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--box-shadow);
    animation: fadeIn 0.3s ease;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
}

.close-popup:hover {
    color: var(--primary-color);
}

.language-popup h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

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

.language-grid a {
    display: block;
    padding: 12px 15px;
    background-color: var(--gray-100);
    border-radius: 4px;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.language-grid a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 576px) {
    .language-grid {
        grid-template-columns: 1fr;
    }
    
    .language-popup-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }
}

/* Language Button Styles */
#language-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gray-700);
}

#language-btn:hover {
    color: var(--primary-color);
}

#language-btn i {
    margin-right: 5px;
}

/* Sample Book Section Styles */
.sample-book {
    padding: 80px 0;
    background-color: var(--gray-100);
}

.sample-book-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.sample-book-info {
    flex: 1;
}

.sample-book-info p {
    margin-bottom: 20px;
    color: var(--gray-700);
}

.sample-book-info ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.sample-book-info ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.sample-book-info ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.sample-book-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.sample-book-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.sample-book-image:hover img {
    transform: scale(1.05);
}

@media screen and (max-width: 992px) {
    .sample-book-content {
        flex-direction: column;
    }
    
    .sample-book-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .sample-book {
        padding: 60px 0;
    }
}

@media screen and (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .news-item .news-content {
        padding: 20px 25px; /* Reduced padding on smaller screens */
    }
}