
        /* Base Variables and Typography */
        :root {
            --primary-color: #1abc9c;
            --secondary-color: #79c57d;
            --text-dark: #333;
            --text-light: #666;
            --max-width: 1200px;
            --font-serif: 'Playfair Display', Georgia, serif;
            --font-sans: 'Inter', Arial, sans-serif;
            --dark-green: #012923;
        }

        /* Generic Resets and Base Styles */
        body { margin: 0; font-family: var(--font-sans); color: var(--text-dark); line-height: 1.6; background-color: #fcfcfc; }
        .container { max-width: var(--max-width); margin: 0 auto; padding: 0 15px; }
        a { text-decoration: none; color: var(--primary-color); }
        ul { list-style: none; padding: 0; margin: 0; }
        h1, h2 { font-family: var(--font-serif); font-weight: 700; color: #111; }
        img { display: block; max-width: 100%; height: auto; }

        /* ------------------- HEADER STYLING ------------------- */
        .header-top { background-color: #f7f7f7; padding: 10px 0; font-size: 0.9rem; }
        .top-content { display: flex; justify-content: space-between; align-items: center; }
        .contact-info span { margin-right: 20px; color: var(--text-light); }

        /* ENHANCED ICONS STYLING */
        .contact-info .fas, .contact-info .far {
            color: var(--primary-color);
            margin-right: 5px;
            font-size: 1rem;
            vertical-align: middle;
        }
        /* FIX FOR PHONE ICON WEIGHT */
        .contact-info .fa-phone-alt {
            font-weight: 900 !important;
        }

        .social-actions { display: flex; align-items: center; }
        .social-icon { margin-left: 15px; color: var(--text-light); font-size: 1.1rem; }
        .enquire-btn-top { background-color: var(--secondary-color); color: white; padding: 8px 20px; border-radius: 5px; font-weight: bold; margin-left: 20px; transition: background 0.3s; border: none;}

        /* LOGO IMAGE STYLING - DESKTOP ADJUSTMENTS */
        .logo-img {
            max-width: 195px;
            height: 57px; /* ADJUSTED HEIGHT for better desktop alignment */
            margin-bottom: 0;
        }

        .header-main-wrap { padding: 20px 0; background: linear-gradient(to right, #00806000, #00806020); }
        .header-main { background: white; box-shadow: 0 4px 15px rgba(0,0,0,0.08); border-radius: 50px; display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; position: relative; }

        .logo a { font-size: 0; display: flex; align-items: center; }
        .logo small { display: none; }

        .nav-links { display: none; }
        .nav-links ul { display: flex; }
        .nav-links a { padding: 10px 15px; display: block; color: #444; transition: color 0.2s; }
        .nav-links a:hover { color: var(--primary-color); }
        .lang-toggle a { color: var(--primary-color); font-weight: bold; }
        .has-dropdown { position: relative; }
        .dropdown-menu { display: none !important; position: absolute; top: 100%; left: 0; background: white; min-width: 150px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); border-radius: 8px; overflow: hidden; z-index: 1000; }

        /* Dropdown Rules */
        @media (min-width: 992px) {
            .has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu { display: flex !important; flex-direction: row; min-width: unset; padding: 10px 15px; top: 90%; left: -50px; }
            .has-dropdown:hover .dropdown-menu a, .has-dropdown:focus-within .dropdown-menu a { border-right: 1px solid #eee; padding: 5px 15px; line-height: 1.2; }
            .has-dropdown:hover .dropdown-menu a:last-child, .has-dropdown:focus-within .dropdown-menu a:last-child { border-right: none; }
            .hamburger-menu { display: none; }
            .nav-links { display: block !important; }
            .nav-links ul { flex-direction: row; }
            .header-main { padding: 10px 30px; }
            .header-top { display: block; }
        }

        /* ------------------- HERO SECTION ------------------- */
 /* ------------------- HERO SECTION - PRECISE POSITIONING ------------------- */
/* ------------------- HERO SECTION - RTL ARABIC VERSION ------------------- */
.hero {
    background: linear-gradient(to left, rgb(1 41 35 / 41%) 0%, rgb(1 41 35 / 42%) 45%,
     rgba(27, 188, 156, 0.0) 65%,
     rgba(27, 188, 156, 0.0) 100%)
      top right / 100% 100% no-repeat, url(../uploads/images/slider1_ar.webp) no-repeat 20% center / cover;
    height: 600px;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin: 10px 0 20px;
    line-height: 1.1;
    color: white;
    max-width: 700px;
    text-align: right; /* RTL text alignment */
}

.hero-text small {
    color: #b3f7cc;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-align: right; /* RTL text alignment */
    display: block;
}

.hero-text a {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
    font-size: 1.1rem;
}

.hero .container {
    position: relative;
    z-index: 10;
    text-align: right; /* RTL container alignment */
}

.hero-img {
    display: none !important;
}


        /* ------------------- REST OF STYLES ------------------- */
        .stats-bar { display: grid; gap: 40px; padding: 60px 0; text-align: left; grid-template-columns: repeat(2, 1fr); background: white; border-top: 1px solid #eee;}
        .stat-item h2 { font-size: 3rem; margin: 0; }
        .stat-item p { margin-top: 5px; font-size: 0.9rem; text-transform: uppercase; color: var(--text-light); }
        .stat-item:nth-child(3) h2 { color: var(--primary-color); }
        .stat-item { padding-bottom: 20px; border-bottom: 3px solid #f0f0f0; }
        .carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); gap: 20px; padding: 10px; overflow-x: scroll; scroll-snap-type: x mandatory;}
        .carousel-controls { text-align: center; margin-top: 40px; }
        .carousel-controls button { background: var(--primary-color); color: white; border: none; padding: 12px 25px; cursor: pointer; border-radius: 8px; margin: 0 10px; font-weight: bold; transition: background 0.3s; }
        .carousel-controls button:hover:not(:disabled) { background: #14a085; }
        .carousel-controls button:disabled { background: #ccc; cursor: default; }

        /* --- Certification Section Styles --- */
        .certification-section { padding: 80px 0; background-color: #fcfcfc; }
        .certification-content { display: flex; align-items: center; gap: 50px; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
        .cert-visual { flex: 0 0 45%; display: flex; flex-direction: column; align-items: center; }
        .cert-image-container {
            padding: 20px; background: #ffffff; border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); margin-bottom: 20px;
            transition: all 0.3s ease;
        }
        .cert-image-container:hover {
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
            transform: translateY(-5px);
        }
        .main-cert-image { width: 100%; height: auto; border-radius: 8px; }
        .tvtc-logo-wrapper { width: 200px; padding: 10px; background: #ffffff; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); margin-top: -10px; }
        .tvtc-logo { width: 100%; height: auto; }
        .cert-details { flex: 1; }
        .cert-tag { font-size: 0.9rem; color: #666; letter-spacing: 1px; text-transform: uppercase; display: block; margin-bottom: 10px; }
        .cert-title { font-size: 3rem; font-family: 'Playfair Display', Georgia, serif; color: #333; margin-bottom: 20px; }
        .tvtc-highlight { color: #1abc9c; font-weight: 800; }
        .cert-description { font-size: 1.1rem; color: #444; margin-bottom: 30px; }
        .cert-checklist { list-style: none; padding: 0; }
        .cert-checklist li { font-size: 1.05rem; margin-bottom: 12px; color: #444; }
        .check-icon { color: #79c57d; font-weight: bold; margin-right: 10px; }

        /* ------------------- MOBILE MEDIA QUERY (FIXED) ------------------- */
        @media (max-width: 991px) {

            /* FIX 1: Header Top - Ensure contact info stacks cleanly */
            .top-content { flex-direction: column; align-items: flex-start; }
            .contact-info { display: flex; flex-direction: column; margin-bottom: 10px; font-size: 0.8rem; }
            .contact-info span { margin-right: 0; margin-bottom: 3px; }
            .social-actions { width: 100%; justify-content: flex-start; gap: 10px; }
            .enquire-btn-top { padding: 6px 15px; font-size: 0.85rem; }

            /* FIX 2: Main Header - Reduce padding to prevent overlap */
            .header-main-wrap { padding: 10px 0; }
            .header-main { border-radius: 10px; padding: 10px 15px; }

            /* MOBILE LOGO FIX - ADJUSTED HEIGHT */
            .logo-img {
                max-width: 140px;
                height: 40px; /* ADJUSTED HEIGHT for mobile */
            }
            .logo small { display: none; }

            /* FIX 3: Hero Section - LCP FIX: Use optimized WEBP image */
            .hero {
                background:
                    linear-gradient(to bottom,
                        rgba(1, 41, 35, 0.95) 0%,
                        rgba(1, 41, 35, 0.8) 100%
                    ),
                    url('../uploads/images/slide-mob11.webp') no-repeat center center / cover;

                height: auto;
                min-height: 450px;
                padding: 60px 15px 100px;
            }

            .hero h1 { font-size: 2rem; line-height: 1.3; margin-top: 15px; margin-bottom: 20px; }
            .hero-text small { font-size: 0.8rem; }

            /* FIX 4: Features bar positioning */
            .features-bar .container { top: -50px !important; padding: 15px; }

            /* Certification Section Mobile Layout */
            .certification-content { flex-direction: column; gap: 30px; }
            .cert-visual { flex: 0 0 100%; order: 1; }
            .cert-details { order: 0; text-align: center; }
            .cert-title { font-size: 2.2rem; }
            .cert-checklist { text-align: left; padding-left: 20px; }

            /* Menu Rules */
           /* Menu Rules - FIXED FOR DROPDOWN */
.hamburger-menu {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-color);
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 900;
    display: none;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-links.active {
    display: flex;
    max-height: 600px;
}

.nav-links ul {
    flex-direction: column;
    padding: 0 20px;
}

.nav-links li {
    border-bottom: 1px solid #f0f0f0;
}

.nav-links a {
    padding: 15px 10px;
}

/* Dropdown Menu Mobile Styles - CRITICAL FIX */
.dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 0 0 20px !important;
    background: #f8f9fa !important;
    margin: 0 !important;

    /* Hidden by default */
    display: none !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Desktop hover - disable on mobile */
.has-dropdown:hover .dropdown-menu {
    display: none !important;
}

/* Mobile open state */
.has-dropdown.open .dropdown-menu {
    display: block !important;
    max-height: 400px;
    opacity: 1;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Dropdown arrow rotation */
.has-dropdown > a span {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.has-dropdown.open > a span {
    transform: rotate(180deg);
}

/* Dropdown items styling */
.dropdown-menu li {
    border-bottom: 1px solid #e0e0e0;
    margin: 0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 12px 15px !important;
    color: #555 !important;
    font-size: 0.95rem !important;
}

.dropdown-menu a:hover {
    background: #e9ecef;
    color: var(--primary-color) !important;
}

        }
