.course-card {
    display: flex;
    flex-direction: column;
    height: 100%; /* or a fixed min-height if you want */
}

.course-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.course-meta {
    margin-top: auto; /* pushes the meta and button to the bottom */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
    min-height: 1.5rem;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.btn.btn-outline {
    margin-top: 1rem;
    align-self: flex-start; /* or center, as you prefer */
}
.news-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.news-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-link:hover::before {
    left: 100%;
}

.news-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.news-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.link-text {
    position: relative;
    z-index: 1;
}

.link-icon {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.news-link:hover .link-icon {
    transform: translateX(3px);
}

/* Alternative style option - if you prefer a more subtle look */
.news-link.subtle {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: none;
}

.news-link.subtle:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* News Section Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e1e5e9;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.news-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #6c757d;
}

.news-date {
    font-weight: 500;
}

.news-source {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.news-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* Search Button Styles */
.search-button {
    background: white;
    color: #333;
    border: 2px solid #e1e5e9;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-button:hover {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.search-button:active {
    transform: scale(0.95);
}

.search-button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.search-button:hover i {
    transform: scale(1.1);
}

/* Membership Section Styles */
.membership-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.membership-static {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.membership-carousel {
    position: relative;
    margin: 40px 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.carousel-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-container {
    position: relative;
    overflow: visible;
    border-radius: 15px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    width: 350px;
    opacity: 0;
    transform: translateX(0) scale(0.7);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

/* Center slide (active/focused) */
.carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 3;
}

/* Left slide */
.carousel-slide.prev {
    opacity: 0.7;
    transform: translateX(-280px) scale(0.8);
    z-index: 2;
}

/* Right slide */
.carousel-slide.next {
    opacity: 0.7;
    transform: translateX(280px) scale(0.8);
    z-index: 2;
}

.membership-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 400px;
}

/* Enhanced shadows for 3D effect */
.carousel-slide.active .membership-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
}

.carousel-slide.prev .membership-card,
.carousel-slide.next .membership-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.membership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.membership-icon {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
}

.membership-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.membership-card:hover .membership-icon::before {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.membership-icon img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
}

.membership-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.membership-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #667eea;
    transform: scale(1.2);
}

.indicator:hover {
    background: #667eea;
    opacity: 0.7;
}

.indicator:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.membership-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: 40px;
}

.membership-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.cta-actions {
    text-align: center;
}

/* Comprehensive Mobile Responsive Design */

/* Tablet and smaller desktop adjustments */
@media (max-width: 1024px) {
    .django-container {
        padding: 0 1.5rem;
    }
    
    .course-card {
        margin-bottom: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .membership-static {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

/* Mobile landscape and portrait */
@media (max-width: 768px) {
    .django-container {
        padding: 0 1rem;
    }
    
    /* Course Cards Mobile */
    .course-card {
        margin-bottom: 1.25rem;
        border-radius: 12px;
    }
    
    .course-content {
        padding: 1.25rem;
    }
    
    .course-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .course-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        height: auto;
        overflow: visible;
    }
    
    .course-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    
    .course-meta span {
        gap: 0.3rem;
    }
    
    .btn.btn-outline {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-top: 0.75rem;
    }
    
    /* News Section Mobile */
    .news-actions {
        justify-content: center;
        margin: 1.5rem 0;
    }
    
    .news-link {
        padding: 10px 18px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 1.5rem;
    }
    
    .news-card {
        border-radius: 12px;
        margin-bottom: 1rem;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-content {
        padding: 15px;
    }
    
    .news-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
        height: auto;
        overflow: visible;
        margin-bottom: 1rem;
    }
    
    .news-meta {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .read-more {
        font-size: 0.85rem;
    }
    
    /* Search Button Mobile */
    .search-button {
        width: 36px;
        height: 36px;
    }
    
    .search-button i {
        font-size: 0.9rem;
    }
    
    /* Membership Section Mobile */
    .membership-section {
        padding: 60px 0;
    }
    
    .membership-static {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .membership-card {
        padding: 30px 20px;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .membership-icon {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .membership-icon img {
        width: 60px;
        height: 60px;
    }
    
    .membership-title {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .membership-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .membership-cta {
        padding: 12px 25px;
        font-size: 1rem;
        border-radius: 25px;
        margin-top: 30px;
    }
    
    .carousel-container {
        min-height: 300px;
        padding: 0 1rem;
    }
    
    .carousel-slide {
        width: 280px;
    }
    
    /* Adjust positioning for mobile */
    .carousel-slide.prev {
        transform: translateX(-200px) scale(0.75);
    }
    
    .carousel-slide.next {
        transform: translateX(200px) scale(0.75);
    }
    
    .carousel-indicators {
        margin-top: 20px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .django-container {
        padding: 0 0.75rem;
    }
    
    /* Course Cards Small Mobile */
    .course-card {
        margin-bottom: 1rem;
        border-radius: 10px;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .course-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .course-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .course-meta {
        font-size: 0.75rem;
        gap: 0.4rem;
        margin-bottom: 0.75rem;
    }
    
    .btn.btn-outline {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
    
    /* News Section Small Mobile */
    .news-link {
        padding: 8px 16px;
        font-size: 0.85rem;
        border-radius: 18px;
    }
    
    .news-grid {
        gap: 15px;
        margin-top: 1rem;
    }
    
    .news-card {
        border-radius: 10px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .news-excerpt {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .news-meta {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .read-more {
        font-size: 0.8rem;
    }
    
    /* Search Button Small Mobile */
    .search-button {
        width: 32px;
        height: 32px;
    }
    
    .search-button i {
        font-size: 0.8rem;
    }
    
    /* Membership Section Small Mobile */
    .membership-section {
        padding: 40px 0;
    }
    
    .membership-card {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .membership-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .membership-icon img {
        width: 45px;
        height: 45px;
    }
    
    .membership-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .membership-description {
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .membership-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
        margin-top: 20px;
    }
    
    .carousel-container {
        min-height: 250px;
        padding: 0 0.5rem;
    }
    
    .carousel-slide {
        width: 250px;
    }
    
    .carousel-slide.prev {
        transform: translateX(-180px) scale(0.7);
    }
    
    .carousel-slide.next {
        transform: translateX(180px) scale(0.7);
    }
    
    .carousel-indicators {
        margin-top: 15px;
        gap: 6px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .django-container {
        padding: 0 0.5rem;
    }
    
    .course-content {
        padding: 0.75rem;
    }
    
    .course-title {
        font-size: 0.95rem;
    }
    
    .course-description {
        font-size: 0.8rem;
    }
    
    .news-content {
        padding: 10px;
    }
    
    .news-title {
        font-size: 0.95rem;
    }
    
    .news-excerpt {
        font-size: 0.8rem;
    }
    
    .membership-card {
        padding: 15px 10px;
    }
    
    .membership-title {
        font-size: 1rem;
    }
    
    .membership-description {
        font-size: 0.8rem;
    }
    
    .carousel-slide {
        width: 220px;
    }
    
    .carousel-slide.prev {
        transform: translateX(-160px) scale(0.65);
    }
    
    .carousel-slide.next {
        transform: translateX(160px) scale(0.65);
    }
}

/* Homepage-only override: service icon inside consultancy cards */
#consultancy .service-card .service-icon {
    width: 100px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background:  #ffffff;
    color: #1e40af;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

#consultancy .service-card .service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Hero Section Mobile Overrides - Homepage Specific */

/* Tablet and smaller desktop adjustments */
@media (max-width: 1024px) {
    .hero-content {
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .hero-image-container {
        border-radius: 20px;
    }
    
    .overlay-card {
        width: 280px;
        margin-right: 12px;
    }
}

/* Mobile landscape and portrait */
@media (max-width: 768px) {
    .hero {
        padding: 1rem 0;
        min-height: 90vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        align-items: center;
    }
    
    .hero-text {
        order: 1;
        text-align: center;
    }
    
    .hero-visual {
        order: 2;
        margin-top: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        text-align: center;
        max-width: none;
        margin-bottom: 2rem;
        font-size: 1rem;
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-image-container {
        border-radius: 16px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        margin: 0 auto;
        max-width: 400px;
        position: relative;
    }
    
    .hero-image {
        aspect-ratio: 4/3;
        position: relative;
    }
    
    /* Logo positioning inside the blue gradient area */
    .hero-logo {
        position: absolute;
        top: 1rem;
        left: 1rem;
        z-index: 10;
        width: 60px;
        height: 60px;
    }
    
    .hero-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* Cards positioning inside the blue gradient area, after logo */
    .hero-overlay {
        position: absolute;
        top: 4rem;
        left: 0.5rem;
        right: 0.5rem;
        margin-top: 0;
        gap: 0.75rem;
        flex-direction: column;
        display: flex;
    }
    
    .overlay-card {
        width: 100%;
        max-width: none;
        margin: 0;
        border-radius: 12px;
        padding: 0.875rem;
    }
    
    .overlay-card a {
        gap: 0.75rem;
    }
    
    .card-icon {
        font-size: 1.25rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .card-icon img {
        width: 24px;
        height: 24px;
    }
    
    .card-content h4 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .card-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero {
        padding: 0.75rem 0;
        min-height: 85vh;
    }
    
    .hero-content {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        max-width: 260px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-image-container {
        border-radius: 12px;
        max-width: 350px;
        position: relative;
    }
    
    .hero-image {
        aspect-ratio: 4/3;
        position: relative;
    }
    
    /* Logo positioning inside the blue gradient area */
    .hero-logo {
        position: absolute;
        top: 0.75rem;
        left: 0.75rem;
        z-index: 10;
        width: 50px;
        height: 50px;
    }
    
    /* Cards positioning inside the blue gradient area, after logo */
    .hero-overlay {
        position: absolute;
        top: 3.5rem;
        left: 0.4rem;
        right: 0.4rem;
        margin-top: 0;
        gap: 0.6rem;
        flex-direction: column;
        display: flex;
    }
    
    .overlay-card {
        max-width: none;
        margin: 0;
        padding: 0.75rem;
        border-radius: 10px;
    }
    
    .overlay-card a {
        gap: 0.5rem;
    }
    
    .card-icon {
        font-size: 1.1rem;
        width: 36px;
        height: 36px;
    }
    
    .card-icon img {
        width: 20px;
        height: 20px;
    }
    
    .card-content h4 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }
    
    .card-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .hero {
        padding: 0.5rem 0;
        min-height: 80vh;
    }
    
    .hero-content {
        padding: 0 0.5rem;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-actions {
        gap: 0.4rem;
        margin-bottom: 1.25rem;
    }
    
    .btn-hero {
        max-width: 240px;
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-image-container {
        border-radius: 10px;
        max-width: 300px;
        position: relative;
    }
    
    .hero-image {
        aspect-ratio: 4/3;
        position: relative;
    }
    
    /* Logo positioning inside the blue gradient area */
    .hero-logo {
        position: absolute;
        top: 0.5rem;
        left: 0.5rem;
        z-index: 10;
        width: 45px;
        height: 45px;
    }
    
    /* Cards positioning inside the blue gradient area, after logo */
    .hero-overlay {
        position: absolute;
        top: 3rem;
        left: 0.3rem;
        right: 0.3rem;
        margin-top: 0;
        gap: 0.4rem;
        flex-direction: column;
        display: flex;
    }
    
    .overlay-card {
        max-width: none;
        margin: 0;
        padding: 0.6rem;
        border-radius: 8px;
    }
    
    .card-icon {
        font-size: 1rem;
        width: 32px;
        height: 32px;
    }
    
    .card-icon img {
        width: 18px;
        height: 18px;
    }
    
    .card-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }
    
    .card-content p {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}