/* ===============================================
   Main Stylesheet
   =============================================== */

/* CSS Variables - Color Palette */
:root {
    --primary-green: #00e676;
    --primary-blue: #2196F3;
    --accent-orange: #FF6F00;
    --light-orange: #FF8F00;
    --bg-dark: #0a0e27;
    --bg-darker: #050813;
    --text-light: #ffffff;
    --text-gray: #b0bec5;
    --gradient-1: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    --gradient-2: linear-gradient(135deg, var(--accent-orange), var(--light-orange));
    --gradient-3: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 230, 118, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 230, 118, 0.3);
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-x: hidden;
    transform: none;
    position: static;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-darker);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    transform: none;
    position: static;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

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

/* Navigation */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000 !important;
    border-bottom: 1px solid var(--card-border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.55rem;
    color: var(--text-gray);
    letter-spacing: 0.1em;
    font-weight: 700;
    text-transform: uppercase;
}

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

.nav-menu li a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--gradient-1);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

/* Hero Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(5, 8, 19, 0.85) 0%,
            rgba(10, 14, 39, 0.75) 50%,
            rgba(5, 8, 19, 0.85) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.2), transparent);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: pulse 4s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.15), transparent);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: pulse 5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: 4rem;
    margin-top: -1rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Hero Text Slider */
.hero-text-slider {
    position: relative;
    min-height: 180px;
    margin-bottom: 1rem;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.8s ease;
    pointer-events: none;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.hero-slide .hero-subtitle {
    animation: none;
}

.hero-slide .hero-description {
    animation: none;
}

/* Hero Slider Navigation Dots */
.hero-slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

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

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-dot.active {
    background: var(--primary-green);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.6);
    transform: scale(1.2);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-1);
    color: #1a1a1a;
    box-shadow: 0 5px 20px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.btn-orange {
    background: var(--gradient-2);
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(255, 111, 0, 0.3);
}

.btn-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 111, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

.hero-buttons .btn {
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

/* Section Styles */
.section {
    padding: 5rem 0;
    position: relative;
    transform: none;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-gray);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
}

/* Stats Section */
.stats {
    background: var(--card-bg);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Course Cards */
.course-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.course-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--gradient-3);
}

.course-content {
    padding: 2rem;
}

.course-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.price-original {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.price-discounted {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.discount-badge {
    background: var(--gradient-2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.course-features {
    list-style: none;
    margin: 1.5rem 0;
}

.course-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Blog Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Featured Article Responsive */
.featured-article {
    max-width: 1000px;
    margin: 0 auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.featured-image {
    height: 300px;
    border-radius: 10px;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--gradient-3);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.blog-category {
    background: var(--gradient-1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-title {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-excerpt {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-green);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Blog Article Page */
.blog-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.article-header {
    margin-bottom: 3rem;
}

.article-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 3rem;
    background: var(--gradient-3);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-gray);
}

.article-content li {
    margin-bottom: 0.8rem;
}

.highlight-box {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.cta-box {
    background: var(--gradient-1);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-box h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    min-height: 44px;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300e676' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
    max-width: 100%;
    text-overflow: ellipsis;
}

select.form-control option {
    background: #1a1a2e;
    color: #e0e0e0;
    padding: 1rem;
}

/* Phone Input with Country Code */
.phone-input-wrapper {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

/* Custom Dropdown */
.custom-select-wrapper {
    flex: 0 0 160px;
    position: relative;
}

.custom-select-trigger {
    padding: 1rem 0.75rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: var(--primary-green);
}

.custom-select-trigger.active {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

.custom-select-trigger .arrow {
    font-size: 0.7rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.custom-select-trigger.active .arrow {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #1a1a2e;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.custom-select-options.active {
    display: block;
}

.custom-option {
    padding: 0.75rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.custom-option:hover {
    background: rgba(0, 230, 118, 0.1);
    color: var(--primary-green);
}

.custom-option.selected {
    background: rgba(0, 230, 118, 0.15);
    color: var(--primary-green);
}

/* Custom scrollbar for dropdown */
.custom-select-options::-webkit-scrollbar {
    width: 8px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #00ff88;
}

.phone-number-input {
    flex: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Contact Section */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
}

/* Tabs */
.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    color: var(--primary-green);
    border-bottom-color: var(--primary-green);
}

.tab:hover {
    color: var(--text-light);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Mobile Action Bar */
.mobile-action-bar {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    z-index: 10000 !important;

    /* Modern Glassmorphism Style */
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);

    /* Layout */
    justify-content: space-evenly;
    align-items: center;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    gap: 20px;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* Specific Button Styles */
.action-button.call-button:hover,
.action-button.call-button:active {
    background: rgba(33, 150, 243, 0.15);
    border-color: rgba(33, 150, 243, 0.5);
    color: #2196F3;
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.3);
    transform: translateY(-2px);
}

.action-button.whatsapp-button:hover,
.action-button.whatsapp-button:active {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.5);
    color: #25D366;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.action-button.email-button:hover,
.action-button.email-button:active {
    background: rgba(255, 111, 0, 0.15);
    border-color: rgba(255, 111, 0, 0.5);
    color: #FF6F00;
    box-shadow: 0 0 15px rgba(255, 111, 0, 0.3);
    transform: translateY(-2px);
}

.action-button:active {
    transform: scale(0.95);
}

.whatsapp-button {
    position: relative;
    box-shadow: none;
}

@keyframes blink {

    0%,
    49%,
    100% {
        opacity: 1;
    }

    50%,
    99% {
        opacity: 0.6;
    }
}

/* Mobile Action Bar and WhatsApp - Consolidated 768px Media Query */
@media (max-width: 768px) {
    .mobile-action-bar {
        display: flex !important;
    }


    .whatsapp-float {
        display: none;
    }

    .navbar {
        position: fixed !important;
        top: 0 !important;
    }

    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
        padding-top: 0;
    }

    /* Mobile Swipe-friendly Related Articles */
    .grid-3 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        display: flex;
        gap: 1rem;
        padding: 0.5rem 0;
    }

    /* Card grids - stack vertically (methodology, infrastructure, career cards) */
    .grid-3:has(> .card) {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    /* Blog and course cards - keep horizontal scroll */
    .grid-3:has(.blog-card),
    .grid-3:has(.course-card) {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
        place-items: center;
    }

    .grid-3 .blog-card,
    .grid-3 .course-card {
        flex: 0 0 100%;
        min-width: unset;
        width: 100%;
        max-width: 95%;
    }

    .grid-3::-webkit-scrollbar {
        height: 6px;
    }

    .grid-3::-webkit-scrollbar-track {
        background: var(--card-bg);
        border-radius: 10px;
    }

    .grid-3::-webkit-scrollbar-thumb {
        background: var(--primary-green);
        border-radius: 10px;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

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

.whatsapp-float i {
    color: #fff;
}

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

    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8), 0 0 0 10px rgba(37, 211, 102, 0.2);
    }

    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0 1rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

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

.footer-section h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-gray);
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.footer-section a:hover,
.footer-section p:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #b0b0b0;
    flex-shrink: 0;
    padding: 0;
    text-decoration: none;
}

.social-icon i {
    font-size: 16px;
    line-height: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    background: var(--primary-green);
    color: #ffffff !important;
    border-color: var(--primary-green);
}

.social-icon:hover i {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-gray);
}

/* Testimonials */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
}

.testimonial {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 3rem 3rem 4rem;
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.testimonial.active {
    opacity: 1;
    pointer-events: auto;
}

.testimonial-body {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.testimonial-image {
    display: block;
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background-color: var(--primary-green);
    background: var(--gradient-1);
    flex-shrink: 0;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-gray);
    margin-top: 1rem;
    margin-bottom: 0;
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1.25rem;
}

.testimonial-role {
    color: var(--primary-green);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 100;
    background: rgba(26, 26, 46, 0.6);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.testimonial-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--card-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dots .dot:hover {
    background: rgba(0, 230, 118, 0.5);
    transform: scale(1.2);
}

.testimonial-dots .dot.active {
    background: var(--primary-green);
    width: 12px;
    height: 12px;
}

/* About Page */
.about-hero {
    padding: 6rem 0 2rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.about-hero .container {
    overflow: hidden;
}

.about-hero-logo {
    width: 220px;
    height: 220px;
    object-fit: contain;
    margin: 6rem auto 2rem;
    padding: 10px;
    position: relative;
    display: inline-block;
    z-index: 1;
}

/* Only show animations on desktop */
@media (min-width: 769px) {
    .about-hero-logo {
        animation: float 3s ease-in-out infinite;
    }

    .about-hero-logo::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 280px;
        height: 280px;
        border: 2px solid rgba(0, 230, 118, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: orbit1 8s linear infinite;
    }

    .about-hero-logo::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 340px;
        height: 340px;
        border: 2px solid rgba(0, 230, 118, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        animation: orbit2 12s linear infinite reverse;
    }
}

@keyframes orbit1 {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes orbit2 {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(0, 230, 118, 0.4), 0 0 40px rgba(0, 230, 118, 0.3), 0 0 60px rgba(0, 230, 118, 0.2);
    }

    100% {
        box-shadow: 0 0 30px rgba(0, 230, 118, 0.6), 0 0 50px rgba(0, 230, 118, 0.4), 0 0 80px rgba(0, 230, 118, 0.3);
    }
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card,
.vision-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 3rem;
}

.mission-card h3,
.vision-card h3 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* About Page Mobile Optimizations */
@media (max-width: 480px) {
    .about-hero {
        padding: 8rem 0 1.5rem;
    }

    .about-hero-logo {
        width: 150px;
        height: 150px;
        margin: 4rem auto 1.5rem;
    }

    .about-hero h1 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }

    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }

    .mission-card ul li,
    .vision-card ul li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }

    /* Testimonials - stack vertically */
    .grid-3:has(.testimonial) {
        display: grid;
        grid-template-columns: 1fr;
        overflow-x: visible;
    }

    .testimonial {
        position: relative;
        opacity: 1;
        pointer-events: auto;
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* CTA Box mobile */
    .cta-box h3 {
        font-size: 1.2rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-text-slider {
        min-height: 100px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .mission-vision {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--card-border);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .tabs {
        flex-direction: column;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .btn {
        width: 100%;
    }

    .article-title {
        font-size: 2rem;
    }

    /* Course Page Tablet Optimizations */
    .course-image h2 {
        font-size: 1.8rem !important;
        padding: 1.5rem !important;
    }

    .course-content {
        padding: 2rem 1.5rem;
    }

    .card-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }

    .card-icon i {
        font-size: 1.5rem;
        line-height: 60px;
    }

    .price-discounted {
        font-size: 1.8rem;
    }

    .course-badge {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {

    /* Logo Optimization */
    .logo-container {
        gap: 0.5rem;
    }

    .logo {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        font-size: 1.35rem;
    }

    .logo-tagline {
        font-size: 0.55rem;
    }

    /* Fix gap between header and sidebar */
    .nav-menu {
        top: 65px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-text-slider {
        min-height: 80px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
    }

    .testimonial-dots {
        display: none;
    }

    .btn {
        width: auto;
        max-width: 90%;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        margin: 0 auto;
    }

    /* Footer Mobile Optimization */
    .footer {
        padding: 2rem 0 0.75rem;
        padding-bottom: 1.5rem;
    }

    .footer-content {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        color: var(--primary-green);
    }

    .footer-section p,
    .footer-section a {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        word-break: break-word;
    }

    .footer-section a {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-section a i {
        flex-shrink: 0;
        min-width: 16px;
    }

    .social-links {
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .social-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .social-icon i {
        font-size: 18px;
        line-height: 44px;
        width: 44px;
        height: 44px;
    }

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.8rem;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .blog-card {
        margin: 0;
    }

    .blog-image {
        height: 180px;
    }

    .blog-title {
        font-size: 1.1rem;
    }

    .blog-excerpt {
        font-size: 0.9rem;
    }

    .blog-meta {
        font-size: 0.8rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-image {
        height: 200px;
    }

    .cta-box {
        padding: 1.5rem 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .cta-box .btn {
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        width: 100%;
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    /* Contact Form Mobile Optimizations */
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .terms-label {
        font-size: 0.85rem !important;
        align-items: flex-start !important;
    }

    .terms-checkbox {
        width: 20px !important;
        height: 20px !important;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .form-control {
        font-size: 16px !important;
    }

    .tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Blog Article Mobile Optimizations */
    .article-meta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .article-image {
        height: 200px;
        margin-bottom: 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .blog-category {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .article-content {
        font-size: 1rem;
    }

    /* Course Page Mobile Optimizations */
    .course-card {
        margin: 0 -1rem;
        border-radius: 0;
    }

    .course-image {
        height: auto !important;
        min-height: 200px;
    }

    .course-image h2 {
        font-size: 1.3rem !important;
        padding: 1rem !important;
        line-height: 1.4;
    }

    .course-content {
        padding: 1.5rem 1rem;
    }

    .course-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 0.75rem;
    }

    .course-badge i {
        font-size: 0.75rem;
        margin-right: 0.25rem;
    }

    .course-content h2 {
        font-size: 1.2rem !important;
        margin-bottom: 0.75rem !important;
    }

    .course-content>p {
        font-size: 0.95rem !important;
    }

    .course-price {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .price-original {
        font-size: 1rem;
    }

    .price-discounted {
        font-size: 1.5rem;
    }

    .discount-badge {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }

    /* Icon sizing for mobile */
    .card-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
        margin: 0.5rem auto !important;
    }

    .card-icon i {
        font-size: 1.2rem;
        line-height: 50px;
    }

    /* Grid adjustments for course details */
    .grid-3 .card {
        padding: 1.25rem 1rem;
    }

    .grid-3 .card h4 {
        font-size: 1rem;
        margin: 0.75rem 0 0.5rem;
    }

    .grid-3 .card p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .grid-3 .card p[style*="font-size: 0.9rem"] {
        font-size: 0.85rem !important;
    }

    /* Grid-2 optimizations */
    .grid-2 {
        gap: 1.5rem;
    }

    .grid-2>div {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }

    .grid-2 h3 {
        font-size: 1rem;
        margin-bottom: 1rem !important;
        line-height: 1.4;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .grid-2 h3 i {
        font-size: 0.95rem;
        margin-right: 0.35rem;
        display: inline-block;
        vertical-align: middle;
    }

    /* Course features list */
    .course-features {
        margin: 1rem 0 !important;
        padding-left: 0;
    }

    .course-features li {
        padding: 0.5rem 0 0.5rem 1.5rem;
        font-size: 0.875rem;
        line-height: 1.6;
        word-break: keep-all;
        overflow-wrap: normal;
        display: block;
        white-space: normal;
        position: relative;
    }

    .course-features li::before {
        content: '✓';
        color: var(--primary-green);
        font-weight: bold;
        font-size: 0.95rem;
        position: absolute;
        left: 0;
        top: 0.5rem;
    }

    .course-features li strong {
        display: inline;
        margin-bottom: 0;
        font-size: 0.9rem;
    }

    /* Curriculum cards */
    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .card h3 i {
        font-size: 1rem;
        margin-right: 0.5rem;
    }

    .card h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .card p {
        font-size: 0.9rem;
        margin: 0.75rem 0;
        line-height: 1.5;
    }

    .card ul {
        padding-left: 1.25rem;
        font-size: 0.9rem;
        margin: 1rem 0;
    }

    .card ul li {
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

    /* Pricing section spacing */
    .course-content>div[style*="background: var(--card-bg)"] {
        padding: 1.25rem 1rem !important;
        margin: 1.5rem 0 !important;
        border-radius: 10px !important;
    }

    .course-content>div[style*="background: var(--card-bg)"] h3 {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }

    .course-content>div[style*="background: var(--card-bg)"] h3 i {
        font-size: 1rem;
    }

    .course-content>div[style*="background: var(--card-bg)"] p {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* Placement guarantee section */
    .card[style*="background: var(--gradient-1)"] {
        padding: 1.5rem 1rem !important;
        margin: 2rem 0 !important;
    }

    .card[style*="background: var(--gradient-1)"] h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem !important;
    }

    .card[style*="background: var(--gradient-1)"] h3 i {
        font-size: 1rem;
    }

    .card[style*="background: var(--gradient-1)"] p {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }

    .card[style*="background: var(--gradient-1)"] h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .card[style*="background: var(--gradient-1)"] h4 i {
        font-size: 0.85rem;
    }

    .card[style*="background: var(--gradient-1)"] ul {
        margin-top: 0.5rem;
    }

    .card[style*="background: var(--gradient-1)"] ul li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    /* Payment options grid */
    .grid-3>div {
        padding: 1rem;
    }

    .grid-3 .text-center {
        padding: 1.25rem 1rem;
    }

    .grid-3 .text-center h4 {
        font-size: 0.95rem;
        margin: 0.75rem 0 0.5rem;
    }

    .grid-3 .text-center p[class*="text-gradient"] {
        font-size: 1.3rem !important;
        margin: 0.5rem 0 !important;
    }

    .grid-3 .text-center p[style*="font-size: 0.9rem"] {
        font-size: 0.85rem !important;
    }

    /* Final CTA section */
    .course-content>div[style*="text-align: center"] {
        margin: 2rem 0 !important;
    }

    .course-content>div[style*="text-align: center"] h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem !important;
    }

    .course-content>div[style*="text-align: center"] p {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5;
    }

    /* Button groups */
    div[style*="display: flex"][style*="gap: 1rem"] {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    div[style*="display: flex"][style*="gap: 1rem"] .btn {
        width: 100% !important;
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        white-space: normal;
        min-height: 44px;
    }

    /* About hero section on course page */
    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p[style*="font-size: 1.3rem"] {
        font-size: 1rem !important;
        padding: 0 1rem;
        line-height: 1.5;
    }

    /* Section title optimization */
    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* Curriculum section title */
    .course-content>div h3[style*="text-align: center"] {
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem !important;
    }

    .course-content>div h3[style*="text-align: center"] i {
        font-size: 1.1rem;
    }
}

/* Extra Small Screens - Course Page Optimizations */
@media (max-width: 375px) {
    .course-image h2 {
        font-size: 1.1rem !important;
        padding: 0.75rem !important;
    }

    .course-content {
        padding: 1.25rem 0.75rem;
    }

    .card {
        padding: 1.25rem 0.75rem;
    }

    .course-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .price-discounted {
        font-size: 1.3rem;
    }

    .price-original {
        font-size: 0.9rem;
    }

    .discount-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .card-icon {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }

    .card-icon i {
        font-size: 1.1rem;
        line-height: 45px;
    }

    .grid-2 h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .grid-2 h3 i {
        font-size: 0.85rem;
        margin-right: 0.3rem;
    }

    .course-features li {
        font-size: 0.8rem;
        padding: 0.45rem 0;
        line-height: 1.5;
    }

    .course-features li::before {
        font-size: 0.85rem;
    }

    .course-features li strong {
        font-size: 0.8rem;
    }

    .card h3 {
        font-size: 0.95rem;
    }

    .card h4 {
        font-size: 0.9rem;
    }

    .card ul {
        font-size: 0.8rem;
        padding-left: 1rem;
    }

    .btn {
        font-size: 0.85rem;
        padding: 0.7rem 1.25rem;
    }
}

/* Flip phone icon horizontally */
.fa-phone-alt {
    transform: scaleX(-1);
}