/* Nitank Website Clone - Professional CSS Stylesheet */

/* ========== CSS Variables ========== */
:root {
    /* Primary Colors - Israeli Business Aesthetic */
    --primary-blue: #003d7a;
    --secondary-blue: #005eb8;
    --accent-blue: #0078d4;
    --light-blue: #e6f2ff;
    
    /* Neutral Colors */
    --dark-gray: #1a1a1a;
    --medium-gray: #666666;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* Success/Action Colors */
    --success-green: #28a745;
    --warning-orange: #ff9800;
    
    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Page Load Animation */
body.page-loaded section {
    animation: fadeInUp 0.8s ease-out backwards;
}

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

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--accent-blue));
    transition: width 0.6s ease;
}

section:hover h1::after,
section:hover h2::after {
    width: 100%;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

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

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

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

/* ========== Container & Layout ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

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

/* ========== Header & Navigation ========== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.nav-link.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--spacing-xs);
    border: none;
    background: transparent;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.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 Section ========== */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23ffffff" fill-opacity="0.1"/></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #005eb8 100%);
    color: var(--white);
    border-color: var(--secondary-blue);
    box-shadow: 0 4px 15px rgba(0, 94, 184, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #006dd1 100%);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 94, 184, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-success {
    background-color: var(--success-green);
    color: var(--white);
    border-color: var(--success-green);
}

.btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

/* ========== Cards ========== */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
    height: 100%;
}

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

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary-blue);
    margin-bottom: var(--spacing-sm);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-sm);
}

/* ========== Side Scroll Indicator & Scroll-to-Top Button ========== */
.scroll-indicator {
    position: fixed;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 220px;
    background: rgba(0,0,0,0.06);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1200;
    display: block;
    padding: 6px;
    overflow: hidden;
}

/* The moving thumb that indicates position; always visible with min-height */
.scroll-indicator__thumb {
    position: absolute;
    right: 8px;
    left: 8px;
    top: 6px;
    width: calc(100% - 16px);
    height: 28px; /* visible minimum */
    background: linear-gradient(180deg, var(--secondary-blue), var(--accent-blue));
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transform: translateY(0);
    transition: transform 0.12s linear;
    pointer-events: none;
}

.scroll-top-btn {
    position: fixed;
    right: 18px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--secondary-blue), var(--primary-blue));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 1200;
    transition: transform 0.18s ease, opacity 0.2s ease;
    opacity: 0.98;
}

.scroll-top-btn.hidden {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
    pointer-events: none;
}

.scroll-top-btn svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* Mobile adjustments */
@media (max-width: 720px) {
    .scroll-indicator { display: none; }
    .scroll-top-btn { right: 12px; bottom: 18px; }
}


/* ========== Grid System ========== */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ========== Services Section ========== */
.service-item {
    text-align: center;
    padding: var(--spacing-md);
}
.client-logo-3d {
    cursor: pointer;
    transition: transform 0.33s cubic-bezier(0.4, 2, 0.6, 1), box-shadow 0.33s;
    will-change: transform, box-shadow;
}
.client-logo-3d:hover {
    transform: scale(1.13) rotate(-2deg);
    z-index: 2;
    box-shadow: 0 12px 40px 0 rgba(0,61,122,0.18), 0 2px 12px 0 rgba(0,0,0,0.10);
}

.service-icon {
    font-size: 4rem;
    color: var(--secondary-blue);
    margin-bottom: var(--spacing-sm);
}

/* ========== Contact Form ========== */
.form-group {
    margin-bottom: var(--spacing-md);
}

/* ========== Bottom Sheet (fixed / sticky) ==========
   Makes the consultation popup fixed to the viewport (bottom corner)
   so it remains visible while the user scrolls. High z-index prevents
   other elements from covering it. */
/* overlay is hidden and non-interactive by default to avoid blocking site clicks */
.bottom-sheet-overlay {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    display: none;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none; /* allow clicks to pass through when not active */
    z-index: 20000;
}

/* when active, show overlay and accept pointer events */
.bottom-sheet-overlay.active {
    display: flex;
    pointer-events: auto;
}

.bottom-sheet {
    /* full width bottom bar */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    background: var(--white);
    border-radius: 0px;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
    z-index: 20001;
    overflow: hidden;
    transform: none !important;
}

.bottom-sheet .bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
}

.bottom-sheet .bottom-sheet-content {
    padding: 12px 16px 16px 16px;
}

.bottom-sheet .bottom-sheet-footer {
    padding: 12px 16px 16px 16px;
}

/* Bottom Sheet Elements Styling */
.bottom-sheet-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1.3;
}

.bottom-sheet-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.bottom-sheet-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.bottom-sheet-handle {
    width: 40px;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    margin: 8px auto;
}

/* Form inside Bottom Sheet - Using Enhanced Styles Below */
#bottomSheetForm {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

/* Enhanced Popup Styles */
.popup-intro {
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    padding: 12px 16px;
    border-radius: 8px;
}

.intro-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
}

.phone-link {
    color: #005eb8;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #003d7a;
    text-decoration: underline;
}

/* Enhanced Form Styles */
.enhanced-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 14px 42px 14px 14px !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    background: white !important;
}

.input-group input:focus {
    border-color: #005eb8 !important;
    box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.1) !important;
    outline: none !important;
    transform: translateY(-2px);
}

.input-group input::placeholder {
    color: #999;
}

/* Enhanced Submit Button */
.btn-submit-enhanced {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #005eb8 0%, #003d7a 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 94, 184, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-submit-enhanced:hover::before {
    left: 100%;
}

.btn-submit-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 94, 184, 0.4);
}

.btn-submit-enhanced:active {
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-submit-enhanced:hover .btn-icon {
    transform: translateX(-5px);
}

.privacy-note {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin: 12px 0 0;
    font-style: italic;
}

/* Mobile: make it full-width and anchored to bottom */
@media (max-width: 720px) {
    .bottom-sheet {
        left: 0;
        right: 0;
        width: 100%;
        bottom: 0;
        border-radius: 12px 12px 0 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .bottom-sheet-title {
        font-size: 0.95rem;
        line-height: 1.3;
    }
    
    .bottom-sheet .bottom-sheet-header {
        padding: 10px 12px;
        background: linear-gradient(135deg, #005eb8 0%, #003d7a 100%);
        border-radius: 12px 12px 0 0;
    }
    
    .bottom-sheet-title {
        color: white !important;
    }
    
    .bottom-sheet-close {
        color: white !important;
        background: rgba(255, 255, 255, 0.2) !important;
        font-size: 1.3rem;
        width: 28px;
        height: 28px;
    }
    
    .bottom-sheet-close:hover {
        background: rgba(255, 255, 255, 0.3) !important;
    }
    
    .bottom-sheet .bottom-sheet-content {
        padding: 12px;
    }
    
    .bottom-sheet .bottom-sheet-footer {
        padding: 10px 12px;
        background: #f8f9fa;
        border-top: 1px solid #e0e0e0;
    }
    
    .popup-intro {
        padding: 8px 10px;
        margin-bottom: 10px;
    }
    
    .intro-title {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .phone-link {
        font-size: 0.95rem;
    }
    
    /* שדות בעמודה אחת במובייל */
    .enhanced-form {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }
    
    .input-group {
        width: 100%;
    }
    
    .input-group input {
        font-size: 16px !important;
        padding: 11px 38px 11px 12px !important;
        border-radius: 8px !important;
    }
    
    .input-icon {
        font-size: 1rem;
        left: 10px;
    }
    
    .btn-submit-enhanced {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    .btn-icon {
        font-size: 1.1rem;
    }
    
    .privacy-note {
        font-size: 0.75rem;
        margin-top: 8px;
    }
    
    .bottom-sheet-handle {
        width: 35px;
        height: 3px;
        margin: 6px auto;
    }
}

/* Animations for bottom bar */
@keyframes bottomSlideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    60% {
        transform: translateY(-6px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ctaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* apply slide-up when overlay becomes active */
.bottom-sheet-overlay.active .bottom-sheet {
    animation: bottomSlideUp 420ms cubic-bezier(.22,.9,.25,1) both;
}

/* subtle CTA pulse on open (runs once) */
.bottom-sheet-overlay.active .bottom-sheet .btn-primary {
    animation: ctaPulse 900ms ease 200ms 1 both;
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--dark-gray);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    font-family: var(--font-primary);
}

.formenhanced-form {
        grid-template-columns: 1fr !important;
    }
    
    .input-group input {
        font-size: 16px !important;
        padding: 14px 14px 14px 45px !important;
    }
    
    .btn-submit-enhanced {
        font-size: 1.1rem;
        padding: 16px 20px;
    }
    
    .intro-title {
        font-size: 0.95rem
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.form-control.error {
    border-color: #dc3545;
}

.form-control.error + .form-error {
    display: block;
}

/* ========== Footer ========== */
.footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-xs);
}

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

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links li a {
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links li a::before {
    content: '→ ';
    opacity: 0;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--accent-blue);
    transform: translateX(-5px);
}

.footer-links li a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Accessibility ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

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

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.py-1 { padding-top: var(--spacing-xs); padding-bottom: var(--spacing-xs); }
.py-2 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-3 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    /* Mobile Navigation - Nitank Style */
    .header {
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #003d7a 0%, #005eb8 100%);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        align-items: flex-start;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 18px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        font-weight: 500;
        color: white;
        transition: all 0.3s;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 255, 255, 0.1);
        padding-right: 25px;
    }
    
    /* Typography - Larger & More Readable */
    h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }
    
    .hero p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    /* Buttons - Nitank Style */
    .btn {
        padding: 16px 32px;
        font-size: 1.05rem;
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s;
    }
    
    .btn-primary {
        background: linear-gradient(135deg, var(--primary-blue) 0%, #005eb8 100%);
        box-shadow: 0 4px 15px rgba(0, 61, 122, 0.3);
    }
    
    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 61, 122, 0.4);
    }
    
    /* Sections - Better Spacing */
    .section {
        padding: 50px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Grid */
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Cards - Nitank Style */
    .product-card,
    .service-card {
        padding: 30px 20px;
        margin-bottom: 20px;
        border-radius: 12px;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s;
    }
    
    .product-card:hover,
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
    
    /* Footer */
    .footer {
        background: linear-gradient(135deg, #003d7a 0%, #005eb8 100%);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .footer-section {
        padding: 20px 0;
    }
    
    .footer-section h3 {
        color: white;
        margin-bottom: 15px;
    }
    
    .footer-links li a {
        color: rgba(255, 255, 255, 0.9);
        padding: 8px 0;
        display: block;
    }
    
    /* Hero Home */
    .hero-home {
        min-height: 70vh;
        padding: 40px 0;
        background: linear-gradient(135deg, rgba(0, 61, 122, 0.95) 0%, rgba(0, 94, 184, 0.9) 100%),
                url('images/hero-bg.jpg');
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 35px;
    }
    
    .stat-item {
        padding: 25px;
        min-width: 100%;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .stat-number {
        font-size: 2.5rem;
        color: var(--primary-blue);
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1.05rem;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float a {
        width: 60px;
        height: 60px;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero {
        min-height: 400px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .menu-toggle,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ========== Products Page ========== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
            .carousel-item {
                min-height: 220px;
                background-size: cover !important;
                background-position: center !important;
                background-repeat: no-repeat !important;
                width: 100%;
                border-radius: 16px;
                box-shadow: 0 2px 12px rgba(0,61,122,0.08);
            }
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
    top: -25%;
    left: -25%;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 61, 122, 0.3);
}

.product-image {
    width: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    min-height: 350px;
}

.product-image img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
}

.product-content {
    padding: var(--spacing-md);
}

.product-content h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.product-content p {
    color: var(--medium-gray);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.product-count {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.hero-small {
    padding: var(--spacing-xl) 0;
    min-height: auto;
}

.hero-small .hero-content h1 {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .product-content h2 {
        font-size: 1.25rem;
    }
    
    .hero-small .hero-content h1 {
        font-size: 2rem;
    }
}

/* ========== Product Items (Category Pages) ========== */
.product-item-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-item-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-item-image {
    width: 100%;
    height: 280px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-item-content {
    padding: var(--spacing-md);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-item-content h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
}

/* ========== Product Details Page ========== */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
    margin-bottom: var(--spacing-lg);
}

.product-image-section {
    text-align: center;
    position: sticky;
    top: var(--spacing-md);
}

.product-image-section img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* תיקון למובייל - חייב להיות אחרי ההגדרה הכללית כדי לעשות override */
@media (max-width: 768px) {
    .product-details {
        grid-template-columns: 1fr;
    }
    
    /* ביטול sticky למובייל כדי שהתמונה לא תחסום את התוכן */
    .product-image-section {
        position: relative !important;
        top: 0 !important;
    }
}

.product-details-section h2 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.product-details-section h3 {
    color: var(--secondary-green);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.product-details-section p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.specs-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.specs-table th,
.specs-table td {
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: right;
    border-bottom: 1px solid var(--light-gray);
}

.specs-table tbody tr:hover {
    background: #f8f9fa;
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.product-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* ========== Coming Soon Badge ========== */
.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
}

.product-image {
    position: relative;
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.breadcrumb {
    margin-bottom: var(--spacing-sm);
    color: var(--white);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ========== Products Grid Layout ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        padding: 1rem 0 !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 1rem 0 !important;
    }
}

.product-item-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.product-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-item-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 271/305;
    object-fit: cover;
    display: block;
}

.product-name {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    margin: 0;
}

.product-actions {
    padding: 0 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-product-details,
.btn-enquire {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: all var(--transition-fast);
    display: inline-block;
}

.btn-product-details {
    background: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--primary-blue);
}

.btn-product-details:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-enquire {
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-enquire:hover {
    background: #20BD5A;
    border-color: #20BD5A;
}

.btn-enquire i {
    font-size: 1.2rem;
}

/* Product Cards Mobile Optimization */
@media (max-width: 768px) {
    .product-item-card {
        border-radius: 8px;
    }
    
    .product-item-card img,
    .product-item-image img {
        height: 180px !important;
        object-fit: cover;
    }
    
    .product-item-image {
        height: 180px;
    }
    
    .product-item-content,
    .product-item-info {
        padding: 12px 8px;
    }
    
    .product-item-content h3,
    .product-item-info h3 {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    
    .product-item-info p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .product-item-actions {
        flex-direction: column;
        gap: 8px;
        padding: 0 8px 12px;
    }
    
    .product-item-actions .btn {
        width: 100%;
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-item-card img,
    .product-item-image img {
        height: 150px !important;
    }
    
    .product-item-image {
        height: 150px;
    }
    
    .product-item-content,
    .product-item-info {
        padding: 10px 6px;
    }
    
    .product-item-content h3,
    .product-item-info h3 {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }
    
    .product-item-info p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .product-item-actions {
        padding: 0 6px 10px;
        gap: 6px;
    }
    
    .product-item-actions .btn {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
}

/* ========== WhatsApp Float Button ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ========== Enhanced Homepage Styles ========== */

/* Hero Home Section */
.hero-home {
    min-height: 70vh;
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(0, 61, 122, 0.95) 0%, rgba(0, 94, 184, 0.9) 100%),
            url('images/hero-bg.jpg');
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 149, 218, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 94, 184, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-home .hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge span {
    margin-left: 8px;
    font-weight: bold;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 40px 0;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.stat-item {
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
}

.stat-item:hover::before {
    width: 150%;
    height: 150%;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s backwards;
}

.hero-buttons .btn {
    display: flex;
    align-items: center;
    padding: 14px 32px;
    font-size: 1.05rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.9;
    animation: fadeIn 0.5s ease 0s backwards;
    transition: opacity 0.3s ease;
}

.hero-scroll-indicator:hover {
    opacity: 1;
}

.hero-scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.scroll-wheel {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: relative;
    animation: spin 3s linear infinite;
    margin: 0 auto;
}

.wheel-spoke {
    position: absolute;
    width: 2px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8);
    top: 50%;
    left: 50%;
    transform-origin: 1px 50%;
}

.wheel-spoke:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg); }
.wheel-spoke:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg); }
.wheel-spoke:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg); }
.wheel-spoke:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg); }

.wheel-center {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #005eb8, #007bff);
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--secondary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary-blue), transparent);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.section-services {
    padding: 100px 0;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 61, 122, 0.25);
    border-color: var(--primary-blue);
}

.service-card-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.service-card-text {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.service-features li {
    padding: 10px 0;
    color: var(--dark-gray);
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-right: 24px;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--secondary-blue);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.service-link:hover {
    gap: 12px;
    color: var(--accent-blue);
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-link:hover svg {
    transform: translateX(-4px);
}

/* Feature Boxes */
.section-why-us {
    padding: 100px 0;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-blue) 0%, #e3f2fd 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-blue);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #003d7a 0%, #005eb8 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 149, 218, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-description {
    font-size: 1.1rem;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-cta-primary {
    background: white;
    color: var(--primary-blue);
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-item {
        background: rgba(0, 0, 0, 0.4);
        padding: 20px 30px;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        animation: statPulse 3s ease-in-out infinite;
    }
    
    @keyframes statPulse {
        0%, 100% {
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
        }
        50% {
            box-shadow: 0 0 40px rgba(255, 255, 255, 0.6), 0 0 60px rgba(0, 184, 255, 0.3);
        }
    }
    
    .stat-number {
        font-size: 2rem;
        color: white !important;
        animation: popAndGlow 2s ease-in-out infinite;
        font-weight: 800;
    }
    
    @keyframes popAndGlow {
        0%, 100% {
            transform: scale(1);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 
                         0 0 10px rgba(255, 255, 255, 0.4),
                         0 0 20px rgba(255, 255, 255, 0.3);
        }
        25% {
            transform: scale(1.15);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 
                         0 0 20px rgba(255, 255, 255, 0.8),
                         0 0 40px rgba(255, 255, 255, 0.6),
                         0 0 60px rgba(0, 184, 255, 0.5),
                         0 0 80px rgba(0, 184, 255, 0.3);
        }
        50% {
            transform: scale(1);
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 
                         0 0 10px rgba(255, 255, 255, 0.4),
                         0 0 20px rgba(255, 255, 255, 0.3);
        }
    }
    
    .stat-label {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-home {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        background: rgba(0, 0, 0, 0.5);
        padding: 18px 25px;
        border-radius: 12px;
        backdrop-filter: blur(10px);
        animation: statPulse 3s ease-in-out infinite;
    }
    
    .stat-number {
        color: white !important;
        animation: popAndGlow 2s ease-in-out infinite;
        font-weight: 800;
    }
    
    .stat-label {
        color: white !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }
}

/* ========== Products Carousel ========== */
.section-featured-products {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

/* Simple Carousel */
.simple-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 100%;
    background-size: 400px;
    background-position: left 70% center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    left: 0;
}

.carousel-item.active {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    animation: flashSlide 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flashSlide {
    0% { 
        opacity: 0;
        transform: scale(0.92) translateX(30px);
        filter: brightness(1.5) saturate(1.3);
    }
    30% {
        filter: brightness(1.3) saturate(1.2);
    }
    60% {
        filter: brightness(1.1) saturate(1.1);
    }
    100% { 
        opacity: 1;
        transform: scale(1) translateX(0);
        filter: brightness(1) saturate(1);
    }
}

.carousel-content {
    flex: 0 0 auto;
    padding: 60px;
    max-width: 450px;
    margin-right: auto;
    margin-left: 0;
}

.carousel-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.carousel-content p {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.2);
}

.carousel-control::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--secondary-blue), var(--accent-blue));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s;
}

.carousel-control:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 61, 122, 0.4);
}

.carousel-control:hover::after {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

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

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    opacity: 0;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

.dot.active::after {
    opacity: 1;
    animation: ripple 1.5s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive Carousel for Mobile */
@media (max-width: 768px) {
    .section-featured-products {
        padding: 60px 0;
        background: linear-gradient(135deg, #003d7a 0%, #005eb8 100%);
    }
    
    .section-featured-products .section-label {
        background: white;
        color: var(--primary-blue);
    }
    
    .section-featured-products .section-title,
    .section-featured-products .section-description {
        color: white;
    }
    
    .simple-carousel {
        padding: 0 10px;
    }
    
    .carousel-wrapper {
        height: auto;
        min-height: 500px;
    }
    
    .carousel-item {
        background-size: 250px;
        background-position: center 30px;
        flex-direction: column;
        justify-content: flex-end;
        padding: 0;
        min-height: 500px;
        background-color: white;
    }
    
    .carousel-content {
        padding: 300px 25px 35px 25px;
        max-width: 100%;
        margin: 0;
        text-align: center;
        background: white;
        border-radius: 16px;
        box-shadow: none;
    }
    
    .carousel-content h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
        line-height: 1.3;
        color: var(--primary-blue);
        font-weight: 700;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 25px;
        line-height: 1.6;
        color: #555;
    }
    
    .carousel-content .btn {
        width: 100%;
        padding: 16px 30px;
        font-size: 1.05rem;
        background: linear-gradient(135deg, var(--primary-blue) 0%, #005eb8 100%);
        border: none;
        box-shadow: 0 4px 15px rgba(0, 61, 122, 0.3);
    }
    
    .carousel-content .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 61, 122, 0.4);
    }
    
    .carousel-control {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        border-width: 2px;
        background: white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }
    
    .carousel-control.prev {
        left: 10px;
    }
    
    .carousel-control.next {
        right: 10px;
    }
    
    .carousel-dots {
        margin-top: 25px;
    }
    
    .dot {
        height: 12px;
        width: 12px;
        margin: 0 6px;
        background-color: rgba(255, 255, 255, 0.5);
    }
    
    .dot.active,
    .dot:hover {
        background-color: white;
    }
}

@media (max-width: 480px) {
    /* Extra Small Phones - Ultra Touch Friendly */
    .carousel-wrapper {
        height: 600px;
    }
    
    .carousel-item {
        background-size: 220px;
        background-position: center 55%;
    }
    
    .carousel-content {
        padding: 30px 20px;
    }
    
    .carousel-content h3 {
        font-size: 1.5rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .carousel-content .btn {
        padding: 16px 25px;
        font-size: 1rem;
    }
    
    /* Hero */
    .hero-home {
        min-height: 60vh;
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Typography */
    h1 {
        font-size: 1.9rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Section Spacing */
    .section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Cards */
    .product-card,
    .service-card {
        padding: 20px 15px;
    }
    
    /* WhatsApp Button */
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float a {
        width: 55px;
        height: 55px;
    }
    
    /* Navigation */
    .nav-link {
        font-size: 1.05rem;
        padding: 16px 12px;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
}

.section-featured-products .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-featured-products .section-label {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.section-featured-products .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.section-featured-products .section-description {
    font-size: 1.15rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
}

.products-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-container {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    width: 100%;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    display: block;
    visibility: visible;
    opacity: 1;
}

.featured-product-card {
    background: transparent;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 60px;
    padding: 60px 40px;
    min-height: 450px;
    position: relative;
    width: 100%;
    visibility: visible;
    opacity: 1;
}

.featured-product-image {
    flex: 0 0 450px;
    width: 450px;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 20px;
}

.featured-product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    display: block;
}

.featured-product-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.featured-product-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #003d7a;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.featured-product-content p {
    font-size: 1.15rem;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 28px;
    font-weight: 400;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn svg {
    color: var(--primary-blue);
}

.carousel-btn:hover svg {
    color: white;
}

.carousel-btn-prev {
    right: 0;
}

.carousel-btn-next {
    left: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background: var(--secondary-blue);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--primary-blue);
    width: 32px;
    border-radius: 6px;
}

@media (max-width: 968px) {
    .featured-product-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        min-height: auto;
        gap: 30px;
    }
    
    .featured-product-image {
        flex: 0 0 350px;
        height: 350px;
    }
    
    .featured-product-content {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .featured-product-content h3 {
        font-size: 1.5rem;
    }
    
    .featured-product-content p {
        font-size: 1rem;
    }
    
    .products-carousel {
        padding: 0 50px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .products-carousel {
        padding: 0 40px;
    }
    
    .featured-product-image {
        flex: 0 0 280px;
        height: 280px;
    }
    
    .featured-product-content {
        padding: 30px 20px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
}


