* {
    margin: 0;
    padding: 0;
    font-family: "poppins", sans-serif;
}

html,
body {
    overflow-x: hidden;
}

.top-contact-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background-color: #0e2a47;
    color: white;
    padding: 20px 6%;
    font-size: 13px;
    font-weight: 400;
    z-index: 999;
    min-height: 80px;
    /* stretches the height */
}

.top-contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

.top-contact-bar i {
    color: #3498db;
}

/* Responsive Collapse on Small Screens */
@media (max-width: 768px) {
    .top-contact-bar {
        flex-direction: column;
        align-items: center;
        padding: 10px 5%;
        font-size: 12px;
    }

    .top-contact-bar .contact-item {
        justify-content: center;
        width: 100%;
        margin: 4px 0;
    }

    .top-contact-bar .contact-item {
        width: 100%;
        justify-content: flex-start;
    }
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #3498db;
    border: 1px solid #3498db;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    background-color: #3498db;
    color: white;
    transition: 0.3s ease;
}



nav {
    display: flex;
    justify-content: space-between;
    /* This centers all children horizontally */
    align-items: center;
    /* This centers them vertically */
    padding: 45px 6%;
    background: rgba(255, 255, 255, 0.1);
    /* transparent white */
    backdrop-filter: blur(10px);
    /* glass blur */
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background-color: #819db1;
    position: relative;
    z-index: 10;
    margin-bottom: 10px;
    gap: 40px;
    text-align: center;
    /* optional if needed */
}

nav img.logo {
    width: 70px;
    height: auto;
    object-fit: contain;
}

.logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 35px;
}

.logo-text {
    font-size: 28px;
    color: #fff;
    text-decoration: italic;
    font-weight: bold;
    text-align: center;
}


/* Optional: add space after logo */
nav a {
    margin-right: auto;
    display: flex;
    align-items: center;
}

@media (max-width: 700px) {
    nav img.logo {
        width: 70px;
    }
}

/* Navigation Links Wrapper */
.nav-links {
    display: flex;
    justify-content: center;
    /* Center ul inside .nav-links */
    align-items: center;
}

/* Ensure the list inside is also horizontal and centered */
.nav-links ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 20px;
}

.nav-links ul li {
    position: relative;
    padding: 8px 12px;
}

.nav-links ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #3498db;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}


#menuOpen,
#menuClose {
    display: none;
}


@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        background-color: #b3ddf8;
        z-index: 2;
        text-align: left;
        transition: right 0.5s ease;
    }


    nav .fa {
        display: block;
        color: black;
        /* make sure it's visible */
        font-size: 22px;
        cursor: pointer;
        margin: 10px;
        z-index: 3;
    }

    nav .fa-bars {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: black;
        cursor: pointer;
        z-index: 999;
    }

    nav .fa-times {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: black;
        cursor: pointer;
        z-index: 999;
    }


    .nav-links ul {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }

    #menuOpen,
    #menuClose {
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: black;
        cursor: pointer;
        z-index: 999;
    }

    /* Show the hamburger icon (bars) initially */
    #menuOpen {
        display: block;
    }

    /* Hide the close icon (times) initially */
    #menuClose {
        display: none;
    }

    .logo-text {
        font-size: 24px;
        line-height: 1.2;
        margin-left: 0px;
        white-space: nowrap;
        /* Prevents wrapping if needed */
    }

    .logo-container {
        gap: 15px;
        /* Reduced gap between logo image and text */
    }


}




.header {
    width: 100%;
    margin-top: 0;
    display: flex;
    flex-direction: column;
}

.content-container {
    width: 100%;
    padding: 25px 0;
    margin: 0;

}

/* Updated slider styles */
.slider-container {
    width: 99%;
    margin: 0 auto;
    height: 55vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
    /* Ensure slides are below arrows and dots */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    /* start lower */
    opacity: 0;
    transition: all 0.8s ease-out;
    font-size: 24px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    max-width: 80%;
    z-index: 2;
}

/* When slide is active, reveal and slide up */
.slide.active .slide-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


.caption-1 {
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.caption-2 {
    background-color: rgba(52, 152, 219, 0.7);
    color: #fffce0;
}

.caption-3 {
    background-color: rgba(231, 76, 60, 0.7);
    color: #ffffff;
}

.caption-4 {
    background-color: rgba(46, 204, 113, 0.7);
    color: #ffffff;
}

@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: translate(-50%, 20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.slide.active .slide-caption {
    animation: fadeZoomIn 1s ease forwards;
}


.active {
    opacity: 1;
    z-index: 1;
}

/* Zoom effect on active slide image */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease-in-out;
    /* ⏳ Smooth zoom */
    transform: scale(1);
    /* Default scale */
}

.slide.active img {
    transform: scale(1.1);
    /* Slight zoom when active */
}



/* Arrows (outer button) */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
    /* REMOVE border */
    border-radius: 50%;
    z-index: 2;
    transition: 0.3s ease;
}


/* Positioning */
.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Font Awesome icons inside arrows */
.prev i,
.next i {
    font-size: 32px;
    color: white;
}


/* Dots */
.dots-container {
    z-index: 2;
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: small;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid #fff;
    /* KEEP THIS */
    transition: all 0.3s ease;
    cursor: pointer;
}

.dot.active {
    background: #3498db;
    transform: scale(1.3);
}




/* Adjust text box positioning */
.text-box {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    /* Keeps other text-box styles */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tracker-box {
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    background-color: #dfd8d8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tracker-input {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tracker-input input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.tracker-input button {
    width: 100px;
    padding: 6px 10px;
    font-size: 13px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.tracker-input button:hover {
    background-color: #3498db;
}

.notification-method-group {
    margin-top: 10px;
    margin-bottom: 10px;
}

.notification-method-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}


/* ===== SKR Form Styling ===== */
.receipt-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background-color: #f7f9fc;
    padding: 40px 20px;
}

/* Container card */
.receipt-container {
    background-color: rgb(233, 230, 230);
    padding: 25px;
    max-width: 400px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    font-family: "Segoe UI", sans-serif;
}

/* Heading */
.receipt-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 20px;
}

/* Input fields */
#receiptForm input[type="text"],
#receiptForm input[type="number"],
#receiptForm input[type="tel"],
#receiptForm input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 14px;
    background-color: #fefefe;
    box-sizing: border-box;
    transition: border 0.3s;
}

#receiptForm input:focus {
    border-color: #3498db;
    outline: none;
}

/* Radio label */
.radio-label {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    color: #34495e;
}

/* Radio group */
.radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #555;
}

.radio-group input {
    margin-right: 8px;
}

/* Submit Button */
.btn-submit {
    background-color: #3498db;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #2c80b4;
}



/* QR Code & PDF Sections */
#qrCodeImage {
    max-width: 200px;
    margin: 1rem auto;
    display: block;
}

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

    .receipt-form,
    .tracker-box {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    .tracker-input {
        flex-direction: column;
    }

    .tracker-input button {
        width: 100%;
    }
}

.tracking-id {
    font-family: monospace;
    background: #f0f0f0;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    color: #3498db;
    font-weight: bold;
    flex: auto;
}

.receipt-details {
    background: rgb(205, 205, 206);
    padding: 0.8rem;
    margin: 0.5rem auto;
    border-radius: 8px;
    max-width: 340px;
    /* reduced from 500px */
    font-size: 0.85rem;
    /* slightly smaller text */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Line spacing and layout */
.receipt-details p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.2rem 0;
    white-space: nowrap;
}

/* Label (left) */
.receipt-details .label {
    min-width: 100px;
    font-weight: bold;
    color: #2c3e50;
    text-align: right;
    margin-right: 0.6rem;
    font-size: 0.85rem;
}

/* Value (right) */
.receipt-details .value {
    text-align: left;
    flex: 1;
    font-size: 0.85rem;
}


.input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-unit {
    color: #666;
    font-size: 16px;
}

/*-----service------*/

.service {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 0px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
    padding: 30px;
}

p {
    color: black;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.service-col {
    flex-basis: 31%;
    background: rgb(205, 205, 206);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;

}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.service-col:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

@media (max-width:700px) {
    .row {
        flex-direction: column;
    }
}

/*-----facilities------*/
.facilities {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 5px;
}

.facilities-col {
    flex-basis: 31%;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 5px;
}

.facilities-col img {
    width: 100%;
    border-radius: 10px;
}

.facilities-col p {
    padding: 0;
    text-align: left;

}

.facilities-col h3 {
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*-----testimonials------*/
.testimonials {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 5px;
}

.testimonial-col {
    flex-basis: 44%;
    text-align: left;
    background: #868282;
    border-radius: 10px;
    margin-bottom: 5px;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.testimonial-col img {
    margin-left: 5px;
    height: 40px;
    border-radius: 50%;
    margin-right: 30px;
}

.testimonial-col p {
    padding: 0;
    text-align: left;

}

.testimonial-col h3 {
    margin-top: 15px;
    text-align: left;
}

.testimonial-col .fa {
    color: rgb(165, 81, 50);
}

.testimonial-col .fa-regular {
    color: rgb(165, 81, 50);
}

@media(max-width: 700px) {
    .testimonial-col img {
        margin-left: 0px;
        margin-right: 15px;

    }
}

.cta {
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/i44.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1 {
    color: white;
    margin-bottom: 40px;
    padding: 0;

}

@media (max-width:700px) {
    .cta h1 {
        font-size: 24px;
    }
}

.footer * {
    font-size: 18px !important;
    font-weight: 600 !important;

}

.footer {
    background-color: #2b527a;
    color: white;
    padding: 50px 6%;
    font-size: 14px;
    line-height: 1.7;

    display: flex;
    /* This enables flex */
    flex-direction: column;
    /* Stack items vertically */
    align-items: center;
    /* Center items horizontally */
    text-align: center;
    /* centers text inside */
}


.footer-row {
    margin-bottom: 30px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: rgb(145, 145, 207);
}

.footer a {
    color: #f1f1f1;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer .icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer .icons i {
    font-size: 20px;
    color: white;
    transition: color 0.3s ease;
}

.footer .icons i:hover {
    color: #3498db;
}

.footer-credit {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #ccc;
}


/*------about us page-------*/
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(images/i5.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: white;

}

.sub-header h1 {
    margin-top: 0px;

}

.sub-header p {
    color: white;
    padding: 0;
}

.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;

}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;

}

.about-col img {
    width: 100%;

}

.about-col h1 {
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
}

.red-btn {
    border: 1px solid #3498db;
    background: transparent;
    color: #3498db;

}

.red-btn:hover {
    color: white;
}

/*--------blog page-------*/

.blog-content {
    width: 80%;
    margin: auto;
    padding: 60px 0;
}

.blog-left {
    flex-basis: 65%;

}

.blog-left img {
    width: 60%;

}

.blog-left h2 {
    color: #222;
    font-weight: 600;
    margin: 30px 0;

}

.blog-left p {
    color: #1a1919;
    padding: 0;
}

.blog-right {
    flex-basis: 32%;
}

.blog-right h3 {
    background: #3498db;
    color: white;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;


}

.blog-right div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}

.comment-box {
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}


.comment-box h3 {
    text-align: left;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;

}

.comment-form button {
    margin: 10px 0;
}

@media(max-width:700px) {
    .sub-header h1 {
        font-size: 24px;
        padding-top: 100px;

    }

    .sub-header p {
        font-size: 14px;
        padding-top: 50px;
    }
}

/*-------contact us page------*/
.location {
    width: 80%;
    margin: auto;
    padding: 80px;

}

.location iframe {
    width: 100%;

}

.contact-us {
    width: 80%;
    margin: auto;
}

.contact-col {
    flex-basis: 48%;
    margin-bottom: 30px;

}

.contact-col div {
    display: flex;
    align-items: center;
    margin-bottom: 40px;

}

.contact-col div .fa {
    font-size: 28px;
    color: #3498db;
    margin: 10px;
    margin-right: 30px;

}

.contact-col div p {
    padding: 0;

}

.contact-col div h5 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .location {
        padding: 40px 10px;
        /* reduce padding on small screens */
        width: 80%;
        /* make it full width */
    }
}



/* Auth Section Styles */
.auth-section {
    padding: 50px 0;
    background: #f5f7fa;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.auth-btn:hover {
    background: #2980b9;
}

/* Auth dropdown */
.dropdown-content {
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    /* Fixed width for better centering */
}


#auth-item:hover .dropdown-content {
    display: block;
}

/* Receipt gate styles */
#receipt-gate {
    position: relative;
}

#auth-required {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.tab-btn.active {
    border-bottom: 2px solid #3498db;
    color: #3498db;
}

.auth-tab-content {
    padding: 5px;
}

.auth-center-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .auth-center-container {
        position: static;
        transform: none;
        order: 3;
        /* Moves auth to bottom in mobile */
        width: 100%;
        margin-top: 15px;
    }

    .dropdown-content {
        left: 0;
        transform: none;
        width: 100%;
    }
}

#password-rules {
    margin: 5px 0;
    font-size: 12px;
}

.rule {
    margin: 2px 0;
    color: #3498db;
}

.rule.valid {
    color: #00C851;
}

.rule.valid::before {
    content: "✓ ";
}