/* ========================================
   APEXIS Technical Services - Main Styles
   Brand Colors:
   - Gold: #C9B037 (Prestige & Luxury)
   - Navy Blue: #001F3F (Trust & Stability)
   - Sage Green: #8A9A5B (Sustainability)
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    --gold: #C9B037;
    --navy: #001F3F;
    --sage: #8A9A5B;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #C9B037 0%, #E4D088 100%);
    --navy-gradient: linear-gradient(135deg, #001F3F 0%, #002F5F 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(201, 176, 55, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Fonts */
    --font-en: 'Inter', sans-serif;
    --font-ar: 'Tajawal', sans-serif;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-en);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

body[dir="rtl"] {
    font-family: var(--font-ar);
}

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

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

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== Container ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 80px;
    width: auto;
    transition: var(--transition-normal);
}

.navbar.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--navy);
    position: relative;
    padding: 5px 0;
    transition: var(--transition-normal);
}

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

.nav-link:hover {
    color: var(--gold);
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--gold);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.lang-toggle:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, #003366 100%);
    overflow: hidden;
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23C9B037" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,133.3C672,139,768,181,864,181.3C960,181,1056,139,1152,133.3C1248,128,1344,160,1392,176L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: heroWave 15s ease-in-out infinite;
}

@keyframes heroWave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-50px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 176, 55, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo {
    margin-bottom: 30px;
    text-align: center;
}

.hero-logo img {
    height: 120px;
    width: auto;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(201, 176, 55, 0.5));
    animation: floatAnimation 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(201, 176, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--off-white);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-3px);
}

.hero-scroll {
    margin-top: 60px;
    animation: bounceAnimation 2s ease-in-out infinite;
}

.hero-scroll i {
    font-size: 2rem;
    color: var(--gold);
}

@keyframes bounceAnimation {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* ========== Section Styles ========== */
section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== About Section ========== */
.about-section {
    background: var(--off-white);
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: center;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.vm-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
    border-top: 4px solid var(--gold);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.vm-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.vm-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.vm-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ========== Quick Navigation Menu ========== */
.quick-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 31, 63, 0.25);
    padding: 10px 20px;
    z-index: 999;
    display: none;
    animation: slideUp 0.4s ease;
}

.quick-nav-content {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quick-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    border-radius: 30px;
    transition: var(--transition-normal);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 600;
}

.quick-nav-link i {
    font-size: 1.3rem;
    color: var(--sage);
    transition: var(--transition-normal);
}

.quick-nav-link:hover {
    background: var(--off-white);
}

.quick-nav-link:hover i {
    color: var(--gold);
    transform: scale(1.1);
}

.quick-nav-link span {
    white-space: nowrap;
}

/* Show quick nav on mobile only */
@media (max-width: 768px) {
    .quick-nav {
        display: block;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ========== Three HOWs Section (Legacy - now integrated into Our Approach) ========== */
.three-hows-section {
    background: var(--white);
}

/* ========== Our Approach to Excellence Section ========== */
.our-approach-section {
    background: linear-gradient(to bottom, var(--white) 0%, var(--off-white) 50%, var(--navy) 100%);
    padding: 100px 0;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.approach-card {
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

/* HOW cards styling (first 3 cards) */
.approach-card.how-card {
    background: var(--off-white);
    border: 2px solid transparent;
}

.approach-card.how-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.approach-card.how-card .approach-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.2;
}

body[dir="rtl"] .approach-card.how-card .approach-number {
    right: auto;
    left: 20px;
}

.approach-card.how-card .approach-icon {
    width: 70px;
    height: 70px;
    background: var(--sage);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.approach-card.how-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.approach-card.how-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* PILLAR cards styling (last 5 cards) */
.approach-card.pillar-card {
    background: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(10px);
    text-align: center;
    border: 1px solid rgba(201, 176, 55, 0.3);
}

.approach-card.pillar-card:hover {
    background: rgba(201, 176, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-10px);
}

.approach-card.pillar-card .approach-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-card.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--white);
}

.approach-card.pillar-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 0.95rem;
}

.approach-icon i {
    font-size: 2rem;
    color: var(--white);
}

.hows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.how-card {
    background: var(--off-white);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.how-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.how-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    opacity: 0.2;
}

body[dir="rtl"] .how-number {
    right: auto;
    left: 20px;
}

.how-icon {
    width: 70px;
    height: 70px;
    background: var(--sage);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.how-icon i {
    font-size: 2rem;
    color: var(--white);
}

.how-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 15px;
    font-weight: 700;
}

.how-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ========== Five Pillars Section ========== */
.five-pillars-section {
    background: linear-gradient(135deg, var(--navy) 0%, #003366 100%);
    color: var(--white);
}

.five-pillars-section .section-title,
.five-pillars-section .section-subtitle {
    color: var(--white);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.pillar-card:hover {
    background: rgba(201, 176, 55, 0.2);
    border-color: var(--gold);
    transform: translateY(-10px);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon i {
    font-size: 2rem;
    color: var(--white);
}

.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.pillar-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border-top: 3px solid var(--sage);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--gold);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gold);
    transform: scale(1.1);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========== Why Us Section ========== */
.why-us-section {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 30px;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-10px);
}

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.why-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.why-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.why-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ========== Founders Section ========== */
.founders-section {
    background: var(--off-white);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.founder-image {
    height: 400px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--sage) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.founder-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 176, 55, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.founder-placeholder {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

.founder-info {
    padding: 35px;
}

.founder-info h3 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 800;
}

.founder-info h4 {
    font-size: 1.1rem;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 700;
}

.founder-info h5 {
    font-size: 0.95rem;
    color: var(--sage);
    margin-bottom: 20px;
    font-weight: 500;
    font-style: italic;
}

.founder-info p {
    color: var(--gray);
    line-height: 1.7;
}

/* ========== Contact Section ========== */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--off-white);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition-normal);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.3rem;
    color: var(--white);
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-card p {
    color: var(--gray);
    line-height: 1.6;
}

.info-card a {
    color: var(--navy);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--gold);
}

.license-info {
    background: var(--navy);
    color: var(--white);
    padding: 20px;
    border-radius: 12px;
    margin-top: 10px;
}

.license-info p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.license-info strong {
    color: var(--gold);
}

/* ========== Contact Form ========== */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    scroll-margin-top: 100px;
}

.contact-form-wrapper h3 {
    color: var(--navy);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 176, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    align-self: flex-start;
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ========== Map ========== */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    display: block;
}

/* ========== Footer ========== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--gold);
    font-weight: 700;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

body[dir="rtl"] .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i {
    color: var(--gold);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-license {
    font-size: 0.9rem;
}

.footer-legal-links {
    margin-top: 15px;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-normal);
    padding: 0 10px;
}

.footer-legal-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

/* ========== Scroll to Top ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

body[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 30px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--navy);
    transform: translateY(-5px);
}

/* ========== Floating Contact Buttons ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float i {
    font-size: 2rem;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

body[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 30px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Mobile adjustments for floating buttons */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 100px;
        width: 55px;
        height: 55px;
        left: 15px;
    }
    
    .whatsapp-float i {
        font-size: 1.8rem;
    }
    
    body[dir="rtl"] .whatsapp-float {
        left: auto;
        right: 15px;
    }
    
    .scroll-to-top {
        bottom: 100px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-form-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .contact-form .btn {
        width: 100%;
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    /* Typography improvements for mobile */
    body {
        line-height: 1.75;
        font-size: 16px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    body[dir="rtl"] .nav-links {
        left: auto;
        right: -100%;
    }
    
    body[dir="rtl"] .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .hero-logo img {
        height: 80px;
    }
    
    .section-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Section spacing improvements */
    section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    /* Grid improvements for mobile */
    .hows-grid,
    .pillars-grid,
    .services-grid,
    .why-us-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Card spacing improvements */
    .how-card,
    .pillar-card,
    .service-card,
    .why-card,
    .approach-card {
        padding: 35px 25px;
        margin-bottom: 10px;
    }
    
    .how-card h3,
    .pillar-card h3,
    .service-card h3,
    .why-card h3,
    .approach-card h3 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .how-card p,
    .pillar-card p,
    .service-card p,
    .why-card p,
    .approach-card p {
        line-height: 1.8;
        font-size: 0.95rem;
    }
    
    /* About section improvements */
    .lead-text {
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 30px;
    }
    
    .vm-card {
        padding: 30px 25px;
        margin-bottom: 15px;
    }
    
    .vm-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .vm-card p {
        line-height: 1.8;
    }
    
    /* Founders section improvements */
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .founder-card {
        padding: 30px 20px;
    }
    
    .founder-info h3 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .founder-info h4 {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .founder-info h5 {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .founder-info p {
        line-height: 1.8;
        font-size: 0.95rem;
    }
    
    /* Contact section improvements */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-card {
        padding: 25px;
        margin-bottom: 15px;
    }
    
    .info-card h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    /* Footer improvements */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 35px;
    }
    
    .footer-col {
        padding: 0 10px;
    }
    
    .footer-desc {
        line-height: 1.8;
    }
    
    .social-links {
        justify-content: center;
        gap: 15px;
    }
    
    /* Bottom padding for quick nav */
    body {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ========== RTL Specific Styles ========== */
body[dir="rtl"] {
    direction: rtl;
}

body[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

body[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

body[dir="rtl"] .info-card {
    flex-direction: row-reverse;
}

body[dir="rtl"] .contact-list li {
    flex-direction: row-reverse;
}

/* ========== Animations ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* ========== Print Styles ========== */
@media print {
    .navbar,
    .hero-scroll,
    .scroll-to-top,
    .contact-form-wrapper {
        display: none;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }
}