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

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    transition: all 0.3s ease;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-green));
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-menu a:hover {
    color: var(--secondary-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/v1.jpg') center/cover no-repeat;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.75) 50%, rgba(16, 185, 129, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    max-width: 900px;
    padding: 2rem;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 1.2s ease-out;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--white);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.8rem;
    color: var(--white);
    text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.3);
    font-style: italic;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-green);
    color: var(--white);
}

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

.btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

/* Section Header */
.section-header {
    text-align: center;
    padding: 5rem 2rem 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Certification Section Header - More Vibrant */
.certification-section .section-header {
    position: relative;
    z-index: 2;
}

.certification-section .section-header h2 {
    font-size: 3rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.certification-section .section-header p {
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.certification-section .header-divider {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 50%, #3b82f6 100%);
    margin: 2rem auto;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.header-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-green));
    margin: 2rem auto;
    border-radius: 2px;
}

/* Products Section */
.products-section {
    padding: 4rem 0 6rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.products-container {
    padding: 0 2rem;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
    margin: 3rem 0;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

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

.product-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-content {
    flex: 1;
    padding: 1.5rem;
}

.product-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-green));
    color: var(--white);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.product-content h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
}

.product-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.product-features span {
    padding: 0.6rem 1.2rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-blue);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Certification Section */
.certification-section {
    padding: 6rem 2rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/v11.jpg') center/cover no-repeat;
    z-index: 0;
    opacity: 0.15;
    transform: scale(1.1);
}

.cert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 231, 255, 0.9) 100%);
    z-index: 1;
}

.certification-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 2rem auto;
    position: relative;
    z-index: 2;
}

.cert-image,
.intro-image {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    transition: transform 0.4s ease;
}

.cert-image:hover,
.intro-image:hover {
    transform: translateY(-10px) scale(1.02);
}

.cert-image img,
.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

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

.cert-info {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    justify-content: center;
}

.info-card {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card h4 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0.5rem 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-green) 100%);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/v1.jpg') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: space-around;
    position: relative;
    z-index: 1;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

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

.footer-section h3,
.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    font-size: 1rem;
    margin: 0.8rem 0;
    opacity: 0.9;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin: 0.8rem 0;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    z-index: 1;
}

.copyright {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 3.5rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        gap: 0;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-menu a::after {
        display: none;
    }

    .logo-img {
        height: 35px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-container {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 0.9rem;
    }

    .logo-img {
        height: 30px;
    }

    .hero-logo-img {
        height: 60px;
    }

    .main-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .hero-logo-img {
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-logo {
        height: 60px;
    }

    .product-card,
    .product-card.reverse {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

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

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

    .certification-content {
        flex-direction: column;
    }

    .cert-image,
    .intro-image {
        max-width: 100%;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-blue), var(--accent-green));
    border-radius: 6px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
}

/* Image Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-image-container {
    width: 100%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

#galleryImage {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 60px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.4s ease;
    transition: opacity 0.3s ease;
    display: block;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
    line-height: 1;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.gallery-close:hover {
    color: var(--accent-green);
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem 1.2rem;
    font-size: 2.5rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 2001;
    user-select: none;
    font-weight: bold;
    line-height: 1;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

.gallery-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.product-image {
    cursor: pointer;
}

.product-image img {
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-modal-content {
        width: 100%;
        height: 100vh;
        padding: 0;
    }

    .gallery-image-container {
        width: 100%;
        height: calc(100vh - 120px);
        padding: 1rem;
    }

    #galleryImage {
        max-width: 100%;
        max-height: 100%;
    }

    .gallery-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
        width: 45px;
        height: 45px;
        background: rgba(0, 0, 0, 0.6);
    }

    .gallery-nav {
        padding: 1rem 0.8rem;
        font-size: 2rem;
        background: rgba(0, 0, 0, 0.6);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .gallery-prev {
        left: 15px;
    }

    .gallery-next {
        right: 15px;
    }

    .gallery-counter {
        bottom: 20px;
        font-size: 1rem;
        padding: 0.6rem 1.5rem;
        background: rgba(0, 0, 0, 0.6);
    }
}

@media (max-width: 480px) {
    .gallery-modal-content {
        width: 100%;
        height: 100vh;
    }

    .gallery-image-container {
        height: calc(100vh - 100px);
        padding: 0.5rem;
    }

    #galleryImage {
        max-width: 100%;
        max-height: 100%;
    }

    .gallery-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .gallery-nav {
        padding: 0.8rem 0.6rem;
        font-size: 1.8rem;
        background: rgba(0, 0, 0, 0.7);
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .gallery-counter {
        bottom: 15px;
        font-size: 0.9rem;
        padding: 0.5rem 1.2rem;
    }
}

@media (max-width: 360px) {
    .gallery-nav {
        padding: 0.6rem 0.5rem;
        font-size: 1.5rem;
    }

    .gallery-prev {
        left: 5px;
    }

    .gallery-next {
        right: 5px;
    }

    .gallery-close {
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }
}
