/* =========================
   Hero Section (TMT)
========================= */
.tmt-hero {
    position: relative;
    background: url("../images/magadhtmtlink.webp") center/cover no-repeat;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Overlay */
.tmt-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    padding: 30px 40px;
    border-radius: 12px;
    animation: fadeIn 2s ease-in-out;
}

/* Title */
.tmt-hero .hero-title {
    font-size: 42px;
    color: #fff;
    font-weight: 700;
}

.tmt-hero .hero-title span {
    color: #ee1d24;
    /* Magadh brand red */
}

/* Subtitle */
.tmt-hero .hero-subtitle {
    font-size: 18px;
    color: #ddd;
    margin-top: 10px;
}

/* Fade-in Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive Hero Section */
@media (max-width: 992px) {
    .tmt-hero {
        height: 50vh;
    }

    .tmt-hero .hero-title {
        font-size: 32px;
    }

    .tmt-hero .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .tmt-hero {
        height: 45vh;
        padding: 0 15px;
    }

    .tmt-hero .hero-title {
        font-size: 26px;
    }

    .tmt-hero .hero-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tmt-hero {
        height: 40vh;
    }

    .tmt-hero .hero-title {
        font-size: 22px;
    }

    .tmt-hero .hero-subtitle {
        font-size: 13px;
    }
}

/* =========================
   Content Section (TMT)
========================= */
.tmt-content {
    padding: 60px 6%;
    background: #fff;
}

.tmt-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: justify;
}

.tmt-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 20px;
}

.tmt-text h2 span {
    color: var(--brand-red);
}

.tmt-text p {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 16px;
    color: #444;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* Staggered animation for paragraphs */
.tmt-text p:nth-child(2) {
    animation-delay: 0.2s;
}

.tmt-text p:nth-child(3) {
    animation-delay: 0.4s;
}

.tmt-text p:nth-child(4) {
    animation-delay: 0.6s;
}

.tmt-text p:nth-child(5) {
    animation-delay: 0.8s;
}

.tmt-text p:nth-child(6) {
    animation-delay: 1s;
}

/* Fade-in-up keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive Content */
@media (max-width: 768px) {
    .tmt-text h2 {
        font-size: 24px;
    }

    .tmt-text p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .tmt-text h2 {
        font-size: 20px;
    }

    .tmt-text p {
        font-size: 14px;
    }
}

/* Link Product Range Section */
.link-product-range {
    padding: 70px 6%;
    background: #f9f9f9;
    text-align: center;
}

.link-product-range h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--brand-blue);
}

.link-product-range h2 span {
    color: var(--brand-red);
}

.link-product-range p {
    font-size: 16px;
    color: #000000;
    margin-bottom: 40px;
}

/* Grid Layout */
.link-range-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* Card Design */
.link-card {
    background: #242176;
    /* Solid Blue background */
    color: #fff;
    padding: 30px 25px;
    border-radius: 100px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    text-align: center;
}

.link-card .icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
    animation: bounce 2s infinite;
}

.link-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.link-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
}

/* Hover Effect - Gradient */
.link-card:hover {
    background: linear-gradient(135deg, #242176, #ee1d24);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Bounce Animation for Icons */
@keyframes bounce {

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

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Fade In Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .link-product-range h2 {
        font-size: 26px;
    }

    .link-card {
        padding: 20px;
    }

    .link-card .icon {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .link-product-range h2 {
        font-size: 22px;
    }

    .link-card h3 {
        font-size: 18px;
    }

    .link-card p {
        font-size: 14px;
    }

    .link-card .icon {
        font-size: 28px;
    }
}




/* Magadh Link Section */
.magadh-link-advantages {
    padding: 70px 6%;
    background: #f9f9f9;
}

.magadh-link-heading {
    text-align: center;
    margin-bottom: 40px;
}

.magadh-link-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: #242176;
    /* Brand Blue */
}

.magadh-link-heading h2 span {
    color: #ee1d24;
    /* Brand Red */
}

.magadh-link-heading p {
    font-size: 16px;
    color: #444;
    margin-top: 10px;
}

/* Two Columns */
.magadh-link-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.magadh-link-column h3 {
    font-size: 22px;
    color: #242176;
    margin-bottom: 20px;
}

.magadh-link-list {
    display: grid;
    gap: 20px;
}

/* Cards */
.magadh-link-card {
    background: #242176;
    color: #fff;
    padding: 18px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.magadh-link-card .magadh-link-icon {
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}

/* Hover Gradient */
.magadh-link-card:hover {
    background: linear-gradient(135deg, #242176, #ee1d24);
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .magadh-link-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .magadh-link-heading h2 {
        font-size: 26px;
    }

    .magadh-link-column h3 {
        font-size: 20px;
    }

    .magadh-link-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .magadh-link-heading h2 {
        font-size: 22px;
    }

    .magadh-link-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Magadh Link Section */
.magadh-link-advantages {
    padding: 70px 6%;
    background: repeating-linear-gradient(135deg,
            #f9f9f9,
            #f9f9f9 20px,
            #f1f1f1 20px,
            #f1f1f1 40px);
    background-size: cover;
}