@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-dark: #11384E;
    --brand-main: #1A5372;
    --brand-light: #23688D;
    --brand-accent: #3A8EBD;
    
    --bg-base: #f0f4f8;
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-solid: #ffffff;
    --text-main: #0B1721;
    --text-muted: #546E7A;
    --border-glass: rgba(26, 83, 114, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(17, 56, 78, 0.1);
    --shadow-hover: 0 15px 45px 0 rgba(26, 83, 114, 0.2);
    
    --sidebar-bg: #11384E; 
    --sidebar-text: #FFFFFF;
}

[data-theme="dark"] {
    --bg-base: #060E14;
    --bg-glass: rgba(17, 56, 78, 0.2);
    --bg-glass-solid: #0B1721;
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --border-glass: rgba(255, 255, 255, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 45px 0 rgba(0, 0, 0, 0.8);
    
    --sidebar-bg: #11384E;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
    line-height: 1.7;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base); 
}
::-webkit-scrollbar-thumb {
    background: var(--brand-main); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-dark); 
}

.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 25px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.scroll-progress-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 4px;
    background: transparent; z-index: 10000;
}
.scroll-progress-bar {
    height: 100%; background: linear-gradient(90deg, var(--brand-accent), var(--brand-main));
    width: 0%; border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px var(--brand-accent);
}

.theme-logo-dark { display: none !important; }
[data-theme="dark"] .theme-logo-light { display: none !important; }
[data-theme="dark"] .theme-logo-dark { display: inline-block !important; }

.theme-video-dark { display: none !important; }
[data-theme="dark"] .theme-video-light { display: none !important; }
[data-theme="dark"] .theme-video-dark { display: block !important; }

.header {
    position: fixed; top: 0; left: 0; width: 100%;
    background: var(--bg-glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 999; padding: 18px 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.header.scrolled { padding: 10px 0; box-shadow: var(--shadow-glass); }
.header-container { display: flex; justify-content: space-between; align-items: center; }

.logo img { 
    height: 42px; 
    transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s ease; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); 
}
[data-theme="dark"] .logo img { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.logo:hover img { transform: scale(1.05); }
.header.scrolled .logo img { height: 32px; }

.desktop-nav .nav-list { display: flex; gap: 35px; align-items: center; }
.nav-list li a {
    font-weight: 500; font-size: 15px; position: relative;
    padding: 8px 0; transition: color 0.3s;
}
.nav-list li a:hover, .nav-list li a.active { color: var(--brand-main); }
[data-theme="dark"] .nav-list li a:hover, [data-theme="dark"] .nav-list li a.active { color: var(--brand-accent); }

.nav-list li a::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
    background: var(--brand-main); border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .nav-list li a::after { background: var(--brand-accent); }
.nav-list li a:hover::after, .nav-list li a.active::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-icon { width: 16px; height: 16px; margin-left: 5px; vertical-align: middle; transition: transform 0.4s ease; }
.dropdown:hover .dropdown-icon { transform: rotate(180deg); }
.dropdown-content {
    position: absolute; top: 120%; left: -20px;
    background: var(--bg-glass-solid); min-width: 280px;
    box-shadow: var(--shadow-hover); border-radius: 16px;
    border: 1px solid var(--border-glass);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 15px 0; z-index: 100;
}
.dropdown:hover .dropdown-content {
    opacity: 1; visibility: visible; transform: translateY(0) scale(1); top: 100%;
}
.dropdown-content li a {
    display: block; padding: 12px 25px; font-size: 14px; font-weight: 500;
    transition: all 0.3s ease; border-left: 3px solid transparent;
}
.dropdown-content li a::after { display: none; }
.dropdown-content li a:hover {
    background: var(--bg-base); padding-left: 35px;
    border-left-color: var(--brand-main); color: var(--brand-main);
}
[data-theme="dark"] .dropdown-content li a:hover { border-left-color: var(--brand-accent); color: var(--brand-accent); }

/* Header Actions & Theme Toggle */
.header-actions { display: flex; align-items: center; gap: 20px; z-index: 1002; }

.theme-toggle {
    background: none; border: none; cursor: pointer; padding: 0; outline: none;
}
.toggle-track {
    width: 60px; height: 32px; background: var(--border-glass);
    border-radius: 30px; position: relative; border: 1px solid var(--border-glass);
    transition: background 0.3s ease; box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}
.toggle-thumb {
    position: absolute; top: 2px; left: 2px; width: 26px; height: 26px;
    background: var(--brand-main); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); color: #fff;
}
[data-theme="dark"] .toggle-track { background: #0B1721; }
[data-theme="dark"] .toggle-thumb { transform: translateX(28px); background: var(--brand-accent); }
.theme-toggle svg { width: 14px; height: 14px; }
[data-theme="light"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }

.hamburger {
    display: none; flex-direction: column; justify-content: space-between;
    width: 28px; height: 20px; cursor: pointer; z-index: 1005;
}
.hamburger .bar {
    height: 3px; width: 100%; background: var(--brand-main);
    border-radius: 3px; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: left center;
}
[data-theme="dark"] .hamburger .bar { background: var(--brand-accent); }
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg); width: 110%; }
.hamburger.active .bar:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg); width: 110%; }

.mobile-sidebar {
    position: fixed; top: 0; right: -300px;
    width: 260px; max-width: 75vw; height: 100vh;
    background: var(--sidebar-bg); color: var(--sidebar-text);
    z-index: 10001; transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: -15px 0 40px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; overflow-y: auto;
}
.mobile-sidebar.open { right: 0; }

.sidebar-header {
    padding: 25px 20px; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-logo { height: 35px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); }
.close-sidebar {
    background: rgba(255,255,255,0.08); border: none; color: #fff;
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.4s ease;
}
.close-sidebar svg { width: 18px; height: 18px; }
.close-sidebar:hover { background: rgba(255,0,0,0.6); transform: rotate(90deg) scale(1.1); }

.mobile-nav-list { padding: 15px 0; flex-grow: 1; }
.nav-item-animate {
    opacity: 0; transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.mobile-sidebar.open .nav-item-animate { opacity: 1; transform: translateX(0); }
.mobile-sidebar.open .nav-item-animate:nth-child(1) { transition-delay: 0.1s; }
.mobile-sidebar.open .nav-item-animate:nth-child(2) { transition-delay: 0.15s; }
.mobile-sidebar.open .nav-item-animate:nth-child(3) { transition-delay: 0.2s; }
.mobile-sidebar.open .nav-item-animate:nth-child(4) { transition-delay: 0.25s; }
.mobile-sidebar.open .nav-item-animate:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav-item, .mobile-drop-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 25px; color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer;
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.mobile-nav-item::before, .mobile-drop-header::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
    background: #4FC3F7; transform: scaleY(0); transition: transform 0.3s ease;
}
.mobile-nav-item:hover, .mobile-drop-header:hover, .mobile-nav-item.active {
    background: rgba(255,255,255,0.05); color: #fff; padding-left: 32px;
}
.mobile-nav-item:hover::before, .mobile-drop-header:hover::before, .mobile-nav-item.active::before {
    transform: scaleY(1);
}

.mobile-dropdown-content {
    max-height: 0; overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(0,0,0,0.15);
}
.mobile-dropdown.active .mobile-dropdown-content { max-height: 600px; }
.mobile-dropdown.active .dropdown-icon { transform: rotate(180deg); color: #4FC3F7; }
.mobile-dropdown-content li a.sub-item {
    padding: 12px 25px 12px 40px; font-size: 13.5px;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}
.mobile-dropdown-content li a.sub-item:hover { padding-left: 48px; color: #4FC3F7; }

.sidebar-footer { padding: 20px 25px; border-top: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.4); font-size: 11px; text-align: center; }

.mobile-sidebar-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 56, 78, 0.7); backdrop-filter: blur(4px);
    z-index: 10000; opacity: 0; visibility: hidden; transition: all 0.5s ease;
}
.mobile-sidebar-overlay.open { opacity: 1; visibility: visible; }

#main-content { padding-top: 80px; min-height: 100vh; }
.page-section {
    display: none; opacity: 0;
    animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.page-section.active { display: block; }
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-panel {
    background: var(--bg-glass-solid); border: 1px solid var(--border-glass);
    border-radius: 20px; box-shadow: var(--shadow-glass);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hover-3d { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease; }
.hover-3d:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.btn {
    padding: 14px 35px; border-radius: 50px; font-weight: 600; font-size: 15px;
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 2px solid transparent; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden; z-index: 1; text-align: center;
}
.btn-primary { background: var(--brand-main); color: #fff; box-shadow: 0 8px 20px rgba(26, 83, 114, 0.25); }
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--brand-dark); z-index: -1; transition: width 0.4s ease;
}
.btn-primary:hover::before { width: 100%; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(17, 56, 78, 0.4); }

.btn-outline { border-color: var(--brand-main); color: var(--brand-main); background: transparent; }
.btn-outline:hover { background: var(--brand-main); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 15px rgba(26, 83, 114, 0.2); }
[data-theme="dark"] .btn-outline { border-color: var(--text-main); color: var(--text-main); }
[data-theme="dark"] .btn-outline:hover { background: var(--text-main); color: var(--bg-base); }

.video-hero { 
    padding: 0 !important;
    position: relative; 
    min-height: calc(100vh - 80px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.brands-section {
    padding: 80px 20px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 100%;
}
.apple-watch-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.aw-row {
    display: flex;
    justify-content: center;
    gap: 60px; /* Increased gap for computers */
}
.aw-row + .aw-row {
    margin-top: -45px; /* Adjusted margin to match the new gap and bigger circles */
}
.aw-bubble-wrapper {
    animation: floatBubble 6s ease-in-out infinite alternate;
}
.aw-bubble-wrapper.delay-1 { animation-delay: 0s; animation-duration: 5s; }
.aw-bubble-wrapper.delay-2 { animation-delay: 1s; animation-duration: 6.5s; }
.aw-bubble-wrapper.delay-3 { animation-delay: 0.5s; animation-duration: 5.5s; }
.aw-bubble-wrapper.delay-4 { animation-delay: 1.5s; animation-duration: 6s; }
.aw-bubble-wrapper.delay-5 { animation-delay: 0.2s; animation-duration: 5s; }
.aw-bubble-wrapper.delay-6 { animation-delay: 2s; animation-duration: 7s; }
.aw-bubble-wrapper.delay-7 { animation-delay: 0.8s; animation-duration: 5.8s; }
.aw-bubble-wrapper.delay-8 { animation-delay: 1.2s; animation-duration: 6.2s; }
.aw-bubble-wrapper.delay-9 { animation-delay: 0.3s; animation-duration: 5.3s; }
.aw-bubble-wrapper.delay-10 { animation-delay: 1.8s; animation-duration: 6.8s; }

.aw-bubble {
    width: 150px; /* Bigger bubbles for computers */
    height: 150px; /* Bigger bubbles for computers */
    border-radius: 50%;
    background: var(--bg-glass-solid);
    box-shadow: var(--shadow-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.aw-bubble img {
    width: 65%;
    height: 65%;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.aw-bubble:hover {
    transform: scale(1.65); /* Elegant and large scale on hover */
    border-color: var(--brand-main);
    box-shadow: 0 35px 70px rgba(26, 83, 114, 0.6); /* Deep shadow */
    z-index: 30; /* Keep it above everything when large */
}
.aw-bubble-wrapper:hover {
    z-index: 30;
}

@keyframes floatBubble {
    0% { transform: translate(0, 0); }
    33% { transform: translate(5px, -8px); }
    66% { transform: translate(-5px, 8px); }
    100% { transform: translate(0, 0); }
}

.section-header { text-align: center; margin-bottom: 50px; padding-top: 60px; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 12px; color: var(--text-main); }
.animated-line {
    width: 60px; height: 4px; background: linear-gradient(90deg, var(--brand-main), var(--brand-accent));
    margin: 0 auto; border-radius: 2px;
}

.about-wrapper, .details-card { max-width: 900px; margin: 0 auto 60px; }
.about-card, .details-card { padding: 40px 30px; text-align: center; font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; }
.icon-pulse {
    width: 70px; height: 70px; background: rgba(26, 83, 114, 0.1); color: var(--brand-main);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px; position: relative;
}
.icon-pulse::after {
    content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%;
    border: 2px solid var(--brand-main); animation: pulseAnim 2s infinite;
}
.icon-pulse svg { width: 32px; height: 32px; }
@keyframes pulseAnim { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.4); opacity: 0; } }

.products-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px; margin-bottom: 80px;
}
.product-card {
    padding: 30px 25px; display: flex; flex-direction: column; position: relative; overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--brand-main), var(--brand-accent));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.card-icon-wrapper {
    width: 60px; height: 60px; background: rgba(26, 83, 114, 0.05);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: transform 0.4s ease;
}
[data-theme="dark"] .card-icon-wrapper { background: rgba(255,255,255,0.05); }
.product-card:hover .card-icon-wrapper { transform: scale(1.1) rotate(5deg); }
.card-icon-wrapper .emoji { font-size: 1.8rem; }

.product-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 15px; flex-grow: 1; }
.card-arrow {
    width: 35px; height: 35px; border-radius: 50%; background: var(--bg-base);
    display: flex; align-items: center; justify-content: center; color: var(--brand-main);
    transition: all 0.3s ease; align-self: flex-start;
}
.card-arrow svg { width: 18px; height: 18px; }
.product-card:hover .card-arrow { background: var(--brand-main); color: #fff; transform: translateX(8px); }

.mt-30 { margin-top: 30px; }
.product-actions { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

.premium-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.premium-service-card {
    padding: 40px 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.premium-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: all 0.5s ease;
    z-index: -1;
}
.premium-service-card:hover::before {
    background: linear-gradient(135deg, var(--brand-main), var(--brand-accent));
}
.premium-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 83, 114, 0.15);
}
[data-theme="dark"] .premium-service-card:hover {
    box-shadow: 0 20px 40px rgba(79, 195, 247, 0.12);
}
.s-icon-wrapper {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 83, 114, 0.08), rgba(58, 142, 189, 0.08));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--brand-main);
}
[data-theme="dark"] .s-icon-wrapper {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.08), rgba(26, 83, 114, 0.15));
    color: var(--brand-accent);
}
.premium-service-card:hover .s-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-main), var(--brand-accent));
    color: #fff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(26, 83, 114, 0.3);
}
.s-icon-wrapper svg {
    width: 35px; height: 35px;
    stroke-width: 1.5;
}
.premium-service-card h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.5;
}

.contact-wrapper { max-width: 900px; margin: 0 auto 80px; padding: 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.input-group { position: relative; margin-bottom: 25px; }
.input-group input, .input-group textarea {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--border-glass);
    padding: 12px 0; font-size: 15px; color: var(--text-main); outline: none; resize: none;
    transition: border-color 0.3s;
}
.input-group label {
    position: absolute; top: 12px; left: 0; color: var(--text-muted); font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); pointer-events: none;
}
.focus-border {
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--brand-main); transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.input-group input:focus ~ label, .input-group textarea:focus ~ label,
.input-group input:valid ~ label, .input-group textarea:valid ~ label {
    top: -10px; font-size: 12px; color: var(--brand-main); font-weight: 600;
}
.input-group input:focus ~ .focus-border, .input-group textarea:focus ~ .focus-border { width: 100%; }
.submit-btn { width: 100%; padding: 16px; margin-top: 10px; font-size: 16px; }
.btn-icon svg { width: 20px; height: 20px; transition: transform 0.3s ease; }
.submit-btn:hover .btn-icon svg { transform: translate(5px, -5px); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: left;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.c-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(26, 83, 114, 0.1), rgba(58, 142, 189, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-main);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .c-icon {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(26, 83, 114, 0.2));
    color: var(--brand-accent);
}
.contact-item:hover .c-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--brand-main), var(--brand-accent));
    color: #fff;
    box-shadow: 0 10px 20px rgba(26, 83, 114, 0.3);
}
.c-icon svg { width: 24px; height: 24px; }
.c-text h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 600;
}
.c-text p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}
.contact-social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.contact-social-link {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 83, 114, 0.1), rgba(58, 142, 189, 0.1));
    color: var(--brand-main);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="dark"] .contact-social-link {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(26, 83, 114, 0.2));
    color: var(--brand-accent);
}
.contact-social-link:hover,
.contact-social-link:focus-visible {
    transform: translateY(-4px) scale(1.08);
    background: linear-gradient(135deg, var(--brand-main), var(--brand-accent));
    color: #fff;
    box-shadow: 0 10px 20px rgba(26, 83, 114, 0.3);
}
.contact-social-link:focus-visible {
    outline: 2px solid var(--brand-accent);
    outline-offset: 3px;
}
.contact-social-link svg {
    width: 23px;
    height: 23px;
}
.contact-map {
    width: 100%;
    min-height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    position: relative;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: none;
}
.map-link-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--brand-main);
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 10;
}
.map-link-overlay:hover {
    background: var(--brand-dark);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(6px);
    z-index: 100000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-content {
    background: var(--bg-glass-solid); width: 92%; max-width: 800px;
    border-radius: 20px; position: relative; padding: 35px;
    transform: scale(0.9) translateY(20px); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
}
.modal-overlay.active .modal-content { transform: scale(1) translateY(0); }

.close-modal {
    position: absolute; top: 15px; right: 15px; background: rgba(255,0,0,0.1);
    color: #ff4d4d; border: none; width: 35px; height: 35px; border-radius: 50%;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease; z-index: 10;
}
.close-modal:hover { background: #ff4d4d; color: #fff; transform: rotate(90deg); }

.modal-body { display: flex; gap: 30px; align-items: center; }
.modal-image { flex: 0 0 40%; text-align: center; }
.modal-image img { max-width: 100%; border-radius: 12px; box-shadow: var(--shadow-glass); }
.modal-text { flex: 1; color: var(--text-main); text-align: left; font-size: 0.95rem; }
.modal-text h3 { color: var(--brand-main); font-size: 1.6rem; margin-bottom: 15px; font-weight: 700; }
.modal-text ul, .modal-text ol { padding-left: 20px; margin-bottom: 15px; color: var(--text-muted); line-height: 1.7; }
.modal-text p { color: var(--text-muted); line-height: 1.7; margin-bottom: 15px; }
.modal-text li { margin-bottom: 8px; }
.modal-text li strong { color: var(--text-main); font-weight: 600; }

footer {
    background: var(--sidebar-bg); padding: 40px 20px; text-align: center; color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 10; font-size: 0.9rem;
}
.footer-logo img { height: 30px; margin-bottom: 15px; }
footer p span { color: #fff; font-weight: 600; }

.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--brand-main); color: #fff; border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(26, 83, 114, 0.4); z-index: 998;
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--brand-dark); transform: translateY(-8px) scale(1.1); box-shadow: 0 12px 25px rgba(17, 56, 78, 0.6); }
.back-to-top svg { width: 24px; height: 24px; }

.reveal-text, .reveal-fade, .reveal-up, .reveal-card { opacity: 0; }
.reveal-text.is-revealed { animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-fade.is-revealed { animation: fadeIn 0.8s ease forwards 0.2s; }
.reveal-up.is-revealed { animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-card.is-revealed { animation: scaleUp 0.7s cubic-bezier(0.25, 1, 0.5, 1) forwards; }

@keyframes textReveal { 0% { opacity: 0; transform: translateY(20px) skewY(3deg); } 100% { opacity: 1; transform: translateY(0) skewY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes scaleUp { 0% { opacity: 0; transform: scale(0.95) translateY(20px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }


.videos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}
.video-card {
    flex: 1 1 calc(50% - 30px);
    max-width: 500px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}
.video-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    background: #000;
}
.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-title {
    font-size: 1.15rem;
    color: var(--brand-main);
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}
[data-theme="dark"] .video-title {
    color: var(--brand-accent);
}

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-wrapper { padding: 35px 25px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-map { min-height: 250px; }
}
@media (max-width: 768px) {
    .header { padding: 12px 0; }
    .logo img { height: 35px; }
    .header.scrolled .logo img { height: 28px; }
    
    #main-content { padding-top: 60px; }
    
    .video-hero { 
        min-height: unset;
        width: 100%;
        height: 100vw; 
        max-height: 100vh;
        background-color: var(--bg-base); 
    }
    .hero-video {
        min-width: unset;
        min-height: unset;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .aw-bubble { width: 80px; height: 80px; border-width: 3px; }
    .aw-row { gap: 25px; } 
    .aw-row + .aw-row { margin-top: -15px; } 
    .brands-section { padding: 40px 15px 60px; }
    
    .section-header { margin-bottom: 40px; padding-top: 40px; }
    .about-card, .details-card { padding: 25px 20px; font-size: 1rem; }
    
    .products-grid, .premium-service-grid { grid-template-columns: 1fr; gap: 20px; }
    
    .modal-body { flex-direction: column; gap: 20px; }
    .modal-image { flex: 0 0 auto; width: 100%; max-width: 250px; margin: 0 auto; }
    .modal-content { padding: 30px 20px 20px; width: 95%; }
    .modal-text { text-align: left; }
    
    .video-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
}



@font-face {
    font-family: 'ArKuFont';
    src: url('../font/ar-ku.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html[lang="ar"], html[lang="ku"], 
html[lang="ar"] *, html[lang="ku"] * {
    font-family: 'ArKuFont', 'Poppins', sans-serif !important;
}

html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
html[dir="rtl"] .header-container,
html[dir="rtl"] .desktop-nav .nav-list,
html[dir="rtl"] .header-actions {
    flex-direction: row; 
}
html[dir="rtl"] .dropdown-icon {
    margin-left: 0;
    margin-right: 5px;
}
html[dir="rtl"] .mobile-sidebar {
    right: auto;
    left: -300px;
}
html[dir="rtl"] .mobile-sidebar.open {
    left: 0;
    right: auto;
}
html[dir="rtl"] .card-arrow {
    transform: scaleX(-1);
}
html[dir="rtl"] .product-card:hover .card-arrow {
    transform: scaleX(-1) translateX(-8px);
}
html[dir="rtl"] .c-icon {
    transform: scaleX(-1);
}

html[dir="rtl"] .about-card,
html[dir="rtl"] .details-card,
html[dir="rtl"] .about-card p,
html[dir="rtl"] .about-card h3,
html[dir="rtl"] .details-card p,
html[dir="rtl"] .contact-info, 
html[dir="rtl"] .modal-text {
    text-align: right !important;
}

html[dir="rtl"] .modal-text ul, 
html[dir="rtl"] .modal-text ol {
    padding-left: 0;
    padding-right: 20px;
}

.lang-switcher-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lang-btn-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-main);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(26, 83, 114, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}
.lang-btn-main:hover {
    transform: scale(1.1);
    background: var(--brand-dark);
}
.lang-options {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.lang-option {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-glass-solid);
    color: var(--text-main);
    border: 2px solid var(--brand-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    top: 2.5px;
    left: 2.5px;
    transform: scale(0.5);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-glass);
}
.lang-option:hover {
    background: var(--brand-main);
    color: #fff;
}

.lang-switcher-container.active .lang-options {
    pointer-events: auto;
}
.lang-switcher-container.active .lang-option:nth-child(1) {
    opacity: 1; transform: translate(70px, 0) scale(1); transition-delay: 0.1s;
}
.lang-switcher-container.active .lang-option:nth-child(2) {
    opacity: 1; transform: translate(50px, -50px) scale(1); transition-delay: 0.15s;
}
.lang-switcher-container.active .lang-option:nth-child(3) {
    opacity: 1; transform: translate(0, -70px) scale(1); transition-delay: 0.2s;
}