/* Custom CSS for KAAVERI Website */


@font-face {
    font-family: 'Helvetica W01 Roman';
    src: url('../fonts/Helvetica Neue W01 65 Medium.woff.ttf') format('truetype');

    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Pro';
    src: url('../fonts/Helvetica Neue LT Pro 65 Medium.ttf') format('truetype');
    font-style: normal;
}

body {
    overflow-x: hidden !important;
    font-family: 'Helvetica W01 Roman';
    letter-spacing: 1px;
}

.section {
    padding: 50px 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    width: 100%;
}

/* Hero Slider Styles */
.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item {
    transition: transform 2.5s ease-in-out !important;
    /* Smooth sliding */
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
}

.carousel-inner {
    transition: transform 4s ease-in-out !important;
    /* Slower transition */
}

/* Add Linear Gradient Overlay */
.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Fixed Caption */
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50% !important;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    color: white;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 3.5rem;
}

.carousel-inner {
    transition: transform 3s ease-in-out !important;
    /* Smoother, slower transition */
}

.custom-carousel-nav {
    position: absolute;
    bottom: 2rem;
    right: 6rem;
    display: flex;

    z-index: 20;
}

.custom-carousel-nav .carousel-control-prev,
.custom-carousel-nav .carousel-control-next {
    position: relative;
    width: auto;
    height: auto;
    opacity: 1;
    background: none;
    border: none;
    padding: 0 0.5rem;
    margin: 0;
}

.custom-carousel-nav .carousel-control-prev i,
.custom-carousel-nav .carousel-control-next i {
    font-size: 28px;
    display: inline-block;

    color: white !important;
    text-shadow: none;
    border-radius: 50%;
}

/* Hover effects */
.custom-carousel-nav .carousel-control-prev:hover i,
.custom-carousel-nav .carousel-control-next:hover i {
    color: white;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .custom-carousel-nav {
        right: 1rem;
        /* Move closer to edge on mobile */
        bottom: 1rem;
        /* Move up slightly on mobile */
    }

    .carousel-control-prev i,
    .carousel-control-next i {
        font-size: 24px;
        /* Slightly smaller on mobile */
        padding: 0.3rem;
        /* Less padding on mobile */
    }
}

.company-label {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    margin-top: 50px !important;
    color: white !important;
    font-family: 'Montserrat', sans-serif;
}

.company-title {
    font-size: 70px;
    line-height: 1.1;
    margin-bottom: 80px;
    color: white !important;
    font-family: 'Helvetica W01 Roman';
}

.progress-container,
.progress-container-bottom {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.star-video {
    width: 120px;
    height: 120px;
}

.progress-bar-top,
.progress-bar-bottom {
    height: 100%;
    width: 0%;

    background-color: #fff;
    transition: width 1.5s ease-out;
}

.counter-value {
    font-size: 70px;
    font-weight: 300 !important;
    margin-bottom: 0;
    color: white !important;
    font-family: 'Helvetica W01 Roman';
}

.counter-label {
    font-size: 18px;
    margin-top: 10px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .company-title {
        font-size: 50px;
    }

    .counter-value {
        font-size: 60px;
    }

    .counter-label {
        font-size: 16px;
    }

    .star-video {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .company-title {
        font-size: 40px;
    }

    .counter-value {
        font-size: 50px;
    }

    .counter-label {
        font-size: 14px;
        text-align: center;
    }

    .star-container {
        justify-content: center;
        margin-top: 20px;
    }

    .star-video {
        width: 80px;
        height: 80px;
    }

    .counter-section {
        margin-top: 30px;
    }

    .row.px-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .company-title {
        font-size: 30px;
        line-height: 1.1;
        margin-bottom: 80px;
        color: white !important;

    }
}

.hero-section {
    background-image: url('../images/about-bg.avif');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    padding: 40px 0;
    height: 100vh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;

    margin-bottom: 20px;
    font-family: "Wix Madefor Text", sans-serif;
}

.hero-text {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 30px;
    font-weight: 400 !important;
    font-family: "Wix Madefor Display", sans-serif;
}

.btn-more-services {
    background-color: #FFFBF3;
    color: #082F7B;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-more-services:hover {
    background-color: #094BCC;
    color: white;

}

@media (max-width: 768px) {

    .hero-title {
        font-size: 30px;
    }

    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .para2 {
        font-size: 15px;
        padding: 10px !important;
    }

    .item2 {
        padding: 0px !important;
    }


    .career-text-content {
        margin-top: 180px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 28px;
    }

    .btn-more-services {
        padding: 10px 20px;
        font-size: 14px;
    }

    .para1 {
        margin-top: 60px !important;
        padding-top: 40px !important;
    }
}

/* Features Container */
.features-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: -250px;
    position: relative;

}

/* Feature Column */
.feature-column {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    opacity: 0;
    background-color: white;

    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-column.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Feature Number */
.feature-number {
    font-size: 18px;

    margin-bottom: 10px;
    color: #000;
}

/* Feature Title */
.feature-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #000;
    font-weight: 600;
    letter-spacing: -1px;
    font-family: Arial, Helvetica, sans-serif;
}

/* Feature Description */
.feature-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #000000;
    font-weight: 400;
    font-family: "Wix Madefor Display", sans-serif;
    letter-spacing: 1px;

}


/* Feature Image Container */
.feature-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 8px;
}

/* Feature Image */
.feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .features-container {
        flex-direction: column;
    }

    .feature-column {
        min-width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .feature-title {
        font-size: 24px;
    }

    .feature-description {
        font-size: 14px;
    }

    .feature-image-container {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .feature-title {
        font-size: 22px;
    }

    .feature-image-container {
        height: 180px;
    }
}

.full-width-image-container {
    width: 100%;
    position: relative;
    overflow: hidden;

    padding-bottom: 0 !important;
}

.image-wrapper {
    position: relative;
    margin: 0;
}

.responsive-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
}

.image-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    font-family: "Wix Madefor Text", sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    .image-caption h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .image-caption h1 {
        font-size: 1.2rem;
    }
}

.about-section {
    background-color: #fff;
}

.about-section-title {
    font-family: "Wix Madefor Display", sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin: 20px 0px 10px 30px;
    line-height: 1.5;
    color: #323232;
}

.about-section-title span {
    color: #C02C2C;

}

.about-section-text {
    font-size: 18px;
    color: #030303;


    max-width: 80%;

    font-weight: 400;
    margin: 0px 0px 25px 40px;
    font-family: "Wix Madefor Text", sans-serif;
    text-align: justify !important;
}

.about-section-text span {
    color: #C02C2C;
    font-weight: bold;
}

.about-section-btn {
    background: #000;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    margin: 0px 0px 25px 40px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: "Wix Madefor Text", sans-serif;
}

.about-section-btn:hover {
    background: white;
    color: black;
    text-decoration: none;
    border: 1px solid black;
}

.about-section-img {
    height: 100%;
    object-fit: cover;
}

/* Scroll Container */
.scroll-container {
    display: flex;
    height: 300vh;
    /* 3x viewport height for 3 cards */

    /* Account for navbar */
}

/* Left Fixed Content */
.left-content {
    width: 50%;
    position: sticky;
    top: 80px;
    /* Account for navbar */
    height: calc(100vh - 80px);
    padding: 0 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgb(207, 210, 250) !important;
}

.left-content h1 {
    color: var(--primary-color);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: "Wix Madefor Display", sans-serif;
}

.left-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 2rem;
    font-family: "Wix Madefor Text", sans-serif;
}

.red-arrow {
    margin-top: 2rem;
}

/* Right Scrolling Cards */
.right-content {
    width: 50%;
    position: relative;
}

.sticky-container {
    position: sticky;
    top: 80px;
    /* Account for navbar */
    height: calc(100vh - 80px);
    overflow: hidden;

}

.cards-wrapper {
    height: 100vh;
    position: relative;
    transition: transform 0.8s ease;
    will-change: transform;
}

.card-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card {
    width: 500px;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.card img {
    width: 400px;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 30px;
}

.card-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: "Wix Madefor Display", sans-serif;
}

.card-content p {
    font-size: 1rem;
    text-align: justify;
    color: #000000;
    font-family: "Wix Madefor Text", sans-serif;
}

/* Responsive styles */
@media (max-width: 992px) {
    .scroll-container {
        flex-direction: column;
        height: auto;
    }

    .left-content,
    .right-content {
        width: 100%;
        position: relative;
        height: auto;
        top: 0;
    }

    .sticky-container {
        position: relative;
        height: auto;
    }

    .cards-wrapper {
        height: auto;
    }

    .card-section {
        position: relative;
        opacity: 1;
        height: auto;
        margin-bottom: 30px;
    }
}

.footer {
    background-color: black;
    color: white;
    padding: 40px;
}

.footer h5 {
    font-weight: bold;
    font-family: "Wix Madefor Display", sans-serif;
}

.footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-family: "Wix Madefor Text", sans-serif;
}

.footer p {
    font-family: "Wix Madefor Text", sans-serif;
    font-size: 15px;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .social-icons a {
    display: block;
    font-size: 24px;
    margin: 8px 0;
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: var(--primary-color);
    font-family: "Wix Madefor Text", sans-serif;
}

.about-page-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 20px 50px 90px !important;
}

.about-page-text {
    max-width: 50%;
}

.about-page-title {
    font-size: 70px !important;
    font-weight: bold;
    color: #b52524;
    font-family: "Wix Madefor Display", sans-serif;
    line-height: 1.4;
}

.about-page-subtitle {
    font-size: 24px;
    font-family: "Wix Madefor Text", sans-serif;
    margin-bottom: 20px;
}

.about-page-content {
    font-size: 20px;
    color: black;
    font-weight: 500;
    font-family: "Wix Madefor Text", sans-serif;
    text-align: justify;
    max-width: 70%;
}

.highlight {
    color: #b71c1c;
}

.about-page-image {
    max-width: 45%;
}

.about-page-image img {
    width: 100%;
    border-radius: 10px;
}

.progress-bar {
    height: 1px;
    background-color: #000000;
    margin: 30px 0;
    position: relative;
}

.progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background-color: var(--primary-color);
}

.mission-section {
    padding: 0px 30px 40px 90px;
}

.mission-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 40px 0px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Wix Madefor Display", sans-serif;
}

.image-box img {
    transform-origin: bottom center;
    animation: flipUpFromBottom 1.2s ease-out forwards;
}

.vision-container {
    padding: 0px 0px 30px 150px !important;
}

.mission-section h3 {
    font-size: 3.4rem !important;
    color: #333333;
    margin: 40px 0px;
    font-weight: bold;
    line-height: 1.2;
    font-family: "Wix Madefor Display", sans-serif;
}

.text-box p {
    font-size: 1.2rem;
    color: #000000;
    padding: 20px 0px;
    max-width: 800px;
    font-weight: 500;
    font-family: "Wix Madefor Text", sans-serif;
}

.text-justify {
    text-align: justify !important;
}

.text-box p span {
    color: var(--primary-color);
    font-weight: bold;
}

.team-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    border-radius: 20px !important;
    overflow: hidden;
}

.team-content {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.team-image {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.team-image {
    height: 250px;
    background-color: #ddd;
    background-image: url("../images/light.avif");
    background-size: cover;
    background-position: center;
}

.team-content {
    padding: 20px;
    text-align: center;
    height: 250px;
}

.team-content.team1,
.team-content.team3 {
    background-color: #333333;
}

.team-content.team2 {
    background-color: #666666;
}

.team-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: "Wix Madefor Display", sans-serif;
    color: white;
    text-align: left;
}

.team-position {
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: left;
    font-size: 30px;
    font-family: "Wix Madefor Display", sans-serif;
    font-weight: 700;
}

.team-description {
    color: #ffffff;
    font-size: 16px;
    text-align: left;
    font-family: "Wix Madefor Text", sans-serif;
}

.navbar {
    background-color: #fbfbfc;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 600 !important;
    padding: 0.5rem 1.5rem;
    margin: 0 0.25rem;
    font-family: "Poppins", sans-serif;
}

.navbar-nav .nav-link.active {
    color: #c02c2c !important;
    border-bottom: 2px solid #c02c2c !important;
    background-color: white !important;
}

.navbar-nav .nav-item:hover>.nav-link {
    color: #c02c2c;
    border-bottom: 2px solid #c02c2c;
}

.navbar-nav .nav-item .dropdown-menu {
    border-bottom: none !important;
}

:root {
    --primary-color: #c02c2c;
    --secondary-color: #333;
    --bg-color: #fbfbfc;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    left: 70%;
    transform: translateX(-50%) translateY(10px);
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0;
    min-width: max-content;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    padding: 0.5rem 1.5rem 1rem 1.5rem;
    color: #000000;
    font-weight: 500 !important;
    transition: all 0.2s ease;
    font-family: "Poppins", sans-serif;
}

.navbar .dropdown-toggle::after {
    display: none !important;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: white !important;
}


/* new  */
/* Mobile Specific Styles */
@media (max-width: 991.98px) {

    /* Navbar Mobile Styles */
    .navbar {
        padding: 15px 20px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
        margin-left: auto;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: #fbfbfc;
        padding: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .overlay {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
        margin: 0;
        border-bottom: none !important;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border-left: 2px solid var(--primary-color);
        margin-left: 15px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(-180deg);
    }

    /* About Section Mobile Styles */
    .about-page-section {
        flex-direction: column-reverse;
        padding: 30px 20px !important;
    }

    .about-page-text,
    .about-page-image {
        max-width: 100%;
    }

    .about-page-image {
        padding: 0px !important;
    }

    .about-page-image img {
        border-radius: 0px !important;
        width: 100% !important;
    }

    .about-page-title {
        font-size: 36px !important;
        margin-top: 20px;
    }

    .about-page-subtitle {
        font-size: 18px;
    }

    .about-page-content {
        font-size: 16px;
        max-width: 100%;
    }

    /* Mission/Vision Sections */
    .mission-section {
        padding: 0 20px 30px !important;
    }

    .mission-section h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
    }

    .mission-section h3 {
        font-size: 1.8rem !important;
        margin: 0 0 20px;
    }

    .text-box p {
        font-size: 1rem;
        padding: 15px 0;
    }

    /* Team Section */
    .team-section {
        padding: 30px 15px;
    }

    .team-card {
        margin-bottom: 20px;
    }

    .team-position {
        font-size: 24px;
    }

    /* Footer Mobile Styles */
    .footer {
        padding: 30px 20px;
    }

    .footer .row>div {
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer .row>div:not(:first-child) {
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid #333;
    }

    .social-icons {
        flex-direction: row !important;
        justify-content: center;
        gap: 15px !important;
    }

    .social-icons a {
        display: inline-block !important;
        margin: 0 5px !important;
    }
}

.kaveri-hover-container {
    display: flex;
    margin-top: 30px;
    padding: 20px;
    height: auto;
    border-radius: 8px;
}

.kaveri-hover-images {
    width: 70%;
    padding-right: 20px;
    height: 300px;
}

.kaveri-hover-image {
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 20px;
    overflow: hidden;
}

#kaveri-health-image {
    background-image: url('../images/csr-1.avif');
    background-size: cover;
}

#kaveri-education-image {
    background-image: url('../images/csr-2.avif');
    background-size: cover;
}

.kaveri-content-display {
    width: 65%;
    margin-left: 2%;
    padding: 10px;
    min-height: 400px;
    position: relative;
    border-radius: 4px;
}

.kaveri-hover-content h3 {
    font-size: 25px;
    color: var(--primary-color) !important;
    font-family: "Wix Madefor Display", sans-serif;
    font-weight: bold;
}

.kaveri-hover-content p {
    font-family: "Wix Madefor Text", sans-serif;
    color: black;
    font-weight: 800;
    font-size: 16px;
}

.kaveri-default-arrow {
    position: absolute;
    left: 30%;
    top: 30%;
    transform: translateY(-50%);
    width: 140px;
    height: 150px;
    animation: moveLeft 3s linear infinite;
}

@keyframes moveLeft {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(-20px);
    }
}

.kaveri-default-arrow svg {
    width: 100%;
    height: 100%;
}

.kaveri-hover-content {
    display: none;
}

/* Show content when corresponding image is hovered */
#kaveri-health-image:hover~.kaveri-content-display #kaveri-health-content,
#kaveri-education-image:hover~.kaveri-content-display #kaveri-education-content {
    display: block;
}

/* Hide arrow when any image is hovered */
#kaveri-health-image:hover~.kaveri-content-display .kaveri-default-arrow,
#kaveri-education-image:hover~.kaveri-content-display .kaveri-default-arrow {
    display: none;
}

@media only screen and (max-width: 576px) {
    .kaveri-hover-images {
        display: none !important;
        /* Hide the shared image container */
    }

    .kaveri-default-arrow {
        display: none;
    }

    .kaveri-hover-container {
        padding: 0px !important;
        margin: 0px !important;
    }

    .kaveri-content-display {
        width: 100%;

        padding: 0px !important;
        min-height: 400px;
        position: relative;
        border-radius: 4px;
        text-align: justify;
    }

    /* Show each image inside its content block instead */
    #kaveri-health-content::before {
        content: "";
        display: block;
        background-image: url('../images/csr-1.avif');
        background-size: cover;
        background-position: center;
        width: 100%;
        height: 200px;

        margin-bottom: 15px;
    }

    #kaveri-education-content::before {
        content: "";
        display: block;
        background-image: url('../images/csr-2.avif');
        background-size: cover;
        background-position: center;
        width: 100% !important;
        height: 200px;

        margin-bottom: 15px;
    }

    /* Show both content blocks one after another */
    #kaveri-health-content,
    #kaveri-education-content {
        display: block !important;
        margin-bottom: 30px;
        padding: 20px;
    }
}

.rolling-mill-section {
    width: 100%;
    padding: 50px;
}

@keyframes floatY {
    0% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(-5deg) translateY(-15px);
    }

    100% {
        transform: rotate(-5deg) translateY(0);
    }
}

.section-heading-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 55px;
    padding: 10px 40px;
    margin-bottom: 30px;
    font-size: 19px;
    font-family: "Wix Madefor Text", sans-serif;
    color: #f7f7f7;
    background-color: #B52524;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    animation: floatY 5s ease-in-out infinite;
}

.section-description {
    font-size: 28px;
    line-height: 1.6;
    font-weight: 600;
    font-family: "Wix Madefor Text", sans-serif;

}

.section-title {
    position: relative;
    font-size: 80px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: "Wix Madefor Text", sans-serif;
}

.highlight-word {
    color: var(--primary-color);
    font-family: "Wix Madefor Text", sans-serif;
    /* Red for "Our" */
}

.circled-word-wrapper {
    position: relative;
    display: inline-block;
}

.circled-word {
    color: var(--primary-color);
    font-weight: bold;
}

.svg-circle {
    position: absolute;
    top: 20px;
    left: -25px;
    width: 200px;
    height: 90px;
    z-index: -1;
}

.intro-paragraphs {
    margin-top: 30px;
    font-size: 24px;
    color: #333333;
    font-weight: 500;
    font-family: "Wix Madefor Text", sans-serif;
}

.redcard-section {

    background-color: #fff;
}

.redcard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 70px;
}

.redcard-title {
    flex: 1 1 30%;
    padding: 0px 100px;
}

.redcard-title h2 {
    font-size: 78px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0;
    font-family: "Wix Madefor Display", sans-serif;
}

.redcard-boxes {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
    margin-right: 30px;

}

.redcard-box {
    background-color: #B52524;
    color: #fff;
    padding: 25px 15px;
    font-size: 20px;
    line-height: 1.6;
    border-radius: 16px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    height: 160px;
    display: flex;
    align-items: center;
    font-family: "Wix Madefor Text", sans-serif;

    /* Slide-in effect */
    opacity: 0;
    transform: translateX(150px);
    transition: transform 1.2s ease, opacity 1.2s ease;
}

/* When in view */
.redcard-box.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Optional delay for smooth staggered reveal */
.redcard-boxes .redcard-box:nth-child(1) {
    transition-delay: 0.2s;
}

.redcard-boxes .redcard-box:nth-child(2) {
    transition-delay: 0.5s;
}

@media (max-width: 768px) {
    .redcard-container {
        flex-direction: column;
    }

    .redcard-title,
    .redcard-boxes {
        flex: 1 1 100%;
    }

    .redcard-title h2 {
        font-size: 36px;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    .rolling-mill-section {
        padding: 30px 20px;
    }

    .section-heading-badge {
        width: auto;
        font-size: 16px;
        padding: 8px 20px;
        margin: 0 auto 20px auto;
    }

    .section-description {
        font-size: 18px;
        line-height: 1.5;
    }

    .section-title {
        font-size: 42px;
        text-align: center;
    }

    .circled-word-wrapper {
        display: inline-block;
    }

    .svg-circle {
        width: 150px;
        height: 70px;
        top: 10px;
        left: -10px;
    }

    .intro-paragraphs {
        font-size: 18px;
        margin-top: 20px;
    }

    .redcard-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .redcard-title {
        padding: 0;
        text-align: center;
        margin-bottom: 20px;
    }

    .redcard-title h2 {
        font-size: 40px;
    }

    .redcard-boxes {
        width: 100%;
        margin-right: 0;
    }

    .redcard-box {
        font-size: 18px;
        height: auto;
        padding: 20px;
    }
}

.csr-section {
    padding: 60px 15px;
    background-color: #fff;
}

.csr-title {
    font-size: 34px;
    font-weight: 700;
    color: #b12424;
    margin-bottom: 20px;
    font-family: "Wix Madefor Display", sans-serif;
}

.csr-description {
    font-size: 16px;
    line-height: 1.7;
    color: #161616;
    font-weight: 500;
    max-width: 500px;
    text-align: left !important;
    font-family: "Wix Madefor Text", sans-serif;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: 12px;
}

/* RESPONSIVE MAGIC ✨ */
@media (max-width: 768px) {
    .csr-title {
        font-size: 28px;
        text-align: center;
    }

    .csr-description {
        font-size: 16px;
        text-align: center;
    }

}

/* Hero Slider Styles */
.carousel-item.item2 {
    position: relative;
    height: 450px;

    width: 100% !important;
}


.carousel-item.item2 img {
    width: 100%;
    height: 100%;
    object-fit: fill;


}

/* Add Linear Gradient Overlay */
.carousel-item.item2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Fixed Caption */
.carousel-caption.item2 {
    position: absolute;
    top: 40%;
    left: 55%;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
    text-align: left;
    width: 100%;
    color: white;
}

.carousel-caption.item2 h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 3.5rem;
}

.carousel-caption.item2 p {
    max-width: 500px;
    font-family: "Wix Madefor Text", sans-serif;
    font-size: 1.3rem;
    font-weight: bold;
}

.carousel-inner.item2 {
    transition: transform 4s ease-in-out !important;
    /* Smoother, slower transition */
}

/* Small mobiles and below (max 480px) */
@media (max-width: 480px) {
    .carousel-caption.item2 h3 {
        font-size: 1rem;
        line-height: 1.6rem;
        white-space: normal;
        padding: 0 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .carousel-caption.item2 p {
        font-size: 0.75rem;
        line-height: 1.2rem;
        max-width: 90%;
        padding: 0 1rem;
    }

    /* Hero Slider Styles */
    .carousel-item.item2 {
        position: relative;
        height: 350px;
        width: 100% !important;
    }


    .carousel-item.item2 img {
        width: 100%;
        height: 100%;
        object-fit: fill;
    }
}

/* Tablets and small devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .carousel-caption.item2 h3 {
        font-size: 1.2rem;
        line-height: 2rem;
        white-space: normal;
        padding: 0 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

    .carousel-caption.item2 p {
        font-size: 0.9rem;
        line-height: 1.4rem;
        max-width: 50%;
        padding: 0 1.5rem;
    }
}

.main-content {
    flex: 1;
    overflow: hidden;
    background-color: #000;
}

.content-left {
    padding: 30px;
    height: 100%;
    display: flex;
    border-radius: 20px;
    flex-direction: column;
    justify-content: center;
    background-color: white;
}

.welcome-heading {
    color: #c93a3a;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: clamp(30px, 5vw, 70px);
    margin-top: clamp(20px, 4vw, 20px);
    font-family: "Wix Madefor Display", sans-serif;
}

.company-title {
    position: relative;
    margin-bottom: 20px;
}

.company-title h2 {
    font-size: clamp(32px, 4vw, 43px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    color: black;
    margin-top: 0;
    margin-bottom: 10px;
    font-family: "Wix Madefor Display", sans-serif;
}

.svg-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.my-svg {
    width: 80%;
    max-width: 400px;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
}

.my-svg path {
    fill: #fa854f;
}

.company-description {
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.5;
    color: #000000;
    max-width: 650px;
    font-weight: 500;
    margin-top: 30px;
    font-family: "Wix Madefor Text", sans-serif;
}

.content-right {
    height: 100%;
    overflow: hidden;
    padding: 0;
}

.factory-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

@media (max-width: 768px) {
    .content-left {
        padding: 20px;
    }

    .company-title h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .my-svg {
        width: 100%;
    }

    .welcome-heading {
        font-size: 16px;

    }

    .factory-image {
        min-height: 300px;
    }

    .arise-section {
        display: flex;
        flex-direction: column-reverse;
    }
}

.moving-section {
    background: #fff;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    white-space: nowrap;
    padding: 0px !important;
    animation: scroll 24s linear infinite;
}

.marquee-track span {
    font-size: 5rem;
    font-weight: bold;
    color: black;
    padding: 0 3rem;
    flex-shrink: 0;
    letter-spacing: -1px;
    font-family: "Wix Madefor Display", sans-serif;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-right .marquee-track {
    animation-direction: reverse;
}

.marquee-right .marquee-track span {
    color: #B52524;
    font-family: "Wix Madefor Display", sans-serif;
}

@media (max-width: 768px) {
    .marquee-track span {
        font-size: 2rem;
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .marquee-track span {
        font-size: 1.5rem;
        padding: 0 1rem;
    }
}

.arise-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .arise-container {
        grid-template-columns: 2fr 1fr;
    }
}

/* Main Content Section */
.arise-about {
    margin-bottom: 40px;
}

.arise-about__title {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
}

.arise-about__subtitle {
    font-size: 24px;
    margin: 25px 0 15px;
    font-weight: 600;
}

.arise-about__text {
    margin-bottom: 20px;
}

.about-us-section {
    padding: 60px 20px;
    background-color: #fff;
    color: #222;
}

.about-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: "Wix Madefor Text", sans-serif;
}

.about-sub {
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0;
}

.about-us-section p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: black !important;
    font-family: "Wix Madefor Text", sans-serif;
}

/* Responsive Tweak */
@media (max-width: 768px) {
    .about-title {
        font-size: 1.8rem;
    }

    .about-sub {
        font-size: 0.95rem;
    }
}

.breadcrumb-section {
    /* swap with your own image URL */
    background-size: cover;
    background-position: center;
    padding: 120px 40px;
    color: #fff;
    position: relative;
    height: 450px;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* white overlay with 30% opacity */
    z-index: 0;
}

.breadcrumb-text {
    position: relative;
    z-index: 2;
    text-align: left;
}

.breadcrumb-title {
    font-size: 3.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: "Wix Madefor Display", sans-serif;

}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .breadcrumb-title {
        font-size: 1.8rem;
    }

    .breadcrumb-text {
        padding-left: 10px;
        padding-right: 10px;
    }
}

.structural-steel-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: justify !important;
    font-family: "Wix Madefor Text", sans-serif;
}

.steel-text {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 22px;
    line-height: 1.8;
    color: #000000;
    font-weight: 500;
}

.highlight {
    color: #b22222;
    /* Deep red like in the image */
    font-weight: bold;
}

.steel-media-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 20px;
    position: relative;
}

.steel-img {
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.steel-img1 {
    width: 280px;
    height: 250px;
    margin-top: 0px;
    z-index: 1;
    margin-right: -100px !important;
}

.steel-img2 {
    width: 440px;
    height: 320px;
    margin-top: 30px;
    z-index: 2;
    margin-right: -70px;
}

.steel-img3 {
    width: 320px;
    height: 250px;
    margin-top: 20px;
    z-index: 3;
}

/* Responsive Tweaks */
@media (max-width: 992px) {
    .steel-media-row {
        flex-direction: column;
        align-items: center;
    }

    .steel-img {
        width: 90%;
        height: auto;
        margin-top: 20px !important;
    }

    .steel-img2 {
        margin-top: 0 !important;
    }

    .steel-img1 {

        margin-right: 0px !important;
    }

    .steel-img2 {

        margin-right: 0px;
    }

}

.structural-steel-section {
    width: 100%;
    padding: 50px 0;
    background-color: #fff;
}

.structural-steel-header {
    text-align: center;
    margin-bottom: 40px;
}

.structural-steel-title {
    color: #B52524;
    background-color: transparent;
    font-size: 35px;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0em;
    line-height: normal;
    font-weight: 700;
}

.structural-steel-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.structural-steel-col {
    padding: 0 15px;
    margin-bottom: 30px;
}

.structural-steel-col-4 {
    width: 33.333333%;
}

.structural-steel-card {
    height: 100%;
    width: 330px;
    border: 1px solid #e1e1e1;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    transform: scale(1);
    /* define base scale */
    will-change: transform;
    /* smoother performance */
}

.structural-steel-card:hover {
    transform: scale(1.05);
    /* slightly smaller scale for better UX */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
    z-index: 2;
    /* if overlapping happens */
}


.structural-steel-card:hover .structural-steel-image img {
    border-bottom: 1px solid #ccc;
}

.structural-steel-image {
    height: 250px;
    overflow: hidden;
}

.structural-steel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.structural-steel-info {
    padding: 20px;
    background: white;
}

.structural-steel-name {
    color: #000000;
    background-color: transparent;
    font-size: 22px;
    text-decoration: none;
    text-align: center;
    letter-spacing: 0em;
    line-height: normal;
    text-transform: uppercase;
}

.structural-steel-description {
    margin: 0;
    line-height: 1.5;
    font-size: 16px;
    color: #000;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .structural-steel-col-4 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .structural-steel-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .structural-steel-col-4 {
        width: 100%;
    }

    .structural-steel-title {
        font-size: 1.75rem;
    }
}


.structural-page-header {
    text-align: center;
    margin-bottom: 30px;
}

.structural-page-heading {
    font-size: 40px;
    color: #B52524;
    margin: 0;
}

.structural-page-subsection {
    margin: 0 auto;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 8px;
    max-width: 1000px;
}

.structural-page-subheading {
    font-size: 30px;
    color: #7a7a7a;
    margin: 0 auto;
    text-align: center;
}

.structural-page-grade-section {
    text-align: center;
}

.structural-page-grade {
    font-size: 2rem;
    color: #fff;
    margin: 0;
    padding: 15px 15px;
    background-color: #B52524;
    border-radius: 15px;
}

.structural-page-table-container {
    overflow-x: auto;
}

.structural-page-table {
    width: 100%;
    border-collapse: separate;
    /* Needed for border-radius to work on table */
    border-spacing: 0;
    /* Optional: removes space between borders */
    margin: 20px 0;
    border: 3px solid #ccc;
    /* Outer border */
    border-radius: 20px;
    /* Rounded corners */
    overflow: hidden;
    /* Ensures rounding shows properly */
}

.structural-page-table thead {
    border-bottom: 5px solid #fff;
}

.structural-page-table th,
.structural-page-table td {
    padding: 15px 15px;
    text-align: center;
    font-size: 18px;
}

.structural-page-table td:first-child {
    background-color: #B52524;
    color: #fff;
}

.structural-page-table th {
    background-color: #B52524;
    color: #fff;
    text-align: center;
    margin-bottom: 5px;
    font-size: 18px;
    border-bottom: 5px solid #fFf;
}

@media (max-width: 768px) {
    .structural-page-heading {
        font-size: 1.7rem;
    }

    .structural-page-subheading {
        font-size: 1.3rem;
    }

    .structural-page-grade {
        font-size: 1.1rem;
    }

    .structural-page-table th,
    .structural-page-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

.tmt-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #B52524 30%, #878585 30%);
    margin: 100px 0 80px;
}

.tmt-title-section-content {
    text-align: left;
}

.tmt-title-section-main-heading {
    font-size: 20px;
    color: #000;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.tmt-title-section-subheading {
    font-size: 76px;
    color: #000;
    margin: 0;
    line-height: 1.5;
    padding-bottom: 3%;
}


.tmt-product-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f7f7f7;
}

.position-sticky {
    position: sticky;
    top: 0;
}

.tmt-product-content {
    position: relative;
    padding: 60px 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 0 50px;
    margin-bottom: 30px;
}

.tmt-product-info {
    padding: 45px;
    max-width: 600px;
    height: 100%;
}

.tmt-product-content:nth-of-type(even) .tmt-product-info {
    border-right: 1px solid #000;
}

.tmt-product-content:nth-of-type(odd) .tmt-product-info {
    border-left: 1px solid #000;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotateIn {
    0% {
        opacity: 0;
        transform: rotateY(180deg) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: rotateY(0deg) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 1.5s ease-out forwards;
    opacity: 0;
}


.tmt-product-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 3px;
    animation: slideInLeft 1s ease-out forwards;
    opacity: 0;
}

.tmt-product-divider {
    width: 100%;
    height: 3px;
    background-color: #B52524;
    /* a strong color like red or brand tone */
    margin: 10px 0 20px 0;
    border-radius: 2px;
    animation: slideInLeft 1.2s ease-out forwards;
    opacity: 0;
}

.tmt-product-grade {
    font-size: 40px;
    margin-bottom: 15px;
    color: #B52524;
}

.tmt-product-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #000;
}

.tmt-product-highlight {
    color: #B52524;
    font-weight: 600;
}

.tmt-product-button {
    transition: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333333;
    font-weight: normal;
    font-style: normal;
    font-family: "space grotesk", sans-serif;
    font-size: 16px;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid #333;
}

.tmt-product-button i {
    margin-left: 50px;
    transition: transform 0.3s ease;
    font-size: 18px;
}

.tmt-product-button:hover i {
    transform: translate(5px, 3px) rotate(45deg);
}


.tmt-product-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tmt-product-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    max-width: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
    transform-origin: center;
    filter: brightness(0.98);
    border-radius: 20px;
    opacity: 0;
}


.tmt-product-image:hover .tmt-product-img {
    transform: scale(1.02);
    filter: brightness(1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .tmt-product-image {
        margin-bottom: 2rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .tmt-product-img {
        max-height: 350px;
    }
}

@media (max-width: 576px) {
    .tmt-product-image {
        max-width: 100%;
        border-radius: 8px;
    }

    .tmt-product-img {
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    .tmt-product-content {
        padding: 40px 20px;
    }

    .tmt-product-title {
        font-size: 24px;
    }

    .tmt-product-grade {
        font-size: 18px;
    }

    .tmt-product-description {
        font-size: 15px;
    }

    .tmt-product-button {
        padding: 8px 20px;
    }
}

/* Main Section Styles */
.tmt-properties-section {
    padding: 50px 0;
    background-color: #fff;
}

/* Header Styles */
.tmt-section-title {
    font-size: 40px;
    color: #B52524;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.tmt-section-description {
    font-size: 18px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Sub Header Styles */
.tmt-sub-title {
    font-size: 30px;
    color: #B52524;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

/* Image Styles */
.tmt-property-image,
.tmt-chemical-chart {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .tmt-properties-section {
        padding: 50px 0;
    }

    .tmt-section-title {
        font-size: 1.8rem;
    }

    .tmt-sub-title {
        font-size: 1.5rem;
    }

    .tmt-section-description {
        font-size: 1rem;
        padding: 0 15px;
    }

    .tmt-property-image,
    .tmt-chemical-chart {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .tmt-section-title {
        font-size: 1.5rem;
    }

    .tmt-sub-title {
        font-size: 1.3rem;
    }
}

.tmt-certificates-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.tmt-section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #666666;
}

.certificate {
    max-width: 250px;
}

.certificate-card {
    background: #B52524;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
}

.certificate-btn {
    font-size: 2.5rem;
    color: #dc3545;
    /* PDF red color */
    transition: color 0.3s ease;
    text-decoration: none;
}

.certificate-btn:hover {
    color: #bd2130;
}

.certificate-btn i {
    font-size: 60px;
    color: #fff;
}


/* Custom Styles */
.careers-section {
    background-color: #ffffff;
    position: relative;
}


.career-text-content .lead {
    color: #000000;
    background-color: transparent;
    font-family: "Wix Madefor text", sans-serif;
    font-weight: normal;
    font-size: 18px;
    font-style: normal;
    letter-spacing: 0em;
    line-height: 1.6;
    font-weight: 600;
}

.career-text-content .desc {
    color: #000;
    background-color: transparent;
    font-family: "Wix Madefor text", sans-serif;
    font-weight: normal;
    font-size: 18px;
    font-style: normal;
    letter-spacing: 0em;
    line-height: 1.6;
}

.career-image-box {
    /* height: 200px; */
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
}

@media (max-width: 991.98px) {
    .careers-section::before {
        width: 100%;
        height: 50%;
    }

    .image-box {
        height: 150px;
    }
}

@media (max-width: 767.98px) {
    .image-box {
        height: 120px;
    }
}

.career-card {
    border-radius: 0.5rem;
}

.career-heading {
    font-size: 2rem;
    font-weight: 600;
}

.career-label {
    font-weight: 500;
}

.career-input,
.career-textarea,
.career-file {
    border-radius: 0;
    border: 1px solid #616161;
    padding: 0.5rem 0.75rem;
    width: 100%;
}

.career-input:focus,
.career-textarea:focus,
.career-file:focus {
    border-color: #000;
    box-shadow: none;
}

.career-file-text {
    font-size: 0.875rem;
    color: #6c757d;
}

.career-btn {
    padding: 0.5rem;
    font-size: 1.125rem;
    background: #b52524;
    border: 2px solid #b52524;
    color: #fff;
    transition: all 0.3s ease;
    /* Smooth effect on hover */
    cursor: pointer;
    width: 45%;
}

.career-btn:hover {
    background: #fff;
    color: #000;
    border: 2px solid #b52524;
}

.career-file-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.career-file-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #B52524;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 1.375rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: 2px solid #b52524;
    transition: all 0.3s ease;
    /* Smooth effect on hover */
}

.career-file-label:hover {
    background: #fff;
    color: #000;
    border: 2px solid #b52524;
}

.career-file-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.contact-div {
    padding: 50px;
    background: #B52524;
    border-radius: 50px;
}

.contact-section {
    padding: 50px 0;
    background-color: #fff;
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-subheader {
    font-size: 28px;
    color: #fff;
}

/* FLEX LAYOUT */
.contact-info {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.address-section h3,
.contact-details h3,
.social-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #fff;
}

.contact-method span {
    font-weight: bold;
    display: block;
    margin-top: 0.5rem;
    color: #fff;
}

.contact-method a,
.contact-method p {
    margin-left: 0.5rem;
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

/* SOCIAL SECTION */

.social-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.social-links li img {
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.social-links li img:hover {
    transform: scale(1.1);
}

.address-section .company-name {
    font-size: 25px;
    color: #fff;
}

address {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

.w-90 {
    width: 95%;
    max-width: 95%;
}

.map-section {
    padding: 2rem 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #333333;
    position: relative;
    top: 5rem;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 0.5rem;
}

/* Optional: Responsive behavior */
@media (max-width: 768px) {
    .map-section iframe {
        height: 300px;
    }

    .map-section h2 {
        font-size: 1.5rem;
    }
}

.process-slider-section {
    position: relative;
    padding: 0;
}

.process-slider {
    position: relative;
    overflow: hidden;
}

.process-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.process-slide {
    min-width: 100%;
    position: relative;
}

.process-slide-image {
    position: relative;
}

.process-slide-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Overlay effect */
.process-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    /* semi-transparent overlay */
    z-index: 1;
    pointer-events: none;
    border-radius: 0.5rem;
}

/* Text on top of slider */
.process-slider-description {
    position: absolute;
    top: 20%;
    left: 35%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    max-width: 50%;
    font-size: 25px;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}


/* Manufacturing Process Styles */
.manufacturing-process {
    padding: 100px 0;
    background: #000;
    color: #fff;
}

.process-header {
    text-align: center;
    padding: 0 100px;
    padding-bottom: 50px;
    border-bottom: 2px solid #fff;
}

.process-title {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-align: left;
    max-width: 700px;
}

.process-step {
    background: #000;
    padding: 50px 100px;
    display: flex;
    border-bottom: 2px solid #fff;
    color: #fff;
    transition: background 0.4s ease, color 0.4s ease;
    gap: 50px;
}

.process-step:hover {
    background: #fff;
    color: #000;
}

.step-number {
    font-size: 65px;
    font-weight: 700;
    margin-bottom: 10px;
    flex: 0 0 10%;
}

.step-title {
    font-size: 32px;
    margin: 0 0 15px 0;
    font-weight: 600;
    flex: 0 0 24%;
}

.step-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    flex: 0 0 50%;
}

.process-divider {
    height: 1px;
    background-color: #ddd;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-title {
        font-size: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step {
        padding: 20px;
        flex-direction: column;
    }

    .process-slide-img {
        height: 300px;
    }

    .process-slider-description {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        max-width: 100%;
    }

    .process-header {
        text-align: center;
        padding: 0 20px;
        padding-bottom: 50px;
        border-bottom: 2px solid #fff;
    }

    .step-description {
        flex: 0 0 auto;
    }

    .tmt-title-section-heading-wrapper p {
        font-size: 29px !important;
    }

    .tmt-product-info {
        padding: 15px;
        max-width: 600px;
        height: 100%;
    }

    .tmt-product-title {
        font-size: 16px !important;

    }
}

@media (max-width: 560px) {
    .process-slider-description {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        max-width: 100%;
        transform: none;
        left: 0;

    }
}

.wipe-reveal1 {
    position: relative;
    overflow: hidden;
    display: block;
    max-width: 800px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    clip-path: inset(0 100% 0 0);
}

.wipe-reveal1.animate {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
    transition:
        opacity 1s ease,
        transform 1s ease,
        clip-path 2s ease-in-out;
}

.wipe-reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.wipe-reveal {
    position: relative;
    overflow: hidden;
    display: block;
    max-width: 800px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.wipe-reveal.animate {
    opacity: 1;
    transform: translateY(0);
}

.wipe-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2;
    transform: translateX(0);
    transition: transform 2s ease-in-out;
}

.wipe-reveal.animate::before {
    transform: translateX(100%);
}


.text-animate {
    animation: flipUpFromBottomXY 1.5s ease-out forwards;
    opacity: 0;
    transform-style: preserve-3d;
}

@keyframes flipUpFromBottomXY {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateX(45deg) translateY(100px);
    }

    60% {
        opacity: 0.8;
        transform: perspective(1000px) rotateX(-10deg) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) translateY(0);
    }
}

.process-title {
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 2s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.navbar-nav .nav-link.active {
    color: #c02c2c !important;
    background-color: white !important;
    border-bottom: 2px solid #c02c2c !important;
}

.navbar-nav .dropdown-item.active {
    color: #c02c2c !important;
    background-color: white !important;
}
.thank-you-section {
    background-color: #f8f9fa;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thank-you-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 5rem;
    color: #28a745;
}

.thank-you-title {
    color: #28a745;
    font-weight: 700;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #495057;
}



/* new style for youtube video  */
/* Container with background image */
.background-with-video-container {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
    /* Increased height for video + backgrounds */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Full width video container */
.video-full-width-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 2;
}

/* Dark backgrounds above and below video */
.video-background-top,
.video-background-bottom {
    background-color: rgb(10 10 10 / 50%);
    width: 100%;
    height: 40px;
}

/* YouTube Video - Full width */
.youtube-video-container-full {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.youtube-video-container-full iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .background-with-video-container {
        height: 500px;
    }

    .video-background-top,
    .video-background-bottom {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .background-with-video-container {
        height: 450px;
    }

    .video-background-top,
    .video-background-bottom {
        height: 30px;
    }
}



/* navbar toggle button  */
@media (min-width: 992px) and (max-width: 1200px) {

    /* Navbar Mobile Styles */
    .navbar {
        padding: 15px 20px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
        margin-left: auto;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-collapse {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: #fbfbfc;
        padding: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        right: 0;
    }

    .overlay {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .overlay.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 0;
        margin: 0;
        border-bottom: none !important;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border-left: 2px solid var(--primary-color);
        margin-left: 15px;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-toggle::after {
        display: inline-block !important;
        margin-left: 0.255em;
        vertical-align: 0.255em;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        transition: transform 0.3s ease;
    }

    .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(-180deg);
    }

    /* About Section Mobile Styles */
    .about-page-section {
        flex-direction: column-reverse;
        padding: 30px 20px !important;
    }

    .about-page-text,
    .about-page-image {
        max-width: 100%;
    }

    .about-page-image {
        padding: 0px !important;
    }

    .about-page-image img {
        border-radius: 0px !important;
        width: 100% !important;
    }

    .about-page-title {
        font-size: 36px !important;
        margin-top: 20px;
    }

    .about-page-subtitle {
        font-size: 18px;
    }

    .about-page-content {
        font-size: 16px;
        max-width: 100%;
    }

    /* Mission/Vision Sections */
    .mission-section {
        padding: 0 20px 30px !important;
    }

    .mission-section h2 {
        font-size: 1.5rem;
        margin: 30px 0 15px;
    }

    .mission-section h3 {
        font-size: 1.8rem !important;
        margin: 0 0 20px;
    }

    .text-box p {
        font-size: 1rem;
        padding: 15px 0;
    }

    /* Team Section */
    .team-section {
        padding: 30px 15px;
    }

    .team-card {
        margin-bottom: 20px;
    }

    .team-position {
        font-size: 24px;
    }

    /* Footer Mobile Styles */
    .footer {
        padding: 30px 20px;
    }

    .footer .row>div {
        margin-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer .row>div:not(:first-child) {
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid #333;
    }

    .social-icons {
        flex-direction: row !important;
        justify-content: center;
        gap: 15px !important;
    }

    .social-icons a {
        display: inline-block !important;
        margin: 0 5px !important;
    }
}


/* new section for gallery  */
/* Media Gallery Section */
.media-gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Sidebar Styling */
.sidebar-menu {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.sidebar-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #C02C2C;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.menu-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.menu-item.active {
    background: #C02C2C;
    color: white;
}

.menu-icon {
    font-size: 20px;
    width: 30px;
}

.menu-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.menu-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 14px;
}

/* Content Area */
.media-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.content-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.content-subtitle {
    color: #7f8c8d;
    margin: 5px 0 0 0;
}

/* Slider Buttons */
.slider-buttons {
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 10px;
}

.slider-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.slider-btn:hover {
    background: #e9ecef;
}

.slider-btn.active {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    color: #C02C2C;
}

/* Images Grid */
.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
}

.image-wrapper {
    position: relative;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
    border-radius: 10px;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-wrapper:hover .image-overlay {
    transform: translateY(0);
}

.image-title {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.image-date {
    font-size: 14px;
    opacity: 0.8;
}

/* Video Sections */
.video-section {
    margin-bottom: 40px;
}

.video-section-title {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    gap: 20px;
}

.horizontal-videos {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.vertical-videos {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Video Items */
.video-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 for horizontal */
    overflow: hidden;
}

.video-thumbnail.vertical {
    padding-top: 177.78%;
    /* 9:16 for vertical */
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #C02C2C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background: #C02C2C;
    transform: translate(-50%, -50%) scale(1.1);
}

.reel-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 15px;
    flex: 1;
}

.video-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #2c3e50;
}

.video-desc {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.video-duration,
.video-views {
    font-size: 12px;
    color: #95a5a6;
    font-weight: 500;
}

/* Content Visibility */
.media-content-area {
    display: none;
}

.media-content-area.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .sidebar-menu {
        margin-bottom: 30px;
    }

    .content-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .slider-buttons {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .horizontal-videos {
        grid-template-columns: 1fr;
    }

    .vertical-videos {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* new  */
/* Add to your existing CSS */

/* Event Content */
.event-content {
    display: none;
}

.event-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #C02C2C;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

/* Videos Grid Layout */
/* Video Section */
.video-section {
    margin-bottom: 40px;
}

.video-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-section-title i {
    color: #C02C2C;
}

/* Video Rows */
.video-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Video Items */
.video-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* YouTube Full Width (Left column) */
.youtube-full {
    grid-column: 1;
}

/* Instagram Reel (Right column) */
.instagram-reel {
    grid-column: 2;
}

/* Regular YouTube (Right column in other rows) */
.youtube-video {
    grid-column: 2;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    /* background: #000; */
}

.youtube-full .video-container {
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
}

.youtube-video .video-container {
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
}

.instagram-reel .video-container {
    padding-top: 177.78%;
    /* 9:16 aspect ratio for reels */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video Info */
.video-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Video Badge */
.video-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    width: fit-content;
}

.youtube-badge {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.instagram-badge {
    background: linear-gradient(45deg, rgba(253, 244, 151, 0.1), rgba(253, 89, 73, 0.1), rgba(214, 36, 159, 0.1));
    color: #E1306C;
}

/* Video Title */
.video-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.youtube-full .video-title {
    font-size: 20px;
}

/* Video Description */
.video-desc {
    font-size: 14px;
    color: #5d6d7e;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.youtube-full .video-desc {
    font-size: 15px;
}

/* Video Date */
.video-date {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 992px) {
    .video-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .video-info {
        padding: 15px;
    }

    .video-title {
        font-size: 16px;
    }

    .video-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .video-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .youtube-full,
    .instagram-reel,
    .youtube-video {
        grid-column: 1;
    }

    .instagram-reel .video-container {
        padding-top: 125%;
        /* Slightly taller on mobile */
    }

    .video-section-title {
        font-size: 20px;
    }
}

/* Add subtle border for YouTube videos */
.youtube-full .video-container,
.youtube-video .video-container {
    border-bottom: 3px solid #FF0000;
}

.instagram-reel .video-container {
    border-bottom: 3px solid #E1306C;
}




















/* new section demo on  */
/* ===============================
   MEDIA GALLERY (GRID BASED)
================================ */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: auto;
    /* changed from 160px */
    gap: 6px;
    padding: 14px;
}

/* ===============================
   COMMON CARD STYLES
================================ */
.media-card {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    animation: fadeInUp 0.5s ease forwards;
}

.media-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* ===============================
   YOUTUBE (HORIZONTAL)
================================ */
.media-card.youtube {
    grid-column: span 2;
    grid-row: span 3;
    aspect-ratio: 16 / 9;
    height: 400px !important;
}

/* ===============================
   REELS (VERTICAL)
================================ */
.media-card.reel {
    grid-column: span 1;
    grid-row: span 4;
    aspect-ratio: 9 / 16;
    height: 500px;
}

/* ===============================
   IFRAME STYLING
================================ */
.media-card iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Hide scrollbars (Instagram reels) */
.media-card.reel iframe {
    overflow: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.media-card.reel iframe::-webkit-scrollbar {
    display: none !important;
}



/* ===============================
   GRADIENT OVERLAY
================================ */
.media-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 60px;
    pointer-events: none;
}

.media-card.youtube::after {
    background: linear-gradient(transparent, rgba(255, 0, 0, 0.08));
}

.media-card.reel::after {
    background: linear-gradient(transparent, rgba(225, 48, 108, 0.08));
}

/* ===============================
   ANIMATION
================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-card:nth-child(1) {
    animation-delay: 0.1s;
}

.media-card:nth-child(2) {
    animation-delay: 0.2s;
}

.media-card:nth-child(3) {
    animation-delay: 0.3s;
}

.media-card:nth-child(4) {
    animation-delay: 0.4s;
}

.media-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* ===============================
   TABLET
================================ */
@media (max-width: 1024px) {
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 170px;
    }

    .media-card.youtube {
        grid-column: span 2;
        grid-row: span 3;
    }
}

/* ===============================
   MOBILE
================================ */
@media (max-width: 768px) {
    .media-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .media-card.youtube,
    .media-card.reel {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: auto;
    }

    .media-card.youtube {
        aspect-ratio: 16 / 9;
    }

    .media-card.reel {
        aspect-ratio: 9 / 16;
        max-width: 320px;
        margin: 0 auto;
    }
}


/* good but space good  */



/* add responsive new  */
