@font-face {
    font-family: 'Outfit';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/Outfit-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/Outfit-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'PPEditorialNew';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/PPEditorialNew-Regular-BF644b214ff145f.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/Poppins-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/Poppins-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'PoppinsRegular';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/Poppins-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'JMHTypewriter';
    src: url('https://www.paruluniversity.ac.in/wp-content/themes/parul/assets/font/JMH-Typewriter-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
}


img {
    -webkit-user-drag: none;
    user-drag: none;

    -webkit-user-select: none;
    user-select: none;
}

:root {
    --font-outfit: 'Outfit', sans-serif;
    --font-editorial: 'PPEditorialNew', serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-poppins-regular: 'PoppinsRegular', sans-serif;
    --font-jmh-typewriter: 'JMHTypewriter', serif;
}

.success-story-font-poppins-regular {
    font-family: var(--font-poppins-regular);
}

.success-story-navbar-section {
    font-family: var(--font-outfit);
    z-index: 10;
    transition: height 0.3s ease-in-out;
}

.success-story-navbar-img {
    height: 180px;
    /* Increase or decrease this value to change the background height */
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    display: block;
    pointer-events: none;
    transition: height 0.3s ease-in-out;
}

@media screen and (min-width: 992px) {
    .success-story-navbar-section.scrolled {
        height: 110px !important;
    }

    .success-story-navbar-section.scrolled .success-story-navbar-img {
        height: 110px !important;
    }
}

.success-story-navbar-content {
    padding-top: 1.5rem !important;
}

.success-story-separator {
    color: #333 !important;
    font-weight: 300;
}

.success-story-separator-blue {
    color: #1a1b4b !important;
    font-weight: 300;
}

.success-story-apply-btn {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
}

.success-story-apply-btn:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
}

.success-story-nav-link-custom {
    color: #1a1b4b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.success-story-nav-link-custom:hover {
    color: #0d0d26;
}

.success-story-dropdown-icon {
    font-size: 0.9rem;
    transform: translateY(2px);
}

/* Hero Section Styles */
.success-story-hero-section {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/student-success-section-background-scaled.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0 250px 0;
    min-height: 1000px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
}

.success-story-hero-small-title {
    font-family: var(--font-outfit);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.success-story-hero-title {
    font-family: var(--font-editorial);
    font-size: 4.5rem;
    color: #e8e3d3;
    /* light beige */
    line-height: 1.1;
}

.success-story-hero-text {
    font-family: var(--font-outfit);
    font-size: 1.1rem;
    max-width: 800px;
    line-height: 1.6;
    color: #b5aba1 !important;
}

.success-story-btn-primary {
    background: linear-gradient(to bottom, #bd2115, #85130b);
    border: 2px solid #5a0b06;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), 0 4px 8px rgba(0, 0, 0, 0.5);
    font-family: var(--font-outfit);
    transition: transform 0.2s ease;
    position: relative;
    font-weight: 700;
}

.success-story-btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(to bottom, #d1271b, #96170e);
}

.success-story-btn-secondary {
    background: linear-gradient(to bottom, #593922, #3a2211);
    border: 2px solid #6b4c36;
    border-radius: 30px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1), 0 4px 8px rgba(0, 0, 0, 0.5);
    font-family: var(--font-outfit);
    transition: transform 0.2s ease;
    position: relative;
    font-weight: 700;
}

.success-story-btn-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(to bottom, #69442a, #4a2d18);
}

/* Stitched border effect */
.success-story-btn-primary::before,
.success-story-btn-secondary::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed rgba(255, 255, 255, 0.4);
    border-radius: 26px;
    /* slightly smaller to fit nicely inside the 30px radius */
    pointer-events: none;
}

/* Scatter Items */
.success-story-scatter-item {
    z-index: 0;
    transition: transform 0.3s ease;
    opacity: 0;
    animation: heroCardEntrance 2.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heroCardEntrance {
    0% {
        opacity: 0;
        transform: translate(var(--start-x, 0), var(--start-y, 80px)) rotate(var(--start-rotate, 0deg));
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(var(--final-rotate, 0deg));
    }
}

/* .success-story-scatter-item:hover {
    z-index: 10;
    transform: scale(1.05) rotate(var(--final-rotate, 0deg)) !important;
} */

/* Filter for paper color */
.success-story-paper-bg {
    background-color: #fcf9f2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* 1. Postcard Top Left */
.success-story-postcard-tl {
    top: 12%;
    left: -5%;
    --final-rotate: -15deg;
    --start-x: -150px;
    --start-y: -150px;
    --start-rotate: -60deg;
    transform: rotate(var(--final-rotate));
    width: 350px;
}

/* 2. Photo Bottom Left */
.success-story-photo-bl {
    bottom: 12%;
    left: 6%;
    --final-rotate: 10deg;
    --start-x: -150px;
    --start-y: 150px;
    --start-rotate: -45deg;
    transform: rotate(var(--final-rotate));
    width: 350px;
}

/* 3. Postcard Bottom Center */
.success-story-postcard-bc {
    bottom: 3%;
    left: 35%;
    --final-rotate: -5deg;
    --start-x: 0px;
    --start-y: 200px;
    --start-rotate: 30deg;
    transform: rotate(var(--final-rotate));
    width: 485px;
    z-index: 2;
}

.success-story-postcard-bc .success-story-typewriter{
font-size : 0.85rem !important;
}

/* 4. Photo Bottom Right */
.success-story-photo-br {
    bottom: 17%;
    right: 5%;
    --final-rotate: -10deg;
    --start-x: 150px;
    --start-y: 150px;
    --start-rotate: 60deg;
    transform: rotate(var(--final-rotate));
    width: 350px;
}

/* 5. Postcard Top Right */
.success-story-postcard-tr {
    top: 15%;
    right: -8%;
    --final-rotate: 15deg;
    --start-x: 150px;
    --start-y: -150px;
    --start-rotate: 90deg;
    transform: rotate(var(--final-rotate));
    width: 350px;
}

/* 6. Postcard Mobile Extra */
.success-story-postcard-mobile-extra {
    width: 420px;
    z-index: 2;
}

/* Postage Stamp Frame */
.success-story-stamp-frame {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/postage-stamp-frame.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 35px 17px 40px 17px;
}

.success-story-cursive-text {
    font-family: var(--font-editorial);
    font-size: 1.8rem;
    color: #333;
}

.success-story-typewriter {
    font-family: 'Courier New', Courier, monospace;
    color: #000;
}

/* Impact Journey Section */
.success-story-impact-section {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/postcards-of-impact-background.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #3d1c10;
    margin-top: -10vw;
    /* Scales perfectly with the image's transparent gap on all screen sizes */
    position: relative;
    z-index: 5;
    padding-top: 12vw !important;
    /* Keep text pushed down below the torn edge */
}

.success-story-impact-small-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    color: #000;
}

.success-story-impact-title {
    font-family: var(--font-editorial);
    font-size: 3.5rem;
    color: #9d2b1b;
}

.success-story-impact-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.6;
}

.success-story-impact-text strong{
	 font-family: 'Poppins', sans-serif;
	font-size: 1rem;
    color: #1a1a1a;
    line-height: 1.6;
}

.success-story-separator-dot {
    width: 6px;
    height: 6px;
}

.success-story-separator-dot-small {
    width: 3px;
    height: 3px;
}

.success-story-impact-card {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/impact-card-frame.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 20px;
    min-height: 160px;
}

.success-story-impact-card-title {
    font-family: var(--font-editorial);
    font-size: 2rem;
    color: #9d2b1b;
    margin-bottom: 0;
}

.success-story-impact-card-divider {
    width: 150px;
    height: 1px;
    background-color: #1a1a1a;
    margin: 10px auto;
    position: relative;
}

.success-story-impact-card-divider::before,
.success-story-impact-card-divider::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #1a1a1a;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.success-story-impact-card-divider::before {
    left: 0;
}

.success-story-impact-card-divider::after {
    right: 0;
}

.success-story-impact-card-text {
    font-family: var(--font-outfit);
    font-size: 0.85rem;
    color: #3d1c10;
    margin-bottom: 0;
    line-height: 1.4;
}

.transition-scale {
    transition: transform 0.3s ease;
}

.transition-scale:hover {
    transform: scale(1.05);
}

.success-story-ticket-img {
    max-width: 420px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
	margin : auto;
}


/* Explore Blogs Section */
.success-story-explore-blogs-section {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/explore-blogs-background.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: #1a1a1a;
    position: relative;
    z-index: 5;
    margin-top: 0vw;
    padding-top: 10vw !important;
    padding-bottom: 10vw !important;
}

.success-story-explore-blogs-small-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1rem;
    color: #9d2b1b !important;
}

.success-story-explore-blogs-title {
    font-family: var(--font-editorial);
    font-size: 3.5rem;
    color: #9d2b1b;
}

.success-story-explore-blogs-text {
    font-family: var(--font-outfit);
    font-size: 1rem;
    color: #1a1a1a;
    font-weight: 500;
    max-width: 900px;
}

.success-story-explore-blogs-text strong{
font-family: var(--font-outfit);
    
}

.success-story-explore-blogs-carousel {
    scrollbar-width: none;
}

.success-story-explore-blogs-carousel::-webkit-scrollbar {
    display: none;
}

.success-story-explore-blogs-read-more {
    font-family: var(--font-jmh-typewriter);
    font-weight: 700;
    color: #9d2b1b;
    font-size: 1.1rem;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.success-story-explore-blogs-subtitle {
    font-family: var(--font-editorial);
    font-size: 3.5rem;
    color: #1a1a1a;
}

.success-story-explore-blogs-choice-box {
    background-color: #f7e6d4;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 1100px;
}

.success-story-pill-btn {
    border: 2px solid #9d2b1b;
    color: #9d2b1b;
    border-radius: 20px;
    padding: 2px 12px;
    font-family: var(--font-jmh-typewriter);
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.3s ease;
}

.success-story-pill-btn:hover {
    background-color: #9d2b1b;
    color: #fff;
}

/* Extracted Inline Styles */
.success-story-color-black {
    color: #000;
}

.success-story-color-blue {
    color: #1a1b4b;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-900 {
    max-width: 900px;
}

.success-story-ticket-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    margin-block: 12px;
	color: #fff;
}

.success-story-ticket-title {
    font-family: var(--font-editorial);
    font-size: 2.4rem;
    line-height: 1;
    color: #E1C0A2;
}

.success-story-ticket-footer {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-block: 12px;
	color: #fff;
}

.train-journey {
    height: 100vh;
}

.success-story-postcard {
    width: 550px;
    transition: transform 0.3s ease;
}

.success-story-postcard:hover {
    transform: rotate(2deg) scale(1.02);
}

.success-story-postcard-desc {
    font-size: 0.9rem;
}

.success-story-choice-title-wrapper {
    flex: 0 0 auto;
    max-width: 300px;
}

.success-story-choice-divider {
    border-left-width: 1px !important;
}

.success-story-choice-text-wrapper {
    flex: 0 0 auto;
    max-width: 280px;
}

.success-story-choice-text {
    font-family: var(--font-outfit);
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 500;
}

.success-story-choice-buttons-wrapper {
    flex: 1 1 auto;
}

.success-story-impact-separator {
    max-width: 900px;
    height: 20px;
}

.success-story-explore-blogs-choice-title {
    font-family: var(--font-editorial);
    font-size: 2.2rem;
    color: #1a1a1a;
}

.cursor-grab {
    cursor: grab;
}

.cursor-grab:active {
    cursor: grabbing;
}

/* Story Submission Section */
.success-story-submission-section {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/story-submission-background-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: -4vw;
    z-index: 4;
    padding-top: 8rem !important;
}

.success-story-editorial-font {
    font-family: var(--font-editorial);
}

.success-story-outfit-font {
    font-family: var(--font-outfit);
}

.success-story-submission-form-container {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/story-submission-form.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.success-story-form-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    font-family: var(--font-jmh-typewriter);
    font-size: 0.95rem;
    color: #1a1a1a;
    padding-bottom: 8px;
    outline: none;
    resize: none;
    overflow: hidden;
}

.success-story-form-input::placeholder {
    color: #1a1a1a;
}

.success-story-submit-btn {
    background: #b92b1a;
    color: #ffffff;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px dashed rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    padding: 12px 40px;
    box-shadow: 0 0 0 4px #b92b1a, 0 6px 0 4px #7a1509, 0 12px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 15px;
    /* Account for the bevel box-shadow */
}

.success-story-submit-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 0 0 4px #b92b1a, 0 4px 0 4px #7a1509, 0 8px 10px rgba(0, 0, 0, 0.4);
}

.success-story-submit-btn:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 4px #b92b1a, 0 0 0 4px #7a1509, 0 2px 5px rgba(0, 0, 0, 0.4);
}

.success-story-form-label {
    font-family: var(--font-jmh-typewriter);
    font-size: 0.95rem;
    color: #1a1a1a;
    display: block;
    margin-bottom: 0.5rem;
}

.success-story-submission-header-title {
    color: #9d2b1b;
    font-size: 1rem;
}

.success-story-submission-main-title {
    color: #b92b1a;
    font-size: 3rem;
}

.success-story-submission-intro-text {
    max-width: 800px;
    color: #1a1a1a;
}

.success-story-submission-intro-text p{
	font-family: var(--font-outfit), sans-serif;
}

.success-story-submission-post-box-img {
    max-width: 320px;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 5;
}

.success-story-submission-stamp-img {
    top: -1%;
    right: 12%;
    width: 100px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.success-story-submission-content-container:hover .success-story-submission-stamp-img {
    transform: scale(1.2);
}

.success-story-submission-form-divider {
    right: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background-color: #1a1a1a;
}

.success-story-submission-checkbox-label {
    font-family: var(--font-jmh-typewriter);
    font-size: 0.8rem;
    font-weight: bold;
    max-width: 350px;
}

.success-story-submission-section .form-check-input:checked {
    background-color: transparent;
    border-color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23a32a11' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.success-story-submission-polaroid {
    position: absolute;
    width: 180px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.4));
    z-index: 10;
    transition: all 1s cubic-bezier(0.34, 1.3, 0.64, 1);
}



.success-story-polaroid-photo {
    position: absolute;
    top: 5%;
    left: 5.5%;
    width: 89%;
    height: 72%;
    object-fit: cover;
    z-index: 5;
}

.success-story-polaroid-frame {
    position: relative;
    width: 100%;
    display: block;
    z-index: 2;
}

.success-story-polaroid-text {
    position: absolute;
    bottom: 6%;
    left: 0;
    width: 100%;
    text-align: center;
    font-family: var(--font-jmh-typewriter);
    font-size: 1.1rem;
    color: #1a1a1a;
    z-index: 3;
}

.success-story-submission-polaroid-1 {
    top: 35%;
    left: 10%;
    transform: rotate(0deg);
    z-index: 10;
}

.success-story-submission-polaroid-2 {
    top: 35%;
    right: 35%;
    left: auto;
    transform: rotate(0deg);
    z-index: 2;
}

.success-story-submission-polaroid-3 {
    top: 35%;
    right: 35%;
    left: auto;
    transform: rotate(0deg);
    z-index: 2;
}

.success-story-submission-section.in-view .success-story-submission-polaroid-1 {
    top: 49%;
    left: -13%;
    transform: rotate(-15deg);
}

.success-story-submission-section.in-view .success-story-submission-polaroid-2 {
    top: 15%;
    right: 6%;
    transform: rotate(15deg);
}

.success-story-submission-section.in-view .success-story-submission-polaroid-3 {
    top: 50%;
    right: -1%;
    transform: rotate(-22deg);
}

/* Footer Section */
.success-story-footer-section {
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/footer-paper-texture-background-scaled.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    font-family: var(--font-outfit), sans-serif;
    color: #1a1a1a;

    /* Blend the top edge with the section above */
    position: relative;
    z-index: 5;
    margin-top: -80px;
    padding-top: 180px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 80px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 80px);
}

.success-story-footer-heading {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.success-story-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-story-footer-links li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.success-story-footer-links a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.success-story-footer-links a:hover {
    color: #000;
}

.success-story-footer-subscribe-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 6px 6px 6px 16px;
    /* Adjusted padding for better alignment */
    background: transparent;
}

.success-story-footer-subscribe-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
    width: 100%;
    font-size: 1rem;
    color: #1a1a1a;
}

.success-story-footer-subscribe-btn {
    background-color: #5c4ce3;
    border: none;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    font-size: 1rem;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.success-story-footer-subscribe-btn:hover {
    background-color: #4a3bcf;
}

.success-story-footer-social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.success-story-footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.success-story-footer-social-icons a:hover {
    border-color: #1a1a1a;
    transform: translateY(-3px);
}

.success-story-footer-social-icons img {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.success-story-footer-subscribe-wrapper {
    gap: 15px;
}


.success-story-impact-section,
.success-story-explore-blogs-section {
    position: relative;
    z-index: 5;
}

/* --- Train Journey Section --- */
.train-journey {
    position: relative;
    width: 100%;
    background-color: transparent;
    margin-top: -75px;
    margin-bottom: -50px;
    z-index: 1;
}

.train-journey-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.train-journey-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    animation: trainSway 4s infinite ease-in-out;
    transform-origin: center center;
}

.train-journey-text {
    font-family: var(--font-editorial);
    font-size: 4rem;
    margin-bottom: 3rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 35vw;
    opacity: 0;
    filter: blur(10px);
    position: absolute;
}

.train-journey-text span{
	font-family: var(--font-editorial);
	font-size: 4rem;
}

.train-journey-postcard-wrapper {
    position: absolute;
    width: 30rem;
    max-width: 800px;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateX(120vw) scale(0.8);
    margin-bottom: 2.9rem;
    margin-right: 1rem;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.train-journey-postcard-base {
    width: 100%;
    height: auto;
    display: block;
}

.postcard-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.train-journey-postcard-wrapper::after {
    content: "";
    position: absolute;
    inset: -5px -4px -5px 11px; /* Adjust left inset to fix the transparent PNG gap */
    background-image:
        linear-gradient(90deg, #5a1910 50%, transparent 50%),
        linear-gradient(90deg, #5a1910 50%, transparent 50%),
        linear-gradient(0deg, #5a1910 50%, transparent 50%),
        linear-gradient(0deg, #5a1910 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 20px 3px, 20px 3px, 3px 20px, 3px 20px; /* Thinner (3px) and shorter (20px) dashes */
    background-position: 0 0, 100% 100%, 0 100%, 100% 0;
    animation: marching-ants 1s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: -1;
}

.train-journey-postcard-wrapper.active-snap::after {
    opacity: 1;
}

@keyframes marching-ants {
    0% {
        background-position: 0 0, 100% 100%, 0 100%, 100% 0;
    }

    100% {
        background-position: 20px 0, calc(100% - 20px) 100%, 0 calc(100% - 20px), 100% 20px;
    }
}

.postcard-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 6% 5%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.postcard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2%;
    position: relative;
    z-index: 2;
}

.postcard-title {
    font-family: var(--font-editorial);
    font-size: 2rem;
    color: #5a1910;
    margin: 0;
    font-weight: 500;
}

.postcard-stamp {
    position: absolute;
    top: -93%;
    right: -9%;
    width: 18%;
    height: auto;
}

.postcard-body {
    display: flex;
    flex: 1;
    gap: 4%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.postcard-photo-area {
    width: 40%;
    display: flex;
    align-items: center;
}

.postcard-stamp-bg {
    width: 100%;
    height: auto;
    display: block;
}

.postcard-photo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Slightly smaller to fit inside the stamp border */
    height: 90%;
    object-fit: cover;
}

.postcard-text-area {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #000;
    padding-left: 4%;
}

.postcard-line {
    font-family: var(--font-jmh-typewriter);
    font-size: clamp(0.4rem, 0.7vw, 1rem);
    color: #000;
    margin: 0 0 4% 0;
    border-bottom: 1px solid #000;
    padding-bottom: 1%;
    font-weight: bold;
    white-space: nowrap;
}

.postcard-explore-btn {
    font-family: var(--font-jmh-typewriter);
    font-size: clamp(0.5rem, 0.8vw, 1.1rem);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    margin-top: 6%;
    display: inline-flex;
    align-items: center;
    position: relative;
    width: max-content;
}

.postcard-explore-btn::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

.train-journey-postcard-wrapper:hover .postcard-explore-btn::after {
    width: 100%;
}

.postcard-explore-icon {
    width: 1em;
    opacity: 1;
    margin-left: 6px;
}

.train-journey-scroll-container {
    position: relative;
    width: 100%;
    height: 700dvh;
    /* Increased height for frames scrub + postcards */
    z-index: 2;
}

html {
    scroll-snap-type: y mandatory;
}

.train-journey-snap-point {
    position: absolute;
    width: 100%;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always; /* Forces one swipe to stop exactly at the next card, preventing skipping */
    pointer-events: none;
}

.train-journey-snap-point:nth-of-type(1) { top: 0; }
.train-journey-snap-point:nth-of-type(2) { top: 300dvh; }
.train-journey-snap-point:nth-of-type(3) { top: 345dvh; }
.train-journey-snap-point:nth-of-type(4) { top: 405dvh; }
.train-journey-snap-point:nth-of-type(5) { top: 465dvh; }
.train-journey-snap-point:nth-of-type(6) { top: 555dvh; }
.train-journey-snap-point:nth-of-type(7) { top: 600dvh; }

.journey-frames-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 3;
    animation: trainSway 1.5s infinite ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

.train-journey {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: transparent;
    /* No background color so it doesn't block torn paper */
}

html {
    scroll-behavior: smooth;
}

@keyframes breathe {

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

    50% {
        transform: scale(1.05);
    }
}

.breathe-animation {
    animation: breathe 2s infinite ease-in-out;
}

/* Animations Triggered by Scroll */
/* We remove CSS animations and let JS control inline styles */

.train-journey-text,
.postcard-gujarat,
.postcard-goa,
.postcard-mumbai {
    /* Base styling for JS control */
    will-change: transform, opacity, filter;
    /* Add transition to smooth out discrete mouse wheel scroll ticks */
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, filter 0.4s ease-out;
}

.moving-journey-background-track {
    position: absolute;
    top: 50%;
    left: 0;
    width: 400vw;
    /* 4 times the viewport width for 4 images */
    height: 65%;
    transform: translateY(-50%);
    display: flex;
    animation: scrollTrainBackground 20s linear infinite;
    z-index: 1;
}

.moving-journey-background-img {
    flex: 0 0 100vw;
    height: 100%;
    background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/08/moving-journey-background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.moving-journey-background-img.flip {
    transform: scaleX(-1);
}

.train-compartment-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
    animation: trainSway 1.5s infinite ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

.train-journey-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 4;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: trainSway 1.5s infinite ease-in-out;
    transform-origin: center center;
    will-change: transform;
}

.page-id-52456 .footer{
	background-image: url('https://www.paruluniversity.ac.in/wp-content/uploads/2026/09/footer-paper-texture-background-scaled-ups-scaled.webp');
    background-size: cover;
    background-position: center;
}

.page-id-52456 .header{
	    z-index: 9999;
}

@keyframes trainSway {
    0% {
        transform: scale(1.05) translate(0px, -3px);
    }

    6.25% {
        transform: scale(1.05) translate(1.5px, -3px);
    }

    12.5% {
        transform: scale(1.05) translate(3px, -3px);
    }

    18.75% {
        transform: scale(1.05) translate(3px, -1.5px);
    }

    25% {
        transform: scale(1.05) translate(3px, 0px);
    }

    31.25% {
        transform: scale(1.05) translate(3px, 1.5px);
    }

    37.5% {
        transform: scale(1.05) translate(3px, 3px);
    }

    43.75% {
        transform: scale(1.05) translate(1.5px, 3px);
    }

    50% {
        transform: scale(1.05) translate(0px, 3px);
    }

    56.25% {
        transform: scale(1.05) translate(-1.5px, 3px);
    }

    62.5% {
        transform: scale(1.05) translate(-3px, 3px);
    }

    68.75% {
        transform: scale(1.05) translate(-3px, 1.5px);
    }

    75% {
        transform: scale(1.05) translate(-3px, 0px);
    }

    81.25% {
        transform: scale(1.05) translate(-3px, -1.5px);
    }

    87.5% {
        transform: scale(1.05) translate(-3px, -3px);
    }

    93.75% {
        transform: scale(1.05) translate(-1.5px, -3px);
    }

    100% {
        transform: scale(1.05) translate(0px, -3px);
    }
}

@keyframes scrollTrainBackground {
    0% {
        transform: translate(0, -50%);
    }

    100% {
        transform: translate(-200vw, -50%);
    }
}

.train-journey-video-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.train-journey-video-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.train-journey-video-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    max-width: 900px;
    height: 33.75vw;
    /* 16:9 Aspect Ratio based on width */
    max-height: 506px;
    background: #000;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.train-journey-video-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.video-iframe-container {
    width: 100%;
    height: 100%;
}

.video-iframe-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.close-video-btn {
    position: absolute;
    top: -40px;
    right: -40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    font-family: sans-serif;
    line-height: 1;
    transition: color 0.3s;
}

.close-video-btn:hover {
    color: #ff4444;
}

/* Blur Reveal Animation for Impact Section */
.blur-reveal {
    opacity: 0;
    filter: blur(15px);
    transform: translateY(30px);
    transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.success-story-impact-section.in-view .blur-reveal {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.success-story-impact-section.in-view .blur-delay-1 {
    transition-delay: 0.3s;
}

.success-story-impact-section.in-view .blur-delay-2 {
    transition-delay: 0.5s;
}

.success-story-impact-section.in-view .blur-delay-3 {
    transition-delay: 0.7s;
}

.success-story-impact-section.in-view .blur-delay-4 {
    transition-delay: 0.9s;
}

/* Media Files */

@media screen and (max-width: 375px) {
    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 135px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 135px !important;
        z-index: 2 !important;
    }

    /* Hero Section Mobile */
    .success-story-hero-section {
        min-height: 830px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 50px;
    }

    .success-story-hero-title {
        font-size: 2.5rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 10px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Postcards Mobile Scale & Position */
    .success-story-scatter-item {
        scale: 0.4;
    }

    .success-story-postcard-tl {
        top: -12%;
        left: -41%;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 63%;
        left: 2%;
        --final-rotate: -16deg;
    }

    .success-story-postcard-bc {
        bottom: -9%;
        left: 35%;
        scale: 0.5;
    }

    .success-story-photo-br {
        bottom: 1%;
        right: -36%;
        --final-rotate: 14deg;
        scale: 0.4;
    }

    .success-story-postcard-tr {
        top: -13%;
        right: -47%;
    }

    .success-story-postcard-mobile-extra {
        bottom: -8%;
        left: -46%;
        scale: 0.45;
        --final-rotate: 19deg;
    }

    /* Impact Journey Section Mobile */
    .success-story-impact-section {
        margin-top: -225px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-impact-title {
        font-size: 2.2rem;
    }

    .success-story-impact-section img[alt*="Divider"] {
        width: 50px;
    }


    .success-story-impact-text {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .success-story-impact-card {
        margin-bottom: 0px;
        width: 85%;
        margin: 0 auto;
        min-height: 200px;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .success-story-impact-card-title {
        font-size: 1.5rem;
    }

    .success-story-impact-card-text {
        font-size: 0.85rem;
    }

    .success-story-ticket-title {
        font-size: 1.6rem;
    }

    .success-story-ticket-subtitle,
    .success-story-ticket-footer {
        font-size: 0.75rem;
        margin-block: 6px;
    }

    /* Explore Blogs Section Mobile */
    .success-story-explore-blogs-section {
        margin-top: -215px;
        padding-top: 130px !important;
        padding-bottom: 150px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    /* Story Submission Section Mobile */
    .success-story-submission-section {
        margin-top: -60px;
        padding-top: 100px !important;
    }

    .success-story-explore-blogs-title {
        font-size: 2.2rem;
    }

    .success-story-explore-blogs-text {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-bottom: 20px !important;
    }

    .success-story-explore-blogs-section img[alt="Divider Left"],
    .success-story-explore-blogs-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-postcard {
        width: 120vw;
        min-width: 300px;
    }

    .success-story-explore-blogs-carousel {
        gap: 1rem !important;
    }

    .success-story-postcard h4 {
        font-size: 1.1rem !important;
    }

    .success-story-postcard-desc {
        font-size: 0.75rem;
    }

    .success-story-postcard img[alt="Stamp"] {
        width: 45px;
    }

    .success-story-explore-blogs-read-more {
        font-size: 1.4rem !important;
    }

    .success-story-explore-blogs-subtitle {
        font-size: 2.2rem;
    }

    .success-story-explore-blogs-choice-box {
        width: 100%;
        padding: 60px 20px !important;
    }

    .success-story-explore-blogs-choice-title {
        font-size: 1.4rem;
    }

    .success-story-choice-text {
        font-size: 0.95rem;
    }

    .success-story-pill-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .success-story-explore-blogs-subtitle {
        padding-top: 1rem !important;
    }

    .success-story-submission-section img[alt="Divider Left"],
    .success-story-submission-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-submission-main-title {
        font-size: 2.2rem;
    }

    .success-story-submission-intro-text p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .success-story-submission-post-box-img {
        max-width: 250px !important;
    }

    .success-story-submission-stamp-img {
        width: 97px;
        top: -7%;
        right: 9%;
    }

    .success-story-submission-polaroid {
        width: 120px;
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-1 {
        top: 48%;
        left: 5%;
        transform: rotate(-15deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-2 {
        top: 21%;
        right: 11%;
        transform: rotate(20deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-3 {
        top: 50%;
        right: 9%;
        transform: rotate(-13deg);
    }

    .success-story-submission-form-container .d-flex.align-items-end {
        align-items: flex-start !important;
    }

    .success-story-submission-form-container img[alt="PU POST"] {
        width: 110px !important;
    }

    .success-story-submission-checkbox-label {
        font-size: 0.6rem;
    }

    .success-story-footer-section {
        background-size: auto;
        background-repeat: repeat;
    }

    .success-story-footer-heading {
        font-size: 1.3rem;
    }

    .success-story-footer-links li {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .success-story-footer-social-icons a {
        width: 45px;
        height: 45px;
    }

    .success-story-footer-social-icons img {
        width: 25px;
        height: 25px;
    }

    .train-journey-text {
        font-size: 2rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span {
        font-size: 2rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 20rem !important;
    }

    .postcard-title {
        font-size: 1.4rem !important;
    }

    .postcard-line {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }

    .postcard-explore-btn {
        font-size: 0.75rem !important;
    }

    .postcard-container {
        margin-left: 1rem !important;
    }

    .train-journey-video-overlay {
        width: 85vw !important;
        height: 47.8vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }
}

@media screen and (min-width: 376px) and (max-width: 479px) {
    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 135px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 135px !important;
        z-index: 2 !important;
    }

    /* Hero Section Mobile */
    .success-story-hero-section {
        min-height: 830px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 50px;
    }

    .success-story-hero-title {
        font-size: 2.5rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 10px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Postcards Mobile Scale & Position */
    .success-story-scatter-item {
        scale: 0.4;
    }

    .success-story-postcard-tl {
        top: -12%;
        left: -41%;
        scale: 0.6;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 64%;
        left: 2%;
        --final-rotate: -16deg;
    }

    .success-story-postcard-bc {
        bottom: -9%;
        left: 35%;
        scale: 0.5;
    }

    .success-story-photo-br {
        bottom: 1%;
        right: -36%;
        --final-rotate: 14deg;
        scale: 0.4;
    }

    .success-story-postcard-tr {
        top: -8%;
        right: -42%;
        scale: 0.5;
    }

    .success-story-postcard-mobile-extra {
       bottom: -8%;
        left: -42%;
        scale: 0.45;
        --final-rotate: 19deg;
    }

    /* Impact Journey Section Mobile */
    .success-story-impact-section {
        margin-top: -230px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-impact-title {
        font-size: 2.2rem;
    }

    .success-story-impact-section img[alt*="Divider"] {
        width: 50px;
    }


    .success-story-impact-text {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .success-story-impact-card {
        margin-bottom: 0px;
        width: 85%;
        margin: 0 auto;
        min-height: 200px;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .success-story-impact-card-title {
        font-size: 1.5rem;
    }

    .success-story-impact-card-text {
        font-size: 0.85rem;
    }

    .success-story-ticket-title {
        font-size: 1.6rem;
    }

    .success-story-ticket-subtitle,
    .success-story-ticket-footer {
        font-size: 0.75rem;
        margin-block: 6px;
    }

    /* Explore Blogs Section Mobile */
    .success-story-explore-blogs-section {
        margin-top: -215px;
        padding-top: 130px !important;
        padding-bottom: 150px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-explore-blogs-title {
        font-size: 2.2rem;
    }

    .success-story-explore-blogs-text {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-bottom: 20px !important;
    }

    .success-story-explore-blogs-section img[alt="Divider Left"],
    .success-story-explore-blogs-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-postcard {
        width: 120vw;
        min-width: 300px;
    }

    .success-story-postcard h4 {
        font-size: 1.1rem !important;
    }

    .success-story-postcard-desc {
        font-size: 0.75rem;
    }

    .success-story-postcard img[alt="Stamp"] {
        width: 45px;
    }

    .success-story-explore-blogs-read-more {
        font-size: 1.4rem !important;
    }

    .success-story-explore-blogs-subtitle {
        font-size: 2.2rem;
        padding-top: 1rem !important;
    }

    .success-story-submission-content-container .col-md-4 {
        /* justify-content: center !important; */
        padding-left: 13% !important;
    }


    .success-story-explore-blogs-choice-box {
        width: 100%;
        padding: 60px 20px !important;
    }

    .success-story-explore-blogs-choice-title {
        font-size: 1.4rem;
    }

    .success-story-choice-text {
        font-size: 0.95rem;
    }

    .success-story-pill-btn {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .success-story-explore-blogs-carousel {
        gap: 1rem !important;
    }

    .success-story-submission-section {
        margin-top: -60px;
        padding-top: 100px !important;
    }

    .success-story-submission-section img[alt="Divider Left"],
    .success-story-submission-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-submission-main-title {
        font-size: 2.2rem;
    }

    .success-story-submission-intro-text p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .success-story-submission-post-box-img {
        max-width: 250px !important;
    }

    .success-story-submission-stamp-img {
        width: 97px;
        top: -7%;
        right: 9%;
    }

    .success-story-submission-polaroid {
        width: 120px;
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-1 {
        top: 48%;
        left: 5%;
        transform: rotate(-15deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-2 {
        top: 21%;
        right: 11%;
        transform: rotate(20deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-3 {
        top: 50%;
        right: 9%;
        transform: rotate(-13deg);
    }

    .success-story-submission-form-container .d-flex.align-items-end {
        align-items: flex-start !important;
    }

    .success-story-submission-form-container img[alt="PU POST"] {
        width: 110px !important;
    }

    .success-story-submission-checkbox-label {
        font-size: 0.6rem;
    }

    .success-story-footer-section {
        background-size: auto;
        background-repeat: repeat;
    }

    .success-story-footer-heading {
        font-size: 1.3rem;
    }

    .success-story-footer-links li {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .success-story-footer-social-icons a {
        width: 45px;
        height: 45px;
    }

    .success-story-footer-social-icons img {
        width: 25px;
        width: 25px;
        height: 25px;
    }

    .train-journey-text {
        font-size: 2rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 2rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 22rem !important;
    }

    .postcard-title {
        font-size: 1.4rem !important;
    }

    .postcard-line {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }

    .postcard-explore-btn {
        font-size: 0.75rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }

    .train-journey-video-overlay {
        width: 85vw !important;
        height: 47.8vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }
	
	.page-id-52456 .deadline-text {
        font-size: 12px !important;
    }
}

@media screen and (min-width: 480px) and (max-width: 575px) {
    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 135px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 135px !important;
        z-index: 2 !important;
    }

    /* Hero Section Mobile */
    .success-story-hero-section {
        min-height: 850px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 50px;
    }

    .success-story-hero-title {
        font-size: 3rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 10px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 12px 18px !important;
        font-size: 1.1rem !important;
    }

    /* Postcards Mobile Scale & Position */
    .success-story-scatter-item {
        scale: 0.4;
    }

    .success-story-postcard-tl {
        top: -9%;
        left: -42%;
        scale: 0.6;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 63%;
        left: 6%;
        --final-rotate: -13deg;
    }

    .success-story-postcard-bc {
        bottom: -9%;
        left: 39%;
        scale: 0.55;
    }

    .success-story-photo-br {
        bottom: 1%;
        right: -33%;
        --final-rotate: 14deg;
        scale: 0.4;
    }

    .success-story-postcard-tr {
        top: -5%;
        right: -39%;
        scale: 0.5;
    }

    .success-story-postcard-mobile-extra {
        bottom: -9%;
        left: -29%;
        scale: 0.5;
        --final-rotate: 19deg;
    }

    /* Impact Journey Section Mobile */
    .success-story-impact-section {
        margin-top: -230px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-impact-title {
        font-size: 2.6rem;
    }

    .success-story-impact-section img[alt*="Divider"] {
        width: 50px;
    }


    .success-story-impact-text {
        font-size: 1rem;
        padding: 0 15px;
    }

    .success-story-impact-card {
        margin-bottom: 0px;
        width: 85%;
        margin: 0 auto;
        min-height: 200px;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .success-story-impact-card-title {
        font-size: 2rem;
    }

    .success-story-impact-card-text {
        font-size: 1.1rem;
    }

    .success-story-ticket-title {
        font-size: 2.2rem;
    }

    .success-story-ticket-subtitle,
    .success-story-ticket-footer {
        font-size: 1rem;
        margin-block: 12px;
    }

    /* Explore Blogs Section Mobile */
    .success-story-explore-blogs-section {
        margin-top: -215px;
        padding-top: 130px !important;
        padding-bottom: 150px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-explore-blogs-title {
        font-size: 2.6rem;
    }

    .success-story-explore-blogs-text {
        font-size: 1rem;
        padding: 0 15px;
        margin-bottom: 20px !important;
    }

    .success-story-explore-blogs-section img[alt="Divider Left"],
    .success-story-explore-blogs-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-postcard {
        width: 105vw;
        min-width: 300px;
    }

    .success-story-postcard h4 {
        font-size: 1.3rem !important;
    }

    .success-story-postcard-desc {
        font-size: 0.85rem;
    }

    .success-story-postcard img[alt="Stamp"] {
        width: 45px;
    }

    .success-story-explore-blogs-read-more {
        font-size: 1.6rem !important;
    }

    .success-story-explore-blogs-subtitle {
        font-size: 2.6rem;
        padding-top: 1rem !important;
    }

    .success-story-explore-blogs-choice-box {
        width: 100%;
        padding: 60px 20px !important;
    }

    .success-story-explore-blogs-choice-title {
        font-size: 1.6rem;
    }

    .success-story-choice-text {
        font-size: 1rem;
    }

    .success-story-pill-btn {
        font-size: 0.95rem;
        padding: 6px 12px;
    }

    .success-story-explore-blogs-carousel {
        gap: 1rem !important;
    }

    .success-story-submission-section {
        margin-top: -60px;
        padding-top: 100px !important;
    }

    .success-story-submission-section img[alt="Divider Left"],
    .success-story-submission-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-submission-main-title {
        font-size: 2.6rem;
    }

    .success-story-submission-intro-text p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .success-story-submission-content-container .col-md-4 {
        /* justify-content: center !important; */
        padding-left: 13% !important;
    }

    .success-story-submission-post-box-img {
        max-width: 300px !important;
    }

    .success-story-submission-stamp-img {
        width: 126px;
        top: -9%;
        right: 13%;
    }

    .success-story-submission-polaroid {
        width: 160px;
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-1 {
        top: 46%;
        left: 6%;
        transform: rotate(-15deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-2 {
        top: 19%;
        right: 13%;
        transform: rotate(20deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-3 {
        top: 50%;
        right: 10%;
        transform: rotate(-13deg);
    }

    .success-story-submission-form-container .d-flex.align-items-end {
        align-items: flex-start !important;
    }

    .success-story-submission-form-container img[alt="PU POST"] {
        width: 110px !important;
    }

    .success-story-submission-checkbox-label {
        font-size: 0.85rem;
    }

    .success-story-submit-btn {
        font-size: 1.5rem;
    }


    .success-story-footer-section {
        background-size: auto;
        background-repeat: repeat;
    }

    .success-story-footer-heading {
        font-size: 1.3rem;
    }

    .success-story-footer-links li {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .success-story-footer-social-icons a {
        width: 45px;
        height: 45px;
    }

    .success-story-footer-social-icons img {
        width: 25px;
        height: 25px;
    }

    .train-journey-text {
        font-size: 2rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 2rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 28rem !important;
    }

    .postcard-title {
        font-size: 1.4rem !important;
    }

    .postcard-line {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }

    .postcard-explore-btn {
        font-size: 0.75rem !important;
    }

    .train-journey-video-overlay {
        width: 85vw !important;
        height: 47.8vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
	
	
}


@media screen and (min-width: 576px) and (max-width: 767px) {
    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 145px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 145px !important;
        z-index: 2 !important;
    }

    /* Hero Section Mobile */
    .success-story-hero-section {
        min-height: 850px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 50px;
    }

    .success-story-hero-title {
        font-size: 3rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 10px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 12px 18px !important;
        font-size: 1.1rem !important;
    }

    /* Postcards Mobile Scale & Position */
    .success-story-scatter-item {
        scale: 0.4;
    }

    .success-story-postcard-tl {
        top: -8%;
        left: -27%;
        scale: 0.7;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 61%;
        left: 21%;
        --final-rotate: -13deg;
        scale: 0.5;
    }

    .success-story-postcard-bc {
        bottom: -9%;
        left: 49%;
        scale: 0.6;
    }

    .success-story-postcard-mobile-extra {
               bottom: -4%;
        left: -22%;
        scale: 0.6;
        --final-rotate: 22deg;

    }

    .success-story-photo-br {
        bottom: 3%;
        right: -18%;
        --final-rotate: 14deg;
        scale: 0.5;
    }

    .success-story-postcard-tr {
        top: -5%;
        right: -26%;
        scale: 0.7;
    }

    /* Impact Journey Section Mobile */
    .success-story-impact-section {
        margin-top: -235px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-impact-title {
        font-size: 2.6rem;
    }

    .success-story-impact-section img[alt*="Divider"] {
        width: 50px;
    }


    .success-story-impact-text {
        font-size: 1rem;
        padding: 0 15px;
    }

    .success-story-impact-card {
        margin-bottom: 0px;
        width: 85%;
        margin: 0 auto;
        min-height: 200px;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .success-story-impact-card-title {
        font-size: 2rem;
    }

    .success-story-impact-card-text {
        font-size: 1.1rem;
    }

    .success-story-ticket-title {
        font-size: 2.2rem;
    }

    .success-story-ticket-subtitle,
    .success-story-ticket-footer {
        font-size: 1rem;
        margin-block: 12px;
    }

    /* Explore Blogs Section Mobile */
    .success-story-explore-blogs-section {
        margin-top: -215px;
        padding-top: 130px !important;
        padding-bottom: 150px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-explore-blogs-title {
        font-size: 3rem;
    }

    .success-story-explore-blogs-text {
        font-size: 1.15rem;
        padding: 0 15px;
        margin-bottom: 20px !important;
    }

    .success-story-explore-blogs-section img[alt="Divider Left"],
    .success-story-explore-blogs-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-postcard {
        width: 125vw;
        min-width: 300px;
    }

    .success-story-postcard h4 {
        font-size: 1.8rem !important;
    }

    .success-story-postcard-desc {
        font-size: 1.15rem;
    }

    .success-story-postcard img[alt="Stamp"] {
        width: 65px;
    }

    .success-story-explore-blogs-read-more {
        font-size: 1.8rem !important;
    }

    .success-story-explore-blogs-subtitle {
        font-size: 3rem;
        padding-top: 1rem !important;
    }

    .success-story-explore-blogs-choice-box {
        width: 100%;
        padding: 60px 20px !important;
    }

    .success-story-explore-blogs-choice-title {
        font-size: 1.8rem;
    }

    .success-story-choice-text {
        font-size: 1.15rem;
    }

    .success-story-pill-btn {
        font-size: 1.1rem;
        padding: 6px 12px;
    }

    .success-story-explore-blogs-carousel {
        gap: 1rem !important;
    }

    .success-story-choice-title-wrapper,
    .success-story-choice-text-wrapper {
        max-width: 100%;
        padding: 0.5rem !important;
    }

    .success-story-submission-section {
        margin-top: -60px;
        padding-top: 100px !important;
    }

    .success-story-submission-section img[alt="Divider Left"],
    .success-story-submission-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-submission-main-title {
        font-size: 3rem;
    }

    .success-story-submission-intro-text p {
        font-size: 1.15rem;
        padding: 0 15px;
    }

    .success-story-submission-content-container .col-md-4 {
        justify-content: center !important;
        /* padding-left: 7% !important; */
    }

    .success-story-submission-post-box-img {
        max-width: 300px !important;
    }

    .success-story-submission-stamp-img {
        width: 126px;
        top: -9%;
        right: 13%;
    }

    .success-story-submission-polaroid {
        width: 160px;
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-1 {
        top: 44%;
        left: 6%;
        transform: rotate(-15deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-2 {
        top: 17%;
        right: 4%;
        transform: rotate(20deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-3 {
        top: 51%;
        right: 6%;
        transform: rotate(-13deg);
    }

    .success-story-submission-form-container .d-flex.align-items-end {
        align-items: flex-start !important;
    }

    .success-story-submission-form-container img[alt="PU POST"] {
        width: 110px !important;
    }

    .success-story-form-label {
        font-size: 1.15rem;
    }

    .success-story-submission-checkbox-label {
        font-size: 1rem;
    }

    .success-story-submit-btn {
        font-size: 1.5rem;
    }

    .success-story-footer-section {
        background-size: auto;
        background-repeat: repeat;
    }

    .success-story-footer-heading {
        font-size: 1.3rem;
    }

    .success-story-footer-links li {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .success-story-footer-social-icons a {
        width: 45px;
        height: 45px;
    }

    .success-story-footer-social-icons img {
        width: 25px;
        height: 25px;
    }

    .train-journey-text {
        font-size: 2rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 2rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 30rem !important;
        margin-right: 0rem;
    }

    .postcard-title {
        font-size: 1.4rem !important;
    }

    .postcard-line {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }

    .postcard-explore-btn {
        font-size: 0.75rem !important;
    }

    .train-journey-video-overlay {
        width: 85vw !important;
        height: 47.8vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

}


@media screen and (min-width: 768px) and (max-width: 991px) {
    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 150px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 150px !important;
        z-index: 2 !important;
    }

    /* Hero Section Mobile */
    .success-story-hero-section {
        min-height: 1035px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 50px;
    }

    .success-story-hero-title {
        font-size: 4rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 1.3rem;
        line-height: 1.4;
        padding: 0 10px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 10px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 14px 22px !important;
        font-size: 1.3rem !important;
    }

    /* Postcards Mobile Scale & Position */
    .success-story-scatter-item {
        scale: 0.5;
    }

    .success-story-postcard-tl {
        top: -3%;
        left: -8%;
        scale: 0.85;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 61%;
        left: -10%;
        --final-rotate: -13deg;
        scale: 0.65;
    }

    .success-story-postcard-bc {
        bottom: -5%;
        left: 28%;
        scale: 0.85;
    }

    .success-story-photo-br {
        bottom: 5%;
        right: -5%;
        --final-rotate: 14deg;
        scale: 0.7;
    }

    .success-story-postcard-tr {
        top: -3%;
        right: -8%;
        scale: 0.85;
    }

    /* Impact Journey Section Mobile */
    .success-story-impact-section {
        margin-top: -210px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-impact-title {
        font-size: 3.5rem;
    }

    .success-story-impact-section img[alt*="Divider"] {
        width: 50px;
    }

    .success-story-impact-text {
        font-size: 1.3rem;
        padding: 0 15px;
    }

    .success-story-impact-section .col-auto {
        display: none !important;
    }

    .success-story-impact-section .col-md-3 {
        width: 45%;
        flex: 0 0 45%;
        max-width: 45%;
        margin-bottom: 25px;
    }

    .success-story-impact-card {
        margin-bottom: 0px;
        width: 100%;
        margin: 0 auto;
        min-height: 200px;
        padding: 30px 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .success-story-impact-card-title {
        font-size: 2rem;
    }

    .success-story-impact-card-text {
        font-size: 1.1rem;
    }

    .success-story-ticket-title {
        font-size: 2.2rem;
    }

    .success-story-ticket-subtitle,
    .success-story-ticket-footer {
        font-size: 1.2rem;
        margin-block: 12px;
    }

    .success-story-three-decorative-cards {
        gap: 1.2rem !important;
    }

    .success-story-impact-section {
        padding-bottom: 7rem !important;
    }

    /* Explore Blogs Section Mobile */
    .success-story-explore-blogs-section {
        margin-top: -215px;
        padding-top: 130px !important;
        padding-bottom: 200px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-explore-blogs-title {
        font-size: 4rem;
    }

    .success-story-explore-blogs-text {
        font-size: 1.3rem;
        padding: 0 15px;
        margin-bottom: 20px !important;
    }

    .success-story-explore-blogs-section img[alt="Divider Left"],
    .success-story-explore-blogs-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-postcard {
        width: 95vw;
        min-width: 400px;
    }

    .success-story-postcard h4 {
        font-size: 2rem !important;
    }

    .success-story-postcard-desc {
        font-size: 1.2rem;
    }

    .success-story-postcard img[alt="Stamp"] {
        width: 65px;
    }

    .success-story-explore-blogs-read-more {
        font-size: 2rem !important;
    }

    .success-story-explore-blogs-subtitle {
        font-size: 4rem;
        padding-top: 1rem !important;
    }

    .success-story-explore-blogs-choice-box {
        width: 100%;
        padding: 60px 20px !important;
    }

    .success-story-explore-blogs-choice-title {
        font-size: 2rem;
    }

    .success-story-choice-text {
        font-size: 1.3rem;
    }

    .success-story-pill-btn {
        font-size: 1.3rem;
        padding: 8px 16px;
    }

    .success-story-explore-blogs-carousel {
        gap: 1.5rem !important;
    }

    .success-story-choice-title-wrapper,
    .success-story-choice-text-wrapper {
        max-width: 100%;
        padding: 0.5rem !important;
    }

    /* Submission Section */
    .success-story-submission-section {
        margin-top: -60px;
        padding-top: 100px !important;
    }

    .success-story-submission-section img[alt="Divider Left"],
    .success-story-submission-section img[alt="Divider Right"] {
        width: 50px;
    }

    .success-story-submission-main-title {
        font-size: 4rem;
    }

    .success-story-submission-intro-text p {
        font-size: 1.3rem;
        padding: 0 15px;
    }

    .success-story-submission-content-container .col-md-4 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center !important;
    }

    .success-story-submission-content-container .col-md-7 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-top: 40px;
    }

    .success-story-submission-post-box-img {
        max-width: 350px !important;
    }

    .success-story-submission-stamp-img {
        width: 140px;
        top: -9%;
        right: 13%;
    }

    .success-story-submission-polaroid {
        width: 200px;
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-1 {
        top: 44%;
        left: 6%;
        transform: rotate(-15deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-2 {
        top: 17%;
        right: 4%;
        transform: rotate(20deg);
    }

    .success-story-submission-section.in-view .success-story-submission-polaroid-3 {
        top: 51%;
        right: 6%;
        transform: rotate(-13deg);
    }

    .success-story-submission-form-container .d-flex.align-items-end {
        align-items: flex-start !important;
    }

    .success-story-submission-form-container img[alt="PU POST"] {
        width: 130px !important;
    }

    .success-story-form-label {
        font-size: 1.3rem;
    }

    .success-story-submission-checkbox-label {
        font-size: 1.1rem;
    }

    .success-story-submit-btn {
        font-size: 1.8rem;
    }

    /* Footer Section */
    .success-story-footer-section {
        background-size: auto;
        background-repeat: repeat;
    }

    .success-story-footer-heading {
        font-size: 1.5rem;
    }

    .success-story-footer-links li {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .success-story-footer-social-icons a {
        width: 50px;
        height: 50px;
    }

    .success-story-footer-social-icons img {
        width: 28px;
        height: 28px;
    }

    .success-story-submission-content-container {
        gap: 2rem !important;
    }

    .success-story-form-input {
        font-size: 1.2rem;
    }

    .success-story-footer-subscribe-wrapper {
        gap: 15px;
    }

    .train-journey-text {
        font-size: 3rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 3rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 32rem !important;
    }

    .postcard-title {
        font-size: 1.4rem !important;
    }

    .postcard-line {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }

    .postcard-explore-btn {
        font-size: 0.75rem !important;
    }

    .train-journey-video-overlay {
        width: 85vw !important;
        height: 47.8vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}


@media screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 200px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 200px !important;
        z-index: 2 !important;
    }

    /* Hero Section Desktop-Small */
    .success-story-hero-section {
        min-height: 1200px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 60px;
    }

    .success-story-hero-title {
        font-size: 5rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 1.4rem;
        line-height: 1.5;
        padding: 0 10px;
        max-width: 900px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 15px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 16px 26px !important;
        font-size: 1.4rem !important;
    }

    /* Postcards Desktop-Small Scale & Position */
    .success-story-scatter-item {
        scale: 0.6;
    }

    .success-story-postcard-tl {
        top: -2%;
        left: -5%;
        scale: 0.95;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 61%;
        left: -5%;
        --final-rotate: -13deg;
        scale: 0.75;
    }

    .success-story-postcard-bc {
        bottom: -5%;
        left: 28%;
        scale: 0.95;
    }

    .success-story-photo-br {
        bottom: 5%;
        right: -3%;
        --final-rotate: 14deg;
        scale: 0.8;
    }

    .success-story-postcard-tr {
        top: -2%;
        right: -5%;
        scale: 0.95;
    }

    /* Impact Journey Section Desktop-Small */
    .success-story-impact-section {
        margin-top: -190px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
        padding-bottom: 7rem !important;
    }

    .success-story-impact-title {
        font-size: 4rem;
    }

    .success-story-impact-section img[alt*="Divider"] {
        width: 60px;
    }

    .success-story-impact-text {
        font-size: 1.4rem;
        padding: 0 15px;
    }

    .success-story-impact-card {
        margin-bottom: 0px;
        width: 115%;
        margin-left: -7.5%;
        min-height: 200px;
        padding: 25px 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .success-story-impact-card-title {
        font-size: 2.2rem;
    }

    .success-story-impact-card-text {
        font-size: 1.2rem;
    }

    .success-story-ticket-title {
        font-size: 2.5rem;
    }

    .success-story-ticket-subtitle,
    .success-story-ticket-footer {
        font-size: 1.3rem;
        margin-block: 12px;
    }

    .success-story-three-decorative-cards {
        gap: 2rem !important;
    }

    .success-story-submission-post-box-img {
        max-width: 275px !important;
    }

    .train-journey-text {
        font-size: 4.5rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 4.5rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 32rem !important;
    }

    .postcard-title {
        font-size: 1.8rem !important;
    }

    .postcard-line {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .postcard-explore-btn {
        font-size: 1.1rem !important;
    }

    .train-journey-video-overlay {
        width: 65vw !important;
        height: 36.6vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}


@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .success-story-navbar-content {
        display: none !important;
    }

    .success-story-navbar-section {
        height: 190px !important;
        position: relative;
        z-index: 10;
    }

    .success-story-navbar-img {
        height: 190px !important;
        z-index: 2 !important;
    }

    /* Hero Section Desktop-Large */
    .success-story-hero-section {
        min-height: 1200px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    .success-story-hero-section img[alt*="Divider"] {
        width: 70px;
    }

    .success-story-hero-title {
        font-size: 5.5rem;
    }

    .success-story-hero-title br {
        display: none;
    }

    .success-story-hero-text {
        font-size: 1.5rem;
        line-height: 1.6;
        padding: 0 10px;
        max-width: 1000px;
    }

    /* Buttons */
    .success-story-hero-section .d-flex.gap-3 {
        gap: 20px !important;
    }

    .success-story-btn-primary,
    .success-story-btn-secondary {
        padding: 18px 28px !important;
        font-size: 1.5rem !important;
    }

    /* Postcards Desktop-Large Scale & Position */
    .success-story-scatter-item {
        scale: 0.7;
    }

    .success-story-postcard-tl {
        top: -2%;
        left: -3%;
        scale: 1;
    }

    .success-story-photo-bl {
        bottom: auto;
        top: 61%;
        left: -2%;
        --final-rotate: -13deg;
        scale: 0.85;
    }

    .success-story-postcard-bc {
        bottom: -5%;
        left: 30%;
        scale: 1;
    }

    .success-story-photo-br {
        bottom: 5%;
        right: -1%;
        --final-rotate: 14deg;
        scale: 0.9;
    }

    .success-story-postcard-tr {
        top: -2%;
        right: -3%;
        scale: 1;
    }

    /* Impact Journey Section Mobile */
    .success-story-impact-section {
        margin-top: -150px;
        padding-top: 240px !important;
        background-size: cover !important;
        background-position: top center !important;
    }

    .success-story-submission-post-box-img {
        max-width: 280px !important;
    }

    .train-journey-text {
        font-size: 4rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 4rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 31rem;
    }

    .postcard-title {
        font-size: 1.8rem !important;
    }

    .postcard-line {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .postcard-explore-btn {
        font-size: 1.1rem !important;
    }

    .train-journey-video-overlay {
        width: 60vw !important;
        height: 33.7vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}

@media screen and (min-width : 1400px) and (max-width : 1699px) {
    .success-story-hero-section {
        min-height: 1070px;
    }

    .success-story-photo-bl {
        left: 4%;
		bottom: 17%;
    }

    .train-journey-text {
        font-size: 4rem !important;
        max-width: 50vw !important;
    }
	
	.train-journey-text span{
        font-size: 4rem !important;
        max-width: 50vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 32rem !important;
    }

    .postcard-title {
        font-size: 1.8rem !important;
    }

    .postcard-line {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .postcard-explore-btn {
        font-size: 1.1rem !important;
    }

    .train-journey-video-overlay {
        width: 60vw !important;
        height: 33.7vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}

@media screen and (min-width: 1700px) {

    .success-story-hero-section {
        min-height: 1100px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }
	
	.success-story-navbar-img {
		height: 195px;
	}



    /* Postcards Ultra-Wide Scale */
    .success-story-scatter-item {
        scale: 1;
    }

    .success-story-postcard-tl {
        scale: 1.2;
    }

    .success-story-photo-bl {
        scale: 1.05;
    }

    .success-story-postcard-bc {
        scale: 1.2;
    }

    .success-story-photo-br {
        scale: 1.1;
    }

    .success-story-postcard-tr {
        scale: 1.2;
    }

    .success-story-photo-bl {
        bottom: 16%;
        left: 4%;
    }

    .train-journey-text {
        font-size: 5rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 5rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 37rem !important;
    }

    .postcard-title {
        font-size: 1.8rem !important;
    }

    .postcard-line {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .postcard-explore-btn {
        font-size: 1.1rem !important;
    }

    .train-journey-video-overlay {
        width: 60vw !important;
        height: 33.7vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}


@media screen and (min-width: 2000px) {

    .success-story-hero-section {
        min-height: 1150px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    /* Postcards Ultra-Wide Scale */
    .success-story-scatter-item {
        scale: 1;
    }

    .success-story-postcard-tl {
        scale: 1.4;
    }

    .success-story-photo-bl {
        scale: 1.05;
    }

    .success-story-postcard-bc {
        scale: 1.4;
    }

    .success-story-photo-br {
        scale: 1.1;
    }

    .success-story-postcard-tr {
        scale: 1.33;
    }

    .success-story-photo-bl {
        bottom: 16%;
    }

    .success-story-postcard-bc {
        left: 39%;
    }

    .moving-journey-background-track {
        height: 100% !important;
    }

    .train-journey-text {
        font-size: 5rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 5rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 42rem !important;
    }

    .postcard-title {
        font-size: 1.8rem !important;
    }

    .postcard-line {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }

    .postcard-explore-btn {
        font-size: 1.1rem !important;
    }

    .train-journey-video-overlay {
        width: 60vw !important;
        height: 33.7vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}


@media screen and (min-width: 2200px) {

    .success-story-hero-section {
        min-height: 1150px;
        padding: 70px 10px 180px 10px;
        margin-top: -40px;
    }

    /* Postcards Ultra-Wide Scale */
    .success-story-scatter-item {
        scale: 1;
    }

    .success-story-postcard-tl {
        scale: 1.4;
    }

    .success-story-photo-bl {
        scale: 1.2;
    }

    .success-story-postcard-bc {
        scale: 1.4;
    }

    .success-story-photo-br {
        scale: 1.1;
    }

    .success-story-postcard-tr {
        scale: 1.33;
    }

    .success-story-photo-bl {
        bottom: 16%;
    }

    .success-story-postcard-bc {
        left: 39%;
    }

    .moving-journey-background-track {
        height: 100% !important;
    }

    .train-journey-text {
        font-size: 7rem !important;
        max-width: 80vw !important;
    }
	
	.train-journey-text span{
        font-size: 7rem !important;
        max-width: 80vw !important;
    }

    .train-journey-postcard-wrapper {
        width: 46rem !important;
    }

    .postcard-title {
        font-size: 2.2rem !important;
    }

    .postcard-line {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }

    .postcard-explore-btn {
        font-size: 1.4rem !important;
    }

    .train-journey-video-overlay {
        width: 60vw !important;
        height: 33.7vw !important;
    }

    .close-video-btn {
        top: -35px !important;
        right: 0 !important;
        font-size: 2rem !important;
    }

    .postcard-container {
        margin-left: 1rem;
    }
}


/* Extra custom css */

.page-id-52456 .scrolled{
	  background-color: rgba(0, 0, 0, 0);
}

.page-id-52456 .p-2 {
    padding: .5rem !important;
}

.page-id-52456 .p-4 {
    padding: 1.5rem !important;
}


.page-id-52456 .m-2 {
    margin: .5rem !important;
}

.page-id-52456 .mb-2 {
    margin-bottom: .5rem !important;
}

.page-id-52456 .pt-2 {
    padding-top: .5rem !important;
}

.page-id-52456 .pb-1 {
    padding-bottom: .25rem !important;
}

.page-id-52456 .mb-4 {
    margin-bottom: 1.5rem !important;
}

.travel-stamp {
    text-align: right !important;
}

.success-story-submission-form-small-padding{
	padding : 1.5rem;
}

@media (min-width: 768px) {
    .success-story-submission-form-medium-padding {
        padding: 3rem !important;
    }
}


.apply-area {
    background: linear-gradient(90deg, #362b8d -13.85%, #9360a2 24.7%, #f9c474 84.1%);
    padding: .75rem;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
}

.apply-area .apply-area-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.apply-area .admission {
    padding-right: 1rem;
    border-right: 2px solid var(--white);
}

.apply-area .apply-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-left: 1rem;
    gap: .4375rem;
    transition: .35s;
}

.apply-area .apply-area-wrapper .apply-area-img {
    min-width: 40px;
    max-width: 40px;
    margin: 0 .4375rem;
}

.page-id-52456 .footer-list-wrapper h5 {
    color: #1a1a1a !important;
	font-family: var(--font-outfit), sans-serif;
	font-size: 1.1rem;
}

.page-id-52456 .footer-items .footer-link a {
    color: #4a4a4a !important;
	font-family: var(--font-outfit), sans-serif;
	    font-size: 0.95rem;
}

.page-id-52456 .footer-head h5, .page-id-52456 .footer-head h5 span{
	font-family: var(--font-poppins), sans-serif;
	    color: #1a1a1a !important;
}

.page-id-52456 .footer .footer-head .footer-head-desc{
	font-family: var(--font-outfit), sans-serif;
	 color: #4a4a4a !important;
}

.page-id-52456 .footer .footer-action .p-btn-outline{
	color: #4a4a4a !important;
}

.page-id-52456 .footer .footer-action .p-btn-outline:hover{
	color: #fff !important;
}

.page-id-52456 .footer .footer-menu .footer-right .subscribe-area h5{
	color: #1a1a1a !important;
	font-family: var(--font-outfit), sans-serif;
	font-size: 1.1rem;
}

.page-id-52456 .footer .footer-menu .footer-right .subscribe-area .newsletter-area form input{
	color : #000 !important;
}

.page-id-52456 .footer .footer-menu .footer-right .subscribe-area .newsletter-area {
	    border: 1px solid #4a4a4a ;
	background: hsla(0, 0%, 100%, .0196078431);
}

.page-id-52456 .footer .footer-menu .footer-right .subscribe-area .newsletter-area form input[type="email"]::placeholder {
    color: #4a4a4a !important;
    opacity: 1;
}

.page-id-52456 .footer .footer-menu .footer-right .social-area .social-media-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-id-52456 .footer .footer-menu .footer-right .social-area .social-media-wrapper .social-media-icons {
    width: 45px;
    height: 45px;
    min-width: 45px;
    max-width: 45px;
    border: 1px solid #4a4a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 5px;
    box-sizing: border-box;
}

.page-id-52456 .footer .footer-menu .footer-right .social-area .social-media-wrapper .social-media-icons .social-media-links {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.page-id-52456 .footer .footer-menu .footer-right .social-area .social-media-wrapper .social-media-icons img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 50%;
}

.page-id-52456 .social-area h5{
	color : #000 !important;
	font-family: var(--font-outfit), sans-serif;
}

.page-id-52456 .header-contact .header-contact-number span,
.page-id-52456 .header-contact .header-contact-divide {
    color: #091413 !important;
	font-family: var(--font-outfit), sans-serif;
}

.page-id-52456 .header-contact .header-contact-number svg path {
    fill: #091413 !important;
	font-family: var(--font-outfit), sans-serif;
}

.page-id-52456 .menu-inner > .menu-item > .menu-link,
.page-id-52456 .menu-inner .submenu .submenu-link,
.page-id-52456 .menu-inner .submenu .submenu-list-title {
    color: #091413 !important;
	
}

.train-journey-text span{
	font-family: var(--font-editorial);
}


/* ==========================================================================
   PAGE ID 52456 - FOOTER LOGO SIZE
   ========================================================================== */

.page-id-52456 .footer-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap !important;
    width: 100%;
}

.page-id-52456 .footer-logo .logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

/* Give the main logo more flex weight so it stays larger */
.page-id-52456 .footer-logo .logo-box:nth-child(1) {
    flex: 2 1 0; 
}

/* Keep secondary logos compact so they don't look oversized */
.page-id-52456 .footer-logo .logo-box:nth-child(2),
.page-id-52456 .footer-logo .logo-box:nth-child(3) {
    flex: 1 1 0; 
}

.page-id-52456 .footer-logo .logo-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 1. Parul University Logo (Increased size limits) */
.page-id-52456 .footer-logo .logo-box:nth-child(1) img {
    max-width: 280px;
    max-height: 75px; 
}

/* 2. NIRF Logo (Reduced size limits for visual balance) */
.page-id-52456 .footer-logo .logo-box:nth-child(2) img {
    max-width: 75px;
    max-height: 45px;
}

/* 3. QS Logo (Reduced size limits for visual balance) */
.page-id-52456 .footer-logo .logo-box:nth-child(3) img {
    max-width: 100px;
    max-height: 45px;
}

/* Mobile fine-tuning down to 360px */
@media only screen and (max-width: 480px) {
    .page-id-52456 .footer-logo {
        gap: 5px;
    }

    .page-id-52456 .footer-logo .logo-box:nth-child(1) img {
        max-height: 55px;
    }

    .page-id-52456 .footer-logo .logo-box:nth-child(2) img,
    .page-id-52456 .footer-logo .logo-box:nth-child(3) img {
        max-height: 38px;
    }
}
.success-story-cf7-hidden-submit {
    display: none !important;
}

.success-story-checkbox-error {
    display: block;
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #dc3232;
}

.success-story-submission-form-container .form-check{
	padding-left: 0px;
    margin-bottom: 0px;
}

.success-story-submission-form-container .wpcf7-list-item{
	margin: 0;
}