/* Enhanced Fancy & 3D Custom CSS for C Arab Global Website - No Tailwind CSS */

/* --------------------------------------- */
/*             General Styles              */
/* --------------------------------------- */
.body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* More modern font */
    color: #495057; /* Professional dark gray text */
    background-color: #f8f9fa; /* Soft, professional light gray background */
    margin: 0;
    line-height: 1.7; /* Improved line height for readability */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

/* RTL Support for Arabic */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .desktop-nav-item {
    margin-left: 0;
    margin-right: 30px;
}

[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .home-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .home-text {
    padding-right: 0;
    padding-left: 4%;
}

.container {
    max-width: 1250px; /* Slightly wider container */
    margin: 0 auto;
    padding-left: 35px; /* Adjusted container padding */
    padding-right: 35px;
}

/* --------------------------------------- */
/*               Header Styles             */
/* --------------------------------------- */
.header {
    background: linear-gradient(145deg, #667f99, #6da5cf); /* Deeper, more professional blue gradient */
    color: #ffffff;
    padding: 30px 0; /* Increased header padding */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* Deeper header shadow for 3D effect */
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------- Language Switcher Styles -------------------- */
.language-switcher {
    margin-left: 20px;
}

.language-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15);
    outline: none;
}

.language-select:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

.language-select:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-select option {
    background-color: #667f99;
    color: #ffffff;
    padding: 8px;
}

/* -------------------- Logo Styles -------------------- */
.logo-link {
    text-decoration: none;
    font-size: 30px; /* Larger logo font */
    font-weight: 600; /* Slightly less bold, more refined */
    display: flex;
    align-items: baseline;
    letter-spacing: 0.8px; /* More pronounced letter spacing */
}

.logo-c {
    color: #e53e3e; /* Deeper, richer red */
    font-size: 34px; /* Larger 'C' */
    margin-right: 8px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4), 0 0 6px #f44336; /* More intense shadow and glow */
}

.logo-arab {
    color: #43a047; /* Deeper, richer green */
    margin-right: 8px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4), 0 0 6px #4caf50;
}

.logo-global {
    color: #d3d7de; /* Very light, elegant gray for "Global" */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4), 0 0 6px #eceff1;
}

/* -------------------- Desktop Navigation Styles -------------------- */
.desktop-navigation {
    display: flex;
}

.desktop-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.desktop-nav-item {
    margin-left: 30px; /* Increased spacing */
}

.desktop-nav-link {
    color: #f8f9fa; /* Very light text color */
    text-decoration: none;
    padding: 14px 22px; /* Slightly larger buttons */
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.08); /* Very subtle background */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Added box-shadow to transition */
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15); /* More noticeable button shadow */
}

.desktop-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15); /* More visible hover background */
    transform: translateY(-3px); /* Increased lift effect */
    box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.3); /* Stronger hover shadow */
}

.desktop-nav-link:active {
    transform: translateY(0); /* No lift on active */
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.15); /* Reset shadow on active */
}

/* -------------------- Mobile Menu Button Styles -------------------- */
.mobile-menu-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 14px; /* Adjusted padding */
    display: none; /* Hidden on desktop by default */
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transform transition */
}

.mobile-menu-button:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1); /* Slight scale up on hover */
}

.mobile-menu-button:active {
    transform: scale(1.0); /* Reset scale on active */
}


.hamburger-icon {
    height: 28px; /* Larger icon */
    width: 28px;
    fill: white;
}

/* -------------------- Mobile Navigation Styles -------------------- */
.mobile-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #688AA9; /* Slightly darker mobile menu */
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Even smoother animation */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Deeper shadow for mobile menu */
}

.mobile-navigation.open {
    display: block; /* Override initial hidden */
    max-height: 700px; /* Increased max-height */
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    display: block;
    padding: 22px 28px; /* Increased padding for mobile links */
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Separator line */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transform transition */
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateX(5px); /* Subtle slide on hover */
}

.mobile-nav-link:active {
    transform: translateX(0); /* Reset slide on active */
}

/* --------------------------------------- */
/*             Section Styles              */
/* --------------------------------------- */
.main-content section {
    padding: 120px 0; /* Further increased section padding */
    overflow: hidden; /* Clip section content for 3D effects */
}

.section-title {
    font-size: 55px; /* Larger section titles */
    color: #33475b; /* Darker, professional section title color */
    text-align: center;
    margin-bottom: 60px; /* Increased margin */
    font-weight: 700; /* Bolder section titles */
    letter-spacing: 1.5px; /* More letter spacing */
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1); /* Deeper title shadow */
    transform: perspective(500px) rotateX(5deg); /* Slight 3D perspective for titles */
    transform-origin: center top; /* Rotation from top center */
}

/* -------------------- Home Section Styles -------------------- */
.home-section {
    background: linear-gradient(to bottom, #e8eaf6, #f0f2f5); /* Refined home section gradient */
    padding-top: 160px; /* Further increased padding */
    padding-bottom: 160px;
    position: relative; /* For parallax effect */
    overflow: hidden; /* Clip parallax background */
}

/* Parallax Background Effect for Home Section */
.home-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./shipping-infographic-bg.jpg'); /* Replace with your background image - ensure it exists */
    background-size: cover;
    background-position: center center;
    opacity: 0.08; /* Very subtle background image opacity */
    pointer-events: none; /* Make it non-interactive */
    transform: translateZ(-1px) scale(1.1); /* Subtle parallax effect */
    transform-origin: top center;
    z-index: -1; /* Behind content */
    filter: blur(3px); /* Optional: slight blur for depth */
}


.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* Ensure content is above parallax bg */
    z-index: 1;
}

.home-text {
    width: 52%; /* Slightly wider text area */
    padding-right: 4%;
}

.home-title {
    font-size: 64px; /* Even larger main title */
    color: #33475b; /* Deeper main title color */
    line-height: 1.1; /* Tighter line height for larger title */
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.15); /* Deeper title shadow */
}

.home-subtitle {
    font-size: 22px; /* Larger subtitle */
    color: #5a626d; /* Slightly darker subtitle color */
    line-height: 1.9;
    margin-bottom: 45px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08); /* Subtle subtitle shadow */
}

.home-cta-button {
    text-decoration: none;
    background-color: #496981; /* Deeper button color */
    color: #f8f9fa; /* Very light button text */
    padding: 20px 40px; /* Larger button padding */
    border: none;
    border-radius: 9px;
    font-weight: 600;
    cursor: pointer;
    font-size: 20px; /* Even larger button text */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25); /* Deeper button shadow */
    outline: none;
    letter-spacing: 0.6px;
    transform-style: preserve-3d; /* Enable 3D transforms on button */
}

.home-cta-button:hover {
    background-color: #5a7ea7; /* Lighter hover color */
    transform: translateY(-5px) translateZ(5px); /* Increased lift and slight forward movement */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35); /* Stronger hover shadow */
}

.home-cta-button:active {
    transform: translateY(0) translateZ(0); /* Reset transform on active */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25); /* Reset shadow on active */
}


.home-visual {
    width: 43%; /* Slightly narrower image area */
    border-radius: 12px; /* More rounded corners */
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.2); /* Deeper image shadow */
    transform-style: preserve-3d; /* Enable 3D transforms on image */
}

.home-infographic {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* More dynamic ease-out-back animation */
    backface-visibility: hidden; /* Improve performance for 3D transforms */
}

.home-infographic:hover {
    transform: scale3d(1.08, 1.08, 1.08) rotateY(10deg); /* 3D zoom and slight Y-rotation on hover */
    box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.3); /* Stronger shadow on image hover */
}


/* -------------------- About Section Styles -------------------- */
.about-section {
    background-color: #f9fafb; /* Softer background */
    box-shadow: inset 0 8px 16px #e6e8ea, inset 0 -8px 16px #e6e8ea; /* Even deeper inner shadow */
    padding-top: 140px; /* Increased padding */
    padding-bottom: 140px;
    transform-style: preserve-3d; /* Enable 3D transforms on section */
}

.about-container {
    text-align: center;
    transform: translateZ(20px); /* Push content forward slightly */
}

.about-title {
    /* Inherits from .section-title */
    transform: inherit; /* Reset title 3D transform from .section-title */
}

.about-text {
    max-width: 950px; /* Wider text area */
    margin: 0 auto 50px; /* Increased margin */
    color: #4a5568; /* Professional dark gray text */
    font-size: 21px; /* Slightly larger text */
    line-height: 1.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Very subtle text shadow */
}

.video-container {
    max-width: 950px; /* Wider video area */
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px; /* More rounded video corners */
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25); /* Deeper video shadow */
    transform-style: preserve-3d; /* Enable 3D transforms on video container */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-out;
}

.video-container:hover {
    transform: scale3d(1.05, 1.05, 1.05) rotateX(-3deg); /* 3D zoom and X-rotation on hover */
    box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.35); /* Stronger video shadow */
}


.embedded-video {
    width: 100%;
    height: 100%;
    border: 0;
}


/* -------------------- Shipping Section Styles -------------------- */
.shipping-section {
    background: linear-gradient(to bottom, #e6e8ea, #f0f2f5); /* Refined shipping section gradient */
    padding-top: 140px; /* Increased padding */
    padding-bottom: 140px;
    transform-style: preserve-3d; /* Enable 3D transforms on section */
}

.shipping-title {
    /* Inherits from .section-title */
    transform: inherit; /* Reset title 3D transform */
}

.shipping-container {
    /* Using container for max-width */
    transform: translateZ(10px); /* Push content forward slightly */
}

.shipping-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Even wider step boxes */
    gap: 40px; /* Increased gap */
}

.shipping-step {
    background-color: #ffffff;
    border-radius: 14px; /* More rounded step boxes */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Deeper step box shadow */
    padding: 50px; /* Increased padding */
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-out; /* Dynamic ease-out-back animation */
    transform-style: preserve-3d; /* Enable 3D transforms on steps */
}

.shipping-step:hover {
    transform: translateY(-12px) rotateZ(-2deg); /* Increased lift and slight Z-rotation on hover */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4); /* Stronger hover shadow */
}

.step-number {
    width: 70px; /* Larger step number circles */
    height: 70px;
    margin: 0 auto 25px; /* Increased margin */
    background-color: #496981;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 28px; /* Larger step number font */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Deeper step circle shadow */
    transform-style: preserve-3d; /* Enable 3D transforms on numbers */
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2); /* Number text shadow */
}

.step-title {
    font-size: 30px; /* Larger step titles */
    color: #496981; /* Deeper step title color */
    margin-bottom: 25px;
    font-weight: 600; /* Slightly less bold titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle title shadow */
}

.step-description {
    color: #5a626d; /* Professional description text color */
    font-size: 19px; /* Larger description font */
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Subtle description shadow */
}


/* -------------------- Gallery Section Styles -------------------- */
.gallery-section {
    background-color: #f9fafb; /* Softer background */
    box-shadow: inset 0 8px 16px #e6e8ea, inset 0 -8px 16px #e6e8ea; /* Deeper inner shadow */
    padding-top: 140px;
    padding-bottom: 140px;
    transform-style: preserve-3d; /* Enable 3D transforms on section */
}


.gallery-title {
    /* Inherits from .section-title */
    transform: inherit; /* Reset title 3D transform */
}

.gallery-container {
    /* Using container for max-width */
    transform: translateZ(20px); /* Push content forward slightly */
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* Even wider video columns */
    gap: 30px; /* Increased gap */
}

.video-item {
    aspect-ratio: 16 / 9;
    border-radius: 12px; /* More rounded video item corners */
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25); /* Deeper video shadow */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-out; /* Dynamic ease-out-back animation */
    transform-style: preserve-3d; /* Enable 3D transforms on video items */
}

.video-item:hover {
    transform: scale3d(1.06, 1.06, 1.06) rotateY(5deg); /* 3D zoom and slight Y-rotation on hover */
    box-shadow: 14px 14px 35px rgba(0, 0, 0, 0.4); /* Stronger video shadow */
}


.gallery-video {
    width: 100%;
    height: 100%;
    border: 0;
}


/* -------------------- Delivery Video Section Styles -------------------- */
.delivery-section {
    background: linear-gradient(to bottom, #e6e8ea, #f0f2f5); /* Refined delivery section gradient */
    padding-top: 140px;
    padding-bottom: 140px;
    transform-style: preserve-3d; /* Enable 3D transforms on section */
}

.delivery-title {
    /* Inherits from .section-title */
    transform: inherit; /* Reset title 3D transform */
}

.delivery-container {
    /* Using container for max-width */
    transform: translateZ(20px); /* Push content forward slightly */
    text-align: center;
}

.delivery-description {
    max-width: 950px; /* Wider description area */
    margin: 0 auto 60px; /* Increased margin */
    color: #4a5568; /* Professional dark gray text */
    font-size: 21px; /* Slightly larger text */
    line-height: 1.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Very subtle text shadow */
}

.delivery-video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Video columns */
    gap: 25px; /* Gap between videos */
}

.delivery-video-item {
    aspect-ratio: 9 / 16; /* Vertical video format for delivery videos */
    border-radius: 12px; /* Rounded corners */
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25); /* Deep shadow */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-out; /* Smooth animation */
    transform-style: preserve-3d; /* Enable 3D transforms */
    position: relative;
}

.delivery-video-item:hover {
    transform: scale3d(1.06, 1.06, 1.06) rotateY(5deg); /* 3D zoom and rotation on hover */
    box-shadow: 14px 14px 35px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
}

.delivery-video-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.delivery-video-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #ffffff;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* -------------------- Contact Section Styles -------------------- */
.contact-section {
    background: linear-gradient(to bottom, #e6e8ea, #f0f2f5); /* Refined contact section gradient */
    text-align: center;
    padding-top: 140px; /* Increased padding */
    padding-bottom: 140px; /* Increased padding */
    transform-style: preserve-3d; /* Enable 3D transforms on section */
}

.contact-title {
    /* Inherits from .section-title */
    transform: inherit; /* Reset title 3D transform */
}

.contact-container {
    /* Using container for max-width */
    transform: translateZ(15px); /* Push content forward slightly */
}

.contact-text {
    margin-bottom: 40px; /* Increased margin */
    font-size: 22px; /* Larger font for contact text */
    color: #5a626d; /* Deeper color for contact text */
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05); /* Subtle text shadow */
}

.contact-details {
    margin-top: 50px; /* Increased margin */
}

.detail-item {
    margin-bottom: 40px; /* Increased spacing */
    font-size: 20px; /* Slightly larger detail item font */
}


.contact-link {
    color: #496981; /* Deeper link color */
    text-decoration: none;
    font-weight: 600; /* Slightly less bold links */
    transition: color 0.3s ease, text-decoration 0.3s ease, transform 0.2s ease; /* Added transform transition */
    transform-style: preserve-3d; /* Enable 3D transforms on links */
}

.contact-link:hover {
    color: #5a7ea7; /* Lighter hover color */
    text-decoration: underline;
    transform: translateZ(3px); /* Slight forward movement on hover */
}

.contact-link:active {
    transform: translateZ(0); /* Reset transform on active */
}


/* --------------------------------------- */
/*               Footer Styles             */
/* --------------------------------------- */
.footer {
    background: linear-gradient(145deg, #667f99, #6da5cf); /* Deeper footer gradient */
    color: #e0e0e0; /* Even lighter footer text */
    padding: 30px 0; /* Adjusted padding */
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3); /* Deeper footer shadow */
    transform-style: preserve-3d; /* Enable 3D transforms on footer */
}

.footer-container {
    /* Using container for max-width */
    transform: translateZ(5px); /* Push content forward slightly */
}

.footer-text {
    font-size: 18px; /* Larger footer text */
    letter-spacing: 0.7px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Deeper footer text shadow */
}


/* -------------------- Social Icons Styles -------------------- */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 20px; /* Increased icon spacing */
    transform: translateZ(5px); /* Push icons forward slightly */
}

.social-icon-link {
    display: block;
    width: 45px; /* Slightly larger icons */
    height: 45px;
    border-radius: 50%;
    background-color: #f8f9fa; /* Light background for icons */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease-out; /* Dynamic ease-out-back animation */
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3); /* Deeper icon shadow */
    transform-style: preserve-3d; /* Enable 3D transforms on icons */
}

.social-icon-link:hover {
    background-color: #fff; /* White hover background */
    transform: scale3d(1.15, 1.15, 1.15) translateZ(5px); /* More pronounced scale and forward movement */
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.4); /* Stronger hover shadow */
}

.social-icon {
    max-width: 65%; /* Slightly larger icon size inside circle */
    max-height: 65%;
    display: block;
}


/* --------------------------------------- */
/*         Responsive Media Queries        */
/* --------------------------------------- */

/* Mobile & Tablet Styles (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding-left: 20px; /* Adjusted mobile container padding */
        padding-right: 20px;
    }

    .header {
        padding: 20px 0; /* Adjusted mobile header padding */
    }

    .logo-link {
        font-size: 26px; /* Adjusted mobile logo size */
    }

    .logo-c {
        font-size: 30px; /* Adjusted mobile 'C' size */
        margin-right: 6px;
    }

    .logo-arab, .logo-global {
        margin-right: 6px;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        padding: 12px; /* Adjusted mobile button padding */
    }

    .language-switcher {
        margin-left: 10px;
    }

    .language-select {
        padding: 8px 12px;
        font-size: 12px;
    }

    [dir="rtl"] .header-container {
        flex-direction: row-reverse;
    }

    [dir="rtl"] .language-switcher {
        margin-left: 0;
        margin-right: 10px;
    }

    [dir="rtl"] .home-container {
        flex-direction: column;
    }

    .section-title {
        font-size: 45px; /* Adjusted mobile section title size */
        margin-bottom: 45px;
        transform: perspective(300px) rotateX(3deg); /* Reduced 3D perspective on mobile titles */
    }

    .home-section {
        padding-top: 120px; /* Adjusted mobile home section padding */
        padding-bottom: 120px;
    }

    .home-container {
        flex-direction: column;
        text-align: center;
    }

    .home-text {
        width: 100%;
        padding-right: 0;
        margin-bottom: 45px;
    }

    .home-title {
        font-size: 48px; /* Adjusted mobile home title size */
    }

    .home-subtitle {
        font-size: 19px; /* Adjusted mobile home subtitle size */
    }

    .home-cta-button {
        padding: 16px 32px; /* Adjusted mobile button padding */
        font-size: 19px; /* Adjusted mobile button font size */
    }

    .home-visual {
        width: 95%; /* Slightly larger image on mobile */
        margin: 0 auto;
    }

    .about-section, .shipping-section, .gallery-section, .delivery-section, .contact-section {
        padding-top: 100px; /* Adjusted mobile section padding */
        padding-bottom: 100px;
    }

    .about-text, .shipping-step .step-description, .contact-text, .delivery-description {
        font-size: 18px; /* Adjusted mobile text sizes */
    }

    .shipping-steps {
        grid-template-columns: 1fr;
        gap: 30px; /* Adjusted mobile steps gap */
    }

    .shipping-step {
        padding: 35px; /* Adjusted mobile step padding */
    }

    .step-title {
        font-size: 26px; /* Adjusted mobile step title size */
    }

    .video-gallery, .delivery-video-gallery {
        grid-template-columns: 1fr;
        gap: 25px; /* Adjusted mobile video gallery gap */
    }

    .contact-details {
        margin-top: 40px; /* Adjusted mobile contact details margin */
    }

    .detail-item {
        font-size: 19px; /* Adjusted mobile detail item font size */
    }

    .footer {
        padding: 20px 0; /* Adjusted mobile footer padding */
    }

    .footer-content {
        flex-direction: column; /* Stack footer content on mobile */
        text-align: center;
    }

    .footer-text {
        margin-bottom: 15px; /* Spacing for footer text on mobile */
    }

    .social-icons {
        gap: 15px; /* Adjusted mobile icon gap */
    }

    .social-icon-link {
        width: 40px; /* Adjusted mobile icon size */
        height: 40px;
    }
}

/* Desktop Styles (min-width: 769px) */
@media (min-width: 769px) {
    .desktop-navigation {
        display: flex;
    }
    .mobile-menu-button {
        display: none;
    }
    .mobile-navigation {
        display: none !important;
    }
}


.video-container {
    max-width: 600px; /* ভিডিও এরিয়াটির প্রস্থ কমানো হলো, উল্লম্ব ভিডিওর জন্য উপযুক্ত */
    margin: 0 auto;
    aspect-ratio: 9 / 16; /* ইউটিউব ভিডিওর 16/9 এর বদলে টিকটক ভিডিওর জন্য 9/16 করা হলো */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25);
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-out;
}

.video-container:hover {
    transform: scale3d(1.05, 1.05, 1.05) rotateX(-3deg);
    box-shadow: 12px 12px 30px rgba(0, 0, 0, 0.35);
}

.embedded-video {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* ভিডিও কলামের সর্বনিম্ন প্রস্থ কমানো হলো */
    gap: 25px; /* গ্যাপ কমানো হলো */
}

.video-item {
    aspect-ratio: 9 / 16; /* ভিডিও আইটেমের এস্পেক্ট রেশিও 9/16 তে পরিবর্তন করা হলো */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease-out;
    transform-style: preserve-3d;
}

.video-item:hover {
    transform: scale3d(1.06, 1.06, 1.06) rotateY(5deg);
    box-shadow: 14px 14px 35px rgba(0, 0, 0, 0.4);
}

.gallery-video {
    width: 100%;
    height: 100%;
    border: 0;
}

.common-btn{
    text-decoration: none;
    background-color: #496981; /* Deeper button color */
    color: #f8f9fa; /* Very light button text */
    padding: 20px 20px; /* Larger button padding */
    margin-bottom: 30px;
    border: none;
    border-radius: 9px;
    font-weight: 600;
    cursor: pointer;
    font-size: 20px; /* Even larger button text */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25); /* Deeper button shadow */
    outline: none;
    letter-spacing: 0.6px;
    transform-style: preserve-3d; /* Enable 3D transforms on button */
}




/* মোবাইল এবং ট্যাবলেট ডিভাইসের জন্য ভিডিও গ্যালারির স্টাইল পরিবর্তন */
@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr; /* মোবাইলে ভিডিও গ্যালারি কলাম সংখ্যা ১টি করা হলো */
        gap: 20px; /* মোবাইলে ভিডিও গ্যালারির গ্যাপ কমানো হলো */
    }
    .video-item {
        aspect-ratio: 9 / 16; /* মোবাইলে ভিডিও আইটেমের এস্পেক্ট রেশিও ঠিক রাখা হলো */
    }
}
