.containerClear{
    background: transparent !important;
}

/* Main Container */
.container, .container-fluid {
    position: relative !important;
    z-index: 2 !important;
    background: rgba(248, 249, 250, 0.95) !important;
    backdrop-filter: blur(5px) !important;
    min-height: 50vh !important;
    padding: 40px 20px !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
}

/* Card Styles */
.card {
    border: none !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-bottom: 30px !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 20px auto 0;
    display: block;
    border: 3px solid #007bff;
}

.card-body {
    padding: 2rem;
    text-align: center;
}

.card-title {
    color: #333;
    font-weight: bold;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Button Styles */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Star Animation Elements */
.star {
    position: fixed;
    background: hsl(180, 100%, 80%);
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: twinkle 3s infinite;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 10px hsl(180, 100%, 80%);
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Message/Text Overlay */

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer, .footer {
    background-color: rgba(52, 58, 64, 0.9);
    color: #fff;
    padding: 30px 0;
    text-align: center;
    opacity: 0.9;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    margin-top: 0;
}

/* Bootstrap Row/Col Adjustments */
.row {
    margin: 0 -15px;
}

.col, .col-md-4, .col-lg-4 {
    padding: 0 15px;
    margin-bottom: 30px;
}


/* Large screens (1200px and up) */
@media screen and (min-width: 1200px) {
    .jumbotron h1, .hero-section h1 {
        font-size: 4rem;
    }
    
    .jumbotron, .hero-section, .about-section {
        padding: 100px 40px;
        font-size: 18px;
    }
    
    .container, .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 40px;
        border-radius: 20px 20px 0 0;
    }
    
    .message {
        right: 200px;
        bottom: 30px;
        font-size: 20px;
        max-width: 350px;
    }
    
    .card-img-top {
        width: 180px;
        height: 180px;
    }
}

/* Medium screens (768px to 1199px) - Tablets */
@media screen and (max-width: 1199px) and (min-width: 768px) {
    body {
        background-size: 120%;
        background-attachment: scroll;
    }
    
    .jumbotron h1, .hero-section h1 {
        font-size: 3rem;
    }
    
    .jumbotron, .hero-section, .about-section {
        padding: 60px 30px;
        font-size: 16px;
    }
    
    .container, .container-fluid {
        padding: 40px 20px;
        border-radius: 15px 15px 0 0;
    }
    
    .card-img-top {
        width: 120px;
        height: 120px;
    }
    
    .message {
        right: 80px;
        bottom: 20px;
        font-size: 16px;
        line-height: 24px;
        max-width: 280px;
    }
    
    .btn-primary {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Small screens (481px to 767px) - Large phones/small tablets */
@media screen and (max-width: 767px) and (min-width: 481px) {
    body {
        background-size: 150%;
        background-attachment: scroll;
        overflow-x: hidden;
    }
    
    .jumbotron h1, .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .jumbotron, .hero-section, .about-section {
        padding: 40px 20px;
        font-size: 15px;
    }
    
    .container, .container-fluid {
        padding: 30px 15px;
        background: rgba(248, 249, 250, 0.98);
        border-radius: 10px 10px 0 0;
    }
    
    .row {
        margin: 0 -10px;
    }
    
    .col, .col-md-4, .col-lg-4 {
        padding: 0 10px;
        margin-bottom: 25px;
    }
    
    .card {
        max-width: 400px;
        margin: 0 auto 20px;
    }
    
    .card-img-top {
        width: 100px;
        height: 100px;
    }
    
    .message {
        right: 20px;
        bottom: 15px;
        left: 20px;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        max-width: none;
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

/* Mobile screens (480px and below) */
@media screen and (max-width: 480px) {
    body {
        background-size: 200%;
        background-attachment: scroll;
        background-position: center top;
    }
    
    .jumbotron h1, .hero-section h1 {
        font-size: 2rem;
    }
    
    .jumbotron p, .hero-section p {
        font-size: 1rem;
    }
    
    .jumbotron, .hero-section, .about-section {
        padding: 30px 15px;
        font-size: 14px;
    }
    
    .container, .container-fluid {
        padding: 20px 10px;
        background: rgba(248, 249, 250, 0.99);
        border-radius: 5px 5px 0 0;
    }
    
    .row {
        margin: 0 -5px;
    }
    
    .col, .col-md-4, .col-lg-4 {
        padding: 0 5px;
        margin-bottom: 20px;
    }
    
    .card {
        margin: 0 auto 15px;
        padding: 15px;
        border-radius: 10px;
    }
    
    .card-img-top {
        width: 80px;
        height: 80px;
        margin: 10px auto 0;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .message {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        font-size: 12px;
        line-height: 18px;
        text-align: center;
        background: rgba(0, 0, 0, 0.8);
        padding: 12px;
        border-radius: 8px;
        max-width: none;
    }
    
    .btn-primary {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    footer, .footer {
        padding: 20px 10px;
        font-size: 14px;
    }
    
    .star {
        display: none; /* Hide stars on very small screens for performance */
    }
}

/* Extra small screens (360px and below) */
@media screen and (max-width: 360px) {
    .jumbotron h1, .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .jumbotron, .hero-section, .about-section {
        padding: 20px 10px;
        font-size: 13px;
    }
    
    .container, .container-fluid {
        padding: 15px 5px;
    }
    
    .card {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .card-img-top {
        width: 60px;
        height: 60px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .message {
        font-size: 11px;
        line-height: 16px;
        padding: 10px;
    }
    
    .btn-primary {
        padding: 8px;
        font-size: 13px;
    }
}

/* .navbar {
    z-index: 1050;
} */

.message {
    z-index: 1051;
}

html {
    scroll-behavior: smooth;
}


.message {
    position: fixed;
    right: 150px;
    bottom: 10px;
    color: white;
    font-family: "Josefin Slab", serif;
    line-height: 27px;
    font-size: 18px;
    text-align: right;
    pointer-events: none;
    animation: fade-in 1.5s ease 5s forwards;
    opacity: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    max-width: 300px;
}
