/* ===================================
   CSS RESET & BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

:root {
    /* Colors */
    --color-primary: #F2AA80;
    --color-primary-contrast: #8A3F14;
    --color-primary-dark: #153a66;
    --color-primary-light: #2a5f9e;
    --color-secondary: #333333;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-light: #F5F5F5;
    --color-bg-dark: #e8e8e8;
    --color-accent: #1D4E89;

    /* Typography */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

a {
    text-decoration: underline;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Position adjustments for WordPress Admin Bar */
:root {
    --wp-admin-bar-height: 0px;
    --top-bar-actual-height: 0px;
    --nav-actual-height: 80px;
}

.admin-bar {
    --wp-admin-bar-height: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar {
        --wp-admin-bar-height: 46px;
    }
}

.admin-bar .top-bar,
.admin-bar .nav {
    margin-top: 0;
    /* JS and CSS variables handle this now */
}



body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-secondary);
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-description {
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
    max-width: 800px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

/* ===================================
   DEFAULT PAGE LAYOUT
   =================================== */

.page-header {
    padding: 10rem 0 6rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: calc(var(--top-bar-height, 48px) + var(--nav-actual-height, 80px));
    color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .page-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header .page-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb a {
    color: #ffffff;
    transition: color var(--transition-fast);
}

.page-header .breadcrumb a:hover {
    color: var(--color-primary);
}

.page-header .separator {
    color: rgba(255, 255, 255, 0.5);
}

.page-content {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
    min-height: 400px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Typography for default content */
.content-wrapper h2 {
    font-size: 2.25rem;
    margin: 3rem 0 1.5rem;
    color: var(--color-secondary);
}

.content-wrapper h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1.25rem;
    color: var(--color-secondary);
}

.content-wrapper h4 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.content-wrapper blockquote {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-primary);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-secondary);
}

@media (max-width: 968px) {
    .page-header {
        padding: 8rem 0 4rem;
    }

    .page-header .page-title {
        font-size: 2.5rem;
    }

    .page-content {
        padding: var(--spacing-xl) 0;
    }
}

@media (max-width: 640px) {
    .page-header .page-title {
        font-size: 2rem;
    }

    .content-wrapper h2 {
        font-size: 1.75rem;
    }

    .content-wrapper h3 {
        font-size: 1.5rem;
    }

    .content-wrapper p,
    .content-wrapper li {
        font-size: 1rem;
    }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary-light);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary-light);
    border: 2px solid var(--color-primary-dark);
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    color: white;
}

.btn-icon {
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===================================
   TOP BAR
   =================================== */

.top-bar {
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    position: fixed;
    top: var(--wp-admin-bar-height, 0);
    left: 0;
    right: 0;
    z-index: 1001;
    transition: transform var(--transition-base), opacity var(--transition-base);
    transform: translateY(0);
    will-change: transform;
}


.top-bar.scrolled {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.top-bar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.top-bar-left {
    flex: 1;
}

.welcome-message {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.social-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.top-bar-link:hover {
    color: white;
}

.top-bar-link svg {
    flex-shrink: 0;
}

@media (max-width: 1200px) {
    .welcome-message {
        font-size: 0.8125rem;
    }

    .top-bar-contact {
        gap: 1rem;
    }
}

@media (max-width: 968px) {
    .top-bar-left {
        display: none;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .top-bar-contact {
        display: none;
    }

    .top-bar-right {
        justify-content: center;
    }
}

/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: var(--top-bar-height, 48px);
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: top var(--transition-base), box-shadow var(--transition-base);
    will-change: top;
}

.nav.scrolled {
    top: var(--wp-admin-bar-height, 0);
    box-shadow: var(--shadow-md);
}


.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
}

.nav-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: transform var(--transition-base);
}

.nav.scrolled .nav-logo img {
    max-height: 40px;
}

.nav-logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-slogan {
    font-size: 0.875rem;
    color: var(--color-text-light, rgba(0, 0, 0, 0.6));
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 400;
    font-family: var(--font-body);
}

@media (max-width: 968px) {
    .site-slogan {
        display: none;
    }
}

.nav-logo strong {
    font-weight: 700;
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-icon {
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    margin-top: 1rem;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-primary);
    transform: scaleY(0);
    transition: transform var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    padding-left: 1.75rem;
}

.dropdown-link:hover::before {
    transform: scaleY(1);
}

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    margin-left: 0.5rem;
}

.search-toggle:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 0.5rem;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-secondary);
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-current:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    margin-top: 0.5rem;
    z-index: 100;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-fast);
    text-align: left;
}

.lang-dropdown a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

.lang-current svg {
    transition: transform var(--transition-fast);
}

.lang-switcher:hover .lang-current svg,
.lang-switcher.active .lang-current svg {
    transform: rotate(180deg);
}


@media (max-width: 968px) {
    .lang-switcher {
        margin-right: 0;
        margin-left: auto;
    }
}


.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-secondary);
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

.feature-card.is-tilting,
.application-card.is-tilting,
.testimonial-card.is-tilting {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body.keyboard-navigation *:focus {
    outline: 3px solid #1D4E89;
    outline-offset: 2px;
}

.trust,
.featured-products,
.applications,
.showcase-grid-section,
.video-showcase,
.showcase-carousel,
.news-section,
.why-choose-us {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

/* Search Bar */
.search-bar {
    position: fixed;
    /* Tracks directly below the nav via JS-managed CSS variable */
    top: var(--header-bottom, 128px);
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow-md);
    z-index: 1001;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), top var(--transition-base), box-shadow var(--transition-base);
}

.search-bar.active {
    max-height: 500px;
    /* Increased to avoid cropping */
}


.search-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    border: none;
    background: transparent;
    color: var(--color-text);
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--color-text-light);
}

.search-submit {
    padding: 1rem 1.5rem;
    background: var(--color-primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: background var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    background: var(--color-primary-dark);
}

.search-close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.search-close:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
}

@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .search-container {
        padding: 1rem 1.5rem;
    }

    .search-input {
        font-size: 1rem;
        padding: 0.875rem 1rem;
    }

    .search-submit {
        padding: 0.875rem 1rem;
    }

    .search-close {
        width: 40px;
        height: 40px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-bottom, 128px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: white;
        padding: 2rem;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-base);
        max-height: calc(100vh - var(--header-bottom, 128px));
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-bg-light);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 0;
        justify-content: space-between;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--color-bg-light);
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
        padding: 0;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 0.5rem 0;
    }

    .dropdown-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .dropdown-link:hover {
        padding-left: 1.5rem;
    }

    .nav-cta {
        margin-top: 1rem;
    }
}

@media (max-width: 640px) {
    .search-input::placeholder {
        font-size: 0.875rem;
    }
}

/* ===================================
   HERO SLIDER
   =================================== */

.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
    margin-top: 112px;
    background-color: #000;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
    display: block;
}

.slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.slide-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Slide Content has been removed for full image cover */

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: all;
    color: white;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.slider-arrow:active {
    transform: scale(0.95);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0;
}

.slider-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%);
    transition: all var(--transition-base);
}

.slider-dot.active::before {
    background: white;
    transform: translate(-50%, -50%) scale(1.2);
}

.slider-dot:hover::before {
    background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 968px) {
    .hero-slider {
        height: 50vh;
        min-height: 350px;
        margin-top: 112px;
    }

    .slide-title {
        font-size: 2.25rem;
    }

    .slide-description {
        font-size: 1.125rem;
    }

    .slider-controls {
        padding: 0 1rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        height: 40vh;
        min-height: 300px;
        margin-top: 112px;
    }

    .slide-title {
        font-size: 1.75rem;
    }

    .slide-description {
        font-size: 1rem;
    }
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(29, 78, 137, 0.03) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(2deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-2deg);
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.hero-title-accent {
    color: var(--color-primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    animation: fadeInUp 0.8s ease-out backwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    line-height: 1.3;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.bearing-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.bearing-showcase-placeholder {
    position: relative;
    width: 400px;
    height: 400px;
}

.bearing-showcase-placeholder .bearing-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    opacity: 0.3;
}

.bearing-showcase-placeholder .bearing-circle-1 {
    width: 400px;
    height: 400px;
    top: 0;
    left: 0;
    animation: rotate 20s linear infinite;
}

.bearing-showcase-placeholder .bearing-circle-2 {
    width: 280px;
    height: 280px;
    top: 60px;
    left: 60px;
    border-width: 3px;
    opacity: 0.5;
    animation: rotate 15s linear infinite reverse;
}

.bearing-showcase-placeholder .bearing-circle-3 {
    width: 160px;
    height: 160px;
    top: 120px;
    left: 120px;
    background: var(--color-primary);
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.2;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bearing-showcase {
        width: 300px;
        height: 300px;
    }

    .bearing-circle-1 {
        width: 300px;
        height: 300px;
    }

    .bearing-circle-2 {
        width: 210px;
        height: 210px;
        top: 45px;
        left: 45px;
    }

    .bearing-circle-3 {
        width: 120px;
        height: 120px;
        top: 90px;
        left: 90px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-visual {
        display: none;
    }
}

/* ===================================
   TRUST SECTION
   =================================== */

.trust {
    padding: 4rem 0;
    background: white;
}

.trust-header {
    text-align: center;
    margin-bottom: 3rem;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.trust-logo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-logo-placeholder {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

.trust-testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
}

.testimonial-quote {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.author-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

@media (max-width: 968px) {
    .trust-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-testimonials {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FEATURED PRODUCTS SECTION
   =================================== */

.featured-products {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
}

.product-card:nth-child(1) {
    animation-delay: 0.1s;
}

.product-card:nth-child(2) {
    animation-delay: 0.15s;
}

.product-card:nth-child(3) {
    animation-delay: 0.2s;
}

.product-card:nth-child(4) {
    animation-delay: 0.25s;
}

.product-card:nth-child(5) {
    animation-delay: 0.3s;
}

.product-card:nth-child(6) {
    animation-delay: 0.35s;
}

.product-card:nth-child(7) {
    animation-delay: 0.4s;
}

.product-card:nth-child(8) {
    animation-delay: 0.45s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    background: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    z-index: 1;
}

.product-badge.new {
    background: #28a745;
}

.product-image-placeholder {
    transition: transform var(--transition-base);
}

.product-card:hover .product-image-placeholder {
    transform: scale(1.1);
}

.product-image-placeholder svg {
    display: block;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-code {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-family: 'Courier New', monospace;
    margin-bottom: 0.75rem;
}

.product-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    flex: 1;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-tag {
    padding: 0.375rem 0.75rem;
    background: white;
    border: 1px solid rgba(29, 78, 137, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
}

.product-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.product-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.feature-specs {
    list-style: none;
    padding: 0;
}

.feature-specs li {
    font-size: 0.875rem;
    color: var(--color-text-light);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.feature-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   VALUE SECTION
   =================================== */

.value {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-image {
    position: relative;
}

.value-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-bg-light);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.technical-diagram {
    width: 100%;
    height: 100%;
    position: relative;
}

.diagram-layer {
    position: absolute;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.diagram-layer:nth-child(1) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    opacity: 0.2;
    animation: rotate 30s linear infinite;
}

.diagram-layer:nth-child(2) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    opacity: 0.3;
    animation: rotate 20s linear infinite reverse;
}

.diagram-layer:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    opacity: 0.4;
    background: var(--color-primary);
    animation: pulse 4s ease-in-out infinite;
}

.value-text {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.value-description {
    margin-bottom: 2.5rem;
}

.value-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-feature-item {
    display: flex;
    gap: 1.5rem;
}

.value-feature-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.3;
    flex-shrink: 0;
}

.value-feature-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.value-feature-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

@media (max-width: 968px) {
    .value-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ===================================
   APPLICATIONS SECTION
   =================================== */

.applications {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.application-card:nth-child(1) {
    animation-delay: 0.1s;
}

.application-card:nth-child(2) {
    animation-delay: 0.2s;
}

.application-card:nth-child(3) {
    animation-delay: 0.3s;
}

.application-card:nth-child(4) {
    animation-delay: 0.4s;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.application-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.application-card:hover .application-icon-wrap {
    background: var(--color-primary);
}

.application-icon {
    color: var(--color-primary);
    transition: all var(--transition-base);
}

.application-card:hover .application-icon {
    color: white;
}

.application-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.application-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

@media (max-width: 968px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   SHOWCASE CAROUSEL
   =================================== */

.showcase-carousel {
    padding: var(--spacing-xxl) 0;
    background: white;
    overflow: hidden;
}

.carousel-wrapper {
    margin-top: 3rem;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
    padding: 0 2rem;
    /* Force LTR so flex items always lay out left-to-right;
       the JS handles translation direction for RTL pages */
    direction: ltr;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 1.333rem);
    min-width: 0;
}

/* Restore RTL text direction inside carousel items on RTL pages */
html[dir="rtl"] .carousel-item {
    direction: rtl;
}

.carousel-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.carousel-item:hover .carousel-image {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.carousel-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption {
    text-align: center;
}

.carousel-caption h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.carousel-nav {
    position: absolute;
    top: 35%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 0;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    pointer-events: all;
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: white;
    color: var(--color-primary);
    transform: scale(1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 40px;
    height: 4px;
    background: rgba(29, 78, 137, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--color-primary);
    width: 60px;
}

.carousel-indicator:hover {
    background: rgba(29, 78, 137, 0.4);
}

@media (max-width: 968px) {
    .carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .carousel-nav {
        padding: 0;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .carousel-item {
        flex: 0 0 calc(100% - 2rem);
    }

    .carousel-track {
        padding: 0 1rem;
        gap: 1rem;
    }
}

/* ===================================
   NEWS SECTION
   =================================== */

.news-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.news-card:nth-child(1) {
    animation-delay: 0.1s;
}

.news-card:nth-child(2) {
    animation-delay: 0.2s;
}

.news-card:nth-child(3) {
    animation-delay: 0.3s;
}

.news-card:nth-child(4) {
    animation-delay: 0.4s;
}

.news-card:nth-child(5) {
    animation-delay: 0.5s;
}

.news-card:nth-child(6) {
    animation-delay: 0.6s;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.news-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-card.featured .news-image {
    aspect-ratio: auto;
    height: 100%;
}

.news-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

.news-card:hover .news-image-placeholder {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    z-index: 1;
}

.featured-badge {
    background: var(--color-primary);
    color: white;
}

.news-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.news-category {
    color: var(--color-primary);
    font-weight: 600;
}

.news-date {
    color: var(--color-text-light);
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-card.featured .news-title {
    font-size: 1.75rem;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.news-link:hover {
    color: var(--color-primary-dark);
    transform: translateX(4px);
}

.news-cta {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
        grid-template-columns: 1fr;
    }

    .news-card.featured .news-image {
        aspect-ratio: 16/10;
        height: auto;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured .news-title {
        font-size: 1.5rem;
    }
}

/* ===================================
   CTA SECTION
   =================================== */

.cta {
    padding: var(--spacing-xxl) 0;
    background: var(--color-secondary);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature svg {
    flex-shrink: 0;
    color: var(--color-primary-light);
}

.cta-form-wrap {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.form-input {
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    background: white;
    border-color: var(--color-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

@media (max-width: 968px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* ===================================
   FOOTER
   =================================== */

.footer {
    padding: 4rem 0 2rem;
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.8);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo strong {
    font-weight: 700;
    color: var(--color-primary-light);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===================================
   WHY CHOOSE US SECTION
   =================================== */

.why-choose-us {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.why-choose-us .section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
}

.choice-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.choice-item:nth-child(2) {
    animation-delay: 0.1s;
}

.choice-item:nth-child(3) {
    animation-delay: 0.2s;
}

.choice-item:nth-child(4) {
    animation-delay: 0.3s;
}

.choice-item:nth-child(5) {
    animation-delay: 0.4s;
}

.choice-item:nth-child(6) {
    animation-delay: 0.5s;
}

.choice-item:last-child {
    margin-bottom: 0;
}

/* Reverse layout for alternating items */
.choice-item-reverse {
    direction: rtl;
}

.choice-item-reverse .choice-content,
.choice-item-reverse .choice-image {
    direction: ltr;
}

.choice-content {
    padding: 2rem 0;
}

.choice-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(29, 78, 137, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.choice-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.choice-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.choice-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}

.choice-highlights li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.choice-highlights li:last-child {
    border-bottom: none;
}

.choice-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.choice-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.choice-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.choice-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #1D4E89 0%, #2a5f9e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.choice-image-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Add subtle animation to images */
.choice-item:hover .choice-image-placeholder svg circle,
.choice-item:hover .choice-image-placeholder svg line,
.choice-item:hover .choice-image-placeholder svg path {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .choice-item {
        grid-template-columns: 1fr;
        gap: 3rem;
        margin-bottom: 4rem;
    }

    .choice-item-reverse {
        direction: ltr;
    }

    .choice-title {
        font-size: 1.75rem;
    }

    .choice-description {
        font-size: 1rem;
    }

    .choice-highlights li {
        font-size: 0.9375rem;
    }
}

@media (max-width: 640px) {
    .why-choose-us {
        padding: var(--spacing-lg) 0;
    }

    .why-choose-us .section-header {
        margin-bottom: 3rem;
    }

    .choice-item {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .choice-title {
        font-size: 1.5rem;
    }

    .choice-description {
        font-size: 0.9375rem;
    }

    .choice-highlights li {
        padding-left: 2.5rem;
    }

    .choice-highlights li::before {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }
}

/* ===================================
   FLOATING WIDGET
   =================================== */

.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    align-items: center;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    color: white;
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.widget-btn:active {
    transform: scale(0.95);
}

.scroll-top-btn {
    background: #333;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn.visible:hover {
    transform: translateY(-5px);
}

.email-btn {
    background: #EA4335;
    /* Google Red for Email */
}

.whatsapp-btn {
    background: #25D366;
    /* WhatsApp Green */
}

.widget-item {
    position: relative;
}

/* Widget Popups */
.widget-popup {
    position: absolute;
    bottom: 5px;
    right: 75px;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
}

.widget-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0) scale(1);
}

.popup-header {
    background: var(--color-primary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-popup .popup-header {
    background: #075E54;
    /* WhatsApp Dark Green */
}

.email-popup .popup-header {
    background: #D93025;
    /* Darker Red */
}

.popup-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.close-popup {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.close-popup:hover {
    color: white;
}

.popup-content {
    padding: 20px;
    text-align: center;
}

.popup-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.95rem;
}

.popup-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    transition: all 0.2s;
}

.popup-link:hover {
    background: #e0e0e0;
    color: var(--color-primary-dark);
}

.qr-placeholder {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .floating-widget {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .widget-btn {
        width: 50px;
        height: 50px;
    }

    .widget-btn svg {
        width: 20px;
        height: 20px;
    }

    .widget-popup {
        bottom: 70px;
        right: 0;
        width: 280px;
        position: fixed;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        bottom: 100px;
        z-index: 10001;
    }

    .widget-popup.active {
        transform: translateX(-50%) scale(1);
    }
}

/* ===================================
   IMAGE SHOWCASE GRID
   =================================== */

.showcase-grid-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.showcase-grid-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.showcase-grid-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.showcase-grid-item .grid-image {
    width: 100%;
    height: 100%;
}

.showcase-grid-item .grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-grid-item:hover .grid-image img {
    transform: scale(1.08);
}

.showcase-grid-item .grid-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-grid-item:hover .grid-caption {
    opacity: 1;
    transform: translateY(0);
}

.showcase-grid-item .grid-caption h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transform: translateY(15px);
    transition: transform 0.4s 0.1s;
}

.showcase-grid-item:hover .grid-caption h3 {
    transform: translateY(0);
}

.showcase-grid-item .grid-caption p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transform: translateY(15px);
    transition: transform 0.4s 0.2s;
}

.showcase-grid-item:hover .grid-caption p {
    transform: translateY(0);
}

@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

/* =================================== 
   IMAGE SHOWCASE SECTION 
   =================================== */

.image-showcase {
    padding: var(--spacing-xxl) 0;
    background-color: var(--color-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: var(--spacing-lg);
}

.showcase-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    background: var(--color-bg-light);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.showcase-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(29, 78, 137, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-item:hover::after {
    opacity: 1;
}

@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}


/* =================================== 
   VIDEO SHOWCASE SECTION 
   =================================== */

/* ===================================
   VIDEO SHOWCASE CAROUSEL
   =================================== */

.video-showcase {
    padding: var(--spacing-xxl) 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.video-showcase-cta {
    margin: 1.25rem 0 0;
}

.video-showcase .carousel-wrapper {
    margin-top: 3rem;
}

.video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0d1117;
}

.video-showcase .carousel-caption code {
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    background: rgba(29, 78, 137, 0.08);
    border-radius: 4px;
}

.carousel-item:hover .video-embed {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.video-showcase .carousel-nav {
    top: 38%;
}
