

@media (max-width: 333px) {
   
.elementor-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    flex-direction: column;
    justify-content: space-between;
    align-content: center;
}
} 
 
  .our-placements h5 {
            float: left;
        }

        .our-placements b {
            font-size: 25px;
        }

        .company-slider-container {
            width: 100%;
            overflow: hidden;
            /* Hide overflowing slides */
        }

        .company-slider {
            display: flex;
            /* Arrange slides horizontally */
            animation: slide 40s linear infinite;
            /* Adjust duration as needed */
            width: auto;
            /* Initial width, adjusted by JS */
        }

        .company-slide {
            flex-shrink: 0;
            /* Prevent slides from shrinking */
            width: 150px;
            /* Adjust as needed */
            margin-right: 20px;
            /* Spacing between slides */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .company-slide img {
            max-width: 100%;
            max-height: 80px;
            object-fit: contain;
            border-radius: 15px;
            margin-top: 16px;
        }


        @keyframes slide {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
                /* Important for looping */
            }
        }


        /* Responsive adjustments */
        @media (max-width: 768px) {
            .company-slide {
                width: 100px;
                margin-right: 10px;
            }

            .company-slide img {
                max-height: 60px;
            }
            .elementor-row {
                display: flex;
                flex-wrap: wrap;
            }
        }

        /* Optional: Responsive adjustments */
        @media (max-width: 600px) {
            .course-title {
                font-size: 1.2em;
                padding: 8px 16px;
            }

            .course-title::after {
                width: 80px;
                right: -15px;
                transform: skewX(-25deg);
            }
        }

        .hero-nav-prev,
        .hero-nav-next {
            background: rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
            border: none;
            padding: 8px 12px;
            cursor: pointer;
            font-size: 1em;
            border-radius: 50%;
            opacity: 0.7;
            transition: all 0.3s ease;
        }

        .hero-nav-prev:hover,
        .hero-nav-next:hover {
            opacity: 1;
            background: rgba(255, 255, 255, 0.2);
        }

        .hero-nav-prev i,
        .hero-nav-next i {
            vertical-align: middle;
        }

        .banner-container {
            position: relative;
            overflow: hidden;
            padding: 10px;
            color: #fff;
            width: 100%;
            height: auto;
        }
        
        .elementor-row {
            display: flex;
            flex-wrap: wrap;
            /* Important for responsiveness */
            margin-left: -10px;
            /* Adjust if needed */
            margin-right: -10px;
            /* Adjust if needed */
        }

        .elementor-column {
            padding-left: 10px;
            /* Adjust if needed */
            padding-right: 10px;
            /* Adjust if needed */
            box-sizing: border-box;
            /* Include padding in width */
        }

        .elementor-col-6 {
            width: 50%;
            /* Two columns */
        }

        .banner-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('../../../images/bg/banner-img.jpg') center/cover no-repeat;
            z-index: 0;
            /* Ensure background is behind content */
        }

        .banner-background::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: -1;
            /* Ensure the overlay is behind other content*/
        }

        @keyframes parallax {
            0% {
                transform: scale(1.1) translateY(0);
            }

            100% {
                transform: scale(1.1) translateY(-20%);
            }
        }

        /* Carousel Styles */

        .wsa-home-hero-carousel-wrapper {
            position: relative;
            overflow: hidden;
            min-height: 300px;
        }

        .wsa-home-hero-carousel {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }

        .wsa-home-hero-carousel-item {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 20px;
            opacity: 1;
            transition: opacity 0.5s ease-in-out;
            position: relative;
            box-sizing: border-box;
            z-index: 2;
            /* Ensure content is above background */
        }

        .wsa-home-hero-carousel-content {
            width: 100%;
            /*padding: 20px;*/
            text-align: left;
        }

        .heading-content h3 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            color: #fff;
        }

        .content p {
            font-size: 1rem;
            line-height: 1.5;
            color: #fff;
            font-size: 20px;
        }

        /* Placement Image Styles (Separate Container) */

        .placement-image-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
            overflow: hidden;
            position: relative;
        }

        .banner-right-img {
            max-width: 100%;
            /*  fill container */
            max-height: 100%;
            /*  fill container */
            width: auto;
            /* maintain aspect ratio */
            height: auto;
            /* maintain aspect ratio */
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            object-fit: contain;
            /*  show the full image */
            display: block;
            /* Removes extra space below the image */
        }

        .span-text-bold {
            font-weight: bold;
            color: #ee2c4d;
        }

        .hero-nav {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 10px;
        }

        .wsa-group-buttons {
            margin-top: 20px;
        }

        .main-banner-button,
        .secondary-banner-button {
            display: inline-block;
            padding: 10px 20px;
            font-size: 1rem;
            text-decoration: none;
            border-radius: 5px;
            margin-right: 10px;
            transition: all 0.3s ease;
        }

        .main-banner-button {
            background-color: #fff;
            color: #ee2c4d;
            border: 2px solid #ee2c4d;
        }

        .main-banner-button:hover {
            background-color: #ee2c4d;
            color: #fff;
        }

        .secondary-banner-button {
            background-color: #ee2c4d;
            color: #fff;
            border: 2px solid #ee2c4d;
        }

        .secondary-banner-button:hover {
            background-color: #fff;
            color: #ee2c4d;
        }

        .placement-slider-container {
            overflow: hidden;
            padding: 10px 0;
            margin-bottom: 15px;
            width: 100%;
            /* Take full width of the container */
            position: relative;
            /* For stacking context */
        }

        .placement-slider {
            display: flex;
            animation: slideLogos 20s linear infinite;
            white-space: nowrap;
            /* Prevent images from wrapping */
            position: relative;
            /* For stacking context */
        }

        .placement-slide {
            flex: 0 0 auto;
            width: 100px;
            /* Smaller width for more logos to fit */
            margin: 0 8px;
            /* Adjust spacing */
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            /* Ensure images are clipped within the rounded border */
        }

        .placement-slide img {
            display: block;
            /* Removes extra space below the image */
            max-width: 100%;
            /* Make images responsive */
            height: auto;
        }

        @keyframes slideLogos {
            0% {
                transform: translateX(100%);
                /* Start offscreen to the right */
            }

            100% {
                transform: translateX(-100%);
                /* End offscreen to the left */
            }
        }

        .our-placements {
            text-align: center;
            margin-bottom: 10px;
        }

        .our-placements h5 {
            font-size: 1.2rem;
            color: #fff;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .elementor-col-6 {
                width: 100%;
                /* Make columns full width */
                padding: 10px;
            }

            .banner-container {
                flex-direction: column;
                /* Stack columns vertically */
            }

            .wsa-home-hero-carousel-item {
                text-align: center;
                padding: 10px;
            }

            .wsa-home-hero-carousel-content {
                padding: 10px;
            }

            .heading-content h3 {
                font-size: 1.5rem;
            }

            .content p {
                font-size: 0.9rem;
            }

            .wsa-group-buttons {
                text-align: center;
            }

            .main-banner-button,
            .secondary-banner-button {
                font-size: 0.9rem;
                padding: 8px 16px;
            }

            .placement-slide {
                width: 60px;
                margin: 0 5px;
            }

            .our-placements h5 {
                font-size: 1rem;
            }

            .placement-image-container {
                padding: 20px;
            }
        }

        @media (max-width: 576px) {
            .elementor-col-6 {
                width: 100%;
            }

            .banner-container {
                padding: 20px;
            }

            .wsa-group-buttons {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .main-banner-button,
            .secondary-banner-button {
                margin: 5px 0;
                width: 100%;
            }

            .placement-slide {
                width: 50px;
                margin: 0 3px;
            }

            .heading-content h3 {
                font-size: 1.2rem;
            }

            .content p {
                font-size: 0.8rem;
            }

            .our-placements h5 {
                font-size: 0.9rem;
            }
        }

        .info-section {
            background-color: rgb(255 255 255);
            color: white;
            padding: 60px 0;
            text-align: center;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .row {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        /* Banner Cards */
        .banner-card {
            background: #1c2b41;
            border-radius: 15px;
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            margin: 20px 0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            text-align: center;
            background: rgba(28, 43, 65, 0.85);
        }

        .banner-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
        }

        .banner-count h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #f39c12;
            margin: 0;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
            display: inline-block;
        }

        .banner-count h2:after {
            font-size: 2rem;
            margin-left: 5px;
            color: #f39c12;
            /* Make the + color match the number */
            font-weight: bold;
            vertical-align: top;
        }


        .banner-contents h2 {
            font-size: 1rem;
            color: #ecf0f1;
            margin-top: 15px;
            font-weight: normal;
        }

        /* Counter Animation */
        .counter {
            font-size: 3rem;
            font-weight: 800;
            color: #f39c12;
            margin: 0;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .banner-card {
                margin-bottom: 30px;
            }

            .banner-count h2 {
                font-size: 2rem;
            }

            .banner-contents h2 {
                font-size: 0.5rem;
            }
        }

        @media (max-width: 480px) {
            .banner-card {
                padding: 15px;
            }

            .banner-count h2 {
                font-size: 1.75rem;
            }

            .banner-contents h2 {
                font-size: 0.7rem;
            }
        }
        
        
        
          /* Existing CSS (copied and consolidated) */
        .heading .section-heading {
            text-align: center;
            margin-bottom: 30px;
        }

        .heading .section-heading h2 {
            font-size: 2.75em;
            font-weight: 600;
            margin-bottom: 15px;
            color: #343a40;
        }

        .heading .section-heading .text-primary {
            color: #00a3cc;
        }

        .heading .section-heading p {
            color: #6c757d;
            font-size: 1.1em;
        }

        #search {
            width: 100%;
            padding: 12px;
            border: 1px solid #ced4da;
            border-radius: 8px;
            font-size: 1em;
            margin-bottom: 20px;
            transition: border-color 0.2s ease;
        }

        #search:focus {
            border-color: #00a3cc;
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(0, 163, 204, 0.25);
        }

        .category-buttons {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }

        .category-button {
            background-color: #fff;
            border: 1px solid #ced4da;
            color: #495057;
            padding: 12px 24px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 1em;
            font-weight: 500;
            margin: 4px 8px;
            cursor: pointer;
            border-radius: 8px;
            transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
        }

        .category-button:hover {
            background-color: #e9ecef;
            border-color: #adb5bd;
        }

        .category-button.active {
            background-color: #3498db;
            color: white;
            border-color: #3498db;
        }

        .contentss {
            width: 24%;
        }

        .profile-widget {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            width: fit-content;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .profile-widget:hover {
            transform: translateY(-8px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
        }

        .doc-img {
            position: relative;
            flex-shrink: 0;
        }

        .doc-img img {
            object-fit: cover;
            display: block;
            transition: opacity 0.3s ease;
        }

        .fav-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            width: 32px;
            height: 32px;
            text-align: center;
            line-height: 32px;
            color: #dc3545;
            font-size: 1.1em;
            cursor: pointer;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .fav-btn:hover {
            background-color: rgba(255, 255, 255, 1);
            color: #c82333;
        }

        .pro-content {
            padding: 20px;
            text-align: left;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .pro-content .title {
            font-size: 1.3em;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .pro-content .title a {
            color: #343a40;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .pro-content .title a:hover {
            color: #00a3cc;
        }

        .pro-content .speciality {
            color: #6c757d;
            font-size: 1em;
            margin-bottom: 12px;
        }

        .rating {
            margin-bottom: 15px;
        }

        .rating .average-rating {
            color: rgb(255, 193, 7);
            margin-right: 5px;
            font-weight: 500;
        }

        .rating i {
            color: #ffc107;
            margin-right: 2px;
        }

        .course-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
        }

        .btn {
            display: inline-block;
            padding: 8px 15px;
            border-radius: 8px;
            text-decoration: none;
            text-align: center;
            font-size: 1em;
            font-weight: 500;
            transition: background-color 0.3s ease, color 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .contentss {
            width: 25%;
        }



        .course {
            grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .course {
                grid-template-columns: 1fr;
                /* Stack courses on smaller screens */
            }

            .category-buttons {
                flex-direction: column;
                /* Stack category buttons on smaller screens */
                align-items: center;
            }

            .category-button {
                margin: 8px 0;
            }

            .contentss {
                /* Fix content responsiveness*/
                width: 100%;
            }
        }

        /* Style the YouTube icon */
        .youtube-link {
            position: relative;
            /* Needed for positioning the icon */
            display: block;
            /* Make the link a block element */
        }

        .youtube-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 2.5em;
            /* Adjust size as needed */
            color: #fff;
            /* changed color*/
            opacity: 1;
            height: 56px;
            transition: opacity 0.3s ease;
            text-shadow: 2px 2px 4px rgba(109, 0, 0, 0.9);
            /* Add a shadow for better visibility */
            background-color: #ee2c4d;
            /* Added a red background */
            border-radius: 50%;
            /* added border-radius*/
            padding: 6px;
            /* Added some padding*/
        }

        .youtube-icon:hover {
            opacity: 0.7;

        }

        .pri-course {
            font-size: 1.2em;
            /* Adjust size as needed */
            font-weight: 500;
            color: rgb(255, 255, 255);
            /*  Orange/Red - adjust to your theme */
            background-color: #ee2c4d;
            /* Light background for better contrast */
            padding: 5px 10px;
            border-radius: 5px;
            display: inline-block;
            /* Allows padding/margin to work correctly */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            /* Subtle shadow */
            margin-top: 10px;
            /* added margin*/
        }

        .profile-widget {
            border: 1px solid #eee;
            border-radius: 12px;
            /*More rounded borders*/
            padding: 15px;
            /*Slightly increased padding*/
            margin-bottom: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            /* Increased shadow intensity*/
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            /*Smooth transition*/
        }

        .profile-widget:hover {
            transform: translateY(-5px);
            /*Reduced lift effect*/
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
            /*Increased shadow on hover*/
        }

        .pro-content {
            padding: 15px;
            /*Slightly reduced padding*/
        }

        .title a {
            color: #333;
            text-decoration: none;
        }

        .title a:hover {
            color: #ee2c4d;
        }

        .view-btn {
            color: black;
            padding: 10px 10px;
            border-radius: 8px;
            border: 1px solid #ee2c4d;
            margin-left: -5px;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease, color 0.3s ease;
            text-align: center;
            white-space: nowrap;
        }

        .book-btn {
            background-color: #2cbbf6;
            color: white;
            padding: 10px 10px;
            border-radius: 8px;
            text-decoration: none;
            display: inline-block;
            transition: background-color 0.3s ease, color 0.3s ease;
            text-align: center;
            white-space: nowrap;
        }

        .view-btn:hover,
        .book-btn:hover {
            background-color: #ee2c4d;
        }

        .fav-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            background-color: #ee2c4d;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            text-align: center;
            line-height: 32px;
            color: white;
            /* Changed the color to white*/
            font-size: 1.1em;
            /* adjusted the size*/
        }

        .fav-btn:hover {
            background-color: rgba(255, 255, 255, 1);
            color: #ee2c4d;
            /* changed color */
        }

        .rating {
            margin-bottom: 10px;
            /*Reduced spacing*/
        }

        .rating i {
            color: #ffc107;
            /* Star color */
        }

        /* Added for a bit more visual separation */
        .pro-content>* {
            margin-bottom: 8px;
        }

        .course-footer {
            /*added this as it was affecting my styles */
            margin-top: 10px;
        }