:root {
    --primary-color: #103579;
    --dark-teal: #F97316;
    --text-color: #333;
    --white: #ffffff;
    --font-family: 'Cairo', sans-serif;
    --google-blue: #1a73e8;
    --star-yellow: #fbbf24;
    --red: #DC3545;
    --btn-dark: #F97316;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: var(--font-family);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Section Title Generic */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-subtitle {
    text-align: center;
    color: #212529;
    font-size: 15px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--white);
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 0;
    font-size: 14px;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: var(--dark-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid black;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-links i {
    font-size: 16px;
}

/* Promo Layout */
.promo-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.promo-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.badge-container {
    display: flex;
    align-items: center;
}

.best-price-badge {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Contact Info */
.contact-info .phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
    direction: ltr;
    justify-content: center;
}

.contact-info .phone-link:hover {
    opacity: 0.8;
}

.contact-info i {
    font-size: 18px;
}

/* Main Navigation */
.main-nav {
    background-color: var(--primary-color);
    padding: 5px 0;
    color: var(--white);
    z-index: 1000;
}

.mobile-menu-toggle,
.mobile-contact-icons {
    display: none;
}


.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #103579;
    border-bottom: 1px solid #103579;
}

/* Branding (Right) */
.nav-branding {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Links (Center) */
.nav-links {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 5px 2px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #F97316;
}

/* Actions (Left) */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-dropdown-wrapper {
    position: relative;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.dropdown-toggle:hover {
    color: #F97316;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px;
    display: none;
    z-index: 1001;
}

.dropdown.show .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

/* Navbar Auth Links (Fixed to match original image) */
.nav-auth {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-auth a {
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-auth .btn-login {
    background-color: var(--btn-dark);
    border: 1px solid var(--btn-dark);
}

.nav-auth .btn-register {
    background-color: transparent;
    border: 2px solid var(--btn-dark);
}

.nav-auth a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    background-color: #103579;
}

/* Tablet / Mid-Desktop Responsiveness (1254px - 1101px) */
@media (max-width: 1254px) and (min-width: 1101px) {
    .logo img {
        height: 65px;
    }

    .nav-menu {
        gap: 6px;
    }

    .nav-menu a {
        font-size: 12px;
        padding: 5px 0;
    }

    .nav-actions {
        gap: 6px;
    }

    .dropdown-toggle {
        font-size: 11px;
        gap: 3px;
    }

    .nav-auth {
        gap: 6px;
    }

    .nav-auth a {
        padding: 6px 10px;
        font-size: 12px;
    }

    .badge-new {
        font-size: 9px;
        padding: 1px 4px;
        top: -12px;
    }

    .container {
        padding: 0 20px;
    }
}

/* Badge Style */
.badge-new {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #72B710;
    /* Slightly brighter green as in image */
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Base Buttons for other sections */
.btn {
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-articles-filled {
    background-color: var(--btn-dark);
    color: var(--white);
    border: none;
}

.btn-articles-outline {
    background: transparent;
    border: 1px solid var(--btn-dark);
    color: var(--btn-dark);
}

/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    color: var(--white);
    overflow: hidden;
}

@media (max-width:772px) {
    .hero-section {
        margin: 1.5rem;
        border-radius: 10px;
    }
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding-bottom: 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    padding-top: 40px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Form */
.hero-search-form {
    background: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.input-group label {
    display: none;
}

/* Custom Select & Inputs */
.custom-select,
.date-input {
    position: relative;
    background: var(--white);
    border-radius: 10px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.custom-select select,
.date-input input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-family);
    font-size: 14px;
    color: #666;
    appearance: none;
}

.custom-select i {
    position: absolute;
    left: 15px;
    color: #666;
    font-size: 12px;
}

/* Icons */
.date-input {
    justify-content: space-between;
}

.input-tag {
    position: absolute;
    top: -8px;
    right: 15px;
    background: white;
    padding: 0 5px;
    font-size: 10px;
    color: #103579;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid #103579;
}

/* Form Footer */
.form-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 25px;
    flex-direction: column;
}

.btn-search {
    background-color: var(--dark-teal);
    color: var(--white);
    border: none;
    padding: 10px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
    width: 100%;
}

.more-options {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Quick Links Section */
.quick-links-section {
    padding: 60px 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.links-container {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.feature-card {
    flex: 1;
    background: var(--white);
    padding: 25px 25px 35px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 1px 1px 17px -7px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 1px 10px 25px -10px rgba(0, 0, 0, 0.3);
}

.card-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
}

.card-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.arrow-icon {
    font-size: 18px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.feature-card:hover .arrow-icon {
    transform: translateX(-5px);
}

.feature-card:hover .card-title,
.feature-card:hover .arrow-icon {
    text-decoration: underline;
}

/* Banner Section */
.banner-section {
    margin-top: 16px;
    width: 100%;
    overflow: hidden;
}

.promo-banner {
    width: 100%;
    height: auto;
    display: block;
}

@media(max-width:772px) {
    .promo-banner {
        width: 100%;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background-color: var(--white);
}

.reviews-summary-bar {
    max-width: 1200px;
    margin: 0 auto 50px;
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-google-review {
    background-color: var(--google-blue);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.btn-google-review:hover {
    opacity: 0.9;
}

.summary-right {
    text-align: left;
    /* Google branding is left-aligned usually */
}

.reviews-brand {
    font-size: 18px;
    font-weight: 700;
    color: #5f6368;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.google-text {
    color: #4285F4;
    /* Google Blue */
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-stars i,
.review-stars i {
    color: var(--star-yellow);
    font-size: 18px;
}

.rating-num {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-right: 10px;
}

.reviews-container {
    position: relative;
    display: block;
}

.prev-btn {
    right: -20px;
}

.next-btn {
    left: -20px;
}

.reviews-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    /* Enable scrolling */
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 5px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
    scroll-snap-type: x mandatory;
}

.reviews-grid::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

/* Featured Articles Home Section */
.featured-articles-section {
    padding: 100px 0;
    background-color: #f2f8fd;
}

.featured-article-row {
    display: flex;
    align-items: center;
    gap: 100px;
    direction: ltr;
}

.featured-article-row:last-child {
    margin-bottom: 0;
}

.featured-article-row.reverse {
    flex-direction: row-reverse;
}

.featured-article-content {
    flex: 1;
    text-align: right;
}

.featured-article-image {
    flex: 1.2;
    height: 350px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
}



.featured-article-content h3 {
    font-size: 30px;
    color: #103579;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.featured-article-content p {
    font-size: 18px;
    color: #5a5a5a;
    line-height: 1.9;
    margin-bottom: 35px;
}

.read-more-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--white);
    color: #103579;
    border: 2px solid #103579;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.read-more-btn:hover {
    background-color: #103579;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(16, 53, 121, 0.2);
}

@media (max-width: 992px) {

    .featured-article-row,
    .featured-article-row.reverse {
        flex-direction: column !important;
        gap: 40px;
    }

    .featured-article-image {
        height: 350px;
        width: 100%;
    }

    .featured-article-content h3 {
        font-size: 20px;
    }
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 cards per view on desktop */
    min-width: 350px;
    /* Safety for small screens */
    scroll-snap-align: center;
    background-color: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.review-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
}

.avatar-orange {
    background-color: #ff5722;
}

.avatar-blue {
    background-color: #607d8b;
}

.avatar-pink {
    background-color: #e91e63;
}

.google-badge-small {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #4285F4;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.verified-icon {
    color: #2196f3;
    font-size: 14px;
}

.review-date {
    font-size: 13px;
    color: #777;
}

.review-stars {
    display: flex;
    gap: 3px;
}

.review-stars i {
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
}

.read-more {
    color: var(--google-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.nav-btn {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.nav-btn:hover {
    color: var(--primary-color);
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        margin: 0;
    }

    .reviews-grid {
        gap: 20px;
    }
}

/* Accreditation Section Styles */
.accreditation-section {
    padding: 60px 0;
    background-color: var(--white);
}

.acc-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 1600px;
    margin: 0 auto;
    border-bottom: 2px solid#103579;
}

/* Right Info Block (RTL Start) */
.acc-info {
    flex: 0 0 45%;
    background-color: #103579;
    color: var(--white);
    padding: 100px 60px;
    border-top-left-radius: 150px;
    /* More pronounced curve */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.acc-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.acc-desc {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
    max-width: 500px;
}

/* Left Slider Block */
.acc-slider {
    flex: 0 0 55%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.acc-container {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.acc-container::-webkit-scrollbar {
    display: none;
}

.acc-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    height: 320px;
    background: var(--white);
    border-radius: 15px;
    padding: 40px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.acc-card:hover {
    transform: translateY(-5px);
}

.acc-logo-box {
    height: 100px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.acc-logo-fallback {
    background: #f9f9f9;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

.acc-logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.acc-logo-placeholder {
    font-size: 24px;
    font-weight: 700;
    color: #444;
}

.acc-text {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
    margin-bottom: 25px;
    font-weight: 500;
}

.acc-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.acc-link:hover {
    opacity: 0.8;
}

.acc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.acc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.acc-dot.active {
    background-color: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

.view-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: opacity 0.3s;
}

.view-more:hover {
    opacity: 0.8;
}

.acc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.acc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: background-color 0.3s ease;
}

.acc-dot.active {
    background-color: var(--primary-color);
}

/* Course Offers Section */
.offers-section {
    padding: 80px 0;
    background-color: var(--white);
}

.offers-header {
    text-align: center;
    margin-bottom: 50px;
}

.offers-slider-wrapper {
    position: relative;
    display: block;
    /* changed from flex to support absolute arrows */
}

.offer-prev {
    right: -20px;
}

.offer-next {
    left: -20px;
}

@media (max-width: 500px) {

    .offer-prev,
    .offer-next {
        display: none !important;
    }
}

.offers-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 20px 5px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.offers-grid::-webkit-scrollbar {
    display: none;
}

.offer-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    scroll-snap-align: center;
}

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

.card-image-box {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-cover-img {
    width: 100%;
    object-fit: contain;
}

.fav-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--red);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.inst-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    color: #103579;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}

.course-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.course-subtitle {
    font-size: 15px;
    color: #103579;
    font-weight: 600;
    margin: 0;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.meta-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    font-weight: 600;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.course-footer {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.current-price-box {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
}

.old-price-box {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--red);
    text-decoration: line-through;
    opacity: 0.8;
}

.price-val,
.old-price-val {
    font-size: 10px;
    font-weight: 700;
}

.price-label {
    font-size: 12px;
    font-weight: 600;
    color: #888;
}

.level-badge i {
    color: var(--primary-color);
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--white);
}

.news-header {
    text-align: center;
    margin-bottom: 50px;
}

.news-slider-wrapper {
    position: relative;
    display: block;
    /* changed from flex to block for absolute arrows */
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.news-prev {
    right: -20px;
}

.news-next {
    left: -20px;
}

@media (max-width: 500px) {

    .news-prev,
    .news-next {
        display: none !important;
    }
}

.news-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    width: 100%;
    padding: 20px 5px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.news-card {
    scroll-snap-align: center;
}

.news-grid::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: var(--white);
    border-radius: 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image-box {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.news-image-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image-box img {
    transform: scale(1.05);
}

/* News Badge removed as it is in the image */


.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 8px;
    text-align: right;
}

.news-desc {
    font-size: 14.5px;
    line-height: 1.7;
    color: #4a4a4a;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.news-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
    padding-top: 10px;
}

.news-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    text-align: right;
    display: inline-block;
}

.news-read-more:hover {
    color: var(--dark-teal);
    text-decoration: underline;
}

.news-date {
    font-size: 13px;
    color: #888;
    text-align: right;
}

/* Responsive News Section */
@media (max-width: 1024px) {
    .news-card {
        flex: 0 0 calc(50% - 15px);
        min-width: 300px;
    }
}

@media (max-width: 992px) {
    .news-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .news-slider-wrapper {
        gap: 10px;
    }
}

/* Articles Section (Featured Horizontal Articles) */
.articles-section {
    padding: 80px 0;
    background-color: #f4f8fb;
}

.article-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.article-row.reverse {
    flex-direction: row-reverse;
}

.article-img-box {
    flex: 0 0 50%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.img-container {
    height: 380px;
    overflow: hidden;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-row:hover .article-img {
    transform: scale(1.05);
}

.article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.article-desc {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.article-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .links-container {
        flex-direction: column;
    }

    .feature-card {
        min-height: auto;
    }


    .article-row,
    .article-row.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .reviews-summary-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .summary-right {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .accreditation-section {
        background-color: var(--primary-color);
        padding: 40px 0;
    }

    .acc-wrapper {
        flex-direction: column;
        padding: 0 15px;
    }

    .acc-info,
    .acc-slider {
        flex: 0 0 100%;
        width: 100%;
        padding: 10px;
    }

    .acc-info {
        background-color: transparent;
        border-top-left-radius: 0;
        text-align: center;
        padding-bottom: 20px;
    }

    .acc-slider {
        padding: 10px 0;
    }

    .offer-card {
        flex: 1;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .promo-content {
        flex-direction: column;
    }
}

/* Browse Institutes Section */
.browse-institutes {
    padding: 40px 0 20px;
    text-align: center;
    background-color: var(--white);
}

.browse-btn-wrapper {
    margin-top: 20px;
}

.btn-primary-browse {
    background-color: var(--btn-dark);
    color: var(--white);
    padding: 5px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s ease;
}

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

/* ICEF Accreditation Section */
.icef-section {
    background-color: #e6f1ff;
    padding: 30px 0;
}

.icef-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space between logo and text */
    gap: 40px;
    max-width: 1200px;
    padding: 0 40px;
}

.icef-badge {
    flex: 0 0 240px;
}

.icef-badge img {
    width: 100%;
    height: auto;
    display: block;
}

.icef-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.4;
    max-width: 600px;
}

/* Destinations Grid Section */
.destinations-section {
    background-color: var(--primary-color);
    padding: 40px 0;
    /* Reduced from 40px */
    color: var(--white);
}

.destinations-title {
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    /* Reduced from 30px */
    padding-right: 40px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 40px;
    /* Further reduced vertical gap */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.destination-column {
    display: flex;
    flex-direction: column;
    /* Reduced from 12px */
}

.dest-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
}

.dest-link:hover {
    opacity: 0.8;
    transform: translateX(-5px);
}

.dest-flag {
    width: 24px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Responsive Footer Sections */
@media (max-width: 992px) {
    .icef-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .icef-text {
        font-size: 24px;
    }

    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .destinations-title {
        text-align: center;
        padding-right: 0;
    }

    .icef-badge {
        flex: 0 0 180px;
    }
}



/* Links Directory Section */
.links-directory-section {
    background-color: var(--white);
    padding: 60px 0;
    border-top: 1px solid #f0f0f0;
}

.directory-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 20px;
}

.directory-row:last-child {
    margin-bottom: 0;
}

.directory-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.directory-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: right;
}

.directory-links {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.directory-links li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.2s ease;
}

.directory-links li a:hover {
    color: var(--primary-color);
}

/* Responsive Directory */

@media (max-width: 768px) {
    .directory-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .directory-column {
        text-align: center;
    }

    .directory-links {
        text-align: right;
    }
}

/* Final Footer Section */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.footer-logo img {
    height: 65px;
}

.footer-logo .logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text-group .en-text {
    font-size: 24px;
    font-weight: 400;
    /* Regular english font as in image */
    line-height: 1;
}

.logo-text-group .ar-text {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    position: relative;
    color: #F97316;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* Slightly tighter as in image */
}

.footer-links li a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.footer-links li a:hover {
    text-decoration: underline;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.contact-info-list li a,
.contact-info-list li span {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    opacity: 0.9;
}

.address-item {
    line-height: 1.8;
    text-align: right;
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
}

.address-item span {
    display: block;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    justify-content: flex-end;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

/* Payment Section */
.footer-payment {
    text-align: center;
    padding: 10px 0;

}

.payment-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.payment-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 35px;
    /* Slightly larger as in image */
    width: auto;
}

/* Original colors for payment logos from image */
.payment-logos img {
    filter: none;
}

/* Copyright/Help Bar */
.copyright-bar {
    background-color: #F97316;
    /* Darker teal for the bottom bar */
    padding: 15px 0;
    font-size: 14px;
}

.help-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: ltr;
    justify-content: center;
}

.help-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.back-to-top {
    width: 35px;
    height: 35px;
    background-color: var(--white);
    color: #F97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease;
    display: none;
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* Responsive Footer */
@media (max-width: 800px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "branding branding"
            "links1 links2"
            "contact contact";
        text-align: center;
        gap: 30px;
    }

    .branding-col {
        grid-area: branding;
        align-items: center;
    }

    .footer-container .links-col:nth-of-type(2) {
        grid-area: links1;
    }

    .footer-container .links-col:nth-of-type(3) {
        grid-area: links2;
    }

    .contact-info-list {
        align-items: center;
    }


    .contact-col {
        grid-area: contact;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-description {
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-info-list li a,
    .contact-info-list li span {
        justify-content: center;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .address-item {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    /* .footer-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "branding"
            "links1"
            "links2"
            "contact";
    } */
}


.contact-info-list li a,
.contact-info-list li span,
.footer-social {
    justify-content: flex-start;
}

.address-item {
    direction: ltr;
    text-align: justify;
}


/* Institutes Page */
.page-header {
    background-color: #f1f5f9;
    color: var(--primary-color);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    color: #444;
}

.institutes-list-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

/* Sidebar Layout */
.layout-with-sidebar {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.sidebar-search {
    flex: 0 0 300px;
    position: sticky;
    top: 20px;
    z-index: 10;
}

.main-content-grid {
    flex: 1;
}

/* Sidebar Styles */
.search-widget {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.search-widget .widget-title {
    font-size: 17px;
    color: white;
    background-color: #004d40;
    padding: 8px 10px;
    border-radius: 6px;
    margin: -5px -5px 10px -5px;
    text-align: center;
}

.sidebar-form .form-group {
    margin-bottom: 8px;
}

.sidebar-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
    color: #333;
    text-align: right;
}

.sidebar-form input,
.sidebar-form select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    background: #f9f9f9;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.input-with-icon input {
    padding-left: 35px;
}

.btn-search-sidebar {
    width: 100%;
    padding: 12px;
    background-color: #004d40;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-search-sidebar:hover {
    background-color: var(--primary-color);
}

/* Modern Card Layout */
.institutes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sat-inst-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    height: 100%;
}

.sat-inst-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.sat-card-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
    /* Fix: ensures large thumbnails don't break the layout */
}

.sat-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.sat-card-top-badges {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}



.sat-inst-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    color: #103579;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sat-card-content {
    padding: 25px;
    text-align: right;
    display: flex;
    flex-direction: column;
    background: #fff;
    z-index: 5;
}

.sat-inst-brand {
    font-size: 26px;
    color: #103579;
    font-weight: 600;
    margin-bottom: -5px;
}

.sat-inst-title {
    font-size: 22px;
    color: #103579;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.sat-inst-loc {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sat-inst-loc i {
    color: #103579;
    font-size: 18px;
}

.sat-premium-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.meta-box {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #444;
    font-weight: 600;
}

.meta-box i {
    color: #103579;
    font-size: 18px;
}

.meta-box i.fa-signal {
    color: #00e0b3;
    /* Bright green-ish as in image */
}

.sat-card-footer {
    padding: 20px 25px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    margin-top: auto;
}

.price-new {
    color: #103579;
    font-weight: 700;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-old {
    color: #e74c3c;
    text-decoration: line-through;
    font-size: 18px;
    font-weight: 600;
}

.sar-symbol {
    font-size: 20px;
    margin-right: -4px;
}

/* Pagination */
.institutes-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 50px;
    direction: rtl;
}

.pagination-info {
    background-color: #373b3e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: none;
    background-color: #e9e9e9;
    color: #446e6b;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled):not(.active) {
    background-color: #d8d8d8;
}

.page-btn.active {
    background-color: #004d40;
    color: #fff;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn i {
    font-size: 14px;
}

@media (max-width: 1200px) {
    .institutes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .layout-with-sidebar {
        flex-direction: column;
    }

    .sidebar-search {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 768px) {
    .institutes-grid {
        grid-template-columns: 1fr;
    }
}

/* Institutes Page Header */
.page-header {
    background-color: #ebf2f5;
    padding: 30px 0;
    margin-bottom: 20px;
}

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

.header-left {
    display: flex;
    align-items: center;
}

.share-btn {
    background-color: var(--dark-teal);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.share-btn i {
    font-size: 16px;
}

.header-right {
    text-align: right;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    max-width: 800px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-right {
        text-align: center;
    }

    .header-left {
        justify-content: center;
        width: 100%;
    }

    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 13px;
        margin: 0 auto;
    }
}

/* Visa Page Styles */
.visa-page {
    background-color: #f4f8fb;
    padding: 60px 0;
}

.visa-centered {
    max-width: 650px;
    margin: 0 auto;
}

.visa-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.visa-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.visa-main-subtitle {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.visa-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.visa-form-group {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visa-label {
    font-size: 14px;
    font-weight: 700;
    color: #444;
}

.visa-input,
.visa-select,
.visa-textarea {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: var(--font-family);
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.visa-input:focus,
.visa-select:focus,
.visa-textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 53, 121, 0.1);
}

.visa-textarea {
    min-height: 100px;
    resize: vertical;
}

.phone-wrapper {
    display: flex;
    gap: 10px;
}

.phone-code {
    width: 120px;
}

/* Captcha Mock */
.captcha-box {
    margin-top: 10px;
    margin-bottom: 30px;
}

.g-recaptcha-mock {
    width: 100%;
    max-width: 304px;
    height: 74px;
    border: 1px solid #d3d3d3;
    background-color: #f9f9f9;
    padding: 0 10px;
    border-radius: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.captcha-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-left label {
    font-size: 14px;
    color: #000;
    font-family: Roboto, helvetica, arial, sans-serif;
}

.captcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.captcha-right img {
    width: 32px;
}

.captcha-right span {
    font-size: 8px;
    color: #555;
    font-family: Roboto, helvetica, arial, sans-serif;
}

/* Submit Button */
.visa-btn-submit {
    width: 100%;
    background-color: var(--btn-dark);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.iti {
    width: 100%;
}

@media (max-width: 600px) {
    .visa-card {
        padding: 20px;
    }

    .visa-main-title {
        font-size: 24px;
    }

    .phone-wrapper {
        flex-direction: column;
    }

    .phone-code {
        width: 100%;
    }
}

/* Offers Page Styles */
.offers-page {
    background-color: #F1F7FF;
    padding-bottom: 80px;
}

.offers-header-section {
    background-color: #F1F7FF;
    padding: 60px 0 40px;
}

.offers-main-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.offers-main-subtitle {
    font-size: 15px;
    color: #666;
    max-width: 900px;
    line-height: 1.8;
}

.filter-bar-container {
    padding: 30px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 40px;
}

.offers-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: transparent;
}

.filter-group {
    flex: 1;
}

.filter-select {
    width: 100%;
    height: 45px;
    background: white;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 0 15px;
    font-family: var(--font-family);
    font-size: 14px;
    color: #444;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 14px;
    cursor: pointer;
    text-align: right;
}

.btn-filter-search {
    background-color: var(--dark-teal);
    color: white;
    border: none;
    padding: 0 40px;
    height: 45px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter-search:hover {
    background-color: var(--primary-color);
}

/* Offer Card V2 (Grid Style) */
.offers-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offer-card-v2 {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-v2 {
    position: relative;
}

.card-img-v2 img {
    width: 100%;
    object-fit: contain;
}

.discount-badge-v2 {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 150px;
}

.inst-logo-badge-v2 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.inst-logo-badge-v2 img {
    width: 100%;
    height: auto;
}

.fav-icon-v2 {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.card-body-v2 {
    padding: 10px;
    text-align: right;
    flex-grow: 1;
}

.inst-name-v2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.course-name-v2 {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.meta-row-v2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.meta-row-v2 i {
    color: var(--primary-color);
}

.card-footer-v2 {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.price-old-v2 {
    color: #e74c3c;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 600;
}

.price-new-v2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.price-unit-v2 {
    font-size: 13px;
    font-weight: 600;
}

/* Pagination V2 */
.pagination-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link-v2 {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #555;
    background: white;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-link-v2.active,
.page-link-v2:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 1200px) {
    .offers-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .offers-filter-bar {
        flex-wrap: wrap;
    }

    .filter-group {
        flex: 1 1 45%;
        max-width: 100%;
    }

    .btn-filter-search {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .offers-grid-v2 {
        grid-template-columns: 1fr;
    }

    .filter-group {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .offers-main-title {
        font-size: 28px;
    }
}

/* About Sat Page Styles */
.about-hero {
    background-color: #103579;
    padding: 0px 0px;
    color: white;
}

.about-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.about-hero-text {
    flex: 1;
}

.about-hero-title {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-hero-subtitle {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.5;
}

.about-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.about-content-section {
    padding: 80px 0;
    text-align: right;
}

.about-section-block {
    margin-bottom: 60px;
}

.about-section-block h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-section-block h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 4px;
    background-color: var(--dark-teal);
    border-radius: 2px;
}

.about-section-block p {
    font-size: 18px;
    line-height: 2;
    color: #444;
}

.btn-browse-inst {
    display: inline-block;
    background-color: var(--dark-teal);
    color: white;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 30px;
    transition: all 0.3s ease;
}

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

@media (max-width: 992px) {
    .about-hero-container {
        flex-direction: column;
        text-align: center;
    }


    .about-hero-title {
        font-size: 48px;
    }

    .about-hero-subtitle {
        font-size: 24px;
    }

    .about-section-block h2 {
        font-size: 28px;
    }
}

/* About Page Split Section */
.about-split-section {
    padding: 40px 0;
    background-color: #fff;
}

.about-split-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-split-text {
    flex: 1.2;
    text-align: right;
}

.about-split-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.about-split-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.split-section-title {
    font-size: 30px;
    font-weight: 700;
    color: #103579;
    margin-bottom: 5px;
}

.split-section-desc {
    font-size: 14px;
    line-height: 2;
    color: #555;
    margin-bottom: 10px;
}

.btn-split-browse {
    background-color: var(--dark-teal);
    color: #fff;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

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

@media (max-width: 992px) {
    .about-split-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .about-split-text {
        text-align: center;
    }

    .split-section-title {
        font-size: 36px;
    }
}

/* Mission and Values Section */
.mission-values-section {
    padding: 100px 0;
    background-color: #f4f7fa;
    /* Light subtle background */
}

.mission-values-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.info-card-image-box {
    flex: 0 0 160px;
    height: 160px;
    background-color: #e6f1ff;
    /* Light teal blob color */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    /* Organic blob shape */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    order: 1;
    /* In RTL, this will be on the left if we use flex-row */
}

/* Forcing image box to the left in RTL flex flow */
.info-card {
    flex-direction: row;
}

.info-card-image-box img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.info-card-content {
    flex: 1;
    order: 2;
}

.info-card-title {
    font-size: 26px;
    font-weight: 700;
    color: #103579;
    margin-bottom: 15px;
}

.info-card-content p {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

@media (max-width: 992px) {
    .mission-values-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 30px;
        gap: 20px;
    }

    .info-card-image-box {
        flex: 0 0 120px;
        height: 120px;
    }
}

/* Services Page Styles */
.services-hero {
    background-color: #103579;
    background-image: url('https://www.sat-edu.com/website/imgs/map-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0 0 0;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    position: relative;
}

.services-hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.services-hero-text {
    flex: 1;
    text-align: right;
}

.services-hero-title {
    font-size: 80px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.services-hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.services-hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cart-floating-icon {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #004d40;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

@media (max-width: 992px) {
    .services-hero {
        min-height: auto;
        padding-top: 40px;
    }

    .services-hero-title {
        font-size: 48px;
    }

    .services-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .services-hero-image {
        justify-content: center;
        margin-top: 30px;
    }

    .cart-floating-icon {
        display: none;
    }
}

/* Fixed Floating Cart Icon - FORCED LEFT */
.cart-floating-icon {
    position: fixed !important;
    left: 40px !important;
    /* Strictly on the LEFT for Arabic/RTL sites */
    bottom: 40px !important;
    width: 75px !important;
    height: 75px !important;
    background-color: #F97316 !important;
    /* Dark Teal from screenshot */
    color: #fff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    cursor: pointer !important;
    transition: transform 0.3s ease, background 0.3s ease !important;
}

.cart-floating-icon:hover {
    background-color: #103579 !important;
}



/* Products Section Styles */
.products-section {
    padding: 80px 0;
    background-color: #f1f7ff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    border: none;
    height: 100%;
}

.product-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-title {
    font-size: 19px;
    font-weight: 700;
    color: #103579;
    margin: 0;
    line-height: 1.4;
    text-align: right;
    flex: 1;
}

.product-icon-box {
    width: 54px;
    height: 54px;
    background-color: #103579;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    margin-right: 15px;
}

.product-price-box {
    margin-bottom: 25px;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #103579;
}

.price-label {
    font-size: 10px;
    color: #103579;
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
    color: #f66d6d;
    font-size: 16px;
    margin-left: 5px;
}

.current-price {
    color: #103579;
    font-weight: 700;
    font-size: 19px;
}

.currency {
    font-size: 16px;
    margin-right: 2px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

/* RTL: add-to-cart first (right), qty second (left) */
.add-to-cart-btn {
    background-color: #F97316;
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 10px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    height: 44px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1.2;
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #003634;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
}

.qty-btn {
    width: 32px;
    height: 32px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #f1f1f1;
}

.qty-input {
    width: 38px;
    height: 32px;
    background-color: #eef1f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    padding: 0;
    display: block;
}

@media (max-width: 1200px) {
    .product-title {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-floating-icon {
        left: 20px !important;
        bottom: 20px !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 26px !important;
    }
}

/* Articles Page Styles */
.articles-hero {
    background-color: #f1f7ff;
    padding: 20px 0;

}

.articles-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: #103579;
    margin-bottom: 10px;
}

.articles-hero-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.articles-section {
    padding: 30px 0;
    background-color: #f1f7ff;
}

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

.article-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    color: #103579;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
    text-align: right;
}

.article-title:hover {
    color: #007a76;
}

.article-excerpt {
    font-size: 14.5px;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 15px;
    flex: 1;
    text-align: right;
}

.article-footer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-top: auto;
    text-align: right;
}

.btn-read-more {
    color: #103579;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: opacity 0.3s ease;
    order: 1;
}

.article-date {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
    order: 2;
}

.btn-read-more:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .articles-hero {
        padding: 40px 0;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 8px;
    padding: 0;
}

.page-item .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background-color: #103579;
    border-color: #103579;
    color: #fff;
}

.page-item .page-link:hover:not(.disabled) {
    background-color: #f8f9fa;
    border-color: #103579;
    color: #103579;
}

.page-item.disabled .page-link {
    color: #ccc;
    cursor: not-allowed;
    background-color: #fdfdfd;
}

/* Accreditation Cards Styles (Bottom Section) */
.accreditation-cards-section {
    padding: 80px 0;
    background-color: #f1f7ff;
}

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

.acc-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.acc-card-header {
    background-color: #2b4991;
    /* Dark blue as in screenshot */
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 120px;
    position: relative;
}

.acc-card-header:after {
    content: '';
    position: absolute;
    top: 10px;
    right: 15px;
    background: url('https://www.sat-edu.com/website/imgs/logo-white.png') no-repeat;
    background-size: contain;
    width: 60px;
    height: 20px;
    opacity: 0.8;
}

.acc-logo-box {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.acc-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.acc-header-text {
    flex: 1;
    text-align: right;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-right: 15px;
    line-height: 1.4;
}

.acc-card-body {
    padding: 25px;
    text-align: right;
}

.acc-body-title {
    color: #103579;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.acc-body-text {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .accreditation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .accreditation-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Page Styles */
.contact-hero {
    background-color: #f1f7ff;
    padding: 60px 0 30px;
    text-align: center;
}

.contact-hero-title {
    color: var(--primary-color);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: start;
}

.contact-hero-subtitle {
    color: #666;
    font-size: 16px;
    max-width: 900px;
    line-height: 1.8;
    text-align: start;
}

.contact-section {
    background-color: #f1f7ff;
    padding: 0 0 80px;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
}

/* Contact Info Column */
.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    line-height: 1.4;
}

.contact-detail-item strong {
    color: var(--primary-color);
}

.contact-detail-item i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.contact-social-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-social-icon {
    width: 38px;
    height: 38px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-social-icon:hover {
    opacity: 0.8;
}

.contact-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form Column */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-control-contact {
    padding: 15px 20px;
    border: 1px solid #ced4da;
    border-radius: 10px;
    background: #f1f1f14d;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
    width: 100%;
}

.form-control-contact:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-submit-contact {
    background-color: #F97316;
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
    width: 100%;
}

.btn-submit-contact:hover {
    background-color: #003633;
}

.recaptcha-wrapper {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Auth Pages (Login/Register) */
.auth-section {
    background-color: #f1f7ff;
    padding: 60px 0 100px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    color: var(--primary-color);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.auth-subtitle {
    color: #666;
    font-size: 16px;
}

.auth-card-container {
    width: 100%;
    max-width: 550px;
    padding: 0 20px;
}

.auth-card {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-group input {
    width: 100%;
    padding: 16px 45px 16px 45px;
    /* Symmetrical padding for icons */
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    background-color: #f8fbff;
    transition: all 0.3s ease;
}

.auth-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 53, 121, 0.08);
    background-color: #fff;
}

.auth-input-group i.input-icon {
    position: absolute;
    right: 18px;
    color: #103579;
    font-size: 18px;
}

.auth-input-group .toggle-password {
    position: absolute;
    left: 18px;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s;
}

.auth-input-group .toggle-password:hover {
    color: var(--primary-color);
}

.auth-link-row {
    display: flex;
    justify-content: flex-start;
    margin-top: -5px;
}

.forgot-password-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.btn-auth-submit {
    background-color: #F97316;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-auth-submit:hover {
    background-color: #003633;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 72, 69, 0.2);
}

.auth-footer-text {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 16px;
}

.auth-footer-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    margin-right: 5px;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-title {
        font-size: 32px;
    }
}

/* Profile Dashboard */
.profile-section {
    background-color: #f1f7ff;
    padding: 20px 0 80px;
}

.profile-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

/* Sidebar */
.profile-sidebar {
    background: #fff;
    border-radius: 15px;
    padding: 40px 0 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    height: fit-content;
    overflow: hidden;
}

.profile-user-info {
    text-align: center;
    padding: 0 20px 30px;
}

.profile-avatar-circle {
    width: 120px;
    height: 120px;
    background: #eef5ff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.profile-avatar-circle i {
    font-size: 60px;
    color: #4a90e2;
}

.profile-name-title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
}

.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu-item {
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.3s ease;
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    display: block;
    padding: 18px 30px;
    transition: all 0.3s;
}

.profile-menu-item:hover:not(.active) {
    background-color: #fdfdfd;
}

.profile-menu-item.active {
    background-color: #F97316;
}

.profile-menu-item.active a {
    color: #fff;
}

/* Main Content Area */
.profile-main-content {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.profile-content-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 35px;
    position: relative;
    padding-bottom: 15px;
}

.profile-content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

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

.profile-form-group label {
    font-weight: 700;
    color: #444;
    font-size: 15px;
}

.profile-form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    background-color: #fcfdfe;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.profile-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(16, 53, 121, 0.05);
}

.form-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.profile-section-divider {
    grid-column: 1 / -1;
    margin: 30px 0 10px;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.profile-divider-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

.btn-profile-save {
    background-color: #F97316;
    color: #fff;
    padding: 14px 45px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    float: left;
    margin-top: 20px;
}

.btn-profile-save:hover {
    background-color: #003633;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 72, 69, 0.2);
}

/* Nav Actions - Logged In State */
.nav-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 15px;
    cursor: pointer;
    text-decoration: none;
}

.nav-user-avatar {
    width: 45px;
    height: 45px;
    background: #f1f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.nav-user-avatar i {
    font-size: 24px;
    color: #72B710;
}

.nav-user-name {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.nav-user-name::after {
    content: '-';
    margin-right: 5px;
}

@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
}


/* --- High Fidelity Detail Page Styles --- */
.inst-detail-container {
    padding: 40px 0;
    background: #fdfdfd;
}

.inst-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: #777;
}

.breadcrumb a {
    color: #103579;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
}

/* Header Info Row */
.header-info-row {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.info-item i {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
}

/* Section Tabs */
.inst-tabs-nav {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.inst-tab-btn {
    background: none;
    border: none;
    padding: 15px 25px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.inst-tab-btn.active {
    color: #103579;
    border-bottom-color: #103579;
}

/* Course Selection Cards */
.course-card-select {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.course-card-select:hover {
    border-color: #103579;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.course-card-select.active {
    border-color: #103579;
    background: #f0f9f8;
}

.course-card-select .discount-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #103579;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 0 0 12px 0;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.course-card-title {
    font-size: 1.2rem;
    color: #103579;
    margin: 0;
}

.course-card-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.meta-icon-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-icon-item i {
    color: #103579;
}

/* Accommodation Selection Cards */
.acc-card-select {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    align-items: center;
    margin-bottom: 15px;
}

.acc-card-select:hover {
    border-color: #103579;
}

.acc-card-select.active {
    border-color: #103579;
    background: #f0f9f8;
}

.acc-icon {
    width: 50px;
    height: 50px;
    background: #f0f9f8;
    color: #103579;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Sticky Booking Sidebar */
.booking-card {
    position: sticky;
    top: 120px;
    z-index: 10;
    border: 1px solid #e0e0e0;
}

.booking-header {
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.booking-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.booking-body {
    padding: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .inst-grid {
        grid-template-columns: 1fr;
    }

    .booking-card {
        position: static;
        margin-top: 40px;
    }

    .inst-sidebar {
        order: 2;
    }

    .inst-main {
        order: 1;
    }
}

/* ============================================
   INSTITUTES PAGE SPECIFIC STYLES
   ============================================ */

.sat-inst-card {
    background: #fff;
    border: 1px solid #eaedf1;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.sat-card-img-box {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.sat-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sat-card-top-badges {
    position: absolute;
    top: 12px;
    right: 12px;
}

.sat-inst-discount-badge {
    background: #fff;
    color: #103579;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sat-card-content {
    padding: 15px;
    text-align: right;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sat-inst-brand {
    color: #103579;
    font-size: 1.15rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.sat-inst-title {
    color: #103579;
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
    line-height: 1.4;
}

.sat-inst-loc {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
    margin-top: 4px;
}

.sat-inst-loc i {
    color: #103579;
    font-size: 1rem;
}

.sat-premium-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.sat-premium-meta .meta-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sat-premium-meta .meta-box i {
    color: #103579;
    font-size: 0.9rem;
}

.sat-card-footer {
    padding: 12px 15px;
    background: #fff;
    border-top: 1px solid #eaedf1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-new {
    font-size: 1.15rem;
    font-weight: bold;
    color: #103579;
    display: flex;
    align-items: center;
    gap: 4px;
}

.price-old {
    text-decoration: line-through;
    color: #e74c3c;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ICEF Section */
.icef-section {
    background-color: #e6f1ff;
    padding: 50px 0;
}

.icef-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.icef-text {
    flex: 1;
    text-align: right;
}

.icef-text h3 {
    color: #103579;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

.icef-badge {
    flex: 0 0 auto;
    text-align: left;
}

.icef-badge img {
    width: 160px;
    height: auto;
}

/* Footer Links - Teal BG */
.footer-links-section {
    background-color: #103579;
    padding: 50px 0 30px;
    color: #fff;
}

.footer-links-section a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 2.2;
    transition: opacity 0.2s;
}

.footer-links-section a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.footer-links-section h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: right;
}

.footer-links-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-links-section ul li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-section ul li img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Footer Links - White BG */
.footer-links-white-bg {
    background: #fff;
    padding: 50px 0 30px;
}

.footer-links-white-bg h3 {
    color: #103579;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: right;
}

.footer-links-white-bg a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2.2;
    transition: color 0.2s;
}

.footer-links-white-bg a:hover {
    color: #103579;
    text-decoration: underline;
}

.footer-links-white-bg ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.footer-links-white-bg ul li {
    margin-bottom: 4px;
}

.footer-links-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Institutes Grid */
.institutes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.institutes-pagination {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    direction: ltr;
}

.page-link-v2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.page-link-v2.active,
.page-link-v2:hover {
    background: #103579;
    color: #fff;
    border-color: #103579;
}

.page-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    padding: 0 12px;
    font-family: inherit;
    font-size: 0.95rem;
}

.page-btn.active,
.page-btn:hover:not(:disabled) {
    background: #103579;
    color: #fff;
    border-color: #103579;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 900px) {
    .institutes-layout {
        flex-direction: column;
    }

    .institutes-sidebar {
        width: 100%;
        flex: none;
        position: relative;
        top: 0;
    }

    .icef-container {
        flex-direction: column;
        text-align: center;
    }

    .icef-text {
        text-align: center;
    }

    .icef-badge {
        text-align: center;
    }
}

/* ============================================
   OFFERS PAGE & SLIDER V2 STYLES (REFINED)
   ============================================ */

.offers-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.offer-card-v2 {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    scroll-snap-align: center;
}

.offer-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-img-v2 {
    position: relative;
    overflow: hidden;
}

.card-img-v2 img {
    width: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.offer-card-v2:hover .card-img-v2 img {
    transform: scale(1.1);
}

.discount-badge-v2 {
    background: #fff;
    color: #103579;
    border: 1px solid #103579;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

.card-body-v2 {
    padding: 20px;
    flex: 1;
    text-align: right;
}

.inst-name-v2 {
    color: #103579;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.course-name-v2 {
    color: #103579;
    font-size: 1.05rem;
    margin-bottom: 15px;
    font-weight: normal;
}

.meta-row-v2 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
    justify-content: flex-end;
}

.meta-row-v2 i {
    color: #103579;
}

.meta-row-v2-grid {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.meta-item-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.9rem;
}

.meta-item-v2 i {
    color: #103579;
}

.card-footer-v2 {
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fcfcfc;
    flex-direction: row-reverse;
    /* Put Teal on left, Red on right */
}

.price-box-v2 {
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-box-v2.teal {
    color: #103579;
}

.price-box-v2.red {
    color: #ff4d4d;
}

.price-box-v2.strikethrough .price-val-v2 {
    text-decoration: line-through;
}

.price-val-v2 {
    font-size: 0.6rem;
    font-weight: bold;
    font-family: sans-serif;
}

.price-unit-v2 {
    font-size: 0.8rem;
}

@media (max-width: 588px) {
    .inst-name-v2 {
        font-size: 1rem;
    }

    .course-name-v2 {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .card-body-v2 {
        padding: 12px;
    }

    .meta-row-v2 {
        font-size: 0.8rem;
    }

    .meta-item-v2 {
        font-size: 0.75rem;
    }

    .price-val-v2 {
        font-size: 0.7rem !important;
    }

    .card-footer-v2 {
        padding: 10px 12px;
        align-items: flex-end;
        gap: 5px;
    }

}

.pagination-v2 {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link-v2 {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
}

.page-link-v2:hover,
.page-link-v2.active {
    background: #103579;
    color: #fff;
    border-color: #103579;
}

/* Slider compatibility for V2 cards */
.offers-grid .offer-card-v2 {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
}

@media (max-width: 1200px) {
    .offers-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid .offer-card-v2 {
        flex: 0 0 calc(50% - 15px);
        min-width: 300px;
    }
}

@media (max-width: 900px) {
    .offers-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .offers-grid .offer-card-v2 {
        flex: 0 0 calc(50% - 15px);
        min-width: 300px;
    }
}

@media (max-width: 600px) {
    .offers-grid-v2 {
        grid-template-columns: 1fr;
    }

    .offers-grid .offer-card-v2 {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

/* --- Responsive Fixes (max-width: 1100px) for Header and Hero --- */
@media (max-width: 1100px) {

    /* Top Bar */
    .top-bar .container {
        flex-direction: column;
        align-items: center;
    }

    .promo-content {
        order: -1;
        /* Move to the top */
        width: 100%;
        justify-content: center;
        text-align: center;
        margin-bottom: 5px;
    }

    .social-links,
    .contact-info {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Top Bar Elements */
    .best-price-badge {
        height: 35px;
        /* scale down slightly */
    }

    .promo-text {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Navbar */
    .main-nav {
        background-color: var(--white);

    }

    .main-nav .container {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .nav-branding {
        margin: 0 auto;
    }

    .nav-branding .logo img {
        max-height: 55px;
    }

    .payment-logos img {

        height: 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid var(--primary-color);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        font-size: 18px;
        color: var(--primary-color);
        cursor: pointer;
    }

    .mobile-contact-icons {
        display: flex;
        gap: 10px;
    }

    .mobile-contact-icons .mobile-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        text-decoration: none;
        font-size: 18px;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
        order: 3;
    }

    .main-nav.mobile-menu-active .nav-links,
    .main-nav.mobile-menu-active .nav-actions {
        display: flex;
        flex-direction: column;
        background-color: var(--primary-color);
        margin: 0 -15px;
        padding: 10px 15px;
        width: calc(100% + 30px);
    }

    .main-nav.mobile-menu-active .nav-actions {
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 20px;
    }

    .main-nav.mobile-menu-active .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .main-nav.mobile-menu-active .nav-menu li {
        width: 100%;
        text-align: right;
    }

    .main-nav.mobile-menu-active .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
        color: var(--white);
        border-bottom: 1px solid rgb(240, 234, 234);
    }

    .main-nav.mobile-menu-active .nav-actions {
        align-items: stretch;
        gap: 10px;
    }

    .main-nav.mobile-menu-active .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 0;
        color: var(--white);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-nav.mobile-menu-active .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
    }

    .main-nav.mobile-menu-active .dropdown-menu a {
        color: var(--white);
    }

    .main-nav.mobile-menu-active .nav-auth {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .main-nav.mobile-menu-active .nav-auth a {
        text-align: center;
        padding: 10px;
        width: 100%;
    }

    /* Hero Section */
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .links-container {
        flex-direction: column;
        gap: 20px;
    }

    .hero-content {
        max-width: 100%;
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 26px;
        text-align: start;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-search-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-search-form .input-group {
        width: 100%;
    }

    .form-footer {
        flex-direction: column;
        gap: 15px;
    }

    .btn-search {
        width: 100%;
    }

    .hero-image {
        margin-top: 20px;
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        margin: 0 auto;
        display: block;
        margin-top: 2rem;
    }
}

/* Hide hero image on 739px and below */
@media (max-width: 739px) {
    .hero-image {
        display: none;
    }
}

/* Ultra Small Device Fixes (280px to 424px) */
@media (max-width: 424px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 22px !important;
    }

    .hero-subtitle {
        font-size: 16px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-card .card-title {
        font-size: 16px;
    }

    .news-card,
    .offer-card-v2,
    .acc-card {
        min-width: 100% !important;
    }

    /* Fix reviews slider on mobile */
    .review-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        margin: 0;
    }

    .reviews-grid {
        gap: 20px;
        padding: 10px 0;
    }

    /* Fix Accreditations slider on mobile */
    .acc-card {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        margin: 0;
    }

    .acc-container {
        gap: 20px;
        padding: 10px 0;
    }

    .acc-slider {
        padding: 30px 15px;
        flex: 0 0 100%;
    }

    .acc-wrapper {
        flex-direction: column;
    }

    .acc-info {
        flex: 0 0 100%;
        padding: 40px 20px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 100px;
        /* Reverse curve for mobile */
    }

    /* Fix Offers slider on mobile */
    .offers-grid .offer-card-v2 {
        flex: 0 0 100% !important;
        min-width: 100% !important;
        margin: 0;
    }

    .offers-grid {
        gap: 20px;
    }

    .footer-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .help-text {
        font-size: 13px;
    }

    .back-to-top {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 20px !important;
    }

    .btn-search {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Global Card Image Hover Effect (Black Shade) */
.card-image-box,
.card-img-v2,
.sat-card-img-box,
.news-image-box,
.article-image {
    position: relative;
    overflow: hidden;
}

.card-image-box::after,
.card-img-v2::after,
.sat-card-img-box::after,
.news-image-box::after,
.article-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.offer-card:hover .card-image-box::after,
.offer-card-v2:hover .card-img-v2::after,
.sat-inst-card:hover .sat-card-img-box::after,
.news-card:hover .news-image-box::after,
.article-card:hover .article-image::after {
    background-color: rgba(0, 0, 0, 0.35);
    /* Elegant black shade */
}

/* Ensure badges and interactive elements stay on top of the shade */
.fav-btn,
.inst-discount-badge,
.sat-inst-discount-badge,
.discount-badge-v2,
.inst-logo-badge-v2,
.fav-icon-v2 {
    z-index: 5 !important;
}

/* Optional: Slight scale effect for the image itself */
.card-image-box img,
.card-img-v2 img,
.sat-card-img-box img,
.news-image-box img,
.article-image img {
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.offer-card:hover .card-image-box img,
.offer-card-v2:hover .card-img-v2 img,
.sat-inst-card:hover .sat-card-img-box img,
.news-card:hover .news-image-box img,
.article-card:hover .article-image img {
    transform: scale(1.05);
}

/* Floating Institute Logo in Offer Cards */
.offer-inst-logo-float {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
    border: 2px solid #fff;
    overflow: hidden;
}

.offer-inst-logo-float img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

@media (max-width: 500px) {
    .offer-inst-logo-float {
        width: 40px;
        height: 40px;
        bottom: 10px;
        left: 10px;
    }
}