/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0c2340;
    --primary-light: #163660;
    --primary-dark: #061120;
    --accent: #f1b400;
    --accent-hover: #d49e00;
    --accent-light: #fffbeb;
    --white: #ffffff;
    --light: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --dark: #212529;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --shadow-sm: 0 2px 4px rgba(12, 35, 64, 0.04);
    --shadow-md: 0 8px 30px rgba(12, 35, 64, 0.08);
    --shadow-lg: 0 15px 40px rgba(12, 35, 64, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #1a3a6e;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
    border: 2px solid #1a3a6e;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}
/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #1a3a6e;
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

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

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

/* Buttons */
.btn-premium {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-premium:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-premium-accent {
    background: var(--accent);
    color: var(--primary-dark);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-premium-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-premium-outline {
    background: transparent;
    color: var(--white);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-premium-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header & Navbar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
}

.navbar-scrolled {
    padding: 8px 0;
    background: rgba(12, 35, 64, 0.98);
    backdrop-filter: blur(10px);
}

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

.navbar-scrolled .navbar-brand text {
    fill: var(--white) !important;
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    padding: 8px 16px !important;
    position: relative;
}

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

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

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

/* Hero Section / Slider */
.hero-slider-container {
    position: relative;
    height: calc(100vh - 72px);
    min-height: 500px;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 17, 32, 0.9) 0%, rgba(12, 35, 64, 0.4) 100%);
    z-index: 1;
}

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

.hero-slide.active .slide-bg {
    transform: scale(1);
}

.slide-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.2s;
}

.slide-content p {
    font-size: 1.25rem;
    color: var(--gray-200);
    margin-bottom: 30px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.4s;
}

.slide-content .slide-btns {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.6s;
}

.hero-slide.active .slide-content h1,
.hero-slide.active .slide-content p,
.hero-slide.active .slide-content .slide-btns {
    transform: translateY(0);
    opacity: 1;
}

/* Slider Controls */
.slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: var(--transition);
}

.slider-control:hover {
    background: var(--accent);
    color: var(--primary);
}

.slider-prev { left: 30px; }
.slider-next { right: 30px; }

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

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-bg-light {
    background-color: var(--light);
}

.section-title-wrapper {
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Why Choose Us Feature Cards */
.feature-box-classic {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: var(--transition);
}

.feature-box-classic:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(241, 180, 0, 0.3);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
    transition: var(--transition);
}

.feature-box-classic:hover .feature-icon-wrapper {
    background: var(--primary);
    color: var(--white);
}

.feature-box-classic h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.service-card-body {
    padding: 30px;
}

.service-card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.stats-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
}

.stats-text {
    font-size: 1.1rem;
    color: var(--gray-300);
    font-weight: 500;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    position: relative;
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: var(--gray-100);
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gray-800);
    margin-bottom: 25px;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
    border: 2px solid var(--accent);
}

.testimonial-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.testimonial-company {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* CTA Contact Section */
.cta-section {
    background: var(--light);
    border-top: 1px solid var(--gray-200);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius);
    padding: 60px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 15px;
}

/* Contact Form & Page */
.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-method-text h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-method-text p {
    color: var(--gray-300);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

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

.form-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.form-control {
    font-family: var(--font-body);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(241, 180, 0, 0.15);
}

/* Timeline (About Page) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--gray-200);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--accent);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left-item {
    left: 0;
}

.right-item {
    left: 50%;
}

.right-item::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--light);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

/* Page Header (Inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    position: relative;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.breadcrumb {
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--gray-300);
}

.breadcrumb-item.active {
    color: var(--accent);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--gray-300);
    padding-top: 80px;
    padding-bottom: 30px;
    border-top: 5px solid var(--accent);
}

.footer h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent);
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: var(--gray-300);
}

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

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1050;
}

.fab-main-btn {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(241, 180, 0, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

/* Pulsing effect */
.fab-main-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
    animation: fab-pulse 2s infinite;
    z-index: -1;
}

.fab-main-btn:hover {
    background: var(--primary);
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(12, 35, 64, 0.4);
}

.fab-main-btn i {
    transition: transform 0.5s ease;
}

.fab-container.active .fab-main-btn i {
    transform: rotate(135deg);
}

.fab-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.fab-container.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.fab-item-label {
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.fab-item:hover .fab-item-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.fab-whatsapp {
    background-color: #25d366;
}

.fab-review {
    background-color: #4285f4;
}

.fab-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

@keyframes fab-pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Machine Detail Cards */
.machine-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    height: 100%;
    transition: var(--transition);
}

.machine-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 35, 64, 0.15);
}

.machine-image {
    height: 250px;
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.machine-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.machine-details {
    padding: 25px;
}

.machine-details h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.machine-specs {
    list-style: none;
    padding: 0;
    margin: 15px 0 20px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.machine-specs li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.machine-specs li i {
    color: var(--accent);
}

/* Core Values cards */
.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    height: 100%;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--accent);
}

.value-card-icon {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* Form Loader Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* 404 page */
.page-404 {
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.title-404 {
    font-size: 7rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 20px;
}

/* Responsive Overrides */
@media (max-width: 991.98px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    
    .right-item {
        left: 0%;
    }
    
    .right-item::after {
        left: 21px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1.05rem;
    }
    
    .navbar-brand img {
        max-height: 38px;
    }
    
    .footer {
        padding-top: 50px;
        text-align: center;
    }
    
    .footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
}
