/* ==============================================================
   RADICAL REDESIGN - NEW HINDUSTAN TUBES (HOME PREMIUM)
   ============================================================== */

/* GLOBAL RESETS FOR RADICAL DESIGN */
.radical-home {
    font-family: "Lexend", sans-serif;
    color: #1a1a1a;
    background-color: #fafbfc;
    overflow-x: hidden;
}

.radical-home img {
    max-width: 100%;
    display: block;
}

/* Typography Enhancements */
.r-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
}

.r-section-title span {
    color: #1f3a69;
}

.text-white {
    color: #fff !important;
}

.text-gray {
    color: #c0c5ce;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 1. SPLIT HERO SECTION */
.r-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 5% 50px 5%;
    background: url('../images/bg.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1;
}

.r-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: -1;
}

.r-hero-text {
    flex: 1;
    padding-right: 50px;
    max-width: 600px;
    z-index: 2;
}

.r-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.r-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.r-subtitle {
    font-size: 1.2rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
}

.r-hero-actions {
    display: flex;
    gap: 20px;
}

.r-btn-primary {
    padding: 15px 35px;
    background: #1f3a69;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(31, 58, 105, 0.2);
}

.r-btn-primary:hover {
    background: #0a1936;
    transform: translateY(-3px);
}

.r-btn-secondary {
    padding: 15px 35px;
    background: #fff;
    color: #1f3a69;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #1f3a69;
}

.r-btn-secondary:hover {
    background: #1f3a69;
    color: #fff;
}

.r-hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.r-hero-image-wrapper {
    width: 75%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: transform 0.5s;
}

.r-hero-image-wrapper:hover {
    transform: rotate(0deg);
}

.r-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r-floating-card {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background: #fff;
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.r-floating-card h3 {
    font-size: 2.5rem;
    color: #1f3a69;
    font-weight: 900;
    margin-bottom: 5px;
}

.r-floating-card p {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@media(max-width: 1024px) {
    .r-hero {
        flex-direction: column;
        padding-top: 120px;
        text-align: center;
    }

    .r-hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }

    .r-title {
        font-size: 3rem;
    }

    .r-hero-actions {
        justify-content: center;
    }

    .r-hero-image-wrapper {
        height: 400px;
        transform: none;
        width: 100%;
    }

    .r-floating-card {
        display: none;
    }
}

/* 2. TRUST STATS STRIP */
.r-stats-strip {
    display: flex;
    justify-content: space-around;
    background: #0a1936;
    padding: 40px 5%;
    color: #fff;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.r-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.r-stat h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1f3a69;
    -webkit-text-stroke: 1px #fff;
    line-height: 1;
}

.r-stat span {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #dcdcdc;
}

@media(max-width: 768px) {
    .r-stats-strip {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .r-stat {
        flex-direction: column;
        gap: 5px;
    }
}

/* 3. ASYMMETRIC ABOUT US */
.r-about {
    display: flex;
    align-items: center;
    padding: 120px 5%;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.r-about-grid {
    flex: 1;
    position: relative;
}

.r-about-img-large {
    width: 80%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.r-about-img-large img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.r-about-img-small {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 50%;
    border-radius: 20px;
    overflow: hidden;
    border: 10px solid #fafbfc;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.r-about-img-small img {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

.r-about-content {
    flex: 1;
}

.r-about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.r-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1f3a69;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: gap 0.3s;
}

.r-link-arrow:hover {
    gap: 15px;
    color: #0a1936;
}

@media(max-width: 1024px) {
    .r-about {
        flex-direction: column;
    }

    .r-about-img-small {
        display: none;
    }

    .r-about-img-large {
        width: 100%;
    }
}

/* 4. BENTO-BOX PRODUCT GRID */
.r-products {
    padding: 100px 5%;
    background: #fff;
}

.r-products-header {
    text-align: center;
    margin-bottom: 60px;
}

.r-products-header p {
    font-size: 1.2rem;
    color: #666;
}

.r-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.r-bento-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.r-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.r-bento-item:hover img {
    transform: scale(1.1);
}

.r-bento-item.large-span {
    grid-column: span 2;
    grid-row: span 2;
}

.r-bento-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.r-bento-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: #ffffff;
    color: #1f3a69;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s;
}

.large-span .r-bento-overlay h3 {
    font-size: 1.6rem;
}

.r-btn-view {
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: #1f3a69;
    padding: 8px 16px;
    border-radius: 20px;
    margin-left: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.r-bento-item:hover .r-bento-overlay h3 {
    background: #1f3a69;
    color: #ffffff;
}

.r-bento-item:hover .r-btn-view {
    transform: translateY(0);
    opacity: 1;
}

@media(max-width: 1024px) {
    .r-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .r-bento-grid {
        grid-template-columns: 1fr;
    }

    .r-bento-item.large-span {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* 5. DARK MODE - WHY CHOOSE US */
.r-dark-section {
    background: #050d1a;
    padding: 120px 5%;
}

.r-dark-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    align-items: center;
}

.r-dark-left {
    flex: 1;
}

.r-feature-list {
    list-style: none;
    padding: 0;
}

.r-feature-list li {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.r-feature-list i {
    color: #4CAF50;
    font-size: 1.5rem;
}

.r-dark-right {
    flex: 1;
}

.r-app-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.r-app-box h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.r-app-box p {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 30px;
}

.r-app-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.r-app-tags span {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.r-app-tags span:hover {
    background: #1f3a69;
}

@media(max-width: 1024px) {
    .r-dark-container {
        flex-direction: column;
    }
}

/* 6. QUALITY CONTROL HERO */
.r-quality-parallax {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/mid.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 150px 5%;
    text-align: center;
}

.r-quality-content {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.r-quality-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* 7. SEAMLESS CLIENT MARQUEE */
.r-clients {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.r-client-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.r-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.r-marquee::before,
.r-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.r-marquee::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.r-marquee::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.r-marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    align-items: center;
}

.r-marquee-img {
    height: 60px;
    margin: 0 40px;
    transition: transform 0.3s;
}

.r-marquee-img:hover {
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

/* SCROLL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease-out;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* GLOW EFFECTS */
.r-btn-primary {
    position: relative;
    overflow: hidden;
}

.r-btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    transform: scale(0.5);
}

.r-btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Animated Gradient Background */
.r-dark-section {
    background: linear-gradient(-45deg, #050d1a, #0a1936, #050d1a, #112240);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

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

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

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

/* ROTATING COMPONENTS */
.r-rotating-badge {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 140px;
    height: 140px;
    z-index: 10;
    animation: rotateText 15s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.r-badge-center {
    position: absolute;
    font-size: 30px;
    color: #1f3a69;
    animation: rotateTextReverse 15s linear infinite;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateTextReverse {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.r-scroll-gear {
    position: absolute;
    top: -50px;
    right: 10%;
    font-size: 250px;
    color: rgba(255, 255, 255, 0.05);
    z-index: 0;
    pointer-events: none;
}

.r-scroll-gear-2 {
    position: absolute;
    bottom: -80px;
    left: -50px;
    font-size: 400px;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
}

/* CREATIVE ANIMATIONS */
.r-spotlight {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    opacity: 0;
    z-index: 1;
}

.r-dark-section:hover .r-spotlight {
    opacity: 1;
}

.r-btn-primary {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.r-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: shimmer 4s infinite;
    z-index: -1;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.r-title-gradient-anim {
    background-size: 200% auto;
    animation: textShine 5s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}


/* DETAILED SHOWCASE */
.r-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.r-showcase-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
}

.r-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.r-showcase-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.r-showcase-card:hover .r-showcase-img {
    transform: scale(1.05);
}

.r-showcase-content {
    padding: 30px;
}

.r-showcase-content h3 {
    font-size: 1.5rem;
    color: #1f3a69;
    margin-bottom: 15px;
    font-weight: 700;
}

.r-showcase-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.r-showcase-btn {
    display: inline-flex;
    align-items: center;
    color: #1f3a69;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.r-showcase-btn i {
    margin-left: 10px;
    transition: transform 0.3s;
}

.r-showcase-btn:hover {
    color: #d63333;
}

.r-showcase-btn:hover i {
    transform: translateX(5px);
}

/* CONTACT SPLIT */
.r-contact-split {
    display: flex;
    min-height: 600px;
    margin: 80px 5%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.r-contact-left {
    flex: 1;
    background: url('../images/ide1.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 50px;
}

.r-contact-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.r-contact-info-card {
    position: relative;
    background: rgba(5, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    color: #fff;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.r-contact-info-card h3 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.r-contact-info-card p {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.r-contact-info-card i {
    margin-right: 15px;
    color: #cbd5e1;
}

.r-contact-right {
    flex: 1;
    background: #fff;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.r-contact-right h2 {
    font-size: 2.5rem;
    color: #1f3a69;
    margin-bottom: 10px;
}

.r-contact-right>p {
    color: #555;
    margin-bottom: 40px;
}

.r-form-group {
    margin-bottom: 25px;
    position: relative;
}

.r-form-group input,
.r-form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
    background: #f8fafc;
}

.r-form-group input:focus,
.r-form-group textarea:focus {
    outline: none;
    border-color: #1f3a69;
    background: #fff;
}

.r-form-group textarea {
    height: 150px;
    resize: none;
}

.r-form-submit {
    display: inline-block;
    padding: 15px 40px;
    background: #1f3a69;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.r-form-submit:hover {
    background: #d63333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 51, 51, 0.2);
}

@media (max-width: 992px) {
    .r-contact-split {
        flex-direction: column;
    }

    .r-contact-left {
        min-height: 400px;
    }

    .r-contact-right {
        padding: 40px 20px;
    }
}

/* CREATIVE CARD EFFECTS */
.r-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 75%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-25deg);
    z-index: 10;
    pointer-events: none;
}

.r-showcase-card:hover::before {
    animation: cardShine 0.8s ease-in-out;
}

@keyframes cardShine {
    0% {
        left: -150%;
    }

    100% {
        left: 200%;
    }
}

.r-showcase-card:hover {
    box-shadow: 0 25px 50px rgba(31, 58, 105, 0.25);
    outline: 2px solid rgba(31, 58, 105, 0.1);
}

/* CREATIVE INTERACTIVE MAP */
.r-creative-map {
    position: relative;
    width: 90%;
    margin: 100px auto;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateX(3deg);
    transition: transform 0.5s, box-shadow 0.5s;
    z-index: 10;
}

.r-creative-map:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
    box-shadow: 0 40px 100px rgba(31, 58, 105, 0.4);
}

.r-creative-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    filter: grayscale(50%) contrast(1.2);
    transition: filter 0.8s;
}

.r-creative-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.r-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 58, 105, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: opacity 0.6s, visibility 0.6s;
    pointer-events: none;
}

.r-creative-map:hover .r-map-overlay {
    opacity: 0;
    visibility: hidden;
}

.r-map-overlay i {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    color: #cbd5e1;
}

.r-map-overlay h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.r-map-overlay p {
    font-size: 1.2rem;
    color: #e2e8f0;
}