html, body{
    width: 100%;
}
/* Top bar styles */
.top-bar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #1251A1;
    padding: 8px 0;
    color: white;
}

.social-icons a {
    color: white;
    margin-right: 15px;
    font-size: 14px;
}

.social-icons a:hover {
    color: #e9e9e9;
}

.text-controls .btn {
    color: white;
    background: transparent;
    border: 1px solid white;
    padding: 0px 6px;
    margin: 0 2px;
    font-size: 12px;
}

.text-controls .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-select {
    background: transparent;
    color: white;
    border: 1px solid white;
    padding: 2px 5px;
    font-size: 12px;
    margin-left: 10px;
}

.language-select option {
    background-color: white;
    color: black;
}

/* Main header styles */
.header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 5.5%;
    z-index: 1000;
}

.navbar {
    padding: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #6ba535;
}

.nav-link.active {
    color: #007bff;
}

/* Mobile responsive styles */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-toggler {
        border-color: #6ba535;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
}

/* Sticky Header Effect */
.navbar.scrolled {
    background-color: #fff !important;
    padding: 10px 0;
}

/* Registration and Login Section */
#registration-section {
    background-color: #f8f9fa;
    min-height: 100vh;
    padding-top: 100px;
}

.card {
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-title {
    color: #333;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: #555;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}


.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.btn-primary {
    background-color: #6ba535;
    border-color: #6ba535;
    padding: 8px 25px;
}

.btn-primary:hover {
    background-color: #5a8c2d;
    border-color: #5a8c2d;
}

.toggle-password {
    border-left: none;
}

.toggle-password:focus {
    box-shadow: none;
}

.captcha-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-code {
    background: #f0f0f0;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 2px;
}

.refresh-captcha {
    color: #6ba535;
    padding: 0;
}

.refresh-captcha:hover {
    color: #5a8c2d;
}

.form-check-input:checked {
    background-color: #6ba535;
    border-color: #6ba535;
}

/* Registration page specific styles */
.auth-section {
    background-color: #fff;
    padding: 40px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
.auth-section .card-title{
    font-size: 18px;
    font-weight: 700;
}
.auth-section .card-sub-title{
    font-weight: 700;
    font-size: 16px;
    color: #000 !important;
}
.auth-section .row{
    display: flex;
    justify-content: center;
}

.auth-section .card {
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.auth-section .card-body {
    padding: 30px;
}

.auth-section .input-group{
    display: flex;
}

.auth-section #registrationForm{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.auth-section #registrationForm>div{
    min-width: 48%;
    max-width: 48%;
}
.auth-section .pilgrim-type-radios{
    min-width: 100% !important;
    max-width: 100%;
    font-size: 12px;
}
.auth-section .form-control {
    /* height: 45px; */
    border-radius: 2px;
    font-size: 12px;
}
.auth-section .form-label{
    font-size: 12px;
    font-weight: 500;
    color: #333;
}

.auth-section .input-group-text {
    border-radius: 8px 0 0 8px;
    padding: 0 15px;
}

.auth-section .btn-primary {
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.auth-section .text-info{
    min-width: 100% !important;
    max-width: 100%;
    font-size: 14px;
}
.auth-section .submit-btn{
    background-color: #0791BE;
    color: #fff;
    border: none;
    height: 30px;
    padding: 0;
    width: 80px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.company-field {
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 30px;
    }
    
    #registration-section {
        padding-top: 80px;
    }
}

/* Pilgrim Type Buttons */
.pilgrim-type-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.pilgrim-type {
    flex: 1;
    padding: 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.pilgrim-type.active {
    background-color: #6BA535;
    font-weight: 500;
    border: none;
}

.form-check-inline {
    margin-right: 20px;
}

.tour-operator-field {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.country-code {
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Country Code Dropdown Styles */
.country-select-wrapper {
    position: relative;
}

.country-select {
    position: relative;
}
.country-select .country-code{
    height: 100%;
}

.country-toggle {
    height: 100%;
    cursor: pointer;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0.375rem 0.75rem;
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 300px;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 5px;
}

.country-search {
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ced4da;
    width: 100%;
}

.country-search:focus {
    outline: none;
    box-shadow: none;
}

.country-list {
    max-height: 250px;
    overflow-y: auto;
}

.country-item {
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.country-item:hover {
    background-color: #f8f9fa;
}

.country-item .flag {
    font-size: 1.2em;
}

.selected-country {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Custom scrollbar for country list */
.country-list::-webkit-scrollbar {
    width: 6px;
}

.country-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.country-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.country-list::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Forgot Password Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.popup-step h4 {
    color: #333;
    margin-bottom: 15px;
}

.popup-step p {
    color: #666;
    margin-bottom: 20px;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.otp-input {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #ced4da;
    border-radius: 8px;
}

.otp-input:focus {
    border-color: #6ba535;
    box-shadow: 0 0 0 0.2rem rgba(107, 165, 53, 0.25);
}

#otpTimer {
    margin-right: 10px;
}

/* Animation for popup */
@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-container {
    animation: popupFadeIn 0.3s ease-out;
}

/* Mobile responsive adjustments for popup */
@media (max-width: 576px) {
    .popup-container {
        width: 95%;
        padding: 20px;
    }

    .otp-inputs {
        gap: 5px;
    }

    .otp-input {
        width: 35px;
        height: 35px;
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
}

.carousel-item {
    height: 70vh;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.9);
}

.carousel-caption {
    bottom: 20%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.5rem;
}

/* Latest Updates Section */
.latest-updates {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.updates-label {
    background-color: #6ba535;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    margin-right: 15px;
}

.marquee-container {
    overflow: hidden;
}

marquee {
    color: #333;
    font-size: 1rem;
    padding: 5px 0;
}

.btn-registration {
    background-color: #6ba535;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-registration:hover {
    background-color: #5a8c2d;
    color: white;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .updates-label {
        margin-bottom: 10px;
    }

    .latest-updates .row {
        flex-direction: column;
        text-align: center;
    }

    .latest-updates .col-auto {
        width: 100%;
        margin: 5px 0;
    }
}

/* Explore Uttarakhand Section */
.explore-section {
    background-image: url('../images/explore/back.png');
    /* background-color: #f8f9fa; */
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.section-title .line {
    height: 2px;
    width: 60px;
    background-color: #6ba535;
    display: inline-block;
}

.explore-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.explore-card:hover {
    transform: translateY(-5px);
}

.explore-img {
    height: 200px;
    overflow: hidden;
}

.explore-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.explore-card:hover .explore-img img {
    transform: scale(1.1);
}

.explore-content {
    padding: 20px;
}

.explore-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.explore-content p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsive Adjustments for Explore Section */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-title .line {
        width: 40px;
    }

    .explore-card {
        margin-bottom: 20px;
    }

    .explore-img {
        height: 180px;
    }
}

/* What's Trending Section */
.trending-section {
    background-image: url('../images/explore/trending-bg.jpg');
    padding: 60px 0;
}

.category-icons {
    margin-bottom: 10px;
}

.category-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.category-icon i {
    font-size: 24px;
    color: #fff;
    transition: color 0.3s ease;
}

.category-icon span {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.category-icon.active i,
.category-icon:hover i {
    color: #6ba535;
}

.category-icon.active span,
.category-icon:hover span {
    color: #6ba535;
}

.category-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #6ba535;
    transition: width 0.3s ease;
}

.category-icon.active::after,
.category-icon:hover::after {
    width: 50%;
}

#articleContainer {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

#articleContainer.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.article-content {
    padding: 40px;
}

.article-image {
    height: 400px;
    overflow: hidden;
}

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

.article-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.article-text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.btn-read-more {
    background-color: #6ba535;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
}

.btn-read-more:hover {
    background-color: #5a8c2d;
    color: white;
    transform: translateY(-2px);
}

/* Animation classes */
.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .category-icons .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 15px;
    }
    
    .category-icon {
        min-width: 100px;
    }
    
    .article-image {
        height: 250px;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        padding: 20px;
    }
}

/* Social Media Feed Section */
.social-feed-section {
    background-image: url('../images/social/back.jpg');
    background-size: cover;
    background-position: bottom;
}

.social-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.social-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.social-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 24px;
    z-index: 2;
}

.video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 48px;
    opacity: 0.8;
}

.social-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card:hover::after {
    opacity: 1;
}

/* Check This Out Section */
.check-this-out {
    background-image: url('../images/check/back.jpg');
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.blog-image .tags {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.tag {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: white;
}

.tag.adventure { background-color: #4CAF50; }
.tag.spiritual { background-color: #FF9800; }
.tag.wildlife { background-color: #795548; }

.blog-content {
    padding: 20px;
}

.blog-content .date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.blog-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.categories {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.category {
    background-color: #FDE68A;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.read-more {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.btn-view-all {
    background-color: #4CAF50;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-view-all:hover {
    background-color: #388E3C;
    color: white;
}

/* Footer Styles */
.footer {
    background-color: #2b2626;
    color: #fff;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.social-icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon-circle:hover {
    background: #198754;
    color: #fff;
}

.visitor-counter {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.counter-number, .ip-number {
    color: #198754;
    font-weight: bold;
    font-size: 1.1rem;
}

.bottom-footer {
    font-size: 0.9rem;
}

.footer-links a {
    color: #fff;
}

.footer-links a:hover {
    color: #198754;
}

.partner-logos img {
    /* filter: brightness(0) invert(1); */
    opacity: 0.8;
    transition: opacity 0.3s;
}

.partner-logos img:hover {
    opacity: 1;
}