
/* ==================================================
   RUHANMAS RENT A CAR
   TERMS & CONDITIONS
   PREMIUM NAVY BLUE THEME
   (navbar / footer / contact widget matched to About Us page)
================================================== */

:root {

    /* ---- shared brand palette (matches About Us page) ---- */
    --blue-dark: #001233;
    --blue-deep: #001b4d;
    --blue-main: #0055ff;
    --blue-electric: #00c6ff;
    --blue-light: #8ecbff;

    /* ---- legacy names kept for the rest of this page, aliased to the shared palette ---- */
    --navy: var(--blue-dark);
    --navy-2: var(--blue-deep);
    --navy-3: var(--blue-main);

    --blue: var(--blue-main);
    --blue-2: var(--blue-electric);
    --electric: var(--blue-electric);

    --sky: var(--blue-light);
    --pale-blue: #e8f6ff;

    --yellow: #ffd43b;

    --white: #ffffff;

    --text: #12385e;
    --muted: #607b98;

    --border: rgba(0, 111, 230, 0.18);

    --shadow:
        0 15px 35px rgba(0, 63, 130, 0.12);
}


/* ==================================================
   RESET
================================================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    font-family: "Poppins", sans-serif;
}


html {

    scroll-behavior: smooth;
}


body {

    color: var(--text);

    overflow-x: hidden;

    background:

        radial-gradient(
            circle at 8% 15%,
            rgba(0, 183, 255, 0.18),
            transparent 25%
        ),

        radial-gradient(
            circle at 92% 42%,
            rgba(0, 111, 230, 0.16),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #dcefff 0%,
            #cce7ff 45%,
            #e8f6ff 100%
        );
}


/* ==================================================
   NAVBAR (matches About Us page)
================================================== */

header {

    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 8%;

    background:
        linear-gradient(
            90deg,
            var(--blue-dark),
            var(--blue-main)
        );

    box-shadow:
        0 8px 25px rgba(0, 102, 255, .35);

    position: sticky;

    top: 0;

    z-index: 9999;
}


/* ==================================================
   LOGO
================================================== */

.logo {

    display: flex;

    align-items: center;

    gap: 12px;
}


.logo img {

    width: 85px;

    height: 85px;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid white;

    box-shadow:
        0 0 15px rgba(255, 255, 255, .5);

    transition: .4s;
}


.logo img:hover {

    transform:
        rotate(10deg)
        scale(1.12);

    box-shadow:
        0 0 25px #ffd43b,
        0 0 45px rgba(0, 198, 255, .7);
}


.brand-name {

    color: white;

    font-size: 28px;

    font-weight: 800 !important;
}


.brand-name small {

    display: block;

    margin-top: 5px;

    color: #d9ecff;

    font-size: 12px;

    /* CHANGED: made Scooter Rental text bold */
    font-weight: 700;

    letter-spacing: 4px;
}


/* ==================================================
   NAVIGATION
================================================== */

nav {

    display: flex;

    align-items: center;

    gap: 35px;
}


nav a {

    position: relative;

    color: white;

    text-decoration: none;

    font-size: 16px;

    font-weight: 600;

    transition: 0.3s ease;
}


nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 3px;

    border-radius: 20px;

    background: var(--yellow);

    transition: 0.3s ease;
}


nav a:hover,
nav a.active {

    color: var(--yellow);
}


nav a:hover::after,
nav a.active::after {

    width: 100%;
}


/* ==================================================
   MOBILE BUTTON
================================================== */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: white;

    font-size: 32px;

    cursor: pointer;
}


/* ==================================================
   HERO
================================================== */

.tc-hero {

    min-height: 430px;

    padding: 70px 7%;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

    overflow: hidden;

    color: white;

    background:

        linear-gradient(
            135deg,
            var(--blue-dark) 0%,
            #002b70 48%,
            var(--blue-main) 100%
        );
}


.tc-hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    right: -190px;

    top: -250px;

    border-radius: 50%;

    background:
        rgba(0, 198, 255, .15);

    filter: blur(100px);
}


.tc-hero::after {

    content: "";

    position: absolute;

    width: 370px;

    height: 370px;

    left: -170px;

    bottom: -230px;

    border-radius: 50%;

    background:
        rgba(255, 212, 59, .08);

    filter: blur(90px);
}


.tc-hero-content {

    max-width: 800px;

    position: relative;

    z-index: 2;
}


/* ==================================================
   HERO BADGE
================================================== */

.tc-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 9px 20px;

    margin-bottom: 22px;

    border-radius: 50px;

    color: var(--yellow);

    background:
        rgba(255,255,255,0.13);

    border:
        1px solid rgba(255,255,255,0.28);

    backdrop-filter: blur(8px);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;
}


/* ==================================================
   HERO TITLE
================================================== */

.tc-hero h1 {

    margin: 0;

    font-size: 60px;

    line-height: 1.1;

    font-weight: 800;

    color: white;
}


.tc-hero h1 span {

    color: var(--yellow);
}


.tc-hero p {

    max-width: 650px;

    margin: 20px auto 0;

    color:
        rgba(255,255,255,0.88);

    font-size: 14px;

    line-height: 1.8;
}


/* ==================================================
   MAIN CONTENT
================================================== */

.tc-main {

    width: 100%;

    max-width: 1500px;

    margin: 0 auto;

    padding: 75px 5% 100px;
}


/* ==================================================
   SECTION
================================================== */

.tc-section {

    width: 100%;

    margin-bottom: 80px;
}


.tc-section:last-child {

    margin-bottom: 0;
}


/* ==================================================
   SECTION HEADING
================================================== */

.section-heading {

    text-align: center;

    margin-bottom: 38px;
}


.section-heading > span {

    display: inline-block;

    margin-bottom: 7px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}


.section-heading h2 {

    margin: 0;

    color: var(--navy);

    font-size: 31px;

    font-weight: 800;

    line-height: 1.3;
}


.section-heading strong {

    color: var(--blue);
}


.section-intro {

    max-width: 600px;

    margin: 12px auto 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}


/* ==================================================
   ESSENTIALS + BOOKING RULES / GRID
================================================== */

.tc-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.rules-columns {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;

    align-items: start;
}


.rules-column {

    min-width: 0;

    padding: 25px;

    border-radius: 28px;

    background:

        linear-gradient(
            145deg,
            rgba(0, 18, 51, 0.94),
            rgba(0, 85, 255, 0.85)
        );

    border:
        1px solid rgba(0, 198, 255, 0.28);

    box-shadow:
        0 20px 45px rgba(0, 52, 110, 0.20);

    position: relative;

    overflow: hidden;
}


.rules-column::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    top: -150px;

    right: -100px;

    background:
        rgba(0, 198, 255, 0.12);

    pointer-events: none;
}


.rules-column::after {

    content: "";

    position: absolute;

    width: 200px;

    height: 200px;

    border-radius: 50%;

    bottom: -130px;

    left: -100px;

    background:
        rgba(0, 111, 230, 0.10);

    pointer-events: none;
}


/* ==================================================
   COLUMN HEADING
================================================== */

.column-heading {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 22px;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,0.15);
}


.column-icon {

    width: 48px;

    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    background:
        rgba(0,198,255,0.16);

    border:
        1px solid rgba(0,198,255,0.30);

    color: var(--electric);

    font-size: 21px;
}


.column-heading span {

    display: block;

    margin-bottom: 3px;

    color: #86dfff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.column-heading h3 {

    margin: 0;

    color: white;

    font-size: 22px;

    font-weight: 800;
}


/* ==================================================
   COLUMN CARD GRID
================================================== */

.column-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


/* ==================================================
   CARD
================================================== */

.tc-card {

    position: relative;

    min-width: 0;

    padding: 21px;

    border-radius: 19px;

    background:

        linear-gradient(
            145deg,
            rgba(247,252,255,0.98),
            rgba(214,239,255,0.97)
        );

    border:
        1px solid rgba(0, 198, 255, 0.16);

    box-shadow:
        0 10px 24px rgba(0,70,140,0.12);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.tc-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:

        linear-gradient(
            90deg,
            var(--blue),
            var(--electric)
        );
}


.tc-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(0,140,255,0.40);

    box-shadow:
        0 18px 35px rgba(0,91,180,0.18);
}


/* ==================================================
   FULL WIDTH CARD
================================================== */

.tc-card.full-width {

    grid-column:
        1 / -1;
}


/* ==================================================
   CARD TAG
================================================== */

.tc-card-top {

    margin-bottom: 12px;
}


.tc-tag {

    display: inline-block;

    padding: 5px 11px;

    border-radius: 50px;

    background:
        #c9ebff;

    color:
        var(--blue);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* ==================================================
   CARD TITLE
================================================== */

.tc-card h3 {

    margin: 0 0 9px;

    color:
        var(--navy);

    font-size: 16px;

    font-weight: 800;

    line-height: 1.4;
}


/* ==================================================
   CARD BODY
================================================== */

.tc-card p {

    margin: 0;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.75;
}


.highlight {

    color:
        var(--blue);

    font-weight: 800;
}


/* ==================================================
   NORMAL LIST
================================================== */

.tc-card ul {

    margin: 13px 0 0;

    padding-left: 18px;
}


.tc-card ul li {

    margin-bottom: 6px;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


.tc-card ul li:last-child {

    margin-bottom: 0;
}


.tc-card ul li::marker {

    color:
        var(--blue);

    font-weight: bold;
}


/* ==================================================
   NUMBERED LIST
================================================== */

.tc-card ol {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 11px 25px;

    margin: 15px 0 0;

    padding: 0;

    list-style: none;
}


.tc-card ol li {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin: 0;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.6;
}


/* ==================================================
   NUMBER
================================================== */

.num {

    flex-shrink: 0;

    min-width: 21px;

    color:
        var(--blue);

    font-weight: 800;
}


.number-text {

    flex: 1;
}


/* ==================================================
   WARNING
================================================== */

.tc-warning {

    display: inline-flex;

    align-items: center;

    margin-bottom: 11px;

    padding: 6px 11px;

    border-radius: 50px;

    background:
        #fff3bd;

    color:
        #916500;

    font-size: 12px;

    font-weight: 800;
}


/* ==================================================
   FOOTER TEXT (inside cards)
================================================== */

.tc-footer-text {

    margin-top: 13px;

    padding-top: 10px;

    border-top:
        1px solid #cfe5f5;

    color:
        #718aa4;

    font-size: 12px;

    line-height: 1.6;
}


/* ==================================================
   EXTRAS
================================================== */

.extras-section {

    padding-top: 10px;
}


.extras-section .tc-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}


.extras-section .tc-card.full-width {

    grid-column:
        1 / -1;
}


/* ==================================================
   FLOATING CONTACT WIDGET (matches About Us page)
================================================== */

.contact-widget {

    position: fixed;

    bottom: 30px;

    right: 30px;

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 14px;

    z-index: 999999;
}


/* MAIN ROUND BUTTON */

.contact-main {

    width: 62px;

    height: 62px;

    min-width: 62px;

    min-height: 62px;

    border-radius: 50%;

    border: none;

    outline: none;

    cursor: pointer;

    color: white;

    font-size: 26px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:

        linear-gradient(
            135deg,
            var(--blue-main),
            var(--blue-electric)
        );

    box-shadow:

        0 10px 25px rgba(0, 102, 255, .45),

        0 0 20px rgba(0, 198, 255, .4);

    transition: .35s;
}


.contact-main:hover {

    transform:
        scale(1.1)
        rotate(8deg);

    box-shadow:

        0 15px 35px rgba(0, 102, 255, .6),

        0 0 30px var(--yellow);
}


/* CONTACT OPTIONS */

.contact-options {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 12px;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px)
        scale(.95);

    pointer-events: none;

    transition:
        opacity .35s ease,
        transform .35s ease,
        visibility .35s ease;
}


/* OPEN */

.contact-widget.show .contact-options {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0)
        scale(1);

    pointer-events: auto;
}


/* OPTION BUTTON */

.contact-option {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 10px;

    padding: 11px 20px;

    min-width: 135px;

    border-radius: 50px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    background: white;

    color: var(--blue-dark);

    box-shadow:
        0 8px 20px rgba(0, 18, 51, .25);

    white-space: nowrap;

    transition: .3s;
}


.contact-option:hover {

    transform: translateX(-6px);

    background: var(--yellow);

    color: var(--blue-dark);

    box-shadow:
        0 10px 25px rgba(255, 212, 59, .4);
}


.whatsapp-option i {

    color: #25D366;

    font-size: 18px;
}


.call-option i {

    color: var(--blue-main);

    font-size: 18px;
}


.contact-option:hover i {

    color: var(--blue-dark);
}


/* ==================================================
   FOOTER (matches About Us page)
================================================== */

footer {

    background: var(--blue-dark);

    color: white;

    text-align: center;

    padding: 40px 20px;
}


footer h3 {

    color: var(--blue-light);

    font-size: 25px;

    font-weight: 800;
}


footer p {

    color:
        rgba(255, 255, 255, .8);

    margin-top: 10px;

    font-size: 13px;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    header {

        padding-left: 6%;

        padding-right: 6%;
    }


    nav {

        gap: 22px;
    }


    nav a {

        font-size: 14px;
    }


    .tc-main {

        padding-left: 4%;

        padding-right: 4%;
    }


    .rules-columns {

        gap: 20px;
    }


    .rules-column {

        padding: 20px;
    }


    .column-grid {

        grid-template-columns: 1fr;
    }
}


/* ==================================================
   MOBILE NAVIGATION (matches About Us page breakpoints)
================================================== */

@media (max-width: 900px) {

    header {

        padding: 15px 6%;

        flex-wrap: wrap;
    }


    .logo img {

        width: 65px;

        height: 65px;
    }


    .brand-name {

        font-size: 22px;
    }


    .brand-name small {

        font-size: 8px;

        letter-spacing: 2px;

        font-weight: 700;
    }


    .menu-toggle {

        display: block;

        margin-left: auto;
    }


    nav {

        display: none;

        width: 100%;

        flex-direction: column;

        align-items: center;

        gap: 22px;

        padding: 25px 0 20px;

        margin-top: 15px;

        background:
            rgba(0, 18, 51, .95);

        border-radius:
            0 0 25px 25px;
    }


    nav.show {

        display: flex;

        animation: menuDown .3s ease;
    }


    nav a {

        font-size: 17px;
    }


    @keyframes menuDown {

        from {

            opacity: 0;

            transform: translateY(-15px);
        }

        to {

            opacity: 1;

            transform: translateY(0);
        }
    }


    /* HERO */

    .tc-hero {

        min-height: 390px;

        padding: 55px 7%;
    }


    .tc-hero h1 {

        font-size: 46px;
    }


    /* MAIN */

    .tc-main {

        padding: 55px 6% 75px;
    }


    /* TWO COLUMNS BECOME ONE */

    .rules-columns {

        grid-template-columns: 1fr;
    }


    .column-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* CONTACT WIDGET */

    .contact-widget {

        bottom: 20px;

        right: 20px;
    }


    .contact-main {

        width: 56px;

        height: 56px;

        min-width: 56px;

        min-height: 56px;

        font-size: 22px;
    }


    .contact-option {

        padding: 9px 16px;

        font-size: 13px;

        min-width: 125px;
    }


    footer h3 {

        font-size: 20px;
    }
}


/* ==================================================
   PHONE
================================================== */

@media (max-width: 600px) {

    .tc-hero {

        min-height: 360px;

        padding: 50px 7%;
    }


    .tc-badge {

        font-size: 12px;

        padding: 8px 15px;
    }


    .tc-hero h1 {

        font-size: 38px;
    }


    .tc-hero p {

        font-size: 14px;
    }


    .section-heading {

        margin-bottom: 25px;
    }


    .section-heading h2 {

        font-size: 26px;
    }


    .section-intro {

        font-size: 14px;
    }


    .rules-column {

        padding: 18px;

        border-radius: 22px;
    }


    .column-heading {

        gap: 11px;

        margin-bottom: 17px;
    }


    .column-icon {

        width: 43px;

        height: 43px;

        border-radius: 13px;

        font-size: 18px;
    }


    .column-heading h3 {

        font-size: 19px;
    }


    .column-grid {

        grid-template-columns: 1fr;
    }


    .tc-card.full-width {

        grid-column: auto;
    }


    .tc-card ol {

        grid-template-columns: 1fr;
    }


    .extras-section .tc-grid {

        grid-template-columns: 1fr;
    }


    .extras-section .tc-card.full-width {

        grid-column: auto;
    }


    .tc-card {

        padding: 20px;

        border-radius: 18px;
    }
}


/* ==================================================
   SMALL PHONE
================================================== */

@media (max-width: 500px) {

    .brand-name {

        font-size: 18px;
    }


    .brand-name small {

        font-size: 7px;

        letter-spacing: 1.3px;

        font-weight: 700;
    }


    .tc-hero h1 {

        font-size: 33px;
    }


    .tc-card h3 {

        font-size: 16px;
    }


    .tc-card p,
    .tc-card li {

        font-size: 14px;
    }
}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior: auto !important;

        transition: none !important;

        animation: none !important;
    }
}



/* ===========================
        FOOTER ADMIN LINK
=========================== */


footer .footer-admin{

    margin-top:22px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.15);

}


footer .footer-admin a{

    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--blue-light);
    text-decoration:none;
    font-weight:600;
    font-size:13.5px;
    letter-spacing:.3px;
    transition:.3s;

}


footer .footer-admin a:hover{

    color:var(--yellow);

}

/* =========================================================
   UNIFIED NAVBAR + HAMBURGER
   Identical on Home, Fleet, Booking, About Us and Terms & Conditions.
   Keep this block LAST in the stylesheet so it wins over older rules.
========================================================= */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 8%;
    position:sticky;
    top:0;
    z-index:9999;
}

.brand-name{
    font-size:28px;
    font-weight:800;
    color:white;
}

.brand-name small{
    display:block;
    margin-top:5px;
    font-size:12px;
    font-weight:400;
    letter-spacing:4px;
    color:#d9ecff;
}

nav{
    display:flex;
    align-items:center;
    gap:35px;
}

nav a{
    font-size:16px;
    font-weight:600;
    color:white;
}

/* HAMBURGER */
.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:32px;
    line-height:1;
    padding:4px 6px;
    cursor:pointer;
    position:relative;
    top:-6px;               /* sits slightly higher than before */
}

@media (max-width:1100px){

    header{
        padding-left:6%;
        padding-right:6%;
    }

    nav{
        gap:22px;
    }

    nav a{
        font-size:14px;
    }

}

@media (max-width:900px){

    header{
        padding:15px 6%;
        flex-wrap:wrap;
    }

    .logo img{
        width:65px;
        height:65px;
    }

    .brand-name{
        font-size:22px;
    }

    .brand-name small{
        font-size:10px;
        letter-spacing:3px;
    }

    .menu-toggle{
        display:block;
        margin-left:auto;
    }

    nav{
        display:none;
        width:100%;
        flex-direction:column;
        align-items:center;
        gap:22px;
        padding:25px 0;
        margin-top:15px;
        background:rgba(0,18,51,.95);
        border-radius:0 0 25px 25px;
    }

    nav.show{
        display:flex;
        animation:menuDown .3s ease;
    }

    nav a{
        font-size:18px;
    }

}

@media (max-width:500px){

    .brand-name{
        font-size:20px;
    }

    .brand-name small{
        font-size:9px;
        letter-spacing:2px;
    }

}
