/* General Styles */
body {
    /* padding-top: 56px; Height of navbar */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

#intro, #rules, #about, #activities, #facilities, #elephant-family, #vips {
    background-color: #e6f8e8 !important;
}

/* Enhanced Card Styles for Daily Activities */
.hover-lift {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-img-top {
    position: relative;
    overflow: hidden;
}

.card-img-top img {
    transition: transform 0.3s ease;
}

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

.badge {
    font-weight: 500;
    border-radius: 8px;
}

/* Time badge styling */
.badge.bg-success {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Card body enhancements */
.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-text {
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Activity tags styling */
.badge.bg-light {
    border: 1px solid #dee2e6;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Responsive adjustments for cards */
@media (max-width: 768px) {
    .card-body {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
}

/* Container adjustments for small screens */
@media (max-width: 576px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
    
    /* Adjust card padding */
    .card {
        padding: 1rem !important;
    }
    
    /* Ensure images don't overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Adjust section padding */
    section {
        padding: 3rem 0;
    }
}

/* Ensure all rows don't cause overflow */
.row {
    margin-right: 0;
    margin-left: 0;
}

/* Ensure all columns have proper padding */
[class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
}

/* Enhanced Button Styles */
.btn-primary {
    background-color: #228b22;
    border-color: #228b22;
    color: white;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
    background-color: #1e7b1e !important;
    border-color: #1e7b1e !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 0.5rem 1rem rgba(34, 139, 34, 0.3) !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(34, 139, 34, 0.25), 0 0.5rem 1rem rgba(34, 139, 34, 0.3) !important;
}

/* Fix for all button types */
.btn {
    transition: all 0.3s ease !important;
    position: relative;
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15) !important;
}

.btn-warning {
    transition: all 0.3s ease !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning:not(:disabled):not(.disabled):active {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0.375rem 0.75rem rgba(255, 193, 7, 0.3) !important;
}

.btn-outline-success {
    transition: all 0.3s ease !important;
    border: 2px solid #28a745 !important;
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active,
.btn-outline-success:not(:disabled):not(.disabled):active {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0.375rem 0.75rem rgba(40, 167, 69, 0.25) !important;
}

/* Ensure cards also have proper hover effects */
.card {
    transition: all 0.3s ease !important;
}

.card:hover:not(.login-card) {
    transform: translateY(-5px) !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.text-primary, h2 {
    color: #228b22 !important;
}

/* Offcanvas Styles */
.offcanvas {
    max-width: 350px;
}

.offcanvas-title {
    color: #228b22;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('images/hero-image.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section + section {
    margin-top: 0;
}

/* Card Hover Effects */
.card {
    transition: transform 0.3s ease;
}

/* Form Styles */
.form-control {
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.form-control:focus {
    border-color: #90EE90 !important;
    box-shadow: 0 0 0 0.25rem rgba(144, 238, 144, 0.25) !important;
}

#about h2.text-success {
    color: #28a745 !important;
    font-weight: 600;
}

#about .text-muted {
    color: #6c757d !important;
    line-height: 1.6;
}

#about .stats h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

#about img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#elephant-family .card {
    border-radius: 12px;
}

#elephant-family .card:hover {
    transform: translateY(-5px);
}

#elephant-family .card-img-top {
    height: 250px;
    object-fit: cover;
}

#elephant-family .badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
}

#elephant-family .card-title {
    color: #28a745;
}

#elephant-family a.text-success:hover {
    color: #218838 !important;
    text-decoration: underline !important;
}

#elephant-family .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    padding: 0.75rem 2rem;
}

#elephant-family .btn-success:hover {
    background-color: #218838;
    border-color: #218838;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
    }
    
    h1.display-1 {
        font-size: 2.5rem;
    }
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hero-section {
        min-height: 75vh;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #about .col-md-4 {
        margin-bottom: 2rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
}

/* Navigation Styles */
.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #228b22;
}

.navbar-nav .nav-link.active {
    color: #228b22 !important;
    font-weight: 500;
}

main {
    min-height: 75vh;
    background-color: #e6f8e8;
}

.login-quote {
    font-family: 'Noto Sans Tamil', sans-serif;
    line-height: 1.8;
}

.google-login-btn {
    background-color: #4285F4;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.govt-logo {
    width: 75px;
    height: auto;
}

@media (max-width: 415px) {
    .govt-logo {
        width: 60px;
        height: auto;
    }
    .login-quote {
        font-size: 10px;
    }
}

@media (max-width: 370px) {
    .govt-logo {
        width: 50px;
        height: auto;
    }
}

.pointer {
    cursor: pointer;
}

/* Footer Styles */
footer {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/footer-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer .social-links a {
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer .social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

footer ul li a {
    transition: all 0.3s ease;
    opacity: 0.8;
}

footer ul li a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    footer .col-md-6:not(:last-child) {
        margin-bottom: 2rem;
    }
}


