 /* Set a fixed height for the carousel */


 /* Background wrapper */
 .inside-slider {
     padding: 10px 5px;
     background: linear-gradient(to right, #ffffff, #e4bdbd);
 }

 /* Container for all boxes */
 .facility-container {
     display: flex;
     flex-wrap: wrap;
     gap: 30px;
     justify-content: center;
 }

 /* Individual box styling */
 .facility-box {
     flex: 1;
     min-width: 280px;
     max-width: 350px;
     padding: 30px;
     border-radius: 20px;
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
     text-align: center;
     color: #ffffff;
     transition: all 0.3s ease;
 }

 /* Hover effect */
 .facility-box:hover {
     transform: translateY(-10px);
     box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
 }

 /* Icon area */
 /* .facility-icon {
     font-size: 42px;
     margin-bottom: 15px;
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 } */

 /* Gradient colors for each icon */
 .gradient-blue {
     background: linear-gradient(to right, #00c6ff, #0072ff);
 }

 .gradient-orange {
     background: linear-gradient(to right, #ff4e50, #f9d423);
 }

 .gradient-green {
     background: linear-gradient(to right, #00b09b, #96c93d);
 }

 /* Title text */
 .facility-title {
     font-size: 20px;
     font-weight: bold;
     font-family: 'Roboto', sans-serif;
     color: #397B33;
 }




 /* That is hero */

 .hero {
     background:
         linear-gradient(to right, rgba(0, 0, 0, 0.6), transparent 90%, rgba(0, 0, 0, 0.6)),
         linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 80%, rgba(0, 0, 0, 0.8)),
         url("http://chaitanyapamgarh.org/images/enroll-bg.jpg");

     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     background-attachment: fixed;
     /* Optional: creates a parallax effect on large screens */
     padding: 100px 20px;
     color: white;
     width: 100%;
     height: 100vh;
     /* Ensures it fills the entire viewport height */
     display: flex;
     align-items: center;
 }

 .hero-container {
     max-width: 1000px;
     text-align: left;
 }

 .hero-container h1 {
     font-size: 60px;
     color: rgba(255, 255, 255, 0.85);
     margin-bottom: 15px;
 }

 .hero-container p {
     font-size: 25px;
     line-height: 1.5;
 }

 /* RESPONSIVE STYLES */

 @media (max-width: 1024px) {
     .hero-container h1 {
         font-size: 48px;
     }

     .hero-container p {
         font-size: 20px;
     }
 }

 @media (max-width: 768px) {
     .hero {
         padding: 80px 15px;
         height: auto;
         background-attachment: scroll;
         /* Disables parallax on mobile for performance */
     }

     .hero-container h1 {
         font-size: 36px;
     }

     .hero-container p {
         font-size: 18px;
     }
 }

 @media (max-width: 480px) {
     .hero-container h1 {
         font-size: 28px;
     }

     .hero-container p {
         font-size: 16px;
     }
 }



 .counter-section {
     background: linear-gradient(135deg, #609198ce, #46435080);
     color: #fff;
     position: relative;
     overflow: hidden;
 }

 /* Background icons styles */
 .counter-section .bg-icon {
     position: absolute;
     font-size: 6rem;
     color: rgba(7, 2, 43, 0.1);
     user-select: none;
     pointer-events: none;
     animation: floatIcons 15s infinite ease-in-out;
 }

 .counter-section .bg-icon:nth-child(2) {
     /* fa-graduation-cap */
     top: 20%;
     left: 10%;
     animation-delay: 0s;
 }

 .counter-section .bg-icon:nth-child(3) {
     /* fa-user */
     top: 50%;
     right: 15%;
     animation-delay: 5s;
 }

 .counter-section .bg-icon:nth-child(4) {
     /* fa-book */
     bottom: 25%;
     left: 25%;
     animation-delay: 3s;
 }

 .counter-section .bg-icon:nth-child(5) {
     /* fa-chalkboard-teacher */
     bottom: 10%;
     right: 20%;
     animation-delay: 7s;
 }

 @keyframes floatIcons {

     0%,
     100% {
         transform: translateY(0) translateX(0);
         opacity: 0.1;
     }

     50% {
         transform: translateY(-20px) translateX(10px);
         opacity: 0.2;
     }
 }

 .counter-box {
     background: rgba(24, 23, 23, 0.167);
     border-radius: 12px;
     transition: background 0.3s ease;
 }

 .counter-box:hover {
     background: rgba(255, 255, 255, 0.3);
 }

 .counter-number {
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 .counter-title {
     margin-top: 0.5rem;
     font-weight: 600;
     letter-spacing: 0.05em;
 }



 /* Teachers Section Styles */
 .teachers-section {
     padding: 60px 20px 80px;
     background: #fff;
     max-width: 100vw;
     box-sizing: border-box;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
 }

 /* Header with title and nav */
 .teachers-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 30px;
     flex-wrap: wrap;
 }

 .section-title {
     font-size: 36px;
     color: #2d3748;
     font-weight: 700;
     letter-spacing: -1px;
     margin: 0;
     flex-grow: 1;
     min-width: 250px;
 }

 .teacher-nav {
     display: flex;
     gap: 15px;
     align-items: center;
     flex-shrink: 0;
     margin-top: 10px;
 }

 .teacher-nav button {
     font-size: 30px;
     color: #2b6cb0;
     cursor: pointer;
     background: none;
     border: none;
     padding: 0;
     transition: color 0.3s ease;
 }

 .teacher-nav button:hover {
     color: #1d4e89;
 }

 .teacher-nav button:focus {
     outline: none;
 }

 /* Carousel viewport */
 .carousel-viewport {
     overflow: hidden;
     width: 100%;
 }

 /* Carousel track */
 .carousel-track {
     display: flex;
     gap: 20px;
     transition: transform 0.5s ease-in-out;
     will-change: transform;
 }

 /* Teacher card style */
 .teacher-card {
     flex: 0 0 calc((100% - 60px) / 4);
     /* 4 cards with 20px gap => 3 gaps = 60px */
     background: rgba(255, 255, 255, 0.85);
     border-radius: 20px;
     box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
     padding: 20px;
     text-align: center;
     cursor: pointer;
     user-select: none;
     transition: transform 0.4s ease;
 }

 .teacher-card:hover {
     transform: scale(1.05);
     box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
 }

 .teacher-img {
     width: 140px;
     height: 140px;
     border-radius: 50%;
     object-fit: cover;
     border: 5px solid white;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
     margin-bottom: 10px;
     transition: transform 0.3s ease;
     display: block;
     margin-left: auto;
     margin-right: auto;
 }

 .teacher-card:hover .teacher-img {
     transform: scale(1.05);
 }

 .teacher-name {
     font-size: 18px;
     font-weight: 600;
     margin: 10px 0 6px;
     color: #1a202c;
 }

 .teacher-name a {
     text-decoration: none;
     color: inherit;
 }

 .teacher-department {
     font-size: 14px;
     color: #4a5568;
     margin-bottom: 4px;
 }

 .teacher-designation {
     font-size: 13px;
     color: #718096;
 }

 /* Responsive */
 @media (max-width: 960px) {
     .teacher-card {
         flex: 0 0 calc((100% - 20px) / 2);
         /* 2 cards with 20px gap */
     }
 }

 @media (max-width: 480px) {
     .teacher-card {
         flex: 0 0 100%;
         /* 1 card full width */
     }

     .teachers-header {
         flex-direction: column;
         align-items: flex-start;
     }

     .teacher-nav {
         margin-top: 15px;
     }
 }



 /* WHY CHOOSE US - Glorified Styles */

 .why-choose-us-section {
     padding: 10px 10px;
     font-family: 'Segoe UI', sans-serif;
     background: linear-gradient(to right top, #72aae2, #ffffff);
     position: relative;
     overflow: hidden;
 }

 .section-title {
     font-size: 38px;
     font-weight: 700;
     color: #0f172a;
     margin-bottom: 10px;
 }

 .section-subtitle {
     font-size: 18px;
     color: #475569;
     margin-bottom: 50px;
     max-width: 600px;
     margin-left: auto;
     margin-right: auto;
 }

 .cards-wrapper {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 40px;
 }

 .circle-card {
     width: 220px;
     height: 220px;
     background: rgba(255, 255, 255, 0.25);
     border-radius: 50%;
     backdrop-filter: blur(12px);
     border: 2px solid rgba(255, 255, 255, 0.2);
     box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
     text-align: center;
     padding: 25px;
     display: flex;
     flex-direction: column;
     justify-content: center;
     transition: all 0.4s ease;
     position: relative;
     overflow: hidden;
 }

 .circle-card:hover {
     transform: translateY(-10px) scale(1.03);
     box-shadow: 0 18px 48px rgba(0, 0, 0, 0.15);
     border: 2px solid transparent;
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
 }

 .circle-card::before {
     content: "";
     position: absolute;
     inset: -2px;
     z-index: -1;
     background: linear-gradient(120deg, #4facfe, #00f2fe);
     border-radius: 50%;
     opacity: 0;
     transition: opacity 0.4s ease;
 }

 .circle-card:hover::before {
     opacity: 1;
 }

 .circle-card .icon {
     font-size: 38px;
     color: #2563eb;
     margin-bottom: 15px;
 }

 .circle-card h4 {
     font-size: 18px;
     font-weight: 600;
     color: #1e293b;
     margin-bottom: 6px;
 }

 .circle-card p {
     font-size: 14px;
     color: #64748b;
 }

 @media (max-width: 768px) {
     .circle-card {
         width: 180px;
         height: 180px;
         padding: 20px;
     }

     .section-title {
         font-size: 30px;
     }

     .section-subtitle {
         font-size: 16px;
     }

     .circle-card h4 {
         font-size: 16px;
     }

     .circle-card p {
         font-size: 13px;
     }
 }



 /* ==== CAMPUS GALLERY SECTION (SCOPED WITH .cg-*) ==== */

 .cg-gallery-section {
     background: linear-gradient(to right, #f0f8ff, #ffffff);
     padding: 60px 0;
 }

 .cg-container {
     max-width: 1200px;
     margin: auto;
     padding: 0 15px;
 }

 .cg-heading {
     text-align: center;
     margin-bottom: 40px;
 }

 .cg-title {
     font-size: 36px;
     font-weight: 700;
     color: #1a202c;
 }

 /* ==== GRID LAYOUT ==== */

 .cg-grid {
     display: grid;
     gap: 20px;
 }

 @media (min-width: 992px) {
     .cg-grid {
         grid-template-columns: repeat(4, 1fr);
     }
 }

 @media (min-width: 768px) and (max-width: 991px) {
     .cg-grid {
         grid-template-columns: repeat(3, 1fr);
     }
 }

 @media (min-width: 576px) and (max-width: 767px) {
     .cg-grid {
         grid-template-columns: repeat(2, 1fr);
     }
 }

 @media (max-width: 575px) {
     .cg-grid {
         grid-template-columns: 1fr;
     }
 }

 /* ==== CARD DESIGN ==== */

 .cg-card {
     background: #ffffff;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
     transition: transform 0.3s ease;
 }

 .cg-card:hover {
     transform: translateY(-6px);
 }

 .cg-image-wrapper {
     position: relative;
     overflow: hidden;
 }

 .cg-image-wrapper img {
     width: 100%;
     height: 220px;
     object-fit: cover;
     border-bottom: 1px solid #eee;
     transition: transform 0.4s ease;
 }

 .cg-card:hover .cg-image-wrapper img {
     transform: scale(1.05);
 }

 /* ==== OVERLAY ==== */

 .cg-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(37, 99, 235, 0.7);
     display: flex;
     justify-content: center;
     align-items: center;
     opacity: 0;
     transform: translateY(-100%);
     transition: transform 0.4s ease, opacity 0.4s ease;
 }

 .cg-card:hover .cg-overlay {
     opacity: 1;
     transform: translateY(0);
 }

 /* ==== SHARE LINK ==== */

 .cg-link {
     background: #fff;
     color: #2563eb;
     padding: 12px;
     border-radius: 50%;
     font-size: 18px;
     text-decoration: none;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
     transition: background 0.3s, color 0.3s;
 }

 .cg-link:hover {
     background: #2563eb;
     color: #fff;
 }

 /* ==== CONTENT SECTION ==== */

 .cg-content {
     padding: 15px;
 }

.cg-event-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e293b;
}

 .cg-event-meta {
     font-size: 14px;
     color: #475569;
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .cg-event-meta i {
     color: #1e8ae6;
 }

 /* ==== SEE ALL BUTTON ==== */

 .cg-button-wrapper {
     text-align: center;
     margin-top: 30px;
 }

 .cg-see-all {
     display: inline-block;
     padding: 10px 20px;
     background: #2563eb;
     color: #ffffff;
     text-decoration: none;
     font-weight: 600;
     border-radius: 30px;
     transition: background 0.3s;
 }

 .cg-see-all:hover {
     background: #1e40af;
 }


 /* ==== VIDEO CAROUSEL SECTION ==== */
 .cg-video-carousel-section {
     padding: 60px 0;
     background: #f9f9f9;
 }

 .cg-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 16px;
 }

 .cg-title {
     text-align: center;
     font-size: 2rem;
     margin-bottom: 20px;
 }

 .cg-carousel-wrapper {
     position: relative;
     margin-top: 30px;
     padding: 0 40px;
 }

 .cg-carousel {
     display: flex;
     overflow-x: auto;
     scroll-behavior: smooth;
     gap: 20px;
     padding: 10px 0;
     scroll-snap-type: x mandatory;
     -webkit-overflow-scrolling: touch;
 }

 .cg-carousel::-webkit-scrollbar {
     display: none;
 }

 .cg-carousel-item {
     flex: 0 0 auto;
     scroll-snap-align: start;
     min-width: 280px;
     border-radius: 12px;
     overflow: hidden;
     background: #fff;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 }

 .cg-carousel-item iframe {
     width: 100%;
     height: 200px;
     border: none;
 }

 /* Carousel Buttons */
 .cg-carousel-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: #2563eb;
     color: #fff;
     border: none;
     padding: 14px 16px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 18px;
     transition: background 0.3s ease;
     z-index: 10;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
 }

 .cg-carousel-btn:hover {
     background: #1e40af;
 }

 .cg-prev {
     left: 0;
 }

 .cg-next {
     right: 0;
 }

 /* Responsive Breakpoints */
 @media (min-width: 1200px) {
     .cg-carousel-item {
         min-width: calc((100% - 60px) / 4);
     }
 }

 @media (min-width: 992px) and (max-width: 1199px) {
     .cg-carousel-item {
         min-width: calc((100% - 40px) / 3);
     }
 }

 @media (min-width: 768px) and (max-width: 991px) {
     .cg-carousel-item {
         min-width: calc((100% - 20px) / 2);
     }
 }

 @media (max-width: 767px) {
     .cg-carousel-item {
         min-width: 100%;
     }

     .cg-carousel-item iframe {
         height: 180px;
     }

     .cg-carousel-btn {
         padding: 10px 12px;
         font-size: 16px;
     }

     .cg-prev {
         left: 10px;
     }

     .cg-next {
         right: 10px;
     }
 }

 /* That is for lower Banner */

 .wcu-wrapper {
     max-width: 900px;
     margin: 0 auto;
     text-align: center;
 }

 .wcu-scroller {
     display: flex;
     overflow-x: auto;
     scroll-snap-type: x mandatory;
     gap: 2rem;
     padding: 1rem 0;
     scrollbar-width: none;
     /* Firefox */
 }

 .wcu-scroller::-webkit-scrollbar {
     display: none;
     /* Chrome, Safari, Opera */
 }

 .wcu-card {
     flex: 0 0 200px;
     scroll-snap-align: center;
     background: white;
     border-radius: 15px;
     padding: 20px;
     box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     cursor: pointer;
 }

 .wcu-card:hover {
     transform: scale(1.1);
     box-shadow: 0 0 20px rgb(0 123 255 / 0.6);
     z-index: 10;
 }

 .wcu-image {
     width: 120px;
     height: 120px;
     object-fit: cover;
     border-radius: 50%;
     margin-bottom: 15px;
     transition: transform 0.3s ease;
     display: block;
     margin-left: auto;
     margin-right: auto;
 }

 .wcu-card:hover .wcu-image {
     transform: rotate(15deg) scale(1.1);
 }

 .wcu-title {
     margin-bottom: 10px;
     font-weight: 600;
     font-size: 1.25rem;
     color: #222;
 }

 .wcu-desc {
     font-size: 0.9rem;
     color: #555;
 }


 /* Img and science */


 /* Main Section Gradient Background */
 .cta-section {
     background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
     padding: 5rem 2rem;
     border-radius: 2rem;
     overflow: hidden;
     position: relative;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
 }

 /* Shared Glass Panel */
 .glass-panel {
     background: rgba(255, 255, 255, 0.12);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 1.5rem;
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     padding: 2rem;
     box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
 }

 /* Parallelogram Image Styling */
 .cta-img-wrapper {
     transform: skew(-10deg);
     overflow: hidden;
     transition: transform 0.5s ease, box-shadow 0.4s ease;
 }

 .cta-img {
     width: 100%;
     height: auto;
     display: block;
     object-fit: cover;
     border-radius: 1rem;
     transform: skew(10deg);
     /* unskew the image */
     transition: transform 0.5s ease, filter 0.5s ease;
 }

 .cta-img-wrapper:hover {
     transform: skew(-10deg) scale(1.02);
 }

 .cta-img-wrapper:hover .cta-img {
     transform: skew(10deg) scale(1.05);
     filter: brightness(1.15);
 }

 /* Text Styling */
 .cta-heading {
     font-size: 2.75rem;
     font-weight: 900;
     color: #ffffff;
     margin-bottom: 1.2rem;
     text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
 }

 .cta-subheading {
     font-size: 1.15rem;
     color: #f0f0f0;
     line-height: 1.8;
     margin-bottom: 2rem;
     text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
 }

 /* Button Styling */
 .cta-btn {
     background: #ffffff;
     color: #0077b6;
     padding: 0.8rem 1.6rem;
     font-weight: 700;
     border-radius: 0.5rem;
     text-decoration: none;
     font-size: 1rem;
     transition: all 0.3s ease;
     box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
     display: inline-block;
 }

 .cta-btn:hover {
     background: #caf0f8;
     color: #023e8a;
     transform: translateY(-3px);
     box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
 }

 /* Make container fluid and remove spacing */
 .container-fluid {
     width: 100%;
     padding-left: 0 !important;
     padding-right: 0 !important;
     margin: 0;
 }

 /* Label part */
 .news-label {
     width: 100px;
 }

 /* Notification message area */
 .news-scroll {
     background-color: #fff;
     overflow: hidden;
     white-space: nowrap;
     font-weight: 500;
 }

 /* Message display with animation */
 #news-message {
     animation: fadein 0.5s ease-in-out;
     white-space: normal;
     /* Allow wrapping if needed */
 }

 @keyframes fadein {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Link style */
 .news-scroll a {
     text-decoration: none;
     color: #000;
 }

/* Section Base */
.we-are-amazing-section {
    padding: 22px 20px;
    background: linear-gradient(to right, #f4f9ff, #e6f0fa);
    font-family: 'Segoe UI', sans-serif;
}

.amazing-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1e2a78;
    margin-bottom: 10px;
}

.amazing-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 50px;
}

/* Card Container */
.amazing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual Card */
.amazing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .amazing-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    }

/* Icon */
.amazing-icon {
    font-size: 3rem;
    color: #ffffff;
    background: linear-gradient(135deg, #1e2a78, #3f51b5);
    padding: 20px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(63, 81, 181, 0.4);
}

/* Texts */
.amazing-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e2a78;
}

.amazing-card p {
    font-size: 0.95rem;
    color: #666;
}


/*External Links*/

.wcu-wrapper {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    padding: 20px 0;
    background: linear-gradient(to right top, #72aae2, #ffffff);
    box-sizing: border-box;
    margin: 0;
}

.wcu-scroller {
    display: flex;
    width: fit-content;
    animation: scroll-left 40s linear infinite;
}

.wcu-card {
    flex: 0 0 auto;
    margin-right: 30px;
    width: 200px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.wcu-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animation for continuous scrolling */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wcu-card {
        width: 140px;
        height: 140px;
        margin-right: 20px;
    }
}

@media (max-width: 480px) {
    .wcu-card {
        width: 110px;
        height: 110px;
        margin-right: 15px;
    }
}



/* ========== Layout ========== */

.ss-section-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
}

.ss-col-6 {
    flex: 0 0 48%;
}

.ss-section-title {
    background-color: #fbbc04;
    color: white;
    display: inline-block;
    padding: 10px 20px;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.2rem;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.ss-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ss-carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.ss-carousel-slide {
    min-width: 100%;
    background: white;
    display: flex;
    align-items: center;
}

.ss-carousel-image {
    width: 40%;
}

    .ss-carousel-image img {
        width: 230px;
        height: 160px;
        object-fit: cover; /* cover to maintain aspect ratio */
        cursor: pointer;
    }

.ss-divider {
    width: 35px;
    background: #fbbc04;
    transform: skewX(-10deg);
    margin-left: -21px;
    height: 100%;
}

.ss-carousel-text {
    flex-grow: 1;
    padding: 20px;
    font-size: 1.2rem;
    color: #c8102e;
    font-weight: bold;
    line-height: 1.3;
}

/* Dots */
.ss-carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.ss-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ddd;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

    .ss-dot.active {
        background-color: #c8102e;
    }

/* Modal Styles */
.ss-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.ss-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    height: 80%;
    border-radius: 8px;
    margin-top:50px;
}

.ss-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#modalCaption {
    text-align: center;
    color: #ccc;
    padding: 10px 20px;
    font-size: 1.1rem;
}

/* Responsive */

@media screen and (max-width: 991px) {
    .ss-col-6 {
        flex: 0 0 100%;
    }

    .ss-section-title {
        font-size: 1.1rem;
    }

    .ss-carousel-text {
        font-size: 1.1rem;
    }

    .ss-divider {
        width: 25px;
    }
}

@media screen and (max-width: 600px) {
    .ss-section-title {
        font-size: 1rem;
        padding: 8px 14px;
    }

    .ss-carousel-text {
        font-size: 10px;
        padding: 24px;
        font-weight: 900;
    }

    .ss-divider {
        width: 33px;
    }

    .ss-carousel-image {
        width: 45%;
    }

    .ss-dot {
        width: 10px;
        height: 10px;
    }

    .ss-section-row {
        gap: 20px;
    }
}




