/*
Theme Name: Amaq Al-Iraq
Theme URI: https://www.amaqaliraq.com.iq
Author: Amaq Al-Iraq Company
Description: Custom theme for Amaq Al-Iraq Company for Trade, Contracting & General Services
Version: 3.0
Text Domain: amaq-aliraq
Design: Modern B2B tech style inspired by acubeinfotech.ae
*/

/* ===== CSS Variables ===== */
:root {
    --primary: #006bb3;
    --primary-dark: #004d80;
    --secondary: #1e293b;
    --dark: #111827;
    --dark-card: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --gold: #006bb3;
    --accent: #0ea5e9;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 8px 32px rgba(14, 165, 233, 0.25);
    --gradient-blue: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(135deg, #111827 0%, #1e3a5f 100%);
    --dot-pattern: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    --border-radius: 12px;
    --border-radius-pill: 50px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Tajawal', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    direction: rtl;
    text-align: right;
    color: var(--secondary);
    line-height: 1.85;
    overflow-x: hidden;
    background: var(--white);
    width: 100%;
    max-width: 100vw;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: var(--border-radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(0, 107, 179, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 107, 179, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    box-shadow: 0 8px 28px rgba(255,255,255,0.2);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.3);
}

.btn-dark:hover {
    background: var(--dark-card);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.4);
}

/* ===== Section Styling ===== */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.5px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    margin: 18px auto 0;
    border-radius: 4px;
}

.section-title p {
    font-size: 18px;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 8px 0;
    font-size: 13px;
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.top-bar-right,
.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a, .top-bar span {
    color: rgba(255,255,255,0.75);
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--accent);
}

.top-bar i {
    color: var(--accent);
    margin-left: 6px;
}

/* ===== Header / Navigation ===== */
.site-header {
    background: var(--white);
    box-shadow: 0 1px 12px rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    height: 72px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.site-logo img,
.site-logo .custom-logo {
    height: 60px !important;
    width: auto !important;
    max-height: 60px;
    object-fit: contain;
}

.site-logo .custom-logo-link {
    display: flex;
    align-items: center;
    line-height: 1;
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.site-logo .logo-text h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.site-logo .logo-text h1 span {
    color: var(--primary);
}

.site-logo .logo-text small {
    font-size: 10px;
    color: var(--gray);
}

.main-nav ul {
    display: flex;
    gap: 2px;
    align-items: center;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    border-left: none;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 18px;
    left: 18px;
    width: auto;
    height: 2px;
    background: var(--gradient-blue);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after,
.main-nav .current_page_item a::after {
    transform: scaleX(1);
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    color: var(--primary);
    background: transparent;
}

/* Last nav item as CTA pill button */
.main-nav ul li:last-child a {
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: var(--border-radius-pill);
    padding: 10px 24px;
    box-shadow: 0 4px 14px rgba(0, 107, 179, 0.25);
}

.main-nav ul li:last-child a::after {
    display: none;
}

.main-nav ul li:last-child a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 107, 179, 0.4);
    color: var(--white);
}

/* WordPress Menu (nav-links) */
.nav-links li a {
    display: block;
    padding: 10px 18px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li:last-child a {
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: var(--border-radius-pill);
    padding: 10px 24px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--secondary);
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--secondary);
    margin: 6px 0;
    border-radius: 4px;
    transition: var(--transition);
}

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

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

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

/* ===== Hero Slider ===== */
.hero-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,20,60,0.8) 0%, rgba(0,60,130,0.6) 100%);
    z-index: 1;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    color: var(--white);
    overflow: hidden;
}

/* Dot grid pattern overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--dot-pattern);
    background-size: 24px 24px;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-content .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 10px 28px;
    border-radius: var(--border-radius-pill);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-content h1 span {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .hero-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
}

.hero-content .hero-desc {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Stats - Glassmorphism Cards */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    padding-top: 0;
    border-top: none;
}

.hero-stat {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 24px 28px;
    min-width: 140px;
    text-align: center;
    transition: var(--transition);
}

.hero-stat:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.15);
    transform: translateY(-4px);
}

.hero-stat h3 {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat span,
.hero-stat p {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: 0;
}

/* ===== About Section ===== */
.about-section {
    background: var(--light);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
}

/* Decorative frame for about image */
.about-image::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.3;
}

.about-image .experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-glow);
    z-index: 2;
}

.experience-badge h3 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
}

.experience-badge p {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--secondary);
}

.about-text h2 span {
    color: var(--primary);
}

.about-text .lead {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    color: var(--secondary);
}

.about-feature i {
    color: var(--accent);
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--light);
    position: relative;
}

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

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transform-style: preserve-3d;
}

/* Top gradient border animation */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 107, 179, 0.25);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 28px rgba(0, 107, 179, 0.35);
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.service-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== Projects / RFID Section ===== */
.projects-section {
    background: var(--dark);
    position: relative;
}

/* Dot pattern on dark section */
.projects-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--dot-pattern);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.projects-section .container {
    position: relative;
    z-index: 1;
}

.projects-section .section-title h2 {
    color: var(--white);
}

.projects-section .section-title p {
    color: var(--gray);
}

.projects-section .section-title h2::after {
    background: var(--gradient-blue);
}

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

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    transition: var(--transition);
    background: var(--dark-card);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

/* Gradient border glow on hover */
.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: var(--gradient-blue);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.15);
}

.project-card:hover::before {
    opacity: 1;
}

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

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

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

.project-image .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 107, 179, 0.85), rgba(14, 165, 233, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    color: var(--white);
    font-size: 20px;
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.project-overlay a:hover {
    background: var(--white);
    color: var(--primary);
}

.project-info {
    padding: 25px;
}

.project-info .project-client {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--white);
    text-align: center;
}

.project-info p {
    font-size: 14px;
    color: var(--gray);
    text-align: center;
}

/* ===== Products Section (ACUBE style) ===== */
.products-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.products-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(14,165,233,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(0,107,179,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.products-section .section-title h2 { color: var(--white); }
.products-section .section-title p { color: var(--gray); }

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.product-card {
    text-align: center;
    perspective: 800px;
    cursor: pointer;
}

.product-flip {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    margin-bottom: 16px;
}

.product-card:hover .product-flip {
    transform: rotateY(180deg);
}

.product-flip-front,
.product-flip-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.product-flip-front {
    background: var(--dark-card);
}

.product-flip-back {
    background: var(--dark-card);
    transform: rotateY(180deg);
}

.product-flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    font-size: 48px;
    color: var(--accent);
    transition: color 0.3s ease;
}

.product-card:hover .product-flip-front .product-icon i {
    color: var(--primary);
}

.product-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    transition: color 0.3s ease;
}

.product-card:hover h4 {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-flip { height: 130px; }
    .product-card h4 { font-size: 13px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-flip { height: 110px; }
    .product-icon i { font-size: 36px; }
    .product-card h4 { font-size: 12px; }
}

/* RFID Items */
.rfid-item {
    position: relative;
}

.rfid-item h3 {
    padding-right: 45px;
    color: var(--white);
}

.rfid-card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    width: 38px;
    height: 38px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.rfid-item {
    padding-right: 0 !important;
}

.rfid-item h3 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* RFID Cards */
.rfid-section {
    background: var(--dark);
    position: relative;
}

.rfid-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--dot-pattern);
    background-size: 24px 24px;
    pointer-events: none;
}

.rfid-section .container {
    position: relative;
    z-index: 1;
}

.rfid-section .section-title h2 {
    color: var(--white);
}

.rfid-section .section-title h2::after {
    background: var(--gradient-blue);
}

.rfid-section .section-title p {
    color: var(--gray);
}

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

.rfid-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
}

.rfid-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: var(--gradient-blue);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.rfid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(14, 165, 233, 0.12);
}

.rfid-card:hover::before {
    opacity: 1;
}

.rfid-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-left: 45px;
    color: var(--white);
}

.rfid-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Certificates Section ===== */
.certificates-section {
    background: var(--light);
}

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

.cert-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.15);
}

.cert-card i {
    font-size: 44px;
    color: var(--primary);
    margin-bottom: 18px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cert-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.cert-card p {
    font-size: 13px;
    color: var(--gray);
}

/* ===== Clients & Partners Section ===== */
.clients-section {
    background: var(--white);
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.client-logo {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: var(--transition);
}

.client-logo:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent);
    transform: scale(1.05);
}

.client-logo img {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Partner Cards - Clean White on Light BG */
.partners-section {
    background: var(--light);
}

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

.partner-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--border-radius);
    padding: 35px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.15);
}

.partner-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.partner-card-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    background: var(--light);
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

.partner-card:hover .partner-card-logo {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2);
}

.partner-card-logo img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.partner-icon-circle {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    border-radius: 50%;
}

.partner-icon-circle i {
    font-size: 28px;
    color: white;
}

.partner-icon-circle span {
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.partner-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

.partner-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
    overflow: hidden;
    border: 2px solid var(--light-gray);
    transition: var(--transition);
}

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

/* ===== CTA Section ===== */
.cta-section {
    background: var(--gradient-blue);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal line pattern overlay */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.03) 20px,
        rgba(255,255,255,0.03) 40px
    );
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border-radius: var(--border-radius-pill);
    padding: 16px 42px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ===== Management Section ===== */
.management-section {
    background: var(--light);
}

.management-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    border: 1px solid rgba(0,0,0,0.04);
}

.manager-image-side {
    position: relative;
    min-height: 380px;
    background: var(--dark);
}

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

.manager-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    color: var(--white);
    font-size: 80px;
}

.manager-name-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.95), transparent);
    padding: 40px 24px 24px;
    color: var(--white);
}

.manager-name-card h3 {
    font-size: 20px;
    font-weight: 700;
}

.manager-name-card span {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
}

.manager-info-side {
    padding: 40px 40px 40px 20px;
    background: var(--white);
}

.manager-bio {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.manager-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.manager-detail-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.manager-detail-box h4 i {
    margin-left: 8px;
}

.manager-detail-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.manager-detail-box ul li {
    padding: 8px 0;
    padding-right: 28px;
    position: relative;
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.manager-detail-box ul li:last-child {
    border-bottom: none;
}

.manager-detail-box ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 10px;
    color: var(--accent);
    font-size: 12px;
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.12);
}

.contact-card i {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 107, 179, 0.25);
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.contact-card p,
.contact-card a {
    font-size: 15px;
    color: var(--gray);
}

.contact-card a:hover {
    color: var(--primary);
}

/* Contact info side */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-info-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.12);
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 107, 179, 0.25);
}

.contact-info-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.contact-info-text p,
.contact-info-text a {
    font-size: 15px;
    color: var(--gray);
}

.contact-info-text a:hover {
    color: var(--accent);
}

/* Contact Form - Modern Inputs */
.contact-form,
.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.04);
}

.contact-form h3,
.contact-form-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--secondary);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-bottom: 2px solid var(--light-gray);
    border-radius: 0;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
    direction: rtl;
    background: transparent;
    color: var(--secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
    outline: none;
    box-shadow: 0 2px 0 0 var(--accent);
}

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

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

.form-submit {
    margin-top: 10px;
}

.btn-submit {
    display: inline-block;
    padding: 14px 44px;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-pill);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(0, 107, 179, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 107, 179, 0.45);
}

.form-message {
    margin-top: 15px;
    padding: 14px 20px;
    border-radius: var(--border-radius);
    font-size: 14px;
    display: none;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Contact map */
.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 10px;
}

.contact-map iframe {
    width: 100%;
    height: 200px;
    border: none;
}

.contact-map-placeholder {
    background: var(--light);
    padding: 40px;
    text-align: center;
    border-radius: var(--border-radius);
    color: var(--gray);
}

.contact-map-placeholder i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

/* ===== Footer ===== */
.site-footer {
    background: #0a0f1a;
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.footer-brand h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 5px;
}

.footer-brand .custom-logo-link img {
    max-height: 75px;
    width: auto;
    opacity: 0.9;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    padding: 8px;
}

.footer-brand .custom-logo-link {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about p {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.55);
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    background: rgba(255,255,255,0.04);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
    transform: translateY(-3px);
}

.footer-widget h4,
.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after,
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-blue);
    border-radius: 4px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 15px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 8px;
}

.footer-links a i {
    margin-left: 8px;
    font-size: 12px;
}

.footer-contact li,
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact i,
.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
    min-width: 16px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.5);
}

.footer-contact-item a:hover {
    color: var(--accent);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    background: rgba(0,0,0,0.3);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 4px;
    width: 16px;
}

.footer-contact li a:hover {
    color: var(--accent);
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient-dark);
    padding: 110px 0 70px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dot pattern on page header */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--dot-pattern);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Curved bottom edge */
.page-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    opacity: 0.6;
    margin-top: 12px;
}

.breadcrumb a:hover {
    color: var(--accent);
    opacity: 1;
}

/* ===== Vision / Mission ===== */
.vision-section {
    background: var(--light);
}

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

.philosophy-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition);
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.philosophy-card i {
    font-size: 44px;
    margin-bottom: 20px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.philosophy-card p,
.philosophy-card ul {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.8;
}

.philosophy-card ul li {
    padding: 5px 0;
    padding-right: 20px;
    position: relative;
    text-align: right;
}

.philosophy-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: var(--accent);
    font-size: 12px;
}

/* Vision card */
.vision-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border-top: none;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
}

.vision-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary);
}

.vision-card p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.9;
}

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

.goal-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-right: 4px solid transparent;
    border-image: var(--gradient-blue) 1;
    transition: var(--transition);
}

.goal-item:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-hover);
}

.goal-number {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 107, 179, 0.25);
}

.goal-text {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Values Section ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.12);
}

.value-card .value-num {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gradient-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 107, 179, 0.25);
}

.value-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.value-card p {
    font-size: 14px;
    color: var(--gray);
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-circle {
    animation: dash 1.5s ease-in-out infinite;
    transform-origin: center;
}

@keyframes dash {
    0% { stroke-dashoffset: 502; transform: rotate(0deg); }
    50% { stroke-dashoffset: 126; }
    100% { stroke-dashoffset: 502; transform: rotate(360deg); }
}

/* ===== Language Switcher ===== */
.lang-switcher {
    z-index: 1001;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--border-radius-pill);
    font-size: 13px;
    font-weight: 700;
    background: rgba(14, 165, 233, 0.08);
    color: var(--primary);
    text-decoration: none;
    border: 1.5px solid rgba(14, 165, 233, 0.2);
    transition: var(--transition);
    white-space: nowrap;
}

.lang-btn:hover {
    background: var(--gradient-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: transparent;
}

.lang-btn img {
    border-radius: 2px;
}

/* ===== Back to Top ===== */
.scroll-top,
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 107, 179, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top:hover,
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.scroll-top.show,
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== Header Refinements ===== */
.header-logo-wrap {
    display: flex;
    align-items: center;
}

.header-logo-wrap .custom-logo-link {
    display: flex;
    align-items: center;
}

.header-logo-wrap .custom-logo-link img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
}

/* ===== Page Load Animation ===== */
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.page-loaded {
    opacity: 1;
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient-blue);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

/* ===== Header Scroll Behavior ===== */
.site-header.header-scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08) !important;
}

.site-header.header-scrolled .container {
    height: 70px;
}

.site-header.header-scrolled .header-logo-wrap .custom-logo-link img {
    height: 45px !important;
    max-height: 45px !important;
}

.site-header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none !important;
}

/* Top Bar hide on scroll */
.top-bar {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    max-height: 40px;
}

/* ===== Scroll Reveal System ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

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

/* Reveal delay classes */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Different reveal directions */
.about-image.reveal {
    transform: translateX(50px);
    opacity: 0;
}

.about-image.revealed {
    transform: translateX(0);
    opacity: 1;
}

.about-text.reveal {
    transform: translateX(-50px);
    opacity: 0;
}

.about-text.revealed {
    transform: translateX(0);
    opacity: 1;
}

.contact-form.reveal,
.contact-form-card.reveal {
    transform: translateX(-40px) scale(0.97);
    opacity: 0;
}

.contact-form.revealed,
.contact-form-card.revealed {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.contact-info-cards.reveal,
.contact-info-side.reveal {
    transform: translateX(40px);
    opacity: 0;
}

.contact-info-cards.revealed,
.contact-info-side.revealed {
    transform: translateX(0);
    opacity: 1;
}

.section-title.reveal {
    transform: translateY(25px) scale(0.95);
    opacity: 0;
}

.section-title.revealed {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cta-section.reveal {
    transform: scale(0.96);
    opacity: 0;
}

.cta-section.revealed {
    transform: scale(1);
    opacity: 1;
}

/* Client logos - fade in one by one */
.client-logo.reveal {
    transform: scale(0.8);
    opacity: 0;
}

.client-logo.revealed {
    transform: scale(1);
    opacity: 1;
}

/* Footer widgets slide up */
.footer-widget.reveal,
.footer-col.reveal {
    transform: translateY(30px);
    opacity: 0;
}

.footer-widget.revealed,
.footer-col.revealed {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Hero Parallax ===== */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-content {
    will-change: opacity, transform;
    transition: none;
}

/* Hero stat numbers glow on count */
.hero-stat h3 {
    transition: text-shadow 0.3s ease;
}

/* ===== Keyframes ===== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px rgba(14, 165, 233, 0.3); }
    50% { box-shadow: 0 0 20px rgba(14, 165, 233, 0.5); }
}

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

/* CTA hover pulse */
.cta-section .btn:hover {
    animation: pulse 0.6s ease;
}

/* ===== Page specific ===== */
.about-page-content {
    font-size: 17px;
    line-height: 2;
    color: var(--gray);
}

.about-page-content p {
    margin-bottom: 20px;
}

/* About section info items */
.about-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.about-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.about-info-item:hover {
    box-shadow: var(--shadow);
    border-color: rgba(14, 165, 233, 0.1);
}

.about-info-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 107, 179, 0.2);
}

.info-label {
    font-size: 12px;
    color: var(--gray);
}

.info-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
}

/* About image wrappers */
.about-image-wrapper {
    position: relative;
}

.about-image-box {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-placeholder {
    background: var(--gradient-dark);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-image-placeholder::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 107, 179, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.about-image-placeholder svg,
.about-image-placeholder .custom-logo-link {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.about-image-placeholder .custom-logo-link img {
    max-height: 130px;
    width: auto;
    border-radius: 12px;
}

.about-image-placeholder .placeholder-company {
    font-size: 22px;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
    margin-bottom: 5px;
}

.about-image-placeholder .placeholder-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 2;
}

.about-floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--gradient-blue);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-glow);
    z-index: 3;
}

.about-floating-card .number {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.about-floating-card .label {
    font-size: 13px;
    opacity: 0.9;
}

/* ===== Archive pages ===== */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===== Single pages ===== */
.single-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2;
}

.single-content img {
    border-radius: var(--border-radius);
    margin: 20px 0;
}

/* ===== Gallery grid ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 55px;
}

.section-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent);
    padding: 6px 22px;
    border-radius: var(--border-radius-pill);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(14, 165, 233, 0.15);
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header h2 span {
    color: var(--primary);
}

.section-desc {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Dark section overrides for section-header */
.projects-section .section-header h2,
.rfid-section .section-header h2 {
    color: var(--white);
}

.projects-section .section-badge,
.rfid-section .section-badge {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.25);
}

/* ===== LTR Overrides ===== */
/* See header.php for full LTR override block */

/* ===== Mobile Overflow Fix ===== */
.section,
.hero,
.site-footer,
.page-header,
.cta-section {
    overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid,
    .philosophy-grid,
    .values-grid,
    .rfid-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .management-card {
        grid-template-columns: 250px 1fr;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .hero-stat {
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    /* Top Bar - hide on mobile */
    .top-bar { display: none; }

    /* Header / Nav */
    .menu-toggle { display: block; }
    .site-header .container { height: 60px; }
    .site-logo img, .site-logo .custom-logo { height: 45px !important; max-height: 45px !important; }
    .site-logo .logo-text h1 { font-size: 16px; }
    .site-logo .logo-text small { font-size: 9px; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        box-shadow: 0 12px 40px rgba(0,0,0,0.1);
        padding: 15px;
        border-top: 3px solid var(--primary);
        z-index: 999;
    }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a {
        padding: 14px 18px;
        font-size: 16px;
        border-left: none !important;
        border-bottom: none;
        border-radius: 8px;
    }
    .main-nav a:hover { background: var(--light); }
    .main-nav a::after { display: none; }

    .main-nav ul li:last-child a {
        margin-top: 8px;
        text-align: center;
    }

    .lang-switcher { margin-left: 10px; }
    .lang-btn { padding: 6px 12px; font-size: 12px; }

    /* Hero */
    .hero { min-height: 70vh; padding-top: 80px; }
    .hero-content { text-align: center; }
    .hero-content h1 { font-size: 30px; line-height: 1.3; letter-spacing: -0.3px; }
    .hero-content .hero-subtitle { font-size: 18px; }
    .hero-content .hero-desc { font-size: 15px; }
    .hero-content .hero-badge { font-size: 13px; padding: 5px 16px; }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .hero-buttons .btn { width: 100%; text-align: center; padding: 14px 20px; }
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 30px;
    }
    .hero-stat {
        text-align: center;
        padding: 16px 12px;
        min-width: auto;
    }
    .hero-stat h3 { font-size: 30px; }
    .hero-stat span, .hero-stat p { font-size: 13px; }

    /* Sections */
    .section { padding: 60px 0; }
    .section-title h2, .section-header h2 { font-size: 26px; }
    .section-title p { font-size: 15px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-image { margin-bottom: 20px; }
    .about-image::before { display: none; }
    .about-image .experience-badge { left: auto; right: 10px; bottom: -10px; }

    /* Reduce reveal animation distance on mobile */
    .about-image.reveal { transform: translateY(30px); }
    .about-text.reveal { transform: translateY(30px); }
    .contact-form.reveal, .contact-form-card.reveal { transform: translateY(30px) scale(0.97); }
    .contact-info-cards.reveal, .contact-info-side.reveal { transform: translateY(30px); }
    .about-image-placeholder { min-height: 250px; padding: 40px 20px; }
    .about-text h2 { font-size: 24px; }
    .about-text .lead { font-size: 15px; }
    .about-features { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .about-info-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .experience-badge { position: relative; bottom: auto; left: auto; margin-top: -30px; margin-right: 20px; display: inline-flex; }

    /* Services - 2 columns on mobile */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .service-card { padding: 18px 14px; }
    .service-icon { width: 50px; height: 50px; font-size: 22px; margin-bottom: 10px; }
    .service-card h3 { font-size: 14px; margin-bottom: 6px; }
    .service-card p { font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

    /* RFID / Projects - 2 columns on mobile */
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .project-card { border-radius: 10px; }
    .project-image { height: 120px; }
    .project-info { padding: 12px; }
    .rfid-item h3 { font-size: 13px; }
    .rfid-item p { font-size: 11px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .rfid-card-number { width: 24px; height: 24px; font-size: 11px; }

    /* Partners - 3 columns compact */
    .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .partner-card { padding: 14px 10px; }
    .partner-card-logo { width: 55px; height: 55px; }
    .partner-card h4 { font-size: 12px; }
    .partner-card p { font-size: 10px; display: none; }
    .clients-logos { grid-template-columns: repeat(3, 1fr); }

    /* Management */
    .management-card { grid-template-columns: 1fr; }
    .manager-image-side { min-height: 280px; }
    .manager-info-side { padding: 25px 20px; }
    .manager-bio { font-size: 14px; }
    .manager-details-grid { grid-template-columns: 1fr; }
    .manager-detail-box ul li { font-size: 13px; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-info-card { padding: 15px; }
    .contact-form-card { padding: 25px 20px; }
    .form-row { grid-template-columns: 1fr; }

    /* CTA */
    .cta-section { padding: 60px 0; }
    .cta-section h2 { font-size: 22px; }
    .cta-section p { font-size: 14px; }

    /* Vision - 2 columns */
    .philosophy-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vision-section .philosophy-card { padding: 18px 14px; }
    .philosophy-card h3 { font-size: 15px; }
    .philosophy-card p { font-size: 12px; }

    /* Footer - 2 columns */
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-widget h4, .footer-col h4 { font-size: 16px; margin-bottom: 15px; }
    .footer-bottom { font-size: 12px; padding: 15px 0; }

    /* Page Header */
    .page-header { padding: 80px 0 45px; }
    .page-header h1 { font-size: 28px; }
    .page-header p { font-size: 14px; }
    .breadcrumb { font-size: 13px; }

    /* Parallax off */
    .hero { background-attachment: scroll; }

    /* Back to top */
    .scroll-top, .back-to-top { bottom: 15px; left: 15px; width: 40px; height: 40px; font-size: 16px; }

    /* Body font */
    body { font-size: 16px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 24px; }
    .hero-content .hero-subtitle { font-size: 15px; }
    .hero-content .hero-desc { font-size: 13px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .hero-stat h3 { font-size: 24px; }
    .hero-stat { padding: 10px 6px; }
    .hero-stat span, .hero-stat p { font-size: 11px; }

    /* Keep 2 columns - never single column */
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .service-card { padding: 14px 10px; }
    .service-icon { width: 42px; height: 42px; font-size: 18px; margin-bottom: 8px; }
    .service-card h3 { font-size: 13px; }
    .service-card p { font-size: 11px; -webkit-line-clamp: 2; }

    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .project-image { height: 100px; }
    .project-info { padding: 10px; }
    .rfid-item h3 { font-size: 12px; }
    .rfid-item p { font-size: 10px; -webkit-line-clamp: 2; }

    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .partner-card { padding: 12px 8px; }
    .partner-card-logo { width: 45px; height: 45px; }
    .partner-card h4 { font-size: 11px; }
    .clients-logos { grid-template-columns: repeat(2, 1fr); }

    .philosophy-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .philosophy-card { padding: 14px 10px; }

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

    .section { padding: 40px 0; }
    .container { padding: 0 12px; }

    .page-header { padding: 70px 0 35px; }
    .page-header h1 { font-size: 22px; }

    .section-title h2 { font-size: 20px; }
    .section-header h2 { font-size: 20px; }
    .about-text h2 { font-size: 20px; }

    .cta-section h2 { font-size: 18px; }
    .cta-section p { font-size: 13px; }
    .cta-section .btn { padding: 10px 20px; font-size: 14px; }

    .goals-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .certificates-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }

    /* Contact - compact */
    .contact-info-card { padding: 12px; }
    .contact-form-card { padding: 18px 14px; }

    /* Management */
    .manager-info-side { padding: 18px 14px; }
    .manager-bio { font-size: 13px; }
}
