/* =========================================
   Kerael Robotics Kompany - Premium Theme
   ========================================= */

:root {
    --color-bg-primary: #0f172a;
    --color-bg-secondary: #1e293b;
    --color-bg-tertiary: #334155;
    --color-text-primary: #ffffff;
    --color-text-secondary: #aaaaaa;
    --color-gold: #D4AF37;
    --color-gold-hover: #b5952f;
    --color-border: #333333;
    
    --font-primary: 'Outfit', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-primary);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
}

.lead-text {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.gold-text {
    color: var(--color-gold);
}

.large-text {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Buttons & Links */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--color-text-primary);
    color: var(--color-bg-primary);
}

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

.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-primary);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--color-gold);
    font-weight: 500;
    margin-top: 1rem;
    position: relative;
}

.link-arrow::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
}

.link-arrow:hover::after {
    width: 100%;
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8); /* Bright metallic silver */
    padding: 3px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M43.3 5C47.4 2.6 52.6 2.6 56.7 5L83.7 20.6C87.8 23 90.4 27.5 90.4 32.2L90.4 63.4C90.4 68.1 87.8 72.6 83.7 75L56.7 90.6C52.6 93 47.4 93 43.3 90.6L16.3 75C12.2 72.6 9.6 68.1 9.6 63.4L9.6 32.2C9.6 27.5 12.2 23 16.3 20.6L43.3 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M43.3 5C47.4 2.6 52.6 2.6 56.7 5L83.7 20.6C87.8 23 90.4 27.5 90.4 32.2L90.4 63.4C90.4 68.1 87.8 72.6 83.7 75L56.7 90.6C52.6 93 47.4 93 43.3 90.6L16.3 75C12.2 72.6 9.6 68.1 9.6 63.4L9.6 32.2C9.6 27.5 12.2 23 16.3 20.6L43.3 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-primary);
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--color-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.nav-tab.active {
    color: var(--color-gold);
}

.nav-links a.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold);
}

/* Tab System */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInTab 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #1e293b; /* Fallback */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #1e293b 0%, rgba(30,41,59,0.85) 30%, transparent 80%);
}

.hero-content {
    max-width: 900px;
    margin: 0;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    color: var(--color-gold);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 750px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* What We Do Section */
.what-we-do {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-primary);
}

.wwd-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .wwd-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.wwd-content .section-title {
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.feature-list .check-icon {
    flex-shrink: 0;
    margin-right: 1rem;
    margin-top: 0.2rem;
}

.indigenous-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.indigenous-card .card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: -1;
    background-image: 
        linear-gradient(to right, #ffffff 1px, transparent 1px),
        linear-gradient(to bottom, #ffffff 1px, transparent 1px);
    background-size: 40px 40px;
}

.indigenous-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at top left, rgba(212, 175, 55, 0.15), transparent 60%);
    z-index: -1;
}

.indigenous-card .huge-text {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.indigenous-card .card-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.indigenous-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* Sections General */
section {
    padding: 6rem 0;
}

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

/* About Section */
.about {
    background-color: var(--color-bg-primary); /* Changed to primary to let cards pop */
    border-top: 1px solid var(--color-border);
    padding: 8rem 0;
}

.about-blocks {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.about-card {
    background-color: var(--color-bg-secondary);
    border-radius: 16px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.05);
}

.card-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--color-gold);
    margin-bottom: 2.5rem;
    border-radius: 2px;
}

.card-content p {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.mv-block h3 {
    font-size: 2rem;
    color: var(--color-text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.mv-block p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text-primary);
}

.why-kerael-section {
    margin-top: 2rem;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-card {
    background-color: #f8fafc; /* Very light slate/white to match image */
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.why-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.why-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a; /* Dark text for light card */
    margin-bottom: 1rem;
}

.why-card p {
    font-size: 1rem;
    color: #475569; /* Slate 600 for contrast */
    line-height: 1.6;
}

/* Technology Info */
.technology {
    background-color: var(--color-bg-primary);
    padding: 8rem 0;
}

/* Projects */
.projects {
    background-color: var(--color-bg-secondary);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

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

.project-card {
    background-color: var(--color-bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition-medium);
    border: 1px solid rgba(255,255,255,0.05);
}

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

.project-image {
    width: 100%;
    height: 250px;
    background-color: var(--color-bg-tertiary); /* Match card background */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents cropping so the full product is visible */
    transition: transform var(--transition-slow);
}

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

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Highlighted Motors (Projects Tab) */
.highlight-motors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.highlight-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.highlight-img-container {
    width: 100%;
    height: 400px;
    background-color: var(--color-bg-primary); /* Default dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.highlight-img.contain {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Prevents cropping */
    transition: transform var(--transition-slow);
}

.highlight-card:hover .highlight-img.contain {
    transform: scale(1.05);
}

.highlight-name-box {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--color-bg-tertiary);
    border-top: 2px solid var(--color-gold);
}

.highlight-name-box h3 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--color-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Highlight Section */
.highlight-section {
    background-color: #1e293b;
    background-image: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(30, 41, 59, 1) 70%);
    padding: 8rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Inside Kerael */
.inside-kerael {
    background-color: var(--color-bg-primary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.team-card {
    background-color: var(--color-bg-primary);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition-medium), border-color var(--transition-medium);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212,175,55,0.3);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.team-info .designation {
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Factory Section */
.factory-section {
    background-color: var(--color-bg-primary);
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.factory-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.factory-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212,175,55,0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.factory-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--color-bg-tertiary);
}

.factory-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.factory-card:hover .factory-img-wrapper img {
    transform: scale(1.08);
}

.factory-info {
    padding: 1.5rem;
}

.factory-info h4 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-bg-primary);
    padding: 8rem 0;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card {
    background-color: var(--color-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-card.mt-2 {
    margin-top: 2rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--color-white);
}

.contact-icon {
    width: 28px;
    height: 28px;
    stroke-width: 1.5px;
    opacity: 0.9;
}

.card-body h4 {
    color: var(--color-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.card-body strong {
    color: var(--color-text-primary);
    font-weight: 500;
}

.sub-location {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.sub-location h5 {
    color: var(--color-text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

/* Contact Form */
.form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: rgba(0, 0, 0, 0.4);
}

.btn-block {
    width: 100%;
    padding: 1.2rem;
    margin-top: 1rem;
    font-weight: 600;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

/* Footer */
.footer {
    background-color: #020617;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 75px;
    width: 75px;
    object-fit: contain;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8); /* Bright metallic silver */
    padding: 4px;
    margin-bottom: 1.5rem;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M43.3 5C47.4 2.6 52.6 2.6 56.7 5L83.7 20.6C87.8 23 90.4 27.5 90.4 32.2L90.4 63.4C90.4 68.1 87.8 72.6 83.7 75L56.7 90.6C52.6 93 47.4 93 43.3 90.6L16.3 75C12.2 72.6 9.6 68.1 9.6 63.4L9.6 32.2C9.6 27.5 12.2 23 16.3 20.6L43.3 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M43.3 5C47.4 2.6 52.6 2.6 56.7 5L83.7 20.6C87.8 23 90.4 27.5 90.4 32.2L90.4 63.4C90.4 68.1 87.8 72.6 83.7 75L56.7 90.6C52.6 93 47.4 93 43.3 90.6L16.3 75C12.2 72.6 9.6 68.1 9.6 63.4L9.6 32.2C9.6 27.5 12.2 23 16.3 20.6L43.3 5Z'/%3E%3C/svg%3E") center/contain no-repeat;
    filter: brightness(1.1) contrast(1.1) drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.footer-desc {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--color-gold);
}

.contact-info li {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: #666;
    font-size: 0.85rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visibility states triggered by JS */
.animate-fade-up.visible,
.animate-on-scroll.visible,
.animate-slide-left.visible,
.animate-slide-right.visible,
.animate-zoom.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Image Hover enhancements */
.hover-zoom-img {
    overflow: hidden;
    border-radius: 8px;
}
.hover-zoom-img img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hover-zoom-img:hover img {
    transform: scale(1.1);
}

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

/* Inside Kerael Media Gallery */
.inside-kerael {
    background-color: var(--color-bg-primary);
    padding: 6rem 0;
}

.inside-media-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.inside-image-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.inside-img {
    width: calc(33.333% - 1rem);
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform var(--transition-medium);
}

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

.inside-video-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.inside-video {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: #000;
}

/* Technology Layout */
.tech-feature-block {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tech-feature-block.bg-alternate {
    background-color: var(--color-bg-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 992px) {
    .tech-grid {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .tech-grid.reverse {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .tech-grid.reverse .tech-icon-container {
        order: 2;
    }
    
    .tech-grid.reverse .tech-info {
        order: 1;
    }
}

.tech-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(212,175,55,0.08), transparent 60%);
    padding: 3rem;
    border-radius: 50%;
}

.massive-tech-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(212,175,55,0.2));
}

.tech-subtitle {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.tech-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.tech-list strong {
    color: var(--color-white);
}

.list-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 50%;
    margin-top: 6px;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--color-gold);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-bg-secondary);
        flex-direction: column;
        padding: 6rem 2rem;
        transition: var(--transition-medium);
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.8) 100%);
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .factory-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}
