/* Dental Adres Akademi - Unified Homepage Styles */

/* Global Mobile Optimizations */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Device-specific classes */
.mobile-device {
    font-size: 16px; /* Prevent zoom on input focus */
}

.mobile-device .success-story-card {
    cursor: pointer;
}

.mobile-device button,
.mobile-device .btn,
.mobile-device .career-filter,
.mobile-device .skill-card,
.mobile-device .slide-cta {
    transition: transform 0.15s ease;
}

.mobile-device button:active,
.mobile-device .btn:active,
.mobile-device .career-filter:active,
.mobile-device .skill-card:active,
.mobile-device .slide-cta:active {
    transform: scale(0.95);
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }
    
    body {
        overflow-x: hidden;
    }
}

/* Hero Slider Section */
.hero-slider {
    background: #f7f9fa;
    padding: 4rem 0;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    align-items: center;
}

.slide.active {
    display: flex;
}

.slide-content {
    background: white;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d2f31;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.1rem;
    color: #6a6f73;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.slide-cta {
    background: #a435f0;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.slide-cta:hover {
    background: #5624d0;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.slide-image {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background-size: cover;
    background-position: center;
    border-radius: 0 8px 8px 0;
}

/* Skills Section */
.skills-section {
    padding: 3rem 0;
    background: white;
}

.skills-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2f31;
    margin-bottom: 1rem;
}

.skills-subtitle {
    color: #6a6f73;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.skill-categories {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.skill-categories::-webkit-scrollbar {
    display: none;
}

.skill-card {
    background: white;
    border: 1px solid #d1d7dc;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #2d2f31;
    white-space: nowrap;
    transition: all 0.2s;
    min-width: 200px;
    flex-shrink: 0;
    text-align: center;
    display: block;
}

.skill-card:hover {
    background: #2d2f31;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.skill-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.skill-count {
    font-size: 0.8rem;
    color: #6a6f73;
}

.skill-card:hover .skill-count {
    color: rgba(255,255,255,0.8);
}

/* Career Section */
.career-section {
    padding: 4rem 0;
    background: white;
}

.career-section .container {
    background: #f2f5fa;
    padding: 3rem;
    border-radius: 8px;
}

.career-intro {
    max-width: 280px;
}

.career-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.career-intro p {
    color: #6a6f73;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.4;
}

/* Level Dropdown - Compact Design */
.level-dropdown-container {
    margin-top: 0;
    flex-shrink: 0;
    min-width: 180px;
}

.level-dropdown {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d7dc;
    border-radius: 20px;
    background: white;
    color: #1c1d1f;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 14px;
    padding-right: 28px;
    min-width: 160px;
}

.level-dropdown:focus {
    outline: none;
    border-color: #a435f0;
    box-shadow: 0 0 0 2px rgba(164, 53, 240, 0.1);
}

.level-dropdown:hover {
    border-color: #a435f0;
    box-shadow: 0 2px 4px rgba(164, 53, 240, 0.1);
}

/* Categories Header with Level Dropdown */
.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Categories Container */
.categories-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1c1d1f;
    margin: 0;
    flex: 1;
}

.courses-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.career-cta {
    background: #0f3460;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.career-cta:hover {
    background: #0a2647;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.career-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.career-filters::-webkit-scrollbar {
    display: none;
}

.career-filter {
    background: #f7f9fa;
    border: 1px solid #d1d7dc;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: #1c1d1f;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: 0.65rem;
}

.career-filter.active {
    background: #5624d0;
    border-color: #5624d0;
    color: white;
}

.career-filter:hover:not(.active) {
    background: #e3e7ea;
    border-color: #b4bcc4;
}

.career-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 280px));
    gap: 1rem;
    width: 100%;
    justify-content: start;
}

.career-card {
    background: white;
    border: 1px solid #d1d7dc;
    border-radius: 8px;
    padding: 1.25rem;
    width: 100%;
    /* height: 400px; */
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.career-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
    border-color: #5624d0;
}

.career-visual {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    margin: 0;
}

.career-illustration {
    position: relative;
    width: 100%;
    height: 180px;
    margin: 0;
}

.career-person {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    box-shadow: none;
    clip-path: none;
    border-radius: 8px 8px 0 0;
}

.career-icon-overlay {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 45px;
    height: 45px;
    background: #5624d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.instructor-photo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.career-role {
    font-size: 1rem;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 0.1rem;
    text-align: center;
}

.career-description {
    font-size: 0.875rem;
    color: #6a6f73;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-align: center;
}

.career-certifications {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: auto;
}

.career-cert-title {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.career-cert-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.career-cert-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6a6f73;
}

.career-cert-logo {
    width: 16px;
    height: 16px;
    background: #f0f0f0;
    border-radius: 2px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-price {
    text-align: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e0e0e0;
}

.price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #5624d0;
}

.price-label {
    font-size: 0.75rem;
    color: #999;
    display: block;
}

/* Success Stories Section */
.success-stories-section {
    padding: 4rem 0;
    background: #f8f9fa;
    width: 100%;
    margin: 0;
}

.success-stories-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1c1d1f;
    margin-bottom: 3rem;
    line-height: 1.2;
    padding: 0 2rem;
}

.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

.success-story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 400px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.success-story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.story-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    color: white;
}

.story-category {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.story-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.story-cta {
    background: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.story-cta:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.story-author {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.story-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255,255,255,0.3);
}

.story-author-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.story-author-title {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.story-company-logo {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: white;
    color: #1c1d1f;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Video Controls */
.video-controls {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 15;
}

.video-play-button-small {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.video-play-button-small:hover {
    background: rgba(0, 210, 0, 0.95);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 210, 0, 0.3);
}

.video-play-button-small i {
    margin-left: 2px;
}

.audio-enable-button {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5624d0;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.audio-enable-button:hover {
    background: rgba(86, 36, 208, 0.95);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(86, 36, 208, 0.3);
}

.audio-enable-button:active {
    transform: scale(0.95);
}

.preview-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.success-story-card:hover .preview-video {
    opacity: 1;
}

.success-story-card:hover .story-background {
    opacity: 0;
}

/* Dental Courses Section */
.courses-section {
    padding: 3rem 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d2f31;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6a6f73;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.section-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.dental-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.dental-course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.dental-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.course-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dental-course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-content {
    padding: 1.25rem;
}

.university-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #6b7280;
    font-size: 14px;
}

.university-badge i {
    color: #5624d0;
    font-size: 16px;
}

.course-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2f31;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}

.course-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6b7280;
    font-size: 14px;
}

.section-actions {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: #f7f9fa;
    padding: 3rem 0;
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d2f31;
    display: block;
}

.stat-label {
    color: #6a6f73;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-icon {
    font-size: 3rem;
    color: #a435f0;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d2f31;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6a6f73;
}

/* Testimonials */
.testimonials-section {
    background: #f7f9fa;
    padding: 4rem 0;
}

.testimonial-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2d2f31;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #a435f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: #2d2f31;
}

.author-title {
    color: #6a6f73;
    font-size: 0.875rem;
}

/* No Courses Message */
.no-courses-message {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.no-courses-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-courses-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.stats-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.admin-note {
    margin-top: 1rem;
    color: #6a6f73;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Global Mobile Optimizations */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Section Mobile Optimizations */
    .hero-slider {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .slider-wrapper {
        height: auto;
        min-height: 400px;
    }
    
    .slide {
        flex-direction: column;
        height: auto;
        min-height: 400px;
        padding: 1rem;
    }
    
    .slide-content {
        padding: 2rem 1.5rem;
        max-width: 100%;
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .slide-cta {
        padding: 14px 32px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .slide-image {
        position: relative;
        width: 100%;
        height: 200px;
        border-radius: 8px;
        margin-top: 1rem;
    }
    
    /* Skills Section Mobile */
    .skills-section {
        padding: 2rem 0;
    }
    
    .skills-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .skills-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .skill-categories {
        gap: 0.75rem;
        padding: 1rem;
        justify-content: flex-start;
    }
    
    .skill-card {
        min-width: 160px;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .skill-name {
        font-size: 0.85rem;
    }
    
    .skill-count {
        font-size: 0.75rem;
    }
    
    /* Career Section Mobile */
    .career-section {
        padding: 2rem 0;
    }
    
    .career-section .container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .career-section .row {
        flex-direction: column;
    }
    
    .career-intro {
        max-width: 100%;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .career-intro h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .career-intro p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    /* Categories and Filters Mobile */
    .categories-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .categories-title {
        font-size: 1.1rem;
        margin: 0;
        flex: 1;
    }
    
    .level-dropdown-container {
        min-width: 140px;
    }
    
    .level-dropdown {
        font-size: 0.8rem;
        padding: 6px 8px;
        padding-right: 24px;
        background-size: 12px;
        background-position: right 6px center;
        min-width: 130px;
    }
    
    .courses-title {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    
    .career-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .career-filter {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    /* Course Cards Mobile */
    .career-cards,
    .success-stories-grid,
    .dental-courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .career-card,
    .success-story-card,
    .dental-course-card {
        height: auto;
        min-height: 320px;
        margin: 0;
        padding: 1rem;
    }
    
    /* Dental Courses Section Mobile */
    .courses-section {
        padding: 2rem 0;
    }
    
    .section-header {
        margin: 0 auto 2rem auto;
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .section-description {
        font-size: 0.9rem;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .dental-courses-grid {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .course-image {
        height: 180px;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .course-title {
        font-size: 0.95rem;
        min-height: 2.4rem;
    }
    
    .university-badge {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .course-info {
        font-size: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .section-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .section-actions .btn {
        width: 100%;
        max-width: 300px;
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    /* Stats Section Mobile */
    .stats-section {
        padding: 2rem 0;
    }
    
    .stats-section .row {
        margin: 0;
    }
    
    .stats-section .col-lg-3 {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .stat-item {
        padding: 1rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin: 0 0.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 2rem 0;
    }
    
    .features-section .row.text-center {
        margin-bottom: 2rem;
    }
    
    .features-section .col-lg-8 {
        padding: 0 1rem;
    }
    
    .features-section .col-lg-4 {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin: 0 0.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Testimonials Section Mobile */
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-section .row.text-center {
        margin-bottom: 2rem;
    }
    
    .testimonials-section .col-lg-8 {
        padding: 0 1rem;
    }
    
    .testimonials-section .col-lg-4 {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 0.5rem 1rem 0.5rem;
        border-radius: 12px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .testimonial-author {
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .author-name {
        font-size: 0.9rem;
    }
    
    .author-title {
        font-size: 0.8rem;
    }
    
    .story-overlay {
        padding: 1.5rem;
    }
    
    .success-stories-title,
    .section-title {
        font-size: 1.75rem;
        text-align: center;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    /* General Mobile Improvements */
    button, .career-filter, .skill-card, .slide-cta, .btn {
        min-height: 44px;
        cursor: pointer;
    }
    
    /* Text improvements for mobile */
    body {
        font-size: 16px; /* Prevent zoom on input focus */
    }
    
    /* No courses message mobile */
    .no-courses-message {
        margin: 0 1rem;
        padding: 2rem 1rem;
    }
    
    .no-courses-icon {
        font-size: 3rem;
    }
    
    .stats-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Tablet specific styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slider {
        padding: 3rem 0;
    }
    
    .slide-content {
        padding: 2.5rem;
        max-width: 400px;
    }
    
    .slide-content h1 {
        font-size: 2.2rem;
    }
    
    .career-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .success-stories-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .skill-categories {
        justify-content: center;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .hero-slider {
        padding: 1.5rem 0;
    }
    
    .slide-content {
        padding: 1.5rem 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .slide-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .skills-title {
        font-size: 1.5rem;
    }
    
    .skills-subtitle {
        font-size: 0.9rem;
    }
    
    .skill-card {
        min-width: 140px;
        padding: 0.5rem 0.75rem;
    }
    
    .skill-name {
        font-size: 0.8rem;
    }
    
    .skill-count {
        font-size: 0.7rem;
    }
    
    .career-intro h2 {
        font-size: 1.5rem;
    }
    
    .career-intro p {
        font-size: 0.9rem;
    }
    
    .categories-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .categories-title {
        font-size: 1rem;
        text-align: left;
    }
    
    .level-dropdown-container {
        width: 100%;
        min-width: unset;
    }
    
    .level-dropdown {
        width: 100%;
        font-size: 0.75rem;
        min-width: unset;
    }
    
    .courses-title {
        font-size: 1.1rem;
    }
    
    .career-filter {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .success-stories-title {
        font-size: 1.5rem;
    }
    
    .career-section .container {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .section-description {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}