/* magadhtmt  */

.magadh-hero {
    position: relative;
    background: url("../images/bannner-1.png") center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay styling */
.magadh-overlay {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
    border-radius: 12px;
    animation: fadeIn 1.5s ease-in-out forwards;
}

/* Title styling */
.magadh-title {
    font-size: 42px;
    color: #fff;
    margin: 0;
    animation: fadeDown 1.5s ease-in-out forwards;
}

.magadh-title span {
    color: var(--brand-red);
}

/* Subtitle styling */
.magadh-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-top: 10px;
    animation: fadeUp 1.5s ease-in-out forwards;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .magadh-title {
        font-size: 36px;
    }

    .magadh-subtitle {
        font-size: 16px;
    }

    .magadh-overlay {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .magadh-title {
        font-size: 28px;
    }

    .magadh-subtitle {
        font-size: 14px;
    }

    .magadh-overlay {
        padding: 20px 10px;
    }
}



/* Content Section */
.tmt-content {
    position: relative;
    padding: 70px 20px;
    background: linear-gradient(-45deg, #f8f9fc, #e8ecf7, #f9f9ff, #e0e5fa);
    background-size: 400% 400%;
    animation: tmt-gradientBG 15s ease infinite;
    overflow: hidden;
}

@keyframes tmt-gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.tmt-container {
    max-width: 1300px;
    margin: auto;
}

/* Text */
.tmt-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: center;
}

.tmt-text p {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

/* Fade-in Animation */
.tmt-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: tmt-fadeUp 1s forwards;
}

.tmt-delay-1 {
    animation-delay: 0.3s;
}

.tmt-delay-2 {
    animation-delay: 0.6s;
}

@keyframes tmt-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Shapes */
.tmt-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 49, 146, 0.1);
    animation: tmt-float 8s ease-in-out infinite;
    z-index: 0;
}

.tmt-shape-1 {
    width: 250px;
    height: 250px;
    top: -80px;
    left: -80px;
}

.tmt-shape-2 {
    width: 180px;
    height: 180px;
    bottom: -60px;
    right: -60px;
}

@keyframes tmt-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}

/* =========================
   Responsive: Mobile
   ========================= */
@media (max-width: 992px) {
    .tmt-text h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .tmt-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .tmt-text h1 {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .tmt-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}


/* Features Section */
.tmt-features {
    padding: 70px 20px;
    background: #f9f9ff;
}

.tmt-section-title {
    font-size: 2rem;
    color: #2e3192;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

.tmt-cards-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.tmt-card {
    flex: 1 1 calc(20% - 20px);
    /* five cards in a row */
    background: linear-gradient(135deg, #2e3192, #d2f704);
    color: #fff;
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tmt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tmt-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    font-weight: 700;
}

.tmt-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Icons */
.tmt-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

/* Fade-in Animation (reuse) */
.tmt-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: tmt-fadeUp 1s forwards;
}

.tmt-delay-1 {
    animation-delay: 0.3s;
}

.tmt-delay-2 {
    animation-delay: 0.5s;
}

.tmt-delay-3 {
    animation-delay: 0.7s;
}

.tmt-delay-4 {
    animation-delay: 0.9s;
}

.tmt-delay-5 {
    animation-delay: 1.1s;
}

.tmt-delay-6 {
    animation-delay: 1.3s;
}

.tmt-delay-7 {
    animation-delay: 1.5s;
}

@keyframes tmt-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tmt-card {
        flex: 1 1 48%;
    }
}

@media (max-width: 600px) {
    .tmt-card {
        flex: 1 1 100%;
    }
}


/* =========================
   TMT 550+ Section Styles
   ========================= */
/* Section */
.tmt-550plus-section {
    padding: 60px 20px;
    background: #f9f9fc;
}

.tmt-550plus-title span {
    color: #ee1d24;
    /* red */
}

.tmt-550plus-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 15px;
}

.tmt-550plus-intro {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 40px;
    color: #444;
}

/* Cards layout */
.tmt-550plus-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tmt-550plus-card {
    flex: 1 1 calc(20% - 20px);
    background: #fff;
    border-radius: 14px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.tmt-550plus-card:nth-child(1) {
    animation-delay: 0.2s;
}

.tmt-550plus-card:nth-child(2) {
    animation-delay: 0.4s;
}

.tmt-550plus-card:nth-child(3) {
    animation-delay: 0.6s;
}

.tmt-550plus-card:nth-child(4) {
    animation-delay: 0.8s;
}

.tmt-550plus-card:nth-child(5) {
    animation-delay: 1s;
}

/* Hover effect */
.tmt-550plus-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tmt-550plus-card:hover .tmt-550plus-icon {
    color: #ee1d24;
    transform: scale(1.2);
}

.tmt-550plus-card h3 {
    font-size: 1.1rem;
    margin: 12px 0;
    font-weight: 700;
    color: #2e3192;
}

.tmt-550plus-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
}

.tmt-550plus-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2e3192;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .tmt-550plus-card {
        flex: 1 1 45%;
    }
}

@media (max-width: 600px) {
    .tmt-550plus-card {
        flex: 1 1 100%;
    }

    .tmt-550plus-title {
        font-size: 1.5rem;
    }
}




/* Magadh TMT Trust Section */
.tmt-trust-section {
    padding: 0px 20px;
    background: #f9f9fc;
}

.tmt-trust-container {
    max-width: 1200px;
    margin: auto;
}

/* Rows */
.tmt-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Row 2 reverse */
.tmt-trust-row.reverse {
    flex-direction: row-reverse;
}

/* Text Content */
.tmt-trust-text {
    flex: 1;
}

.tmt-trust-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #2e3192;
    margin-bottom: 20px;
}

.tmt-trust-text h2 span {
    color: #ee1d24;
}

.tmt-trust-text h3 {
    font-size: 1.3rem;
    color: #2e3192;
    margin: 15px 0 10px;
}

.tmt-trust-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #444;
    text-align: justify;
}

.tmt-trust-text ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.tmt-trust-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
    color: #333;
}

.tmt-trust-text ul li::before {
    content: "✔";
    color: #ee1d24;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Images */
.tmt-trust-image {
    flex: 1;
    text-align: center;
}

.tmt-trust-image img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.tmt-trust-image img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {

    .tmt-trust-row,
    .tmt-trust-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .tmt-trust-text {
        text-align: center;
    }

    .tmt-trust-text p {
        text-align: center;
    }

    .tmt-trust-text ul {
        text-align: left;
        display: inline-block;
        margin: 15px auto;
    }
}


/* FAQ Section */
.tmt-faq-section {
    padding: 60px 20px;
    background: #f9f9fc;
}

.tmt-faq-container {
    max-width: 900px;
    margin: auto;
}

.tmt-faq-container h2 {
    font-size: 2rem;
    color: #ee1d24;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}

.tmt-faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tmt-faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    background: #2e3192;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.tmt-faq-question:hover {
    background: #ee1d24;
}

.tmt-faq-question.active {
    background: #ee1d24;
}

.tmt-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff;
    padding: 0 20px;
}

.tmt-faq-answer p {
    margin: 15px 0;
    line-height: 1.7;
    color: #444;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tmt-faq-question {
        font-size: 0.95rem;
        padding: 15px 18px;
    }

    .tmt-faq-answer p {
        font-size: 0.9rem;
    }
}