/* ============================================
   SONIC TC - Corporate Website Styles
   Color Palette: Teal/Cyan (#0d7377, #14919b) & Deep Maroon (#6b2737, #8b3a4a)
   ============================================ */

:root {
    /* Primary Colors - Teal/Cyan */
    --primary-teal: #0d7377;
    --primary-teal-light: #14919b;
    --primary-teal-dark: #095456;
    --primary-cyan: #17a2b8;
    
    /* Secondary Colors - Deep Maroon */
    --secondary-maroon: #6b2737;
    --secondary-maroon-light: #8b3a4a;
    --secondary-maroon-dark: #4a1a26;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #343a40;
    --text-dark: #212529;
    --text-muted: #6c757d;
    
    /* Gradients */
    --gradient-teal: linear-gradient(135deg, var(--primary-teal) 0%, var(--primary-teal-light) 100%);
    --gradient-maroon: linear-gradient(135deg, var(--secondary-maroon) 0%, var(--secondary-maroon-light) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(13, 115, 119, 0.85) 0%, rgba(107, 39, 55, 0.85) 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);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* RTL Support */
body.rtl {
    direction: rtl;
    text-align: right;
    font-family: 'Tajawal', 'Segoe UI', Arial, sans-serif;
}

body.rtl .navbar-nav {
    padding-right: 0;
}

body.rtl .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

body.rtl .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

body.rtl .text-end {
    text-align: left !important;
}

body.rtl .text-start {
    text-align: right !important;
}

body.rtl .float-end {
    float: left !important;
}

body.rtl .float-start {
    float: right !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-teal-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Top Sitemap Bar
   ============================================ */
.sitemap-bar {
    background: var(--dark-gray);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 2px solid var(--primary-teal);
}

.sitemap-bar a {
    color: var(--medium-gray);
    margin: 0 12px;
    transition: var(--transition-fast);
}

.sitemap-bar a:hover {
    color: var(--primary-teal-light);
}

.sitemap-bar .sitemap-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.sitemap-bar .separator {
    color: var(--text-muted);
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-toggle .btn-lang {
    background: transparent;
    border: 1px solid var(--medium-gray);
    color: var(--medium-gray);
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.language-toggle .btn-lang:hover,
.language-toggle .btn-lang.active {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

/* ============================================
   Main Navigation
   ============================================ */
.main-navbar {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-navbar .navbar-brand img {
    height: 60px;
    width: auto;
}

.main-navbar .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    padding: 10px 18px;
    position: relative;
    transition: var(--transition-fast);
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    color: var(--primary-teal);
}

.main-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-teal);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
    width: 80%;
}

.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
}

.main-navbar .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.main-navbar .dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-teal);
    padding-left: 25px;
}

body.rtl .main-navbar .dropdown-item:hover {
    padding-left: 20px;
    padding-right: 25px;
}

.navbar-cta {
    display: flex;
    gap: 10px;
}

.btn-quote,
.btn-emergency {
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-normal);
}

.btn-quote {
    background: var(--gradient-teal);
    color: var(--white);
    border: none;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.btn-emergency {
    background: var(--gradient-maroon);
    color: var(--white);
    border: none;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    min-height: 80vh; /* Increased for better visual impact */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: scroll !important; /* Fixed: 'fixed' causes gaps on mobile */
    width: 100%;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content .tagline {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-normal);
}

.btn-hero-primary {
    background: var(--white);
    color: var(--primary-teal);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--light-gray);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: var(--secondary-maroon);
    transform: translateY(-3px);
}

/* Current Events Sidebar */
.events-sidebar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 10px 0 0 10px;
    max-width: 320px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

body.rtl .events-sidebar {
    right: auto;
    left: 0;
    border-radius: 0 10px 10px 0;
}

.events-sidebar h3 {
    color: var(--primary-teal);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-maroon);
}

.event-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    color: var(--secondary-maroon);
    font-weight: 600;
    font-size: 0.9rem;
}

.event-title {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* ============================================
   Services Section
   ============================================ */
.services-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.section-header .underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-maroon);
    margin: 0 auto;
    border-radius: 2px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-img img {
    transform: scale(1.1);
}

.service-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.service-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body h4 {
    color: var(--primary-teal);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.service-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-card-body .btn-service {
    display: inline-block;
    color: var(--secondary-maroon);
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition-fast);
}

.service-card-body .btn-service:hover {
    color: var(--secondary-maroon-dark);
    padding-left: 10px;
}

body.rtl .service-card-body .btn-service:hover {
    padding-left: 0;
    padding-right: 10px;
}

.service-card-body .btn-service i {
    transition: var(--transition-fast);
}

.service-card-body .btn-service:hover i {
    transform: translateX(5px);
}

body.rtl .service-card-body .btn-service:hover i {
    transform: translateX(-5px);
}

/* Service Icon Cards */
.service-icon-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    height: 100%;
    border-bottom: 4px solid transparent;
}

.service-icon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-teal);
}

.service-icon-card .icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.service-icon-card:hover .icon {
    background: var(--gradient-maroon);
    transform: rotateY(180deg);
}

.service-icon-card .icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-icon-card h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.service-icon-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 80px 0;
    position: relative;
}

.about-section .logo-watermark {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
    max-width: 500px;
    pointer-events: none;
}

body.rtl .about-section .logo-watermark {
    right: auto;
    left: -100px;
}

.about-content h2 {
    color: var(--primary-teal);
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

body.rtl .feature-item {
    flex-direction: row-reverse;
}

.feature-item .icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

body.rtl .feature-item .icon {
    margin-right: 0;
    margin-left: 20px;
}

.feature-item .icon i {
    color: var(--white);
    font-size: 1.3rem;
}

.feature-item h5 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Vision & Mission */
.vision-mission {
    padding: 80px 0;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.vision-mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/header.jpg') center/cover;
    opacity: 0.1;
}

.vision-mission .content {
    position: relative;
    z-index: 1;
}

.vm-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
}

.vm-card h3 {
    color: var(--primary-teal-light);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

body.rtl .vm-card h3 {
    flex-direction: row-reverse;
}

.vm-card h3 i {
    font-size: 2rem;
}

.vm-card p {
    color: var(--medium-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ============================================
   Partners & Certifications
   ============================================ */
.partners-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.partner-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partner-logos img {
    height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition-normal);
}

.partner-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(rgba(13, 115, 119, 0.9), rgba(107, 39, 55, 0.9)), 
                url('../images/header.jpg') center/cover fixed;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
    color: var(--primary-teal);
    margin-bottom: 30px;
}

.form-control, .form-select {
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.1);
}

.form-label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
}

.btn-submit {
    background: var(--gradient-teal);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: var(--transition-normal);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.contact-info {
    color: var(--white);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

body.rtl .contact-info-item {
    flex-direction: row-reverse;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

body.rtl .contact-info-item .icon {
    margin-right: 0;
    margin-left: 20px;
}

.contact-info-item .icon i {
    color: var(--white);
    font-size: 1.3rem;
}

.contact-info-item h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-info-item p {
    opacity: 0.9;
    margin: 0;
}

.contact-info-item a {
    color: var(--white);
}

.contact-info-item a:hover {
    opacity: 0.8;
}

/* Captcha */
.captcha-wrapper {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.captcha-question {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.captcha-input {
    max-width: 150px;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: var(--dark-gray);
    color: var(--medium-gray);
    padding: 60px 0 0;
}

.footer-widget h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-teal);
}

.footer-widget p {
    line-height: 1.8;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: var(--medium-gray);
    transition: var(--transition-fast);
}

.footer-widget ul li a:hover {
    color: var(--primary-teal-light);
    padding-left: 10px;
}

body.rtl .footer-widget ul li a:hover {
    padding-left: 0;
    padding-right: 10px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

body.rtl .social-links {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--primary-teal);
    transform: translateY(-5px);
}

.social-links a.linkedin:hover { background: #0077b5; }
.social-links a.facebook:hover { background: #1877f2; }
.social-links a.twitter:hover { background: #1da1f2; }
.social-links a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-links a.whatsapp:hover { background: #25d366; }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================
   Careers Page
   ============================================ */
.careers-hero {
    background: var(--gradient-overlay), url('../images/header.jpg') center/cover;
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}

.careers-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.careers-content {
    padding: 80px 0;
}

.careers-intro {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
}

.careers-intro h3 {
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.careers-form {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.file-upload {
    border: 2px dashed var(--primary-teal);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.file-upload:hover {
    background: var(--light-gray);
}

.file-upload i {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Service Detail Pages
   ============================================ */
.service-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/header.jpg') center/cover no-repeat;
    background-size: cover;
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
}

.service-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.service-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.service-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-hero .breadcrumb-item.active {
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-content {
    padding: 80px 0;
}

.service-sidebar {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.service-sidebar h4 {
    color: var(--primary-teal);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-maroon);
}

.service-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-sidebar ul li {
    margin-bottom: 10px;
}

.service-sidebar ul li a {
    display: block;
    padding: 12px 15px;
    background: var(--white);
    border-radius: 8px;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.service-sidebar ul li a:hover,
.service-sidebar ul li a.active {
    background: var(--primary-teal);
    color: var(--white);
}

.service-main h2 {
    color: var(--primary-teal);
    margin-bottom: 25px;
}

.service-main h3 {
    color: var(--secondary-maroon);
    margin: 30px 0 20px;
}

.service-main p {
    color: #1a1715;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-main ul {
    margin-bottom: 25px;
}

.service-main ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.service-main ul li strong {
    color: var(--text-dark);
}

.training-list {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    margin: 25px 0;
}

.training-list h4 {
    color: var(--primary-teal);
    margin-bottom: 20px;
}

.training-list ul {
    columns: 2;
    column-gap: 30px;
}

@media (max-width: 768px) {
    .training-list ul {
        columns: 1;
    }
}

.cta-box {
    background: var(--gradient-teal);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: var(--white);
    margin-top: 40px;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-box .btn {
    background: var(--white);
    color: var(--primary-teal);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    margin-top: 20px;
}

.cta-box .btn:hover {
    background: var(--light-gray);
}

/* ============================================
   Sticky Social Icons
   ============================================ */
.sticky-social {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

body.rtl .sticky-social {
    right: auto;
    left: 0;
}

.sticky-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.sticky-social a.linkedin { background: #0077b5; }
.sticky-social a.facebook { background: #1877f2; }
.sticky-social a.twitter { background: #1da1f2; }
.sticky-social a.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.sticky-social a.whatsapp { background: #25d366; }

.sticky-social a:hover {
    width: 55px;
}

body.rtl .sticky-social a:hover {
    width: 55px;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 991px) {
    .hero-section {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-section::before {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7));
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .tagline {
        font-size: 1.4rem;
    }
    
    .events-sidebar {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 100%;
        margin-top: 30px;
        border-radius: 10px;
    }
    
    body.rtl .events-sidebar {
        left: auto;
    }
    
    .navbar-cta {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    /* Mobile Navbar Dropdown Fix */
    .main-navbar .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: var(--shadow-lg);
    }
    
    .main-navbar .navbar-nav {
        width: 100%;
    }
    
    .main-navbar .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .main-navbar .nav-link::after {
        display: none;
    }
    
    .main-navbar .dropdown {
        position: relative;
    }
    
    .main-navbar .dropdown-menu {
        position: static !important;
        transform: none !important;
        display: none;
        box-shadow: none;
        border: none;
        padding: 10px 0 10px 15px;
        background: var(--light-gray);
        border-radius: 5px;
        margin: 5px 0 10px;
        width: 100%;
    }
    
    .main-navbar .dropdown-menu.show {
        display: block;
    }
    
    .main-navbar .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
        transition: transform 0.3s ease;
    }
    
    .main-navbar .dropdown.show .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    .main-navbar .dropdown-item {
        padding: 10px 15px;
        white-space: normal;
        font-size: 0.9rem;
        color: var(--text-dark);
        background: transparent;
        border-radius: 5px;
        margin-bottom: 5px;
    }
    
    .main-navbar .dropdown-item:hover,
    .main-navbar .dropdown-item.active {
        background: var(--primary-teal);
        color: var(--white);
        padding-left: 20px;
    }
    
    body.rtl .main-navbar .dropdown-menu {
        padding-left: 0;
        padding-right: 15px;
    }
    
    body.rtl .main-navbar .dropdown-toggle::after {
        float: left;
    }
    
    body.rtl .main-navbar .dropdown-item:hover,
    body.rtl .main-navbar .dropdown-item.active {
        padding-left: 15px;
        padding-right: 20px;
    }
}

@media (max-width: 767px) {
    .sitemap-bar {
        display: none;
    }
    
    .hero-section {
        min-height: 450px;
    }
    
    .hero-section::before {
        background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75));
    }
    
    .hero-content {
        padding: 40px 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-content .tagline {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .vm-card {
        margin-bottom: 20px;
    }
    
    .contact-info {
        margin-top: 40px;
    }
    
    .sticky-social {
        display: none;
    }
    
    /* Service Pages Mobile Responsive */
    .service-hero {
        padding: 80px 0 50px;
        margin-left: 0;
        margin-right: 0;
        width: 100vw;
        max-width: 100vw;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/header.jpg') center/cover no-repeat;
        background-size: cover;
        left: 0;
        right: 0;
        position: relative;
    }
    
    .service-hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .service-hero h1 {
        font-size: 1.6rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .service-hero p {
        font-size: 1rem !important;
    }
    
    .service-hero .breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .service-hero .breadcrumb-item {
        margin-bottom: 5px;
    }
    
    .service-content {
        padding: 40px 0;
    }
    
    .service-content .row {
        flex-direction: column-reverse;
    }
    
    .service-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 30px;
        order: 2;
    }
    
    .service-main {
        order: 1;
        margin-bottom: 30px;
    }
    
    .service-sidebar ul li a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .service-main h2 {
        font-size: 1.4rem;
    }
    
    .service-main h3 {
        font-size: 1.2rem;
    }
    
    .cta-box {
        padding: 25px;
    }
    
    .cta-box h3 {
        font-size: 1.2rem;
    }
    
    /* Contact form mobile */
    .contact-form-wrapper {
        padding: 25px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    /* Careers page mobile */
    .careers-hero {
        padding: 80px 0 50px;
        width: 100%;
    }
    
    .careers-hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .careers-hero h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .service-hero {
        padding: 70px 0 40px;
        width: 100vw;
        max-width: 100vw;
        margin-left: 0;
        margin-right: 0;
    }
    
    .service-hero .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .service-hero h1 {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .service-hero p {
        font-size: 0.9rem !important;
        max-width: 100% !important;
    }
    
    .service-hero .breadcrumb {
        font-size: 0.75rem;
    }
    
    .service-hero .breadcrumb-item + .breadcrumb-item::before {
        padding: 0 5px;
    }
    
    .service-content {
        padding: 25px 0;
    }
    
    .service-sidebar {
        padding: 15px;
    }
    
    .service-sidebar h4 {
        font-size: 1.1rem;
    }
    
    .service-main h2 {
        font-size: 1.2rem;
    }
    
    .service-main h3 {
        font-size: 1rem;
    }
    
    .service-main p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    .cta-box {
        padding: 15px;
    }
    
    .cta-box h3 {
        font-size: 1rem;
    }
    
    .cta-box p {
        font-size: 0.85rem;
    }
    
    .cta-box .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .navbar-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: 15px;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-item .icon {
        margin: 0 auto 15px;
    }
    
    .accordion-button {
        font-size: 0.9rem;
        padding: 12px 15px;
    }
    
    .accordion-body {
        font-size: 0.9rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fix mobile content visibility - disable reveal animation on small screens */
@media (max-width: 767px) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success/Error Messages */
.alert-custom {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 99;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

body.rtl .back-to-top {
    right: auto;
    left: 30px;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.show {
    display: flex;
}
