/* =========================================================
   RUDRA SHIPPING & LOGISTICS LLC
   FULL RESPONSIVE CSS
   ========================================================= */


/* =========================================================
   TABLET / SMALL LAPTOP
   1200px AND BELOW
   ========================================================= */

@media (max-width: 1200px) {

    /* -----------------------------------------------------
       GLOBAL
       ----------------------------------------------------- */

    .nav-container,
    .hero-container,
    .about-container,
    .services-container,
    .industries-container,
    .why-rudra-container,
    .contact-container,
    .quote-container,
    .footer-container,
    .footer-bottom-container {
        width: min(92%, 1100px);
    }


    /* -----------------------------------------------------
       NAVBAR
       ----------------------------------------------------- */

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .brand-name {
        font-size: 15px;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero-container {
        padding: 130px 0 90px;
    }

    .hero-content {
        max-width: 700px;
    }

    .hero h1 {
        font-size: clamp(44px, 5vw, 68px);
    }


    /* -----------------------------------------------------
       ABOUT
       ----------------------------------------------------- */

    .about-container {
        gap: 55px;
    }

    .about-content h2 {
        font-size: 44px;
    }


    /* -----------------------------------------------------
       SERVICES
       ----------------------------------------------------- */

    .services-interactive {
        gap: 35px;
    }

    .service-feature {
        min-height: 500px;
    }


    /* -----------------------------------------------------
       INDUSTRIES
       ----------------------------------------------------- */

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    /* -----------------------------------------------------
       CONTACT
       ----------------------------------------------------- */

    .contact-container {
        gap: 50px;
    }


    /* -----------------------------------------------------
       QUOTE
       ----------------------------------------------------- */

    .quote-container {
        gap: 50px;
    }

}


/* =========================================================
   TABLET
   992px AND BELOW
   ========================================================= */

@media (max-width: 992px) {

    /* -----------------------------------------------------
       NAVBAR
       ----------------------------------------------------- */

    .navbar {
        padding: 0;
    }

    .nav-container {
        min-height: 78px;
        position: relative;
    }

    /*
       IMPORTANT:
       Hamburger is visible on tablet/mobile.
    */

    .hamburger {
        display: flex;
        width: 42px;
        height: 42px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        cursor: pointer;
        z-index: 1002;
        flex-shrink: 0;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background: currentColor;
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }


    /*
       MOBILE DROPDOWN
    */

    .nav-menu {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;

        width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;

        padding: 10px 0 15px;

        background: #ffffff;

        border-top: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);

        z-index: 1001;

        /*
           Hidden by default
        */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);

        pointer-events: none;

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;
    }


    /*
       JS adds .active
    */

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }


    .nav-menu a {
        width: 100%;
        box-sizing: border-box;

        padding: 14px 24px;

        font-size: 15px;

        text-align: left;
    }


    .nav-menu a:hover {
        background: rgba(165, 54, 50, 0.06);
    }


    .nav-menu .quote-btn {
        width: calc(100% - 40px);
        margin: 10px 20px 0;

        text-align: center;
    }


    /*
       HAMBURGER ANIMATION
    */

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        min-height: auto;
        height: auto;

        position: relative;

        display: flex;
        align-items: center;

        overflow: hidden;
    }

    .hero-container {
        min-height: 680px;

        padding: 150px 0 100px;

        display: flex;
        align-items: center;
    }

    .hero-content {
        width: 100%;
        max-width: 720px;

        position: relative;
        z-index: 5;
    }

    .hero h1 {
        font-size: clamp(42px, 6vw, 62px);
        line-height: 1.08;
    }

    .hero-description {
        max-width: 620px;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }


    /* -----------------------------------------------------
       ABOUT
       ----------------------------------------------------- */

    .about-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        width: 100%;
        max-height: 500px;
    }

    .about-image img {
        width: 100%;
        height: 100%;
        min-height: 400px;
        object-fit: cover;
    }

    .about-content {
        max-width: 750px;
    }


    /* -----------------------------------------------------
       GLOBAL NETWORK
       ----------------------------------------------------- */

    .global-network {
        padding: 80px 0;
    }

    .network-heading {
        width: min(90%, 800px);
        margin: 0 auto 45px;
        text-align: center;
    }

    .map-wrapper {
        width: 94%;
        margin: auto;
        overflow: hidden;
    }

    .global-network-video {
        width: 100%;
        height: auto;
        min-height: 350px;
        object-fit: cover;
    }


    /* -----------------------------------------------------
       SERVICES
       ----------------------------------------------------- */

    .services-interactive {
        grid-template-columns: 1fr;
    }

    .service-feature {
        min-height: 500px;
    }

    .service-navigation {
        width: 100%;
    }


    /* -----------------------------------------------------
       INDUSTRIES
       ----------------------------------------------------- */

    .industries {
        padding: 80px 0;
    }

    .industries-heading {
        max-width: 750px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .industry-card {
        min-height: 420px;
    }


    /* -----------------------------------------------------
       WHY RUDRA
       ----------------------------------------------------- */

    .why-rudra-list {
        width: 100%;
    }


    /* -----------------------------------------------------
       CONTACT
       ----------------------------------------------------- */

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-content {
        max-width: 750px;
    }

    .contact-panel {
        width: 100%;
    }


    /* -----------------------------------------------------
       QUOTE
       ----------------------------------------------------- */

    .quote-container {
        grid-template-columns: 1fr;
    }

    .quote-intro {
        max-width: 750px;
    }

}


/* =========================================================
   MOBILE
   768px AND BELOW
   ========================================================= */

@media (max-width: 768px) {

    /* -----------------------------------------------------
       GLOBAL
       ----------------------------------------------------- */

    html {
        scroll-behavior: smooth;
    }

    body {
        overflow-x: hidden;
    }

    section {
        overflow: hidden;
    }


    .nav-container,
    .hero-container,
    .about-container,
    .services-container,
    .industries-container,
    .why-rudra-container,
    .contact-container,
    .quote-container,
    .footer-container,
    .footer-bottom-container {
        width: calc(100% - 36px);
        max-width: none;
    }


    /* -----------------------------------------------------
       NAVBAR
       ----------------------------------------------------- */

    .nav-container {
        min-height: 70px;
    }

    .brand {
        max-width: calc(100% - 60px);
    }

    .brand img {
        width: 43px;
        height: 43px;
        object-fit: contain;
        flex-shrink: 0;
    }

    .brand-name {
        font-size: 12px;
        line-height: 1.15;
    }

    .brand-name .rudra,
    .brand-name .logistics {
        display: block;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }


    /*
       MOBILE MENU
    */

    .nav-menu {
        position: fixed;

        top: 70px;
        left: 0;
        right: 0;

        width: 100%;

        max-height: calc(100vh - 70px);

        overflow-y: auto;

        padding: 10px 18px 20px;

        box-sizing: border-box;

        background: #ffffff;

        border-top: 1px solid rgba(0, 0, 0, 0.08);

        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.15);

        transform: translateY(-15px);

        z-index: 9999;
    }

    .nav-menu a {
        padding: 15px 8px;

        font-size: 15px;

        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu .quote-btn {
        margin: 12px 0 0;

        width: 100%;
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero {
        width: 100%;
        min-height: 0;

        background-position: center center;
        background-size: cover;

        overflow: hidden;
    }


    /*
       VERY IMPORTANT:
       Do not use absolute positioning for hero content
       on mobile.
    */

    .hero-container {
        width: calc(100% - 36px);

        min-height: 0;

        padding: 125px 0 75px;

        display: block;

        position: relative;

        z-index: 3;
    }


    .hero-content {
        position: relative;

        width: 100%;
        max-width: 100%;

        z-index: 5;
    }


    .hero-tag {
        font-size: 11px;

        letter-spacing: 1.5px;

        margin-bottom: 16px;
    }


    .hero h1 {
        width: 100%;

        margin: 0 0 20px;

        font-size: clamp(36px, 10vw, 50px);

        line-height: 1.08;

        word-break: normal;
    }


    .hero h1 span {
        display: block;
    }


    .hero-description {
        width: 100%;
        max-width: 100%;

        font-size: 15px;

        line-height: 1.7;

        margin-bottom: 28px;
    }


    /*
       BUTTONS WERE DISAPPEARING:
       Make them normal-flow elements.
    */

    .hero-buttons {
        position: relative;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 12px;

        margin-top: 10px;

        z-index: 10;
    }


    .hero-buttons a {
        display: flex;

        width: 100%;

        min-height: 52px;

        box-sizing: border-box;

        align-items: center;
        justify-content: center;

        padding: 14px 20px;

        text-align: center;

        position: relative;

        z-index: 10;
    }


    .hero-features {
        width: 100%;

        margin-top: 30px;

        display: flex;

        flex-direction: column;

        gap: 12px;
    }


    .feature {
        font-size: 13px;
    }


    /*
       HERO BACKGROUND / IMAGE FIX
    */

    .hero::before {
        content: "";

        position: absolute;

        inset: 0;

        background-size: cover;
        background-position: center;

        z-index: 0;
    }


    .hero-overlay {
        position: absolute;

        inset: 0;

        z-index: 1;
    }


    /* -----------------------------------------------------
       ABOUT
       ----------------------------------------------------- */

    .about {
        padding: 70px 0;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .about-image {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .about-image img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        display: block;
    }

    .about-content h2 {
        font-size: clamp(34px, 9vw, 45px);
        line-height: 1.1;
    }

    .about-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-features {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .about-btn {
        display: inline-flex;
        margin-top: 20px;
    }


    /* -----------------------------------------------------
       GLOBAL NETWORK
       ----------------------------------------------------- */

    .global-network {
        padding: 70px 0;
    }

    .network-heading {
        width: calc(100% - 36px);

        margin-bottom: 35px;
    }

    .network-heading h2 {
        font-size: clamp(32px, 8vw, 44px);
        line-height: 1.1;
    }

    .network-heading p {
        font-size: 14px;
        line-height: 1.7;
    }


    .map-wrapper {
        width: calc(100% - 24px);

        height: auto;

        min-height: 250px;

        border-radius: 0;

        overflow: hidden;
    }


    .global-network-video {
        display: block;

        width: 100%;
        height: auto;

        min-height: 250px;

        object-fit: cover;

        object-position: center;
    }


    /* -----------------------------------------------------
       SERVICES
       ----------------------------------------------------- */

    .services {
        padding: 70px 0;
    }

    .services-heading h2 {
        font-size: clamp(34px, 8vw, 45px);
        line-height: 1.1;
    }

    .services-intro {
        font-size: 14px;
        line-height: 1.7;
    }


    .services-interactive {
        display: flex;
        flex-direction: column;

        gap: 25px;
    }


    .service-feature {
        width: 100%;

        min-height: 0;

        display: flex;

        flex-direction: column;

        padding: 28px;

        box-sizing: border-box;
    }


    .service-feature-content {
        width: 100%;
    }


    .service-feature-image {
        width: 100%;

        height: 240px;

        margin-top: 25px;

        order: 3;
    }


    .service-feature-image img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        display: block;
    }


    .service-navigation {
        width: 100%;

        display: flex;

        flex-direction: column;
    }


    .service-item {
        width: 100%;

        box-sizing: border-box;

        padding: 18px 0;
    }


    .service-item .service-description {
        display: none;
    }


    /* -----------------------------------------------------
       INDUSTRIES
       ----------------------------------------------------- */

    .industries {
        padding: 70px 0;
    }

    .industries-heading {
        width: 100%;
    }

    .industries-heading h2 {
        font-size: clamp(34px, 8vw, 45px);
        line-height: 1.1;
    }

    .industries-heading > p:last-child {
        font-size: 14px;
        line-height: 1.7;
    }


    .industries-grid {
        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 35px;
    }


    /*
       FLIP CARD MOBILE FIX
    */

    .industry-card {
        width: 100%;

        min-height: 420px;

        height: 420px;

        perspective: 1200px;
    }


    .industry-card-inner {
        width: 100%;
        height: 100%;

        position: relative;

        transform-style: preserve-3d;

        transition: transform 0.7s ease;
    }


    .industry-card.is-flipped .industry-card-inner {
        transform: rotateY(180deg);
    }


    .industry-card-front,
    .industry-card-back {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        box-sizing: border-box;

        backface-visibility: hidden;

        -webkit-backface-visibility: hidden;
    }


    .industry-card-back {
        transform: rotateY(180deg);

        overflow: hidden;

        padding: 28px;
    }


    .industry-card-front img {
        width: 100%;
        height: 100%;

        object-fit: cover;

        display: block;
    }


    .industry-card-content {
        padding: 24px;
    }


    .industry-card-title h3 {
        font-size: 25px;

        line-height: 1.1;
    }


    .industry-card-back h3 {
        font-size: 27px;

        line-height: 1.1;
    }


    .industry-card-back > p:not(.industry-back-label) {
        font-size: 14px;

        line-height: 1.6;
    }


    .industry-card-cta {
        display: inline-flex;

        align-items: center;

        gap: 8px;

        position: relative;

        z-index: 20;
    }


    /* -----------------------------------------------------
       WHY RUDRA
       ----------------------------------------------------- */

    .why-rudra {
        padding: 70px 0;
    }

    .why-rudra-heading h2 {
        font-size: clamp(34px, 8vw, 45px);
        line-height: 1.1;
    }

    .why-rudra-heading > p:last-child {
        font-size: 14px;
        line-height: 1.7;
    }


    .why-rudra-item {
        display: grid;

        grid-template-columns: 45px 1fr 30px;

        gap: 15px;

        padding: 22px 0;
    }


    .why-rudra-content h3 {
        font-size: 18px;
    }

    .why-rudra-content p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* -----------------------------------------------------
       CONTACT
       ----------------------------------------------------- */

    .contact-section {
        padding: 70px 0;
    }

    .contact-content h2 {
        font-size: clamp(34px, 8vw, 45px);
        line-height: 1.1;
    }

    .contact-intro {
        font-size: 14px;
        line-height: 1.7;
    }


    .contact-details {
        display: flex;
        flex-direction: column;

        gap: 15px;
    }


    .contact-panel {
        padding: 28px;
    }


    .contact-panel h3 {
        font-size: 30px;
        line-height: 1.1;
    }


    /* -----------------------------------------------------
       QUOTE
       ----------------------------------------------------- */

    .quote-section {
        padding: 70px 0;
    }


    .quote-intro h2 {
        font-size: clamp(34px, 8vw, 45px);
        line-height: 1.1;
    }


    .quote-intro > p {
        font-size: 14px;
        line-height: 1.7;
    }


    .quote-form-wrapper {
        width: 100%;
    }


    .quote-form {
        width: 100%;

        box-sizing: border-box;

        padding: 25px 20px;
    }


    .quote-row {
        display: grid;

        grid-template-columns: 1fr;

        gap: 0;
    }


    .quote-field {
        width: 100%;
    }


    .quote-field input,
    .quote-field select,
    .quote-field textarea {
        width: 100%;

        box-sizing: border-box;
    }


    .quote-submit {
        width: 100%;
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .footer-main {
        padding: 60px 0 40px;
    }


    .footer-container {
        display: grid;

        grid-template-columns: 1fr;

        gap: 40px;
    }


    .footer-column {
        width: 100%;
    }


    .footer-bottom-container {
        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 18px;

        text-align: center;

        padding: 20px 0;
    }


    .footer-social {
        order: 2;
    }


    .back-to-top {
        order: 3;
    }

}


/* =========================================================
   SMALL MOBILE
   576px AND BELOW
   ========================================================= */

@media (max-width: 576px) {

    /* -----------------------------------------------------
       NAVBAR
       ----------------------------------------------------- */

    .nav-container {
        min-height: 65px;
    }

    .brand img {
        width: 39px;
        height: 39px;
    }

    .brand-name {
        font-size: 10.5px;
    }


    .nav-menu {
        top: 65px;

        max-height: calc(100vh - 65px);
    }


    /* -----------------------------------------------------
       HERO
       ----------------------------------------------------- */

    .hero-container {
        width: calc(100% - 30px);

        padding: 110px 0 60px;
    }


    .hero h1 {
        font-size: clamp(34px, 10.5vw, 44px);
    }


    .hero-description {
        font-size: 14px;

        line-height: 1.65;
    }


    .hero-buttons a {
        min-height: 50px;

        font-size: 14px;
    }


    .hero-features {
        margin-top: 25px;
    }


    /* -----------------------------------------------------
       ABOUT
       ----------------------------------------------------- */

    .about-container,
    .services-container,
    .industries-container,
    .why-rudra-container,
    .contact-container,
    .quote-container,
    .footer-container,
    .footer-bottom-container {
        width: calc(100% - 30px);
    }


    .about-image img {
        aspect-ratio: 1 / 0.8;
    }


    /* -----------------------------------------------------
       SERVICES
       ----------------------------------------------------- */

    .service-feature {
        padding: 22px;
    }

    .service-feature-image {
        height: 210px;
    }


    /* -----------------------------------------------------
       INDUSTRIES
       ----------------------------------------------------- */

    .industry-card {
        height: 400px;
        min-height: 400px;
    }

    .industry-card-content {
        padding: 20px;
    }

    .industry-card-title h3 {
        font-size: 23px;
    }

    .industry-card-back {
        padding: 23px;
    }

    .industry-card-back h3 {
        font-size: 24px;
    }


    /* -----------------------------------------------------
       WHY
       ----------------------------------------------------- */

    .why-rudra-item {
        grid-template-columns: 35px 1fr;

        gap: 12px;
    }

    .why-rudra-arrow {
        display: none;
    }


    /* -----------------------------------------------------
       CONTACT
       ----------------------------------------------------- */

    .contact-panel {
        padding: 24px 20px;
    }


    /* -----------------------------------------------------
       QUOTE
       ----------------------------------------------------- */

    .quote-form {
        padding: 22px 16px;
    }

    .quote-point {
        gap: 12px;
    }


    /* -----------------------------------------------------
       FOOTER
       ----------------------------------------------------- */

    .footer-description {
        max-width: 100%;
    }

}


/* =========================================================
   EXTRA SMALL PHONES
   400px AND BELOW
   ========================================================= */

@media (max-width: 400px) {

    .brand-name {
        font-size: 9.5px;
    }


    .hero-container {
        padding-top: 105px;
    }


    .hero h1 {
        font-size: 32px;
    }


    .hero-tag {
        font-size: 9.5px;
    }


    .hero-description {
        font-size: 13px;
    }


    .hero-buttons a {
        font-size: 13px;
    }


    .industry-card {
        height: 380px;
        min-height: 380px;
    }


    .industry-card-title h3 {
        font-size: 21px;
    }


    .industry-card-back h3 {
        font-size: 22px;
    }


    .industry-card-back p {
        font-size: 13px;
    }

}


/* =========================================================
   ACCESSIBILITY / TOUCH
   ========================================================= */

@media (hover: none) {

    .nav-menu a:hover,
    .service-item:hover,
    .industry-card:hover {
        transform: none;
    }

}


/* =========================================================
   REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}