/* =====================================================
   AIMS Gulf General Trading L.L.C. - Main Stylesheet
   Version: 2.0
   Colors: Blue (#1b3a5f), Orange (#ff9b41), Black
   ===================================================== */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
    /* Logo Colors - Blue, Orange, Black */
    --primary-dark: #0d1b2a;
    --primary-navy: #1b3a5f;
    --primary-blue: #1e4a8e;
    
    /* Updated Softer Orange */
    --accent-orange: #ff9b41;
    --accent-orange-light: #ffb366;
    --accent-orange-dark: #e8862e;
    
    /* Neutrals */
    --black: #000000;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Corporate Fonts */
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-width: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 155, 65, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 155, 65, 0.4);
}

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

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

.btn-dark {
    background: var(--primary-navy);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.header.scrolled .header-top {
    display: none;
}

/* Header Top Bar */
.header-top {
    background: var(--black);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    gap: 30px;
}

.header-top-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.header-top-item i {
    color: var(--accent-orange);
    font-size: 12px;
}

.header-top-right {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 12px;
}

.social-link:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
}

/* Header Main */
.header-main {
    padding: 12px 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.9) 0%, rgba(13, 27, 42, 0.7) 100%);
}

.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon-img {
    height: 50px;
    width: auto;
    border-radius: var(--radius-md);
}

.header.scrolled .logo-icon-img {
    height: 45px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.5px;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 22px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-orange);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
}

.dropdown-link:hover {
    background: var(--gray-50);
}

.dropdown-link i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-md);
    color: var(--accent-orange);
    font-size: 16px;
}

.dropdown-text span {
    display: block;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
}

.dropdown-text small {
    font-size: 12px;
    color: var(--gray-500);
}

/* Header CTA */
.header-cta {
    display: flex;
    gap: 15px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: var(--white);
    font-weight: 500;
}

.mobile-nav a:hover {
    color: var(--accent-orange);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(27, 58, 95, 0.9) 50%, rgba(13, 27, 42, 0.92) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Hero Floating Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.hero-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: -100px;
    animation-delay: 2s;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-navy));
}

.hero-shape:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Hero Content */
.hero-content {
    width: 100%;
    padding: 150px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Hero Text */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 155, 65, 0.15);
    border: 1px solid rgba(255, 155, 65, 0.4);
    border-radius: var(--radius-full);
    margin-bottom: 25px;
}

.hero-badge i {
    color: var(--accent-orange);
}

.hero-badge span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 35px;
    line-height: 1.75;
    max-width: 520px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-orange);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Cards */
.hero-visual {
    position: relative;
}

.hero-cards {
    position: relative;
    height: 450px;
}

.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 25px;
    width: 280px;
    transition: var(--transition-normal);
}

.hero-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-orange);
}

.hero-card-1 {
    top: 0;
    right: 0;
    animation: cardFloat 4s ease-in-out infinite;
}

.hero-card-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: cardFloat2 4s ease-in-out infinite 1s;
}

.hero-card-3 {
    bottom: 0;
    right: 50px;
    animation: cardFloat 4s ease-in-out infinite 2s;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes cardFloat2 {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 15px)); }
}

.hero-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
}

.hero-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.hero-card-text {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent-orange), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 60px; }
    50% { opacity: 1; height: 80px; }
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    box-shadow: var(--shadow-xl);
}

.about-years-number {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.about-years-text {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.about-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 25px;
}

.about-description {
    font-size: 16px;
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 155, 65, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 16px;
}

.about-feature span {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 15px;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 155, 65, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 155, 65, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-orange);
    margin-bottom: 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--accent-orange-dark);
}

.service-text {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-orange);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

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

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

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* =====================================================
   PRODUCTS SECTION
   ===================================================== */
.products {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4a6f 50%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.products .section-title {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.products .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.product-card {
    display: block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 155, 65, 0.1) 0%, rgba(255, 155, 65, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-orange);
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(5deg);
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-card:hover .product-title {
    color: var(--accent-orange-light);
}

.products-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.products-cta-text {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    font-weight: 400;
}

/* =====================================================
   WHY CHOOSE US SECTION
   ===================================================== */
.why-us {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-100);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    transition: height 0.4s ease;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 155, 65, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    transform: translateY(-12px);
    background: var(--white);
    border-color: rgba(255, 155, 65, 0.3);
}

.why-card:hover::before {
    height: 100%;
}

.why-card:hover::after {
    opacity: 1;
}

.why-card-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    transition: all 0.4s ease;
}

.why-card:hover .why-card-number {
    color: rgba(255, 155, 65, 0.15);
    transform: scale(1.1);
}

.why-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.why-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-dark);
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.why-card:hover .why-card-title {
    color: var(--accent-orange-dark);
}

.why-card-text {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* =====================================================
   GLOBAL PRESENCE SECTION
   ===================================================== */
.global {
    background: var(--gray-50);
}

.global-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.map-container {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
    background: var(--primary-dark);
    overflow: hidden;
}

.world-map-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.3) 0%, rgba(27, 58, 95, 0.2) 100%);
    pointer-events: none;
}

.map-point {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--accent-orange);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    border: 3px solid var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.map-point:hover {
    transform: scale(1.3);
}

.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 155, 65, 0.25);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.map-point::after {
    content: attr(data-location);
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--primary-dark);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.map-point:hover::after {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Position hotspots on world map - adjusted for SVG coordinates */
.map-point-dubai { 
    top: 42%; 
    left: 58%; 
}

.map-point-bahrain { 
    top: 40%; 
    left: 56%; 
}

.map-point-china { 
    top: 35%; 
    left: 78%; 
}

.global-offices {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.office-card {
    display: flex;
    gap: 20px;
    padding: 30px 35px;
    background: var(--white);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    border: 2px solid var(--gray-200);
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.office-card.office-main {
    border-color: var(--accent-orange);
}

.office-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.office-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-orange);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.office-card:hover .office-icon {
    transform: scale(1.05);
}

.office-info {
    flex: 1;
}

.office-info h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.office-info p {
    font-size: 15px;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.office-info p i {
    color: var(--accent-orange);
    width: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 155, 65, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--black);
    padding-top: 80px;
    overflow: visible;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon-img {
    height: 50px;
    width: auto;
    border-radius: var(--radius-md);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--accent-orange);
    font-size: 14px;
    margin-top: 3px;
}

.footer-contact-item span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 25px;
    position: relative;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal a:hover {
    color: var(--accent-orange);
}

/* Back to Top Button - In Footer */
.back-to-top {
    position: absolute;
    left: 50%;
    top: -25px;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-dark));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(255, 155, 65, 0.4);
}

.back-to-top:hover {
    transform: translateX(-50%) translateY(-5px);
    background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */

/* Large Screens (1200px and below) */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-grid {
        gap: 40px;
    }
}

/* Medium Screens (992px and below) */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }
    
    .header-top {
        display: none;
    }
    
    .nav,
    .header-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image-overlay {
        right: auto;
        left: 20px;
    }
    
    .global-content {
        grid-template-columns: 1fr;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Screens (768px and below) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-icon-img {
        height: 45px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Extra Small Screens (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-main img {
        height: 350px;
    }
    
    .about-image-overlay {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: -50px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* =====================================================
   FACTORY DIRECT BANNER
   ===================================================== */
.factory-direct {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
}

.factory-banner {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.factory-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.factory-icon {
    font-size: 50px;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.factory-text h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.factory-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .factory-content {
        flex-direction: column;
        text-align: center;
    }
    
    .factory-banner {
        padding: 25px 20px;
    }
}

/* =====================================================
   SERVICE CARD TAGS
   ===================================================== */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(27, 58, 95, 0.1);
    color: var(--primary-navy);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =====================================================
   PRODUCT INFO CARDS
   ===================================================== */
.products-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.product-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.product-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff9b41 0%, #e8862e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-info-icon i {
    font-size: 30px;
    color: #ffffff;
}

.product-info-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.product-info-card p {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .products-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info-card {
        padding: 30px 25px;
    }
    
    .product-info-card h4 {
        font-size: 18px;
    }
    
    .product-info-card p {
        font-size: 14px;
        color: #444444;
    }
}

/* =====================================================
   PRODUCTS SECTION UPDATES
   ===================================================== */
.products-divisions {
    margin-top: 40px;
}

.products-subtitle {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.products-cta {
    text-align: center;
    margin-top: 50px;
}

.products-cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* =====================================================
   OFFICE CARD BADGES & STYLES
   ===================================================== */
.office-card {
    position: relative;
}

.office-badge {
    position: absolute;
    top: -1px;
    right: 30px;
    padding: 8px 20px;
    background: var(--accent-orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(255, 155, 65, 0.3);
}

.office-main {
    border: 2px solid var(--accent-orange);
}

.office-parent {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    border-color: transparent;
}

.office-parent .office-icon {
    background: rgba(255, 155, 65, 0.15);
    border: 2px solid rgba(255, 155, 65, 0.3);
}

.office-parent .office-icon i {
    color: var(--accent-orange);
}

.office-parent .office-info h4 {
    color: var(--white);
}

.office-parent .office-info p {
    color: rgba(255, 255, 255, 0.85);
}

.office-parent .office-info i {
    color: var(--accent-orange);
}

.office-subtitle {
    font-size: 14px !important;
    color: var(--accent-orange-light) !important;
    font-weight: 600 !important;
    margin-bottom: 12px !important;
}

.office-note {
    margin-top: 15px !important;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px !important;
    font-style: italic;
}

/* Map point for Hong Kong */
.map-point-hk {
    position: absolute;
    top: 35%;
    left: 83%;
}

@media (max-width: 992px) {
    .global-offices {
        grid-template-columns: 1fr;
    }
    
    .office-badge {
        font-size: 10px;
        padding: 6px 14px;
        right: 20px;
    }
    
    .office-card {
        padding: 25px 20px;
    }
    
    .office-info h4 {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .office-card {
        flex-direction: column;
        padding: 30px 20px;
        padding-top: 40px;
    }
    
    .office-badge {
        right: 50%;
        transform: translateX(50%);
    }
    
    .office-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* =====================================================
   ADDITIONAL RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 768px) {
    .factory-icon {
        font-size: 40px;
    }
    
    .factory-text h3 {
        font-size: 20px;
    }
    
    .product-info-icon {
        width: 60px;
        height: 60px;
    }
    
    .product-info-icon i {
        font-size: 24px;
    }
    
    .product-info-card {
        padding: 25px 20px;
        background: #ffffff !important;
    }
    
    .product-info-card h4 {
        font-size: 18px;
        color: #1a1a1a !important;
    }
    
    .product-info-card p {
        font-size: 14px;
        color: #444444 !important;
        line-height: 1.6;
    }
}
