/* ============================================
   JAKALAT GLOBAL RESOURCES LTD - Main Stylesheet
   Premium Corporate Website Design
   ============================================ */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --primary: #8B1E23;
    --primary-dark: #6d1820;
    --primary-light: #a8252c;
    --secondary: #1B2E5B;
    --secondary-dark: #142247;
    --secondary-light: #243d75;
    --accent: #2F80ED;
    --accent-light: #5999f1;
    --bg-light: #F8F9FA;
    --bg-dark: #0a0e1a;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --text-light: #adb5bd;
    --white: #ffffff;
    --success: #198754;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #0dcaf0;
    --border-color: #dee2e6;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 60px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============================================
   Global Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--primary-dark);
}

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

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

#preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

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

.loader {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.loader-bar {
    width: 8px;
    height: 40px;
    background: var(--primary);
    border-radius: 4px;
    animation: loaderBar 0.8s ease-in-out infinite;
}

.loader-bar:nth-child(2) { animation-delay: 0.1s; }
.loader-bar:nth-child(3) { animation-delay: 0.2s; }

@keyframes loaderBar {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.2); }
}

.loader-logo {
    display: block;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 3px;
}

.loader-tagline {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
    background: var(--secondary);
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

@media (min-width: 992px) {
    .navbar {
        top: 38px;
    }
    .navbar.scrolled {
        top: 0;
    }
}

.top-bar-left span {
    margin-right: 15px;
}

.top-social {
    color: rgba(255,255,255,0.7);
    margin-left: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.top-social:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   Navbar
   ============================================ */
.navbar-home {
    background: transparent;
    padding: 18px 0;
    transition: all 0.4s ease;
}

.navbar-scrolled,
.navbar-home.scrolled {
    background: rgba(27, 46, 91, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

.navbar {
    z-index: 9999;
    transition: all 0.4s ease;
}

.brand-icon svg {
    width: 42px;
    height: 42px;
}

.brand-name {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 2px;
    display: block;
    line-height: 1.1;
}

.brand-sub {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    display: block;
    opacity: 0.8;
    text-transform: uppercase;
}

.navbar-home .brand-name {
    color: var(--white);
}

.navbar-scrolled .brand-name,
.navbar-home.scrolled .brand-name {
    color: var(--white);
}

.navbar-nav .nav-link {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85) !important;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

/* Mobile Offcanvas Menu Overrides */
.offcanvas .navbar-nav .nav-link {
    color: var(--text-dark) !important;
}

.offcanvas .navbar-nav .nav-link:hover,
.offcanvas .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}


.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown */
.mega-dropdown {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 280px;
    border-top: 3px solid var(--primary);
}

.dropdown-header {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
}

.dropdown-item {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 20px;
}

.dropdown-item i {
    color: var(--primary);
    width: 20px;
}

.dropdown-divider {
    margin: 5px 0;
    border-color: var(--border-color);
}

/* Primary Custom Button */
.btn-primary-custom {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 30, 35, 0.35);
}

.btn-primary-custom.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-primary-custom.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
}

/* ============================================
   Hero Section (Home)
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1B2E5B 0%, #0a0e1a 50%, #8B1E23 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 30px 30px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27,46,91,0.85) 0%, rgba(10,14,26,0.7) 50%, rgba(139,30,35,0.8) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.min-vh-hero {
    min-height: 100vh;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-top: 80px;
}

.hero-badge .badge {
    font-size: 0.85rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-feature {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-feature i {
    color: #4ade80;
}

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

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   Page Hero (Inner Pages)
   ============================================ */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #1B2E5B 0%, #0a0e1a 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.page-hero .hero-overlay {
    background: linear-gradient(135deg, rgba(27,46,91,0.9) 0%, rgba(10,14,26,0.85) 100%);
}

.page-hero-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 20px 0 0;
    position: relative;
    z-index: 2;
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.page-hero .breadcrumb-item a:hover {
    color: var(--white);
}

.page-hero .breadcrumb-item.active {
    color: var(--primary);
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.5);
}

.page-hero .hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
}

.page-hero .hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ============================================
   Section Styles
   ============================================ */
.section-padding {
    padding: 90px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(139, 30, 35, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ============================================
   Cards
   ============================================ */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-slow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.service-icon {
    width: 75px;
    height: 75px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(139,30,35,0.1), rgba(47,128,237,0.1));
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.service-link {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* Feature Card */
.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.feature-card .feature-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.5rem;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.testimonial-quote {
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 15px;
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    font-size: 2.5rem;
    color: var(--primary);
}

.author-name {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0;
}

.author-position {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.author-company {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
}

/* ============================================
   Clients Slider
   ============================================ */
.clients-section {
    overflow: hidden;
}

.clients-slider {
    overflow: hidden;
    padding: 20px 0;
}

.clients-track {
    display: flex;
    gap: 30px;
    animation: scrollClients 30s linear infinite;
    width: max-content;
}

.client-logo-item {
    flex-shrink: 0;
}

.client-logo-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 80px;
    transition: var(--transition);
}

.client-logo-box:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.client-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.client-logo-box:hover .client-name {
    color: var(--primary);
}

@keyframes scrollClients {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Statistics / Counters
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, #1B2E5B 0%, #8B1E23 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    background-size: 20px 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

.stat-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

/* ============================================
   About Page Styles
   ============================================ */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.value-card .value-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

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

.team-avatar {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.6);
}

.team-info {
    padding: 25px;
}

.team-info h5 {
    font-size: 1.05rem;
    margin-bottom: 5px;
}

.team-info .team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.team-info .team-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   Services Page
   ============================================ */
.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 20px;
}

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

.benefit-list li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.benefit-list li i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================
   Training Page
   ============================================ */
.course-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.course-header {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    padding: 25px;
    text-align: center;
    position: relative;
}

.course-header .course-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.course-header h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.course-body {
    padding: 25px;
}

.course-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.course-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.course-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.course-price {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.1rem !important;
}

/* ============================================
   Products Page
   ============================================ */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

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

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,30,35,0.1), rgba(47,128,237,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: var(--primary);
    color: var(--white);
}

.product-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.product-features li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* ============================================
   Projects Page
   ============================================ */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-image i {
    font-size: 3rem;
    color: rgba(255,255,255,0.4);
}

.project-industry {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.project-meta-item i {
    color: var(--primary);
    width: 16px;
}

/* ============================================
   Gallery
   ============================================ */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 8px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item i {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 30, 35, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ============================================
   Careers Page
   ============================================ */
.job-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.job-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.job-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.job-meta span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-meta i {
    color: var(--primary);
}

/* ============================================
   Blog
   ============================================ */
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image i {
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
}

.blog-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 1.2;
}

.blog-date .day {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.blog-date .month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.blog-body {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: rgba(139,30,35,0.1);
    color: var(--primary);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-body h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.blog-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.blog-meta i {
    color: var(--primary);
}

/* ============================================
   FAQ
   ============================================ */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius) !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 18px 25px;
    color: var(--text-dark);
    background: var(--white);
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(139,30,35,0.05);
    color: var(--primary);
}

.faq-accordion .accordion-button::after {
    background-image: none;
    content: '\F282';
    font-family: 'bootstrap-icons';
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.faq-accordion .accordion-body {
    padding: 0 25px 20px;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

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

.contact-info-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.form-title {
    font-weight: 700;
    margin-bottom: 25px;
}

/* Form Styles */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139,30,35,0.1);
}

.form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 70px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

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

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer-links a::before {
    content: '\F285';
    font-family: 'bootstrap-icons';
    font-size: 0.7rem;
    color: var(--primary);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 3px;
}

.cert-badge {
    font-size: 0.8rem;
    padding: 4px 0;
}

.footer-newsletter {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
}

.newsletter-form .input-group {
    max-width: 450px;
    margin-left: auto;
}

.newsletter-form .form-control {
    border-radius: var(--radius-full) 0 0 var(--radius-full);
    border: none;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    white-space: nowrap;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    margin-left: 20px;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ============================================
   WhatsApp Float
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: none;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(139,30,35,0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: var(--white);
}

/* ============================================
   Animations
   ============================================ */
[data-animation] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animation="fade-in-up"].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animation="fade-in-left"] {
    transform: translateX(-30px);
}

[data-animation="fade-in-left"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animation="fade-in-right"] {
    transform: translateX(30px);
}

[data-animation="fade-in-right"].animated {
    opacity: 1;
    transform: translateX(0);
}

[data-animation="zoom-in"] {
    transform: scale(0.8);
}

[data-animation="zoom-in"].animated {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   Utilities
   ============================================ */
.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.bg-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.text-primary-custom {
    color: var(--primary) !important;
}

.border-primary-custom {
    border-color: var(--primary) !important;
}

.shadow-hover {
    transition: var(--transition);
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }

    .navbar-home {
        background: rgba(27, 46, 91, 0.95) !important;
        backdrop-filter: blur(20px);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

    .page-hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .back-to-top {
        right: 80px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        text-align: center;
    }

    .hero-buttons .btn-lg {
        margin-bottom: 10px;
    }

    .page-hero {
        padding: 140px 0 70px;
    }

    .page-hero-title {
        font-size: 1.7rem;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .newsletter-form .newsletter-form-inline .input-group {
        flex-direction: column;
    }

    .footer-newsletter .row {
        text-align: center;
    }

    .footer-newsletter .input-group {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-bottom-links {
        margin-top: 10px;
    }

    .footer-bottom-links a {
        margin-left: 0;
        margin-right: 15px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-form-card {
        padding: 25px;
    }
}

/* ============================================
   Glassmorphism Utility
   ============================================ */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

/* ============================================
   Parallax Utility
   ============================================ */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .top-bar, .navbar, .whatsapp-float, .back-to-top, #preloader {
        display: none !important;
    }

    .hero-section {
        min-height: auto;
        padding: 50px 0;
    }
}