/* ============================================
   Kyan Libya Company - Professional Website
   Colors: Deep Blue (#1a3a5f) & Teal (#00a8b5)
   ============================================ */

:root {
    --primary-blue: #1a3a5f;
    --primary-teal: #00a8b5;
    --dark-blue: #0f2538;
    --light-teal: #4dd4e0;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-gray: #666666;
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    color: var(--dark-gray);
    line-height: 1.6;
}

html[dir="ltr"],
body[dir="ltr"] {
    direction: ltr !important;
}

html[dir="ltr"] body,
body[dir="ltr"] {
    font-family: 'Poppins', 'Cairo', sans-serif;
    direction: ltr !important;
}

html[dir="ltr"] .navbar-nav,
body[dir="ltr"] .navbar-nav {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* ========== Preloader ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    width: 200px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
    margin-bottom: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========== Navigation ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-teal) !important;
}

.lang-btn {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.lang-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(0,168,181,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--light-teal);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-teal);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 181, 0.3);
}

.btn-primary:hover {
    background: var(--light-teal);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 181, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-logo {
    max-width: 400px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ========== Animations ========== */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-slide-in {
    animation: slideIn 1s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 1s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Sections ========== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-teal);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* ========== Slideshow Section ========== */
.slideshow-section {
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 80px;
}

#mainCarousel {
    position: relative;
    height: calc(100vh - 80px);
    min-height: 600px;
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 0.8s ease;
}

.carousel-item:hover .carousel-image {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.carousel-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease;
}

.carousel-logo {
    flex-shrink: 0;
}

.logo-in-slideshow {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: float 3s ease-in-out infinite;
}

.carousel-content {
    flex: 1;
    text-align: right;
    color: white;
}

html[dir="ltr"] .carousel-content,
body[dir="ltr"] .carousel-content {
    text-align: left !important;
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.carousel-subtitle {
    font-size: 1.8rem;
    color: var(--light-teal);
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.carousel-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}

.carousel-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

html[dir="ltr"] .carousel-buttons,
body[dir="ltr"] .carousel-buttons {
    justify-content: flex-start !important;
}

.carousel-buttons .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.carousel-buttons .btn-primary {
    background: var(--primary-teal);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 168, 181, 0.4);
}

.carousel-buttons .btn-primary:hover {
    background: var(--light-teal);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 168, 181, 0.5);
}

.carousel-buttons .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--primary-teal);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-teal);
    width: 30px;
    border-radius: 6px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(26, 58, 95, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-control-prev {
    right: 30px;
    left: auto;
}

.carousel-control-next {
    left: 30px;
    right: auto;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-teal);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LTR Support for Carousel */
html[dir="ltr"] .carousel-control-prev,
body[dir="ltr"] .carousel-control-prev {
    right: auto !important;
    left: 30px !important;
}

html[dir="ltr"] .carousel-control-next,
body[dir="ltr"] .carousel-control-next {
    left: auto !important;
    right: 30px !important;
}

/* Scroll Indicator for Slideshow */
.slideshow-section .scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
}

.slideshow-section .scroll-indicator:hover {
    color: var(--primary-teal);
}

/* Responsive Slideshow */
@media (max-width: 992px) {
    .carousel-content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .logo-in-slideshow {
        width: 200px;
    }
    
    .carousel-content {
        text-align: center !important;
    }
    
    .carousel-title {
        font-size: 2.5rem;
    }
    
    .carousel-subtitle {
        font-size: 1.5rem;
    }
    
    .carousel-description {
        font-size: 1.1rem;
    }
    
    .carousel-buttons {
        justify-content: center !important;
    }
}

@media (max-width: 768px) {
    #mainCarousel {
        height: calc(100vh - 80px);
        min-height: 500px;
    }
    
    .carousel-content-wrapper {
        gap: 1.5rem;
    }
    
    .logo-in-slideshow {
        width: 150px;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-subtitle {
        font-size: 1.3rem;
    }
    
    .carousel-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .carousel-buttons .btn {
        width: 100%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        right: 15px;
    }
    
    .carousel-control-next {
        left: 15px;
    }
    
    body[dir="ltr"] .carousel-control-prev {
        left: 15px;
        right: auto;
    }
    
    body[dir="ltr"] .carousel-control-next {
        right: 15px;
        left: auto;
    }
}

@media (max-width: 576px) {
    #mainCarousel {
        min-height: 400px;
    }
    
    .logo-in-slideshow {
        width: 120px;
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-subtitle {
        font-size: 1.1rem;
    }
    
    .carousel-description {
        font-size: 0.95rem;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
}

/* ========== Services Section ========== */
.services-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 168, 181, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== Products Section ========== */
.products-section {
    padding: 80px 0;
    background: white;
}

/* ========== Products Gallery Section ========== */
.products-gallery-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.product-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.product-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 168, 181, 0.3);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
}

.product-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-gallery-item:hover .product-gallery-image {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26, 58, 95, 0.9), rgba(0, 168, 181, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 15px;
}

.product-gallery-item:hover .product-overlay {
    opacity: 1;
}

.product-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.product-gallery-item:hover .product-overlay-content {
    transform: translateY(0);
}

.product-overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.product-overlay-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.product-overlay-content .btn {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-overlay-content .btn:hover {
    background: var(--primary-teal);
    color: white;
    transform: scale(1.05);
}

/* Animation for product gallery items */
.product-gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.product-gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.product-gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.product-gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    color: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(26, 58, 95, 0.3);
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.product-card h5 {
    font-weight: 700;
    font-size: 1.3rem;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
    margin: 0;
}

.contact-details a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form .form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 0.2rem rgba(0, 168, 181, 0.25);
}

.contact-form textarea {
    resize: vertical;
}

/* ========== About Page ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--light-teal);
}

.about-section {
    padding: 80px 0;
    background: white;
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.about-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.about-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.about-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--primary-teal);
    font-size: 1.2em;
}

.about-image-wrapper {
    text-align: center;
}

.about-logo {
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.vision-mission-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-teal), var(--primary-blue));
}

.vision-card::before {
    background: linear-gradient(180deg, var(--primary-teal), var(--light-teal));
}

.mission-card::before {
    background: linear-gradient(180deg, var(--primary-blue), var(--primary-teal));
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.vision-card .card-icon {
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
}

.mission-card .card-icon {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
}

.card-title {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.card-text {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.1rem;
}

.goal-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 168, 181, 0.2);
}

.goal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.goal-card:hover .goal-icon {
    transform: scale(1.1) rotate(5deg);
}

.goal-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.goal-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal), var(--light-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-left: 1rem;
    flex-shrink: 0;
}

.info-content h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-gray);
    margin: 0;
}

.info-content a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-blue);
}

/* ========== Footer ========== */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 50px 0 20px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer h5 {
    color: var(--primary-teal);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-teal);
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary-teal);
    margin-left: 0.75rem;
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .lang-btn {
        margin: 0.5rem auto;
        display: block;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .product-card,
    .goal-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-item,
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon,
    .info-icon {
        margin: 0 auto 1rem;
    }
    
    .product-image-wrapper {
        height: 250px;
    }
    
    .product-overlay-content {
        padding: 1.5rem;
    }
    
    .product-overlay-content h4 {
        font-size: 1.3rem;
    }
    
    .product-overlay-content p {
        font-size: 0.9rem;
    }
}

/* ========== Smooth Scroll ========== */
html {
    scroll-behavior: smooth;
}

/* ========== LTR Support ========== */
html[dir="ltr"] .section-title::after,
body[dir="ltr"] .section-title::after {
    right: auto !important;
    left: 0 !important;
}

html[dir="ltr"] .navbar-nav .nav-link::after,
body[dir="ltr"] .navbar-nav .nav-link::after {
    right: auto !important;
    left: 50% !important;
}

html[dir="ltr"] .footer-links a:hover,
body[dir="ltr"] .footer-links a:hover {
    padding-right: 0 !important;
    padding-left: 5px !important;
}

html[dir="ltr"] .contact-icon,
html[dir="ltr"] .info-icon,
body[dir="ltr"] .contact-icon,
body[dir="ltr"] .info-icon {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

html[dir="ltr"] .vision-mission-card::before,
body[dir="ltr"] .vision-mission-card::before {
    right: auto !important;
    left: 0 !important;
}

