/* ============================================
   INNOTEC ENTERPRISE - Main Stylesheet
   Modern Corporate Website
   ============================================ */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004499;
    --light-blue: #e6f2ff;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-fast: all 0.2s ease;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* ===== ANIMATION UTILITY CLASSES ===== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 0.8s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease forwards;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    animation: fadeIn 0.5s ease;
}

/* ===== HEADING STYLES ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

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

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    animation: fadeInDown 0.6s ease;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header .logo {
    margin-left: 0;
    padding-left: 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    height: 60px;
    width: auto;
    display: flex;
    align-items: center;
    transition: var(--transition);
    margin-left: 0;
    padding-left: 0;
    animation: fadeInLeft 0.8s ease;
}

.logo:hover {
    opacity: 0.9;
    transform: scale(1.05);
    transition: var(--transition-fast);
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 60px;
    object-fit: contain;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    display: inline-block;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: var(--light-blue);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-controls:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    transform: translateY(-50%) scale(1.1);
}

.slider-controls:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-controls.prev {
    left: 20px;
}

.slider-controls.next {
    right: 20px;
}

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

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

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* ===== MAIN CONTENT ===== */
main {
    min-height: calc(100vh - 400px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    margin-bottom: 4rem;
}

section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    border-radius: 2px;
    animation: slideInRight 1s ease 0.3s forwards;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ===== WELCOME SECTION ===== */
.welcome-section {
    background-color: var(--white);
    padding: 5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.welcome-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
}

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

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--light-blue);
    flex-shrink: 0;
    transition: transform 0.5s ease;
}

.product-image-contain {
    object-fit: contain !important;
    padding: 10px;
    background-color: var(--white);
}

.product-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 3.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 4.5rem;
}

.product-card .btn {
    margin-top: auto;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn:hover {
    background-color: #0056b3;
    color: var(--white);
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

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

/* ===== PARTNERS SECTION ===== */
.partners-section {
    background-color: #fdfdfd;
    padding: 3.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.partners-section .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.partners-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    flex: 1 1 140px;
    max-width: 150px;
    width: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partners-hero {
    text-align: center;
    width: 100%;
}

.partners-banner {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: block;
    object-fit: cover;
    animation: fadeIn 0.8s ease;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.08));
    height: auto;
}

/* ===== PRODUCTS PAGE ===== */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.category-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

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

.service-section {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: 3px solid var(--border-color);
    background-color: #fafbfc;
    padding: 5rem 2rem;
    border-radius: 8px;
    position: relative;
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.service-section .section-title {
    margin-bottom: 1.5rem;
}

/* ===== VIDEOS PAGE ===== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    grid-auto-flow: column;
}

.video-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }
.video-card:nth-child(4) { animation-delay: 0.4s; }
.video-card:nth-child(5) { animation-delay: 0.5s; }
.video-card:nth-child(6) { animation-delay: 0.6s; }

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.2);
}

.video-card:hover .video-thumbnail::after {
    transform: scale(1.2);
    opacity: 1;
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background-color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail iframe,
.video-thumbnail video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    min-height: 200px;
}

/* When iframe or video is present, make container taller */
.video-thumbnail:has(iframe),
.video-thumbnail:has(video) {
    height: 315px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail::after {
    content: '▶';
    position: absolute;
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.8;
    transition: var(--transition);
    pointer-events: none;
}

/* Hide play button overlay when video is present */
.video-thumbnail:has(video)::after,
.video-thumbnail:has(iframe)::after {
    display: none;
}

/* Video Rotate Button */
.video-rotate-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background-color: rgba(0, 102, 204, 0.9);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.video-rotate-btn:hover {
    background-color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.5);
}

.video-rotate-btn:active {
    transform: scale(0.95);
}

.video-rotate-btn svg {
    width: 20px;
    height: 20px;
}

/* Rotated Video States */
.video-thumbnail.rotate-90 video,
.video-thumbnail.rotate-90 iframe {
    transform: rotate(90deg);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.video-thumbnail.rotate-180 video,
.video-thumbnail.rotate-180 iframe {
    transform: rotate(180deg);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.video-thumbnail.rotate-270 video,
.video-thumbnail.rotate-270 iframe {
    transform: rotate(270deg);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

/* Adjust container height for rotated videos */
.video-thumbnail.rotate-90,
.video-thumbnail.rotate-270 {
    height: 560px;
}

.video-thumbnail.rotate-90 video,
.video-thumbnail.rotate-90 iframe,
.video-thumbnail.rotate-270 video,
.video-thumbnail.rotate-270 iframe {
    width: 315px;
    height: 560px;
    margin: 0 auto;
}

.video-card-content {
    padding: 1.5rem;
}

.video-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.video-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CONTACT PAGE ===== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.contact-info strong {
    color: var(--primary-blue);
}

.map-container {
    width: 100%;
    height: 400px;
    background-color: var(--light-blue);
    border-radius: 8px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.map-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.map-link-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-link-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.map-link-btn:active {
    transform: translateY(0);
}

.contact-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-form:hover {
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

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

.form-group .error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-group input.error-field,
.form-group textarea.error-field {
    border-color: #dc3545;
}

.form-group .error.show {
    display: block;
}

.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.form-message.show {
    display: block;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== ABOUT PAGE ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.about-image {
    width: 100%;
    height: 400px;
    background-color: var(--light-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition-slow);
    animation: scaleIn 0.8s ease 0.3s both;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.timeline {
    margin-top: 3rem;
}

.timeline-item {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 1rem;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInRight 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
    border-left-width: 6px;
}

.timeline-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
}

/* ===== FOOTER ===== */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding: 4rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.footer-section p strong {
    color: var(--white);
    font-weight: 600;
    display: inline-block;
    min-width: 70px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.footer-section a:hover {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 8px;
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.social-icons a:nth-child(1) { animation-delay: 0.1s; }
.social-icons a:nth-child(2) { animation-delay: 0.2s; }
.social-icons a:nth-child(3) { animation-delay: 0.3s; }
.social-icons a:nth-child(4) { animation-delay: 0.4s; }

.social-icons a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-5px) scale(1.1);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.social-icons a:hover svg {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .header-container {
        padding: 0 1rem 0 0;
    }
    
    .logo {
        height: 50px;
        margin-left: 0;
        padding-left: 0;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    nav ul li a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero-slider {
        height: 100vh;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 3rem 1.5rem;
    }
    
    .service-section {
        padding: 3rem 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        overflow-x: auto;
    }
    
    .video-card {
        min-width: 200px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 2rem 1rem;
    }
    
    .header-container {
        padding: 0 1rem 0 0;
    }
    
    .logo {
        height: 45px;
        margin-left: 0;
        padding-left: 0;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    .hero-slider {
        height: 100vh;
    }
    
    .slider-controls {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-controls.prev {
        left: 10px;
    }
    
    .slider-controls.next {
        right: 10px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    /* Video rotate button on mobile */
    .video-rotate-btn {
        width: 35px;
        height: 35px;
        top: 8px;
        right: 8px;
    }
    
    .video-rotate-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* Adjust rotated video container on mobile */
    .video-thumbnail.rotate-90,
    .video-thumbnail.rotate-270 {
        height: auto;
        min-height: 315px;
    }
    
    .video-thumbnail.rotate-90 video,
    .video-thumbnail.rotate-90 iframe,
    .video-thumbnail.rotate-270 video,
    .video-thumbnail.rotate-270 iframe {
        width: 100%;
        max-width: 315px;
        height: auto;
    }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

