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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    /* background: rgba(255, 255, 255, 0.2); */
    z-index: 1000;
    padding: 0.725rem;
    /* backdrop-filter: blur(10px); */
    transition: transform 0.3s ease;
}

.navbar.nav-hidden {
    transform: translateY(-100%) !important;
    transition: transform 0.3s ease !important;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-logo .logo-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo .logo-link:hover {
    transform: scale(1.05);
}

.nav-logo .logo-link:active {
    transform: scale(0.98);
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Home Icon */
.home-icon {
    margin-left: 1rem;
}

.home-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-icon a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.home-icon i {
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0066ff 0%, #0066ff 50%, #0066ff 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: default;
    animation: bounce 2s infinite;
}

.scroll-arrow .arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.scroll-arrow:hover .arrow {
    border-color: #ffd700;
    transform: rotate(45deg) scale(1.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    /* padding: 2rem; */
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Hero text responsive display */
.hero-text-short {
    display: none;
}

.hero-text-full {
    display: inline;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #0066ff;
    color: #fff;
    box-shadow: 0 4px 15px rgb(0 159 255 / 40%);;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.course-cta-card .btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    font-weight: 700;
}

.course-cta-card .btn-primary:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

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

.btn-secondary:hover {
    /* background: white; */
    color: #ffffff;
    transform: translateY(-3px);
}

/* Hero Courses Button - Custom Styling */
.hero-courses-btn {
    background: #ffd700 !important;
    color: #333 !important;
    border: 2px solid #ffd700 !important;
}

.hero-courses-btn:hover {
    background: #ffed4e !important;
    color: #333 !important;
    border-color: #ffed4e !important;
}

/* Hero Slider */
.hero-slider {
    position: relative;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

.slide-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffd700;
    transform: scale(1.2);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #007bff, #0066ff);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
    /* max-width: 700px; */
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* About Section */
.about {
    padding: clamp(3rem, 6vw, 4rem) 0;
    background: #f1f6fb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}

.about-text {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.about-card {
    /* background: rgba(255, 255, 255, 0); */
    padding: clamp(0.75rem, 2vw, 1rem);
    /* border-radius: 8px; */
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); */
    /* transition: transform 0.3s ease; */
    display: flex;
    align-items: flex-start;
    gap: clamp(0.6rem, 1.5vw, 0.8rem);
}

/* .about-card:hover {
    transform: translateY(-5px);
} */

.card-icon {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background: linear-gradient(135deg, #007bff, #0066ff);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon i {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: white;
}

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

.about-card h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 0.2rem;
    color: #333;
}

.about-card p {
    color: #333;
    line-height: 1.5;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
}

/* Highlighted about card */
.about-card-highlighted {
    border: 2px solid #0066ff;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: clamp(250px, 50vw, 350px);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Importance Section */
.importance {
    padding: 6rem 0;
    background: #e9ecef;
}

.importance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    border: 2px solid #0066ff;
    border-radius: 10px;
}

.importance-card {
    /* background: #f8f9fa; */
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;

    outline: none;
}


/* Desktop hover effects - only apply on larger screens */
@media (min-width: 769px) {
    .importance-card:hover {
        /* transform: translateY(-10px); */
        /* border-color: #007bff; */
        box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
        /* background: linear-gradient(135deg, #007bff6b 0%, #0056b3 100%); */
    }

    .importance-card:hover h3,
    .importance-card:hover .card-icon i {
        color: white;
    }
}

/* Specific hover effect for compliance card
 .compliance-card {
    transform: translateY(-10px);
    border-color: #007bff;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

.compliance-card:hover {
    transform: translateY(-10px);
    border-color: #007bff;
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.15);
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
} */

.importance-card .card-icon {
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.importance-card .card-icon i {
    transition: all 0.3s ease;
}

.importance-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.importance-card .card-description {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    background: #0066ffe3;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
    border-radius: 10px;
}

/* Desktop hover effects - only apply on larger screens */
@media (min-width: 769px) {
    .importance-card:hover .card-description,
    .importance-card.touch-active .card-description,
    .importance-card.keyboard-active .card-description {
        opacity: 1;
        transform: translateY(0);
    }
}

.importance-card.touch-active,
/* .importance-card.keyboard-active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
} */

.importance-card.touch-active h3,
.importance-card.touch-active .card-icon i,
.importance-card.keyboard-active h3,
.importance-card.keyboard-active .card-icon i {
    color: white;
}

/* Courses Section */
.courses {
    padding: 6rem 0;
    background: #e9ecef;
}

/* Legal Notice */
.legal-notice {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem 2rem;
    /* background: #ffffff; */
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.legal-separator {
    width: 80px;
    height: 3px;
    background: #87ceeb;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.legal-description {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.legal-tagline {
    font-size: 1.1rem;
    color: #0066ff;
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 600;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 5px solid;
    display: flex;
    flex-direction: column;
}

.course-card.specialist {
    border-top-color: #007bff;
}

.course-card.technician {
    border-top-color: #1e7e34af;
}

.course-card.committee {
    border-top-color: #ffc107;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.course-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.course-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.specialist .course-icon {
    background: #007bff;
}

.technician .course-icon {
    background: #1e7e34af;
}

.committee .course-icon {
    background: #ffc107;
}

.course-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.course-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.course-type {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    padding: 0.3rem 1.5rem;
    background: #0066ff;
    border-radius: 15px;
    display: inline-block;
}

.course-duration {
    background: rgba(0, 123, 255, 0.1);
    color: #0056b3;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

.course-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.course-content ul {
    list-style: none;
}

.course-content li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-content li i {
    color: #0066ff;
    font-size: 0.9rem;
}

.course-cta {
    margin-top: auto;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #d4d4d5b7;
}

.btn-course {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-course:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.btn-details {
    width: auto;
    min-width: 50px;
    height: 50px;
    padding: 0;
    font-size: 1.2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    transition: all 0.3s ease;
    background: #0066ff;
    color: white;
    border: none;
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 160, 253, 0.3);
    background: #004996;
}

.course-cta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive adjustments for small screens */
@media (max-width: 768px) {
    .btn-details {
        padding: 0;
        min-width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .course-cta {
        gap: 0.25rem;
    }
}

/* Target Section */
.target {
    padding: 4rem 0;
    background: linear-gradient(135deg, #007bff 0%, #0066ff 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Responsive target section base improvements */
.target .section-header {
    margin-bottom: 2rem;
}

.target .section-header h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.target .section-header p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.target::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.target .section-header h2,
.target .section-header p {
    color: white;
}

.target .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.target .section-header h2::after {
    background: #ffffff98;
}

.target .section-header p {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.target-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    margin-top: 2rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.target-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.target-text h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.target-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    opacity: 0.95;
}

.target-card {
    background: rgba(255, 255, 255, 0.12);
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.5rem);
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.target-card:hover::before {
    left: 100%;
}

.target-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.target-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.192);
    line-height: 1;
    letter-spacing: -2px;
    display: block;
    position: relative;
}

.target-number::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 2px;
    background: #ffffff83;
    border-radius: 4px;
}

/* Counter Animation Styles */
.stat-number {
    transition: transform 0.15s ease-out;
}

.stat-number.animating {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.target-label {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.target-description {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.5;
    opacity: 0.9;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    max-width: 300px;
    margin: 0 auto;
}



/* Contact Section */
/* ===== Branch Showcase Section ===== */
.branch-showcase {
    padding: 0;
    background-color: #f1f6fb;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    padding-top: 6rem;
}

.branch-showcase .container {
    padding: 0;
    max-width: 100%;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    margin: 0;
    width: 100%;
}

.branch-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 0.60;
    width: 100%;
}

.branch-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.branch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.branch-overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.branch-overlay p {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.branch-item:hover .branch-image img {
    transform: scale(1.1);
}

.branch-item:hover .branch-overlay {
    opacity: 1;
}

.branch-item:hover .branch-overlay h3,
.branch-item:hover .branch-overlay p {
    transform: translateY(0);
    opacity: 1;
}

.branch-location-icon {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    opacity: 0.9;
}

.branch-item:hover .branch-location-icon {
    animation: branch-bounce 0.6s ease;
}

@keyframes branch-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.contact {
    padding: 6rem 0;
    background: #f1f6fb;
}

.contact-info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contact-info-row .info-inline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.08rem;
    color: #0066ff;
    padding: 0.5rem 1.1rem;
    font-weight: 500;
}

.contact-info-row .info-inline-item:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    left: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: #e1e5e9;
    opacity: 0.8;
}

.contact-form-section .contact-info-row,
.contact-form-section .styled-contact-form {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #0066ff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.social-icon:hover {
    background: #ffc107;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.info-inline-social {
    margin-right: 1rem;
}

.info-inline-social span {
    color: #333;
    font-weight: 500;
    margin-left: 0.5rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    background: #0066ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
}

.btn-submit:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0066ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-card p {
    color: #333;
    margin-bottom: 1rem;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #0056b3;
}

.cta-section {
    background: linear-gradient(135deg, #007bff, #0066ff);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
}

.cta-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #222;
    color: white;
    padding: clamp(2rem, 5vw, 3rem) 0 1rem;
}

/* Footer courses section - visible only on big screens */
.footer-courses-section {
    position: relative;
}

.courses-desktop {
    display: block;
}

.courses-title,
.courses-list {
    display: block;
}

/* Footer quick links section */
.footer-quick-links {
    position: relative;
}

.quick-links-title,
.quick-links-list {
    display: block;
}

.courses-title,
.courses-list {
    display: block;
}



.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-section h4 {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #0066ff;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: #0066ff;
    font-size: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.25rem;
    margin-top: 1rem;
}

.footer-social .social-icon {
    width: clamp(30px, 6vw, 36px);
    height: clamp(30px, 6vw, 36px);
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
}

.footer-social .social-icon:hover {
    background: #0066ff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: clamp(1.5rem, 4vw, 2rem);
    border-top: 1px solid #4a5568;
    color: #a0aec0;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Responsive Design */

/* Tablet Breakpoint */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 25px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.95rem;
    }
    
    /* Tablet footer improvements */
    .footer-content {
        gap: 1.75rem;
    }
    
    .footer-section h3 {
        font-size: 1.4rem;
    }
    
    .footer-section h4 {
        font-size: 1.05rem;
    }
    
    .footer-section p {
        font-size: 0.95rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
    }
    
    .footer-contact i {
        font-size: 0.95rem;
    }
    
    .footer-social .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 86, 179, 0.95) 100%);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 80px;
        height: 100vh;
        gap: 1.5rem;
        backdrop-filter: blur(20px);
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
        z-index: 999;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateX(100%);
        pointer-events: none;
    }
    
    .nav-menu.active {
        right: 0;
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        border-radius: 30px;
        margin: 0 1rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: block;
        transform: translateX(20px);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-menu.active a {
        transform: translateX(0);
        opacity: 1;
        animation: slideInRight 0.4s ease forwards;
    }

    .nav-menu.active a:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active a:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active a:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active a:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active a:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active a:nth-child(6) { animation-delay: 0.6s; }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo .logo-image {
        height: 45px;
    }
    
    .home-icon {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 6rem; /* Add top padding to account for navbar */
    }
    
    /* Move scroll arrow below slider dots on mobile */
    .scroll-arrow {
        bottom: 20px; /* Move arrow up to avoid being hidden behind next section */
    }
    
    /* Hide slider dots on mobile */
    .slider-dots {
        display: none;
    }
    
    /* Add spacing around slider on mobile */
    .hero-slider {
        margin: 0 1rem;
        margin-bottom: 4rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* Show short text on mobile */
    .hero-text-full {
        display: none;
    }

    .hero-text-short {
        display: inline;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Mobile about section improvements */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .about-text {
        gap: 1rem;
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 1rem;
    }
    
    .about-card {
        padding: 0.75rem;
        gap: 0.6rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
    }
    
    .card-icon i {
        font-size: 1.1rem;
    }
    
    .about-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }
    
    .about-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Mobile highlighted card */
    .about-card-highlighted {
        border-width: 1.5px;
        border-radius: 8px;
    }
    
    .importance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        border: none;
    }
    
    /* Ensure descriptions are visible on tablet */
    .importance-card .card-description {
        position: static;
        opacity: 1;
        transform: none;
        background: transparent;
        color: #333;
        margin-top: 1rem;
        padding: 0;
    }
    
    /* Tablet importance card improvements */
    .importance-card {
        padding: 1.5rem;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .importance-card h3 {
        color: #0066ff;
        margin-bottom: 0.75rem;
    }
    
    /* Tablet about section improvements */
    .about-content {
        gap: 2.5rem;
    }
    
    .about-text {
        gap: 1.25rem;
    }
    
    .about-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .card-icon {
        width: 48px;
        height: 48px;
    }
    
    .card-icon i {
        font-size: 1.2rem;
    }
    
    .about-card h3 {
        font-size: 1.2rem;
    }
    
    .about-card p {
        font-size: 0.9rem;
    }
    
    .about-image img {
        height: 300px;
    }
    
    /* Tablet highlighted card */
    .about-card-highlighted {
        border-width: 2px;
        border-radius: 10px;
    }
    
    /* Tablet target section improvements */
    .target-content {
        gap: 2.5rem;
    }
    
    .target-text h2 {
        font-size: 3rem;
    }
    
    .target-text p {
        font-size: 1.1rem;
    }
    
    .target-card {
        padding: 1.75rem 1.25rem;
    }
    
    .target-number {
        font-size: 3.5rem;
    }
    
    .target-label {
        font-size: 1.2rem;
    }
    
    .target-description {
        font-size: 0.95rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Courses section responsive enhancements */
    .courses {
        padding: 4rem 0;
    }

    .course-card {
        margin: 0 0.5rem;
    }

    .course-header {
        padding: 1.5rem;
    }

    .course-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .course-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .course-info {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .course-type {
        font-size: 1rem;
        padding: 0.25rem 0.6rem;
    }

    .course-duration {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .course-content {
        padding: 1.5rem;
    }

    .course-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .course-content ul {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .course-content li {
        font-size: 0.95rem;
        padding: 0.3rem 0;
    }

    .btn-course {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .target-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
        text-align: center;
    }
    
    .target-cards {
        order: 2;
        gap: 1rem;
    }
    
    .target-text {
        order: 1;
        text-align: center;
    }
    
    .target-text h2 {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .target-text p {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .target-card {
        padding: 1.5rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    .target-number {
        font-size: 3rem;
        margin-bottom: 0.75rem;
    }
    
    .target-number::after {
        width: 4rem;
        bottom: -8px;
    }
    
    .target-label {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .target-description {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: row;
        gap: 0.8rem;
    }

    .hero-buttons .btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        min-width: 110px;
        flex: 1;
        max-width: 180px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-row {
        gap: 1rem;
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-info-row .info-inline-item:not(:last-child)::after {
        display: none;
    }
    
    .contact-form-section .contact-info-row,
    .contact-form-section .styled-contact-form {
        max-width: 100%;
    }
    
    .branch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .branch-item {
        aspect-ratio: 0.85;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Mobile footer improvements */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        gap: 0.4rem;
    }
    
    .footer-contact i {
        font-size: 0.9rem;
    }
    
    .footer-social {
        gap: 0.6rem;
        margin-top: 0.75rem;
    }
    
    .footer-social .social-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    /* Mobile footer layout - quick links only */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .footer-quick-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quick-links-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .quick-links-list li {
        margin-bottom: 0.3rem;
    }
    
    .quick-links-list a {
        font-size: 0.85rem;
        padding: 0.2rem 0;
    }
    
    /* Hide entire courses section on mobile */
    .footer-courses-section {
        display: none;
    }
    
    /* Mobile contact form optimization */
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 80px;
        resize: none;
    }
    
    .btn-submit {
        padding: 1rem;
        font-size: 1rem;
        margin-top: 1rem;
    }

    /* Mobile Course Swap Functionality */
    .course-navigation {
        display: flex !important;
        gap: 2rem;
    }

    .course-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .course-indicators {
        gap: 0.5rem;
    }

    .course-dot {
        width: 12px;
        height: 12px;
    }

    .courses-grid {
        position: relative;
        overflow: hidden;
    }

    .course-card {
        display: none;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
        height: 600px;
        min-height: 600px;
        max-height: 600px;
    }

    .course-card.active {
        display: block;
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem;
    }

    .nav-container {
        padding: 0 10px;
    }

    .nav-logo .logo-image {
        height: 40px;
    }

    .nav-menu {
        padding-top: 70px;
        gap: 1rem;
    }

    .nav-menu a {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        margin: 0 0.5rem;
    }

    .hamburger span {
        width: 22px;
        height: 2.5px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding-top: 5rem; /* Add top padding for very small screens */
    }
    
    /* Move scroll arrow below slider dots on very small screens */
    .scroll-arrow {
        bottom: 15px; /* Move arrow up to avoid being hidden behind next section */
    }
    
    /* Hide slider dots on very small screens */
    .slider-dots {
        display: none;
    }
    
    /* Add spacing around slider on very small screens */
    .hero-slider {
        margin: 0 0.75rem;
        margin-bottom: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    /* Enhanced section headers for mobile */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .btn {
        /* padding: 0.8rem 1.5rem; */
        font-size: 0.9rem;
    }
    
    /* Small mobile footer improvements */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.2rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
    }
    
    .footer-section ul li a {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 15px;
        transition: all 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        background: rgba(0, 102, 255, 0.2);
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    
    .footer-contact i {
        font-size: 0.85rem;
    }
    
    .footer-social {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .footer-social .social-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
        .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Small mobile footer layout - quick links only */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }
    
    .footer-quick-links {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        align-items: center;
    }
    
    .quick-links-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .quick-links-list li {
        margin-bottom: 0.25rem;
    }
    
    .quick-links-list a {
        font-size: 0.8rem;
        padding: 0.15rem 0;
    }
    
    /* Hide entire courses section on small mobile */
    .footer-courses-section {
        display: none;
    }
    
    /* Small mobile contact form optimization */
    .contact-form-container {
        padding: 1.25rem;
        margin: 0 0.75rem;
        border-radius: 12px;
    }
    
    .contact-form {
        gap: 0.75rem;
    }
    
    .form-row {
        gap: 0.5rem;
    }
    
    .form-group {
        gap: 0.3rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 60px;
    }
    
    .btn-submit {
        padding: 0.9rem;
        font-size: 0.95rem;
        margin-top: 0.75rem;
        border-radius: 6px;
    }
    
    .hero-buttons {
        gap: 0.6rem;
    }

    .hero-buttons .btn {
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
        max-width: 140px;
    }
    
    .importance-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 1rem;
        border: none;
    }
    
    .course-card,
    .about-card,
    .importance-card {
        padding: 1.5rem;
    }
    
    /* Enhanced about section for very small screens */
    .about {
        padding: 2rem 0;
    }
    
    .about-content {
        gap: 1rem;
    }
    
    .about-text {
        gap: 0.75rem;
    }
    
    .about-image {
        margin-bottom: 0.75rem;
    }
    
    .about-image img {
        height: 200px;
        border-radius: 15px;
    }
    
    .about-card {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .card-icon i {
        font-size: 1rem;
    }
    
    .about-card h3 {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .about-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Small mobile highlighted card */
    .about-card-highlighted {
        border-width: 1px;
        border-radius: 6px;
    }
    
    /* Enhanced target section for very small screens */
    .target {
        padding: 2.5rem 0;
    }
    
    .target-content {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .target-text h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .target-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .target-cards {
        gap: 0.75rem;
    }
    
    .target-card {
        padding: 1.25rem 0.75rem;
        margin-bottom: 0.25rem;
        border-radius: 15px;
    }
    
    .target-number {
        font-size: 3rem;
        margin-bottom: 0.5rem;
    }
    
    .target-number::after {
        width: 3rem;
        bottom: -6px;
    }
    
    .target-label {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .target-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    /* Enhanced courses responsive for very small screens */
    .courses {
        padding: 3rem 0;
    }

    .courses-grid {
        gap: 1rem;
    }

    .course-card {
        margin: 0 0.25rem;
        border-radius: 15px;
        height: 550px;
        min-height: 550px;
        max-height: 550px;
    }

    .course-header {
        padding: 1.2rem;
    }

    .course-header h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .course-info {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .course-type {
        font-size: 0.9rem;
        padding: 0.2rem 0.5rem;
    }

    .course-duration {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .course-content {
        padding: 1.2rem;
    }

    .course-content h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .course-content ul {
        gap: 0.4rem;
        margin-bottom: 1.2rem;
    }

    .course-content li {
        font-size: 0.9rem;
        padding: 0.2rem 0;
    }
    
    .btn-course {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    /* Hide contact info row on very small screens */
    .contact-info-row {
        display: none;
    }
    
    /* Mobile-friendly importance card styles */
    .importance-card .card-description {
        font-size: 0.9rem;
        padding: 0.5rem;
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        background: transparent !important;
        color: #333 !important;
        margin-top: 0.5rem;
        border-radius: 0;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }
    
    /* Mobile importance card layout */
    .importance-card {
        text-align: center;
        padding: 1.5rem;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .importance-card .card-icon {
        margin-bottom: 1rem;
    }
    
    .importance-card h3 {
        margin-bottom: 0.5rem;
        color: #0066ff;
    }
    
    .importance-card .card-description {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #666;
        text-align: center;
    }
    
    /* Ensure proper spacing on mobile */
    .importance {
        padding: 3rem 0;
    }
    
    .importance .section-header {
        margin-bottom: 2rem;
    }
    
    /* Mobile importance card improvements */
    .importance-card {
        margin-bottom: 1rem;
        border-radius: 12px;
        transition: none;
    }
    
    .importance-card .card-icon i {
        font-size: 1.5rem;
        color: #fff;
    }
    
    .importance-card h3 {
        font-size: 1.1rem;
        /* margin-bottom: 0.75rem; */
    }
    
    .branch-showcase {
        padding: 0;
        height: auto;
    }
    
    .branch-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* gap: 1rem; */
        /* padding-inline: 1rem; */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .branch-grid::-webkit-scrollbar {
        display: none;
    }
    
    .branch-item {
        min-width: 90vw;
        width: 90vw;
        flex: 0 0 90vw;
        height: 80vw;
        min-height: 250px;
        max-height: 400px;
        margin: 0;
        padding: 0;
        animation: none !important;
        position: relative;
        display: flex;
        align-items: stretch;
        scroll-snap-align: start;
    }
    
    /* On small screens, show hover state by default */
    .branch-item .branch-image img {
        transform: scale(1.1);
    }
    
    .branch-item .branch-overlay {
        opacity: 1;
    }
    
    .branch-item .branch-overlay h3,
    .branch-item .branch-overlay p {
        transform: translateY(0);
        opacity: 1;
    }
    
    .branch-item .branch-location-icon {
        animation: branch-bounce 0.6s ease;
    }
    
    .branch-image {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: stretch;
    }
    
    .branch-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }

    /* Mobile Course Swap Functionality */
    .course-navigation {
        display: flex !important;
        gap: 1.5rem;
    }

    .course-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .course-indicators {
        gap: 0.4rem;
    }

    .course-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 800px) {
    .contact-form-section .contact-info-row,
    .contact-form-section .styled-contact-form {
        max-width: 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease;
}

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

/* Mobile Menu Animation */
@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Course Navigation Arrows (Mobile Only) */
.course-navigation {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.course-nav-btn {
    background: #0066ff;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.course-nav-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.course-nav-btn:active {
    transform: translateY(0);
}

.course-indicators {
    display: flex;
    gap: 0.5rem;
}

.course-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-dot.active {
    background: #0066ff;
    transform: scale(1.2);
}

.course-dot:hover {
    background: rgba(0, 102, 255, 0.6);
}

/* Form Validation and Loading States */
.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    animation: fadeInUp 0.3s ease-out;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    background: #fff5f5;
    animation: shake 0.5s ease-in-out;
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.btn-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-submit:disabled:hover {
    background: #6c757d;
    transform: none;
    box-shadow: none;
}

/* Error shake animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Phone number input formatting */
.form-group input[type="tel"] {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Form field focus enhancement */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    transform: translateY(-1px);
}

/* Responsive form adjustments */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .btn-submit {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Course Sub-Page Styles */
.course-hero {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.course-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.85) 0%, rgba(0, 82, 204, 0.85) 100%);
    z-index: 1;
}

.course-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.course-badge i {
    font-size: 1.2rem;
}

.course-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.course-hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.course-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.stat-item i {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Hero image is now background */

.course-details {
    padding: 80px 0;
    background: #f8f9fa;
}

.course-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.course-section {
    /* background: white; */
    /* padding: 2rem;
    border-radius: 15px; */
    margin-bottom: 2rem;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
}

.course-section h2 {
    color: #0066ff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.course-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

/* Enhanced Topics Grid */
.topics-enhanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Compact Topics List */
.topics-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.topic-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem;
    /* background: white; */
    border-radius: 12px;
    /* box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.topic-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #0066ff;
}
.topic-list-item2 {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #0066ff;
}

.topic-list-number {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 102, 255, 0.3);
}

.topic-list-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #e9ecef;
}

.topic-list-icon i {
    color: #0066ff;
    font-size: 1.3rem;
}

.topic-list-content {
    flex: 1;
    min-width: 0;
}

.topic-list-content h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.topic-list-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.topic-enhanced-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.topic-enhanced-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
}

.topic-enhanced-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0066ff;
}

.topic-enhanced-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 2rem 1.5rem;
    position: relative;
    text-align: center;
}

.topic-enhanced-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
}

.topic-enhanced-icon i {
    color: white;
    font-size: 2.2rem;
}

.topic-enhanced-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.topic-enhanced-content {
    padding: 2rem;
}

.topic-enhanced-content h3 {
    color: #0066ff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.topic-enhanced-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1rem;
}

.topic-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.topic-feature {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #0066ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.topic-feature:hover {
    background: linear-gradient(135deg, #0066ff, #0052cc);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}
/* 
.topic-item {
    /* background: #f8f9fa; */
    /* padding: 1.5rem; */
    /* border-radius: 10px;
    border-right: 4px solid #0066ff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
} */

/* .topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
} */

.topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.topic-icon i {
    color: white;
    font-size: 1.5rem;
}

.topic-item h3 {
    color: #333;
    font-size: 1.2rem;
    /* margin-bottom: 0.8rem; */
    font-weight: 600;
}

.topic-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.learning-outcomes {
    display: grid;
    /* gap: 0.8rem; */
}

.outcome-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    /* border-right: 3px solid #28a745; */
}

.outcome-item i {
    color: #28a745;
    font-size: 1.2rem;
}

.outcome-item span {
    font-weight: 500;
    color: #333;
}

/* Learning Outcomes Infographic */
.learning-outcomes-infographic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.outcome-infographic-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.outcome-infographic-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
}

.outcome-infographic-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #0066ff;
}

.outcome-icon-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.outcome-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.outcome-icon i {
    color: white;
    font-size: 2rem;
}

.outcome-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #333;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    z-index: 3;
}

.outcome-content h3 {
    color: #0066ff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.outcome-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.course-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.course-info-card,
.course-requirements-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.course-cta-card {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.course-cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.course-cta-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.course-info-card h3,
.course-requirements-card h3 {
    color: #0066ff;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.course-cta-card h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.course-cta-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

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

.info-item i {
    color: #0066ff;
    width: 20px;
    text-align: center;
}

.info-item span {
    color: #555;
    font-weight: 500;
}

.btn-full {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.course-cta-card .btn-full:last-child {
    margin-bottom: 0;
}

/* Ensure course CTA card buttons are properly centered */
/* .course-cta-card .btn-full {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
} */

.course-requirements-card ul {
    list-style: none;
    padding: 0;
}

.course-requirements-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
    position: relative;
    padding-right: 1.5rem;
}

.course-requirements-card li:before {
    content: '•';
    color: #0066ff;
    font-weight: bold;
    position: absolute;
    right: 0;
}

.course-requirements-card li:last-child {
    border-bottom: none;
}

.course-benefits {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    color: white;
    font-size: 2rem;
}

.benefit-item h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Course Navigation Section */
.course-navigation-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.course-nav-header {
    text-align: center;
    margin-bottom: 3rem;
}

.course-nav-header h2 {
    color: #0066ff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.course-nav-header p {
    color: #666;
    font-size: 1.1rem;
}

.course-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.course-nav-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.course-nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #0066ff;
}

.course-nav-card.current {
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    border-color: #0066ff;
}

.course-nav-card.current h3,
.course-nav-card.current p {
    color: white;
}

.course-nav-card.current .course-nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.course-nav-card.current h3,
.course-nav-card.current p {
    color: white;
}

.course-nav-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066ff, #0052cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.course-nav-icon i {
    color: white;
    font-size: 1.5rem;
}

.course-nav-card h3 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

.course-nav-card p {
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.current-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-top: auto;
    align-self: center;
}

/* Navigation arrows replaced with buttons */

.course-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    width: 100%;
    min-height: 50px;
}

.course-nav-btn:hover {
    background: linear-gradient(135deg, #0052cc 0%, #004099 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
    color: white;
}

.course-nav-btn i {
    font-size: 0.9rem;
}

/* Responsive Design for Course Pages */
@media (max-width: 1024px) {
    .course-hero {
        padding: 100px 0 70px;
    }
    
    .course-hero-content {
        max-width: 700px;
        padding: 0 1.5rem;
    }
    
    .course-hero h1 {
        font-size: 2.2rem;
    }
    
    .course-hero-description {
        font-size: 1rem;
        margin-bottom: 1.8rem;
    }
    
    .course-hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        font-size: 0.95rem;
    }
    
    .stat-item i {
        font-size: 1.1rem;
    }
    
    /* Course Details Section - Tablet */
    .course-details {
        padding: 60px 0;
    }
    
    .course-details-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 2.5rem;
    }
    
    .course-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.3rem;
    }
    
    .course-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .topics-list {
        gap: 0.9rem;
    }
    
    .topic-list-item {
        padding: 1rem;
        gap: 0.9rem;
    }
    
    /* Hide topic icons on small screens for المواضيع الرئيسية only */
    .course-section:nth-of-type(2) .topic-list-icon {
        display: none;
    }
    
    /* Hide topic numbers on small screens for المخرجات التعليمية only */
    .course-section:nth-of-type(3) .topic-list-number {
        display: none;
    }
    
    .course-sidebar {
        order: 1;
        gap: 1.5rem;
    }
    
    .course-main-content {
        order: 0;
    }
    
    .course-info-card,
    .course-requirements-card {
        padding: 1.8rem;
    }
    
    .course-cta-card {
        padding: 2.5rem 2rem;
    }
    
    .course-cta-card h3 {
        font-size: 2rem;
    }
    
    .course-cta-card p {
        font-size: 1rem;
    }
    
    /* Contact Form - Tablet */
    .contact-form-container {
        padding: 1.8rem;
        max-width: 700px;
    }
    
    .form-row {
        gap: 0.9rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
    
    .btn-submit {
        padding: 1.1rem;
        font-size: 1rem;
        margin-top: 1.3rem;
    }
    
    /* Contact Section - Tablet */
    .contact {
        padding: 1rem 0 6rem 0;
    }
    
    /* Course Navigation Section - Tablet */
    .course-navigation-section {
        padding: 60px 0;
    }
    
    .course-nav-header {
        margin-bottom: 2.5rem;
    }
    
    .course-nav-header h2 {
        font-size: 1.8rem;
    }
    
    .course-nav-header p {
        font-size: 1rem;
    }
    
    .course-nav-grid {
        gap: 1.5rem;
        max-width: 900px;
    }
    
    .course-nav-card {
        padding: 1.8rem;
    }
    
    .course-nav-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 1.3rem;
    }
    
    .course-nav-icon i {
        font-size: 1.4rem;
    }
    
    .course-nav-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }
    
    .course-nav-card p {
        margin-bottom: 1.3rem;
        font-size: 0.9rem;
    }
    
    .course-nav-btn {
        padding: 0.9rem 1.3rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
}

@media (max-width: 768px) {
    .course-hero {
        padding: 90px 0 60px;
    }
    
    .course-hero-content {
        text-align: center;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .course-badge {
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.8rem;
        font-size: 0.9rem;
    }
    
    .course-badge i {
        font-size: 1.1rem;
    }
    
    .course-hero h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .course-hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .course-hero-stats {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .stat-item {
        font-size: 0.9rem;
        gap: 0.4rem;
        min-width: auto;
    }
    
    .stat-item i {
        font-size: 1rem;
    }
    
    .course-details {
        padding: 50px 0;
    }
    
    .course-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        order: 1;
        gap: 1.5rem;
    }
    
    .course-main-content {
        order: 0;
    }
    
    .course-info-card,
    .course-requirements-card {
        padding: 1.5rem;
    }
    
    .course-cta-card {
        padding: 2rem 1.5rem;
    }
    
    .course-cta-card h3 {
        font-size: 1.8rem;
    }
    
    .course-cta-card p {
        font-size: 0.95rem;
    }
    
    .info-item {
        padding: 0.7rem 0;
        gap: 0.8rem;
    }
    
    .info-item i {
        width: 18px;
        font-size: 0.9rem;
    }
    
    /* Contact Form - Mobile Tablet */
    .contact-form-container {
        padding: 1.5rem;
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .form-group {
        gap: 0.4rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .btn-submit {
        padding: 1rem;
        font-size: 0.95rem;
        margin-top: 1.2rem;
    }
    
    /* Contact Section - Mobile Tablet */
    .contact {
        padding: 1rem 0 1rem 0;
    }
    
    /* Course Navigation Section - Mobile Tablet */
    .course-navigation-section {
        padding: 50px 0;
    }
    
    .course-nav-header {
        margin-bottom: 2rem;
    }
    
    .course-nav-header h2 {
        font-size: 1.6rem;
    }
    
    .course-nav-header p {
        font-size: 0.95rem;
    }
    
    .course-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 1rem;
    }
    
    .course-nav-card {
        padding: 1.5rem;
    }
    
    .course-nav-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.2rem;
    }
    
    .course-nav-icon i {
        font-size: 1.3rem;
    }
    
    .course-nav-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .course-nav-card p {
        margin-bottom: 1.2rem;
        font-size: 0.85rem;
    }
    
    .course-nav-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
        min-height: 45px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .course-nav-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-nav-card {
        padding: 1.5rem;
    }
    
    .learning-outcomes-infographic {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .outcome-infographic-item {
        padding: 1.5rem;
    }
    
    .topics-enhanced-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .topic-enhanced-item {
        margin: 0 0.5rem;
    }
    
    .topic-enhanced-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .topic-enhanced-content {
        padding: 1.5rem;
    }
    
    .topic-features {
        gap: 0.6rem;
    }
    
    .topic-feature {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .topics-list {
        gap: 0.8rem;
    }
    
    .topic-list-item {
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .topic-list-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    /* Hide topic icons on small screens for المواضيع الرئيسية only */
    .course-section:nth-of-type(2) .topic-list-icon {
        display: none;
    }
    
    /* Hide topic numbers on small screens for المخرجات التعليمية only */
    .course-section:nth-of-type(3) .topic-list-number {
        display: none;
    }
    
    .topic-list-content h3 {
        font-size: 1.1rem;
    }
    
    .topic-list-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .course-hero {
        padding: 80px 0 50px;
    }
    
    .course-hero-content {
        padding: 0 0.8rem;
    }
    
    .course-badge {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
        margin-bottom: 0.7rem;
    }
    
    .course-badge i {
        font-size: 1rem;
    }
    
    .course-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.7rem;
        line-height: 1.4;
    }
    
    .course-hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.3rem;
        padding: 0 0.3rem;
    }
    
    .course-hero-stats {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    
    .stat-item i {
        font-size: 0.95rem;
    }
    
    .course-details {
        padding: 40px 0;
    }
    
    .course-details-grid {
        gap: 1.5rem;
    }
    
    .course-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .course-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .course-section p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .topics-list {
        gap: 0.7rem;
        margin-top: 1.5rem;
    }
    
    .topic-list-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .topic-list-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    /* Hide topic icons on small screens for المواضيع الرئيسية only */
    .course-section:nth-of-type(2) .topic-list-icon {
        display: none;
    }
    
    /* Hide topic numbers on small screens for المخرجات التعليمية only */
    .course-section:nth-of-type(3) .topic-list-number {
        display: none;
    }
    
    .topic-list-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .topic-list-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .course-sidebar {
        order: 1;
        gap: 1.2rem;
    }
    
    .course-main-content {
        order: 0;
    }
    
    .course-info-card,
    .course-requirements-card {
        padding: 1.2rem;
    }
    
    .course-cta-card {
        padding: 1.8rem 1.2rem;
    }
    
    .course-cta-card h3 {
        font-size: 1.6rem;
        margin-bottom: 0.4rem;
    }
    
    .course-cta-card p {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .info-item {
        padding: 0.6rem 0;
        gap: 0.7rem;
        font-size: 0.9rem;
    }
    
    .info-item i {
        width: 16px;
        font-size: 0.85rem;
    }
    
    /* Contact Form - Mobile */
    .contact-form-container {
        padding: 1.2rem;
        margin: 0 0.8rem;
    }
    
    .form-row {
        gap: 0.7rem;
    }
    
    .form-group {
        gap: 0.3rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .form-group textarea {
        min-height: 90px;
    }
    
    .btn-submit {
        padding: 0.9rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    /* Contact Section - Mobile */
    .contact {
        padding: 1rem 0 1rem 0;
    }
    
    /* Course Navigation Section - Mobile */
    .course-navigation-section {
        padding: 40px 0;
    }
    
    .course-nav-header {
        margin-bottom: 1.8rem;
    }
    
    .course-nav-header h2 {
        font-size: 1.5rem;
    }
    
    .course-nav-header p {
        font-size: 0.9rem;
    }
    
    .course-nav-grid {
        gap: 1.2rem;
        margin: 0 0.8rem;
    }
    
    .course-nav-card {
        padding: 1.3rem;
    }
    
    .course-nav-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .course-nav-icon i {
        font-size: 1.2rem;
    }
    
    .course-nav-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .course-nav-card p {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    
    .course-nav-btn {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        min-height: 42px;
    }
    
    .topic-item {
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .course-hero {
        padding: 70px 0 40px;
    }
    
    .course-hero-content {
        padding: 0 0.5rem;
    }
    
    .course-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
    }
    
    .course-hero h1 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .course-hero-description {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        padding: 0 0.2rem;
    }
    
    .course-hero-stats {
        flex-direction: row;
        gap: 0.8rem;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .stat-item {
        font-size: 0.8rem;
    }
    
    .stat-item i {
        font-size: 0.9rem;
    }
    
    /* Course Details Section - Extra Small Mobile */
    .course-details {
        padding: 30px 0;
    }
    
    .course-details-grid {
        gap: 1.2rem;
    }
    
    .course-section {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .course-section h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .course-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .topics-list {
        gap: 0.6rem;
        margin-top: 1.2rem;
    }
    
    .topic-list-item {
        padding: 0.8rem;
        gap: 0.7rem;
    }
    
    .topic-list-number {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
    }
    
    /* Hide topic icons on small screens for المواضيع الرئيسية only */
    .course-section:nth-of-type(2) .topic-list-icon {
        display: none;
    }
    
    /* Hide topic numbers on small screens for المخرجات التعليمية only */
    .course-section:nth-of-type(3) .topic-list-number {
        display: none;
    }
    
    .topic-list-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .topic-list-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .course-sidebar {
        order: 1;
        gap: 1rem;
    }
    
    .course-main-content {
        order: 0;
    }
    
    .course-info-card,
    .course-requirements-card {
        padding: 1rem;
    }
    
    .course-cta-card {
        padding: 1.5rem 1rem;
    }
    
    .course-cta-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.3rem;
    }
    
    .course-cta-card p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .info-item {
        padding: 0.5rem 0;
        gap: 0.6rem;
        font-size: 0.85rem;
    }
    
    .info-item i {
        width: 15px;
        font-size: 0.8rem;
    }
    
    /* Contact Form - Extra Small Mobile */
    .contact-form-container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .form-row {
        gap: 0.6rem;
    }
    
    .form-group {
        gap: 0.3rem;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .btn-submit {
        padding: 0.8rem;
        font-size: 0.85rem;
        margin-top: 0.9rem;
    }
    
    /* Contact Section - Extra Small Mobile */
    .contact {
        padding: 1rem 0 1rem 0;
    }
    
    /* Course Navigation Section - Extra Small Mobile */
    .course-navigation-section {
        padding: 30px 0;
    }
    
    .course-nav-header {
        margin-bottom: 1.5rem;
    }
    
    .course-nav-header h2 {
        font-size: 1.4rem;
    }
    
    .course-nav-header p {
        font-size: 0.85rem;
    }
    
    .course-nav-grid {
        gap: 1rem;
        margin: 0 0.5rem;
    }
    
    .course-nav-card {
        padding: 1.2rem;
    }
    
    .course-nav-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.9rem;
    }
    
    .course-nav-icon i {
        font-size: 1.1rem;
    }
    
    .course-nav-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .course-nav-card p {
        margin-bottom: 0.9rem;
        font-size: 0.75rem;
    }
    
    .course-nav-btn {
        padding: 0.6rem 0.9rem;
        font-size: 0.75rem;
        min-height: 40px;
    }
}

/* Certification Badge Styles */
.certification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.certification-badge:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-1px);
}

.cert-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%); */
}

.cert-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0066ff;
    white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .certification-badge {
        padding: 0.4rem 0.8rem;
        margin-top: 0.8rem;
        max-width: 210px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cert-icon {
        width: 20px;
        height: 20px;
    }
    
    .cert-text {
        font-size: 0.8rem;
    }
}