:root {
    --brand-red: #d8031c;
    --brand-blue: #01016f;
    --brand-teal: #09637e;
    --brand-cyan: #088395;
    --brand-light: #a1e9fa;
    --text-dark: #1d2746;
    --text-muted: #6c757d;
    --white: #ffffff;
    --bg-soft: #f5fcff;
    --shadow-sm: 0 10px 30px rgba(1, 1, 111, 0.08);
    --shadow-md: 0 20px 50px rgba(1, 1, 111, 0.12);
    --radius-lg: 24px;
    --radius-md: 18px;
    --transition: all 0.35s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
    padding-top: 82px;
}

body[dir="rtl"] {
    text-align: right;
}

a {
    text-decoration: none;
}

.site-logo {
    height: 52px;
    object-fit: contain;
}

.footer-logo {
    height: 56px;
    object-fit: contain;
}

.custom-navbar {
    transition: var(--transition);
}

.custom-navbar.scrolled {
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    margin-inline: 8px;
    position: relative;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--brand-blue);
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand-red), #ff324d);
    color: var(--white);
    border: none;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(216, 3, 28, 0.2);
}

.btn-brand:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 35px rgba(216, 3, 28, 0.28);
}

.btn-brand-outline {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    background: transparent;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-brand-outline:hover {
    background: var(--brand-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at top left, rgba(161, 233, 250, 0.45), transparent 30%),
        radial-gradient(circle at bottom right, rgba(8, 131, 149, 0.18), transparent 25%),
        linear-gradient(135deg, #f8fdff 0%, #eefaff 50%, #f6fcff 100%);
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(1, 1, 111, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(1, 1, 111, 0.08);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--brand-blue);
}

.hero-text {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.8;
}

.hero-image {
    max-height: 600px;
    animation: floatY 4s ease-in-out infinite;
}

.hero-bubbles .bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(161,233,250,0.3));
    border: 1px solid rgba(255,255,255,0.65);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.25), 0 12px 30px rgba(8, 131, 149, 0.1);
    animation: bubbleFloat 12s infinite ease-in-out;
}

.bubble-1 { width: 80px; height: 80px; top: 12%; left: 8%; }
.bubble-2 { width: 42px; height: 42px; top: 22%; left: 45%; animation-delay: 2s; }
.bubble-3 { width: 100px; height: 100px; bottom: 15%; left: 12%; animation-delay: 4s; }
.bubble-4 { width: 60px; height: 60px; top: 18%; right: 14%; animation-delay: 1s; }
.bubble-5 { width: 130px; height: 130px; bottom: 10%; right: 9%; animation-delay: 3s; }

.section-padding {
    padding: 100px 0;
}

.bg-light-blue {
    background: var(--bg-soft);
}

.bg-dark-blue {
    background: linear-gradient(135deg, var(--brand-blue), #0b2b8d);
}

.section-subtitle {
    color: var(--brand-red);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-subtitle-light {
    color: var(--brand-light);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--brand-blue);
}

.section-text {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 1.05rem;
}

.section-image {
    width: 100%;
    object-fit: cover;
}

.info-card,
.category-card,
.product-card,
.contact-info-box,
.contact-form-box,
.why-card {
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.info-card {
    background: var(--white);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.info-card i {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 14px;
    display: inline-block;
}

.category-card {
    background: #fff;
    padding: 34px 26px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.category-card:hover,
.product-card:hover,
.info-card:hover,
.contact-info-box:hover,
.contact-form-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.icon-wrap {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(161, 233, 250, 0.3);
    color: var(--brand-blue);
    font-size: 1.9rem;
}

.why-card {
    background: rgba(255,255,255,0.08);
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.1);
    height: 100%;
}

.why-card i {
    font-size: 2rem;
    color: var(--brand-light);
    margin-bottom: 14px;
    display: inline-block;
}

.product-card {
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-card-body {
    padding: 24px;
}

.product-large-card img {
    height: 280px;
}

.product-tag {
    display: inline-block;
    background: rgba(1, 1, 111, 0.08);
    color: var(--brand-blue);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.cta-section {
    padding: 0 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-teal));
    color: var(--white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.cta-box h2 {
    font-weight: 800;
    margin-bottom: 12px;
}

.site-footer {
    background: #06103f;
    color: rgba(255,255,255,0.85);
    padding: 70px 0 25px;
}

.site-footer h5 {
    color: #fff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
}

.footer-links a:hover {
    color: var(--brand-light);
}

.site-footer hr {
    border-color: rgba(255,255,255,0.12);
    margin: 28px 0 18px;
}

.page-header {
    padding: 120px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(161, 233, 250, 0.45), transparent 35%),
        linear-gradient(135deg, #f8fdff 0%, #eefaff 100%);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    color: var(--brand-blue);
}

.page-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 12px auto 0;
}

.contact-info-box,
.contact-form-box {
    background: #fff;
    padding: 36px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 24px;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--brand-red);
}

.form-control {
    border-radius: 14px;
    padding: 14px 16px;
    border: 1px solid #dbe7ef;
}

.form-control:focus {
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 0.2rem rgba(8, 131, 149, 0.15);
}

.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--brand-red);
    color: var(--white);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

body[dir="rtl"] .scroll-top-btn {
    right: auto;
    left: 20px;
}

.scroll-top-btn:hover {
    transform: translateY(-4px);
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.75; }
    50% { transform: translateY(-26px) scale(1.08); opacity: 1; }
}

@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding: 50px 0 70px;
    }

    .hero-text {
        margin-inline: auto;
    }

    .cta-box {
        padding: 32px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 75px 0;
    }

    .site-logo {
        height: 46px;
    }

    .footer-logo {
        height: 48px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .product-card img,
    .product-large-card img {
        height: 220px;
    }

    .contact-info-box,
    .contact-form-box,
    .info-card,
    .category-card {
        padding: 24px;
    }
}