/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Ensure consistent font family for all elements */
* {
    font-family: inherit;
}

/* English pages font consistency */
[lang="en"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Arabic pages font consistency */
[lang="ar"] {
    font-family: 'Cairo', 'Tajawal', 'Noto Sans Arabic', 'Arial', sans-serif;
}

/* Ensure all text elements inherit proper fonts */
h1, h2, h3, h4, h5, h6, p, span, div, a, button, input, textarea, label {
    font-family: inherit;
}

/* Specific font consistency for common elements */
.nav-link, .btn, .form-input, .form-textarea, .submit-button {
    font-family: inherit;
}

/* Arabic specific font consistency */
[lang="ar"] h1, 
[lang="ar"] h2, 
[lang="ar"] h3, 
[lang="ar"] h4, 
[lang="ar"] h5, 
[lang="ar"] h6, 
[lang="ar"] p, 
[lang="ar"] span, 
[lang="ar"] div, 
[lang="ar"] a, 
[lang="ar"] button, 
[lang="ar"] input, 
[lang="ar"] textarea, 
[lang="ar"] label {
    font-family: 'Cairo', 'Tajawal', 'Noto Sans Arabic', 'Arial', sans-serif;
}

/* English specific font consistency */
[lang="en"] h1, 
[lang="en"] h2, 
[lang="en"] h3, 
[lang="en"] h4, 
[lang="en"] h5, 
[lang="en"] h6, 
[lang="en"] p, 
[lang="en"] span, 
[lang="en"] div, 
[lang="en"] a, 
[lang="en"] button, 
[lang="en"] input, 
[lang="en"] textarea, 
[lang="en"] label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Ensure consistent font rendering */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* CSS Variables for Gold, Black, White Theme */
:root {
    --gold-50: hsl(60, 100%, 95%);
    --gold-100: hsl(58, 100%, 88%);
    --gold-200: hsl(56, 100%, 76%);
    --gold-300: hsl(54, 100%, 64%);
    --gold-400: #b9832a;
    --gold-500: #b9832a;
    --gold-600: hsl(48, 100%, 44%);
    --gold-700: hsl(46, 100%, 37%);
    --gold-800: hsl(44, 100%, 31%);
    --gold-900: hsl(42, 100%, 26%);
    
    /* RTL Support */
    --text-direction: ltr;
    --text-align: left;
    --margin-start: left;
    --margin-end: right;
    
    --background: #000100;
    --card: hsl(0, 0%, 7%);
    --border: #989695;
    --muted: #989695;
    --white: #fffefe;
    --black: hsl(0, 0%, 9%);
}

/* Container */
.container {
    max-width: 1000px; /* Reduced from 1200px */
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
}

.nav-brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between; /* Changed from flex-start to space-between */
    align-items: center;
    padding: 0.75rem 0; /* Reduced from 1rem */
    gap: 1.5rem; /* Reduced from 2rem */
}

/* RTL navigation content alignment */
[dir="rtl"] .nav-content {
    flex-direction: row;
    justify-content: space-between;
}

[dir="rtl"] .nav-brand {
    order: 1; /* Logo on the right */
    display: flex;
    align-items: center;
    height: 100%;
}

[dir="rtl"] .nav-menu {
    order: 2;
}

[dir="rtl"] .mobile-menu-btn {
    order: 0; /* Mobile button on the left (opposite of logo) */
}

[dir="rtl"] .language-toggle {
    order: 3; /* Language toggle in the middle */
}

/* English (LTR) navigation ordering */
[dir="ltr"] .nav-brand,
.nav-brand {
    order: 3; /* Logo on the right */
    display: flex;
    align-items: center;
    height: 100%;
}

[dir="ltr"] .nav-menu,
.nav-menu {
    order: 1; /* Menu on the left */
}

[dir="ltr"] .language-toggle,
.language-toggle {
    order: 2; /* Language toggle in the middle */
}

[dir="ltr"] .mobile-menu-btn,
.mobile-menu-btn {
    order: 0; /* Mobile button on the left (opposite of logo) */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-500);
}

.logo-white {
    color: var(--white);
}

.nav-logo-img {
    height: 2.5rem; /* Further minimized size for navigation */
    width: auto;
    object-fit: contain;
    display: block;
    align-self: center;
}

.nav-brand-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.language-toggle {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0;
}

.language-toggle:hover {
    color: var(--gold-500);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-500);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold-500);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh; /* Reduced from 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1622979135225-d2ba269cf1ac?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-video iframe {
    width: 120vw;
    height: 67.5vw; /* 16:9 ratio of width */
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(26,26,26,0.6) 100%);
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    top: 5rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    background: rgba(184, 131, 43, 0.3);
    animation-delay: 0s;
}

.floating-2 {
    top: 10rem;
    right: 5rem;
    width: 3rem;
    height: 3rem;
    background: rgba(184, 131, 43, 0.15);
    animation-delay: 2s;
}

.floating-3 {
    bottom: 8rem;
    left: 25%;
    width: 5rem;
    height: 5rem;
    background: rgba(184, 131, 43, 0.1);
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 80rem;
    padding: 0 2rem;
}

.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    height: 16rem; /* Increased from 12rem */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(184, 131, 43, 0.3));
    transition: all 0.3s ease;
}

.hero-logo-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 25px rgba(184, 131, 43, 0.4));
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--muted);
    margin-bottom: 2rem;
    font-weight: 300;
}



/* Sections */
.section {
    padding: 3rem 1rem; /* Reduced from 5rem */
}

/* Partners/Clients Section */
.partners-section {
    background: rgba(255, 255, 255, 0.01);
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: infinite-scroll 60s linear infinite;
}

.partner-logo {
    height: 40px;
    width: auto;
    filter: grayscale(100%) contrast(120%);
    opacity: 0.8;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes infinite-scroll {
    0% { transform: translateX(50%); }
    100% { transform: translateX(-100%); }
}

@keyframes infinite-scroll-rtl {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(100%); }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

/* Global h2 gradient styling */
h2 {
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-500) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 48rem;
    margin: 0 auto;
}

/* Solutions Section */
.solutions-section {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    z-index: 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.solution-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: inherit;
}

.solution-card:hover .solution-description {
    color: #fffefe;
}

.solution-image {
    height: 12rem;
    background-size: cover;
    background-position: center;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.solution-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
    background: rgba(184, 131, 43, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    font-size: 1.5rem;
    color: var(--gold-500);
}

.solution-card:hover .solution-icon {
    background: rgba(184, 131, 43, 0.4);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-title {
    color: var(--gold-500);
}

.solution-description {
    color: var(--muted);
    margin-bottom: 1rem;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(184, 131, 43, 0.3);
    color: var(--gold-400);
    border-radius: 1rem;
    font-size: 0.875rem;
}

.solution-btn {
    background: none;
    border: none;
    color: var(--gold-500);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

.solution-card:hover .solution-btn {
    color: var(--gold-400);
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--background) 0%, rgba(255, 255, 255, 0.02) 50%, var(--background) 100%);
    position: relative;
    z-index: 1;
    isolation: isolate; /* create new stacking context so it sits above previous section */
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0.5rem;
}

.stat-item:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border: 1px solid var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.stat-item:hover .stat-label {
    color: #fffefe;
}

/* Ensure stats are not moved under previous section by parallax */
.stats-section .parallax {
    transform: none !important;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-500);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--muted);
}

/* Testimonials Section */
.testimonials-section {
    background: rgba(255, 255, 255, 0.01);
    padding: 2rem 0; /* Added reduced padding */
}

.testimonial-slider {
    position: relative;
    max-width: 60rem;
    margin: 0 auto;
}

.testimonial-container {
    overflow: hidden;
    border-radius: 1rem;
    position: relative;
    min-height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.testimonial-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.5rem; /* Reduced from 2rem */
    min-height: 180px; /* Reduced from 200px */
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .author-role {
    color: #fffefe;
}

.testimonial-content {
    display: flex;
    gap: 1rem; /* Reduced from 1.5rem */
    align-items: flex-start;
}

.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.star-filled {
    color: var(--gold-500);
    width: 1.25rem;
    height: 1.25rem;
}

.testimonial-text {
    font-size: 1rem; /* Reduced from 1.125rem */
    color: var(--muted);
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    line-height: 1.5; /* Reduced from 1.6 */
}

.author-name {
    font-weight: 600;
    color: var(--gold-500);
    margin-bottom: 0.25rem;
    font-size: 0.95rem; /* Added smaller font size */
}

.author-role {
    font-size: 0.8rem; /* Reduced from 0.875rem */
    color: var(--muted);
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gold-500);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--black);
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(184, 131, 43, 0.3);
    z-index: 10;
}

.testimonial-nav:hover {
    background: var(--gold-400);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 131, 43, 0.4);
}

.testimonial-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonial-nav.prev {
    left: -1.75rem;
}

.testimonial-nav.next {
    right: -1.75rem;
}

.testimonial-navigation {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 5;
}

.dot {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    border: none;
    background: var(--muted);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.dot:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.dot.active {
    background: var(--gold-500);
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(184, 131, 43, 0.3);
}

/* LinkedIn Section */
.linkedin-section {
    background: linear-gradient(180deg, var(--background) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.linkedin-feed {
    max-width: 60rem;
    margin: 0 auto;
}

.linkedin-post {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.linkedin-post:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.post-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.company-logo {
    width: 3rem;
    height: 3rem;
    background: var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.linkedin-icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--black);
}

.post-info {
    flex: 1;
}

.company-name-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
    line-height: 1.2;
}

.company-name {
    font-weight: 600;
    color: var(--gold-500);
    line-height: 1;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.linkedin-post:hover .company-name {
    color: var(--gold-400);
}

.verified-badge {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--gold-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: var(--black);
    font-weight: 600;
    flex-shrink: 0;
    transform: translateY(-0.125rem);
    line-height: 0.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.verified-badge > * {
    display: none;
}

.verified-badge::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.5rem;
    color: var(--black);
    font-weight: 600;
}

.post-time {
    color: var(--muted);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.linkedin-post:hover .post-time {
    color: #fffefe;
}

.post-content {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.linkedin-post:hover .post-content {
    color: #fffefe;
}

.post-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.post-stats {
    display: flex; /* Show engagement metrics */
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted);
    transition: color 0.3s ease;
}

.linkedin-post:hover .post-stats {
    color: #fffefe;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.3s ease;
}

.linkedin-post:hover .stat {
    color: #fffefe;
}

.post-footer {
    padding-top: 1rem;
}

.linkedin-follow-btn {
    width: 100%;
    background: var(--gold-500);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.3s ease;
}

.linkedin-follow-btn:hover {
    background: var(--gold-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 131, 43, 0.3);
}


/* Post Iframe Styles - HIDDEN */
.post-iframe-container {
    display: none; /* Hide iframe containers completely */
    margin: 1rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--background);
    border: 1px solid var(--border);
    position: relative;
    min-height: 300px;
}

.post-iframe-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--background) 25%, transparent 25%), 
                linear-gradient(-45deg, var(--background) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, var(--background) 75%), 
                linear-gradient(-45deg, transparent 75%, var(--background) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.post-iframe-container.loaded::before {
    opacity: 0;
}

.post-iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
    background: var(--card);
    transition: opacity 0.3s ease;
}

.post-iframe-container:not(.loaded) .post-iframe {
    opacity: 0;
}

.post-iframe-container.loaded .post-iframe {
    opacity: 1;
}

/* Post Navigation Styles */
.post-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.post-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gold-500);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.post-nav-btn:hover {
    background: var(--gold-400);
    transform: scale(1.1);
}

.post-nav-btn:active {
    transform: scale(0.95);
}

.post-counter {
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 4rem;
    text-align: center;
}

.current-post {
    color: var(--gold-500);
    font-weight: 600;
}

/* Latest Post Indicator */
.linkedin-post[data-latest="true"] {
    border: 2px solid var(--gold-500);
    box-shadow: 0 0 20px rgba(184, 131, 43, 0.4);
}

.linkedin-post[data-latest="true"]::before {
    content: "LATEST POST";
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gold-500);
    color: var(--black);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.linkedin-post {
    position: relative;
}

/* Responsive iframe styles */
@media (max-width: 768px) {
    .post-iframe {
        height: 300px;
    }
    
    .post-navigation {
        margin: 1rem 0;
        padding: 0.75rem;
    }
    
    .post-nav-btn {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .linkedin-post[data-latest="true"]::before {
        right: 10px;
        font-size: 0.7rem;
        padding: 3px 8px;
    }
}

/* Footer */
.footer {
    background: var(--card);
    padding: 2rem 1rem 1rem;
}

.footer-content {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.company-info {
    max-width: 24rem;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--gold-500);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--gold-400);
}

.map-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.map-container iframe {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-500);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-link {
    color: var(--muted);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--gold-500);
}

.social-link svg {
    width: 2rem;
    height: 2rem;
    fill: currentColor;
}

.footer-title {
    font-weight: 600;
    color: var(--gold-500);
    margin-bottom: 1rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-links li {
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-500);
}

.footer-links span {
    color: var(--muted);
    display: inline;
}

.footer-links strong {
    color: var(--muted);
    transition: color 0.3s ease;
}

.footer-links li:hover strong {
    color: var(--gold-500);
}

.footer-section {
    padding: 1rem;
    border-radius: 0.5rem;
}

.footer-title:hover,
.contact-info p:hover,
.footer-links a:hover {
    color: #fffefe;
    transition: color 0.3s ease;
}

.qr-section {
    text-align: center;
}

.qr-container {
    margin-bottom: 1rem;
}

.qr-code {
    display: inline-block;
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.whatsapp-icon {
    width: 8rem;
    height: 8rem;
    fill: var(--gold-500);
}

.qr-instruction {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.phone-number {
    color: var(--gold-500);
    font-weight: 600;
}

.phone-number a {
    color: var(--gold-500);
    text-decoration: none;
}

.phone-number a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    color: var(--muted);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Loader spin animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.parallax {
    transform: translateZ(0);
    will-change: transform;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.7s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--background);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.mobile-open {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu .nav-link {
        font-size: 1.5rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(184, 131, 43, 0.1);
        transform: scale(1.05);
    }
    
    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        color: var(--white);
        font-size: 1.5rem;
        line-height: 1;
        transition: all 0.3s ease;
        order: 3;
    }
    
    .nav-brand {
        order: 1;
    }
    
    .language-toggle {
        order: 2;
    }
    
    .mobile-menu-btn:hover {
        color: var(--gold-500);
        transform: scale(1.1);
    }
    
    .mobile-menu-btn.active {
        color: var(--gold-500);
        transform: rotate(90deg);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    
    /* Mobile menu overlay */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.8);
        z-index: -1;
    }
    
    
    
    .section-header {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        display: grid;
        place-items: center;
    }
    
    .solution-card {
        text-align: center;
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem; /* Reduced gap for mobile */
    }
    
    .testimonial-card {
        padding: 1rem; /* Further reduced padding for mobile */
        min-height: 150px; /* Reduced height for mobile */
    }
    
    .testimonial-text {
        font-size: 0.9rem; /* Smaller text for mobile */
        line-height: 1.4;
    }
    
    .testimonial-nav {
        display: none;
    }
    
    .contact-content-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-form-container {
        text-align: center;
    }
    
    .whatsapp-qr-container {
        text-align: center;
    }
    
    [dir="rtl"] .contact-form-container {
        height: 450px;
    }
    
    [dir="rtl"] .whatsapp-qr-container {
        height: 450px;
    }
    
    [dir="rtl"] .contact-form-new {
        gap: 0.875rem;
    }
    
    [dir="rtl"] .form-input,
    [dir="rtl"] .form-textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    [dir="rtl"] .form-textarea {
        min-height: 50px;
    }
    
    [dir="rtl"] .submit-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
    
    [dir="rtl"] .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    [dir="rtl"] .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    [dir="rtl"] .footer-links {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    [dir="rtl"] .map-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    [dir="rtl"] .map-container iframe {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .company-info {
        max-width: none;
    }

    .nav-logo-img {
        height: 2rem; /* Further minimized mobile size for navigation */
        align-self: center;
    }
    
    .nav-brand-text {
        font-size: 1.25rem;
        margin-left: 0.5rem;
    }
    
    .hero-logo-img {
        height: 12rem; /* Increased from 8rem */
    }

    .partners-track {
        gap: 1.5rem;
    }

    .partner-logo {
        height: 32px;
    }

    /* Disable parallax transforms on small screens to prevent overlap */
    .parallax {
        transform: none !important;
    }
}


@media (max-width: 480px) {
    .section {
        padding: 3rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        display: grid;
        place-items: center;
        justify-items: center;
    }
    
    .post-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* RTL Support for Arabic */
[dir="rtl"] {
    --text-direction: rtl;
    --text-align: right;
    --margin-start: right;
    --margin-end: left;
}

[dir="rtl"] .nav-brand-text {
    margin-left: 0;
    margin-right: 0.75rem;
}

[dir="rtl"] .language-toggle {
    margin-left: 0;
    margin-right: 0;
}

/* Language toggle positioning */
[dir="rtl"] .language-toggle {
    order: 3;
}

[dir="ltr"] .language-toggle {
    order: 3;
}

[dir="rtl"] .nav-menu {
    flex-direction: row;
}

/* Desktop navigation order for RTL */
@media (min-width: 769px) {
    [dir="rtl"] .nav-menu .nav-link {
        margin-left: 0;
        margin-right: 2rem;
    }
    
    [dir="rtl"] .nav-menu .nav-link:last-child {
        margin-right: 0;
    }
}



[dir="rtl"] .nav-menu .nav-link {
    text-align: center;
}

/* Arabic logo positioning */
[dir="rtl"] .nav-brand {
    margin-left: 2rem;
    margin-right: 0;
}

[dir="rtl"] .nav-brand-link {
    display: flex;
    align-items: center;
}

/* Mobile menu positioning for RTL */
@media (max-width: 768px) {
    [dir="rtl"] .nav-menu {
        right: 0;
        left: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    [dir="rtl"] .nav-menu .nav-link {
        font-size: 1.5rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    [dir="rtl"] .nav-menu .nav-link:hover {
        background: rgba(184, 131, 43, 0.1);
        transform: scale(1.05);
    }
    
    [dir="rtl"] .mobile-menu-btn {
        order: 0; /* Mobile button on the left (opposite of logo) */
        margin-left: 0;
        margin-right: 1rem;
    }
    
    [dir="rtl"] .nav-brand {
        order: 1; /* Logo on the right */
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    [dir="rtl"] .language-toggle {
        order: 2; /* Language toggle in the middle */
    }
}

/* Mobile menu positioning for LTR (English) */
@media (max-width: 768px) {
    [dir="ltr"] .nav-menu,
    .nav-menu {
        left: 0;
        right: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    [dir="ltr"] .nav-menu .nav-link,
    .nav-menu .nav-link {
        font-size: 1.5rem;
        margin: 1rem 0;
        padding: 1rem 2rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    [dir="ltr"] .nav-menu .nav-link:hover,
    .nav-menu .nav-link:hover {
        background: rgba(184, 131, 43, 0.1);
        transform: scale(1.05);
    }
    
    [dir="ltr"] .mobile-menu-btn,
    .mobile-menu-btn {
        order: 0; /* Mobile button on the left (opposite of logo) */
        margin-left: 0;
        margin-right: 1rem;
    }
    
    [dir="ltr"] .nav-brand,
    .nav-brand {
        order: 3; /* Logo on the right */
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    [dir="ltr"] .language-toggle,
    .language-toggle {
        order: 2; /* Language toggle in the middle */
    }
}

[dir="rtl"] .hero-content {
    text-align: center;
}

[dir="rtl"] .section-header {
    text-align: center;
}

[dir="rtl"] .solution-card {
    text-align: center;
}

[dir="rtl"] .testimonial-content {
    text-align: center;
}

[dir="rtl"] .contact-form-container {
    text-align: center;
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

[dir="rtl"] .contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
}

[dir="rtl"] .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

[dir="rtl"] .form-group:last-child {
    margin-top: auto;
}

[dir="rtl"] .form-input,
[dir="rtl"] .form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: var(--muted);
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.4;
}

[dir="rtl"] .form-textarea {
    min-height: 60px;
    resize: vertical;
}

[dir="rtl"] .whatsapp-qr-container {
    height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

[dir="rtl"] .footer-content {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 1rem;
    text-align: center;
}

[dir="rtl"] .copyright-content {
    flex-direction: row-reverse;
}

/* Enhanced RTL Support */
[dir="rtl"] .nav-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-brand {
    flex-direction: row-reverse;
}


[dir="rtl"] .solutions-grid {
    direction: rtl;
}

[dir="rtl"] .solution-card {
    direction: rtl;
}

[dir="rtl"] .solution-icon {
    left: 1rem;
    right: auto;
}

[dir="rtl"] .testimonial-content {
    flex-direction: row-reverse;
    text-align: center;
}

[dir="rtl"] .testimonial-nav.prev {
    right: -1.75rem;
    left: auto;
}

[dir="rtl"] .testimonial-nav.next {
    left: -1.75rem;
    right: auto;
}

[dir="rtl"] .post-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .company-name-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-section {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

[dir="rtl"] .footer-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[dir="rtl"] .footer-links li {
    margin-bottom: 0.5rem;
}

[dir="rtl"] .footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

[dir="rtl"] .footer-links a:hover {
    color: var(--gold-500);
}

[dir="rtl"] .partners-track {
    animation: infinite-scroll-rtl 60s linear infinite;
}

[dir="rtl"] .social-links {
    justify-content: center;
    display: flex;
    align-items: center;
}

[dir="rtl"] .map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

[dir="rtl"] .map-container iframe {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

[dir="rtl"] .footer-section:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

[dir="rtl"] .footer-section:last-child .footer-title {
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
}

[dir="rtl"] .footer-section:last-child .map-container {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

[dir="rtl"] .form-input,
[dir="rtl"] .form-textarea {
    text-align: center;
}

[dir="rtl"] .form-input::placeholder,
[dir="rtl"] .form-textarea::placeholder {
    text-align: center;
}

/* Arabic Font Support - moved to top for consistency */

/* Additional Arabic Centering Rules */
[dir="rtl"] .about-section h2,
[dir="rtl"] .objective-card,
[dir="rtl"] .info-card,
[dir="rtl"] .strategic-section,
[dir="rtl"] .strategic-list {
    text-align: center;
}

[dir="rtl"] .about-grid {
    text-align: center;
}

[dir="rtl"] .about-text {
    text-align: center;
}

[dir="rtl"] .about-image {
    text-align: center;
}

[lang="ar"] .nav-brand-text,
[lang="ar"] .section-title,
[lang="ar"] .solution-title,
[lang="ar"] .testimonial-text,
[lang="ar"] .copyright-paragraph,
[lang="ar"] .hero-title,
[lang="ar"] .hero-subtitle,
[lang="ar"] .section-subtitle,
[lang="ar"] .solution-description,
[lang="ar"] .author-name,
[lang="ar"] .author-role,
[lang="ar"] .post-content,
[lang="ar"] .company-name,
[lang="ar"] .footer-title,
[lang="ar"] .footer-description,
[lang="ar"] .form-input,
[lang="ar"] .form-textarea,
[lang="ar"] .submit-button,
[lang="ar"] .btn {
    font-family: 'Cairo', 'Tajawal', 'Noto Sans Arabic', 'Arial', sans-serif;
}

/* Arabic-specific adjustments */
[lang="ar"] .nav-menu {
    gap: 1.5rem;
}

[lang="ar"] .hero-content {
    max-width: 70rem;
}

[lang="ar"] .section-title {
    line-height: 1.3;
}

[lang="ar"] .solution-title {
    line-height: 1.4;
}

[lang="ar"] .testimonial-text {
    line-height: 1.8;
}

[lang="ar"] .post-content {
    line-height: 1.7;
}

[lang="ar"] .footer-description {
    line-height: 1.7;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .partners-track {
        animation: none !important;
    }
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

#loader img {
    height: 5rem;
    width: auto;
    object-fit: contain;
    animation: spin 1.2s linear infinite;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Copyright Footer */
.copyright-footer {
    background: var(--background);
    padding: 0.75rem 1rem;
}

.copyright-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.copyright-logo {
    display: flex;
    align-items: center;
}

.copyright-logo-img {
    height: 2rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0.8);
}

.copyright-text {
    text-align: center;
}

.copyright-paragraph {
    color: var(--gold-500);
    font-size: 0.8rem;
    font-weight: 500;
    margin: 0 0 0.2rem 0;
}

.copyright-tagline {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 400;
    margin: 0;
    font-style: italic;
}

/* Responsive copyright footer */
@media (max-width: 768px) {
    .copyright-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .copyright-logo-img {
        height: 2rem;
    }
    
    .copyright-paragraph {
        font-size: 0.8rem;
    }
    
    .copyright-tagline {
        font-size: 0.75rem;
    }
}

/* Contact Form Styles */
.contact-form-section {
    background: var(--background);
    padding: 4rem 1rem;
}

.contact-content-wrapper {
    display: flex;
    gap: 2.5rem;
    align-items: stretch;
    justify-content: center;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form-container {
    flex: 1;
    max-width: 480px;
    height: 480px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-form-container:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 15px 35px rgba(184, 131, 43, 0.2);
    transform: translateY(-3px);
}

.whatsapp-qr-container {
    flex: 1;
    max-width: 480px;
    height: 480px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.whatsapp-qr-container:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 15px 35px rgba(184, 131, 43, 0.2);
    transform: translateY(-3px);
}

.contact-form-container:hover,
.whatsapp-qr-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--gold-500);
}

.qr-title {
    color: var(--gold-500);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.qr-code-wrapper {
    margin-bottom: 1rem;
}

.qr-image {
    width: 200px;
    height: 200px;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.qr-image:hover {
    transform: scale(1.05);
}

.qr-instruction {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.contact-form-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group:last-child {
    margin-top: auto;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: var(--muted);
    font-size: 0.95rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.4;
}

/* Phone input wrapper styles */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(184, 131, 43, 0.4);
    transform: translateY(-2px);
}

.country-code {
    background: var(--gold-500);
    color: var(--black);
    padding: 0.875rem 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px 0 0 8px;
    white-space: nowrap;
    user-select: none;
}

.phone-input {
    border-radius: 0 8px 8px 0 !important;
    border-left: none !important;
    flex: 1;
}

.phone-input:focus {
    outline: none;
    box-shadow: none;
    transform: none;
}

/* Mobile responsive styles for phone input */
@media (max-width: 768px) {
    .phone-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .country-code {
        border-radius: 8px 8px 0 0;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .phone-input {
        border-radius: 0 0 8px 8px !important;
        border-top: none !important;
    }
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 131, 43, 0.4);
    transform: translateY(-2px);
}

.form-textarea {
    min-height: 60px;
    resize: vertical;
}

.submit-button {
    background: var(--gold-500);
    color: var(--black);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(184, 131, 43, 0.4);
}

.submit-button:hover {
    background: var(--gold-600);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 20px rgba(184, 131, 43, 0.5);
}

.submit-button:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 2px 10px rgba(184, 131, 43, 0.4);
}

/* Responsive adjustments for contact form */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Mobile responsive styles for contact section */
@media (max-width: 768px) {
    .contact-content-wrapper {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
        padding: 0 0.5rem;
        align-items: center;
        justify-content: center;
    }
    
    .contact-form-container {
        max-width: 100%;
        height: 400px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .whatsapp-qr-container {
        max-width: 100%;
        height: 400px;
        padding: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .contact-form-new {
        gap: 0.875rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .form-textarea {
        min-height: 50px;
    }
    
    .submit-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
        align-self: center;
    }
    
    .qr-image {
        width: 150px;
        height: 150px;
        display: block;
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

/* Description Points Container */
.description-points-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Description Point Card Styles */
.description-point-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.description-point-card p {
    color: var(--muted);
    transition: color 0.3s ease;
}

.description-point-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.description-point-card:hover p {
    color: #fffefe;
}

/* Description Text Container Styles (Legacy) */
.description-text-container {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.description-text-container:hover {
    border-color: var(--gold-500);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Section Separator Styles */
.section-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-500) 50%, transparent 100%);
    margin: 4rem 0;
    border-radius: 1px;
}

/* Responsive adjustments for description container */
@media (max-width: 768px) {
    .description-text-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .section-separator {
        margin: 3rem 0;
    }
}

/* Industry Card Button Alignment Fix */
.industry-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.industry-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.industry-card:hover .industry-description {
    color: #fffefe;
}

.industry-card .industry-description {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.industry-card .package-btn {
    margin-top: auto;
}

/* About page specific containers */
.objective-card,
.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Service page specific containers */
.package-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.package-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.package-card:hover .package-description {
    color: #fffefe;
}

/* Strategic section hover effects */
.strategic-section {
    transition: all 0.3s ease;
    cursor: pointer;
}

.strategic-section:hover {
    background: linear-gradient(135deg, var(--gold-500) 0%, rgba(184, 131, 43, 0.8) 100%);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.3);
    transform: translateY(-2px);
}

.strategic-section:hover h2,
.strategic-section:hover li {
    color: #fffefe;
}

.objective-card:hover,
.info-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

.objective-card:hover p,
.info-card:hover p {
    color: #fffefe;
}

/* Universal container hover effects for any remaining containers */
.section-card,
.feature-card,
.service-card,
.about-card,
.portfolio-card,
.gallery-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-card:hover,
.feature-card:hover,
.service-card:hover,
.about-card:hover,
.portfolio-card:hover,
.gallery-card:hover {
    background: linear-gradient(135deg, var(--card) 0%, rgba(184, 131, 43, 0.05) 100%);
    border-color: var(--gold-500);
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

/* Service page specific muted text hover effects */
.service-hero p,
.service-content p,
.industry-description,
.package-description,
.package-features li {
    transition: color 0.3s ease;
}

/* Service page container hover effects - only target muted text */
.industries-section:hover .industry-description,
.packages-section:hover .package-description,
.packages-section:hover .package-features li {
    color: #fffefe;
}

/* Service page sections hover effects */
.industries-section,
.packages-section {
    transition: all 0.3s ease;
    cursor: pointer;
}

.industries-section:hover,
.packages-section:hover {
    box-shadow: 0 8px 25px rgba(184, 131, 43, 0.2);
    transform: translateY(-2px);
}

/* Universal text color change on hover for any text elements in containers */
.section-card:hover p,
.feature-card:hover p,
.service-card:hover p,
.about-card:hover p,
.portfolio-card:hover p,
.gallery-card:hover p,
.section-card:hover .description,
.feature-card:hover .description,
.service-card:hover .description,
.about-card:hover .description,
.portfolio-card:hover .description,
.gallery-card:hover .description {
    color: #fffefe;
}




