/* Custom Styles for Samarpan Girls Hostel */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Swiper Customization */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #FDBB00;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.hero-swiper .swiper-button-next:after,
.hero-swiper .swiper-button-prev:after {
    font-size: 20px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #FDBB00;
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #FDBB00;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: #111827;
}

/* Loading Screen Animation */
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* FAQ Accordion */
.faq-item.active .faq-answer {
    max-height: 300px !important;
    padding-top: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design Fixes */
@media (max-width: 768px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }
}

/* Smooth Transitions */
button, a, .transition-all {
    transition: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FDBB00;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E5A800;
}

/* Print Styles */
@media print {
    nav, footer, .floating-whatsapp-btn, #scroll-to-top {
        display: none;
    }
}


/* ==========================
   ROOMS PAGE STYLES
========================== */

/* Room Cards */

.room-card,
.bg-white.rounded-3xl {
    transition: all 0.4s ease;
}

.bg-white.rounded-3xl:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* Room Images */

.room-image img,
img[alt="Single Sharing Room"],
img[alt="Double Sharing Room"],
img[alt="Luxury Room"] {
    transition: all 0.6s ease;
}

.bg-white.rounded-3xl:hover img {
    transform: scale(1.05);
}

/* Room Feature Icons */

.fa-check-circle {
    color: #FDBB00;
}

/* Comparison Table */

table {
    border-collapse: collapse;
}

table thead {
    background: #FDBB00;
}

table tbody tr:hover {
    background: #f9fafb;
}

table td,
table th {
    padding: 18px;
}

/* CTA Buttons */

.bg-primary {
    transition: all 0.3s ease;
}

.bg-primary:hover {
    transform: translateY(-3px);
}

/* Section Titles */

h2 {
    letter-spacing: -1px;
}

/* Amenities Cards */

.grid.md\:grid-cols-3 .bg-white {
    transition: all 0.4s ease;
}

.grid.md\:grid-cols-3 .bg-white:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.grid.md\:grid-cols-3 i {
    transition: all 0.4s ease;
}

.grid.md\:grid-cols-3 .bg-white:hover i {
    transform: scale(1.15);
}

.about-card:hover i,
.contact-card:hover i,
.facility-card:hover i,
.room-card:hover i{
    color:#FDBB00;
}
/* Floating WhatsApp */

.animate-bounce {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }

}

/* Scroll To Top */

#scroll-to-top {
    transition: all .3s ease;
}

#scroll-to-top:hover {
    transform: translateY(-5px);
}

/* Hero Section */

.bg-gradient-to-br {
    position: relative;
    overflow: hidden;
}

.bg-gradient-to-br::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(253,187,0,0.08);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

/* Room Badge Animation */

.bg-purple-100,
.bg-green-100,
.bg-primary {
    animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }

    100% {
        transform: translateY(0);
    }

}

/* Mobile Responsive */

@media(max-width:768px){

    h1{
        font-size:2.5rem !important;
    }

    h2{
        font-size:2rem !important;
    }

    .rounded-3xl{
        border-radius:20px;
    }

    table{
        min-width:600px;
    }

}

/* ==========================
   ABOUT PAGE STYLES
========================== */

/* About Image */

img[alt="Samarpan Girls Hostel"]{
    transition:all .6s ease;
}

img[alt="Samarpan Girls Hostel"]:hover{
    transform:scale(1.03);
}

/* About Cards */

.bg-gray-50.p-10.rounded-3xl{
    transition:all .4s ease;
}

.bg-gray-50.p-10.rounded-3xl:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* Why Choose Us Cards */

.bg-white.p-8.rounded-3xl{
    transition:all .4s ease;
}

.bg-white.p-8.rounded-3xl:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

/* Icons */

.fa-shield-alt,
.fa-book,
.fa-utensils,
.fa-wifi,
.fa-camera,
.fa-elevator,
.fa-tshirt,
.fa-eye,
.fa-bullseye{
    transition:.4s;
}


.bg-gray-50:hover i{
    transform:scale(1.15);
    color:#FDBB00;
}

/* Statistics Section */

.bg-gradient-to-br h2{
    text-shadow:0 5px 15px rgba(0,0,0,.2);
}

/* CTA Button */

.bg-primary{
    transition:.3s ease;
}

.bg-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 30px rgba(253,187,0,.4);
}

/* Footer Links */



footer a{
    color:#d1d5db;
    transition:0.3s;
}

footer a:hover{
    color:#ffffff;
    padding-left:5px;
}

/* Section Headings */

section h2{
    letter-spacing:-1px;
}

/* Floating Animation */

@keyframes floating{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}

.fa-eye,
.fa-bullseye{
    animation:floating 3s ease-in-out infinite;
}

/* Hero Background Glow */

.bg-gradient-to-br{
    position:relative;
    overflow:hidden;
}

.bg-gradient-to-br::before{

    content:'';

    position:absolute;

    width:500px;
    height:500px;

    background:rgba(253,187,0,.08);

    border-radius:50%;

    top:-250px;
    right:-150px;

}

/* Mobile Responsive */

@media(max-width:768px){

    h1{
        font-size:2.5rem !important;
    }

    h2{
        font-size:2rem !important;
    }

    .grid{
        gap:1.5rem;
    }

}

/* ==========================
   CONTACT PAGE STYLES
========================== */

/* Contact Cards */

.contact-card,
.bg-white.p-8.rounded-3xl {
    transition: all .4s ease;
}

.contact-card:hover,
.bg-white.p-8.rounded-3xl:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

/* Contact Form */

form input,
form textarea,
form select {

    transition: all .3s ease;
    background: #fff;

}

form input:focus,
form textarea:focus,
form select:focus {

    border-color: #FDBB00 !important;
    box-shadow: 0 0 0 4px rgba(253,187,0,.15);

}

/* Form Button */

form button {

    transition: .3s ease;

}

form button:hover {

    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(253,187,0,.35);

}

/* Contact Image */

img[alt="Contact Samarpan Girls Hostel"] {

    transition: all .6s ease;

}

img[alt="Contact Samarpan Girls Hostel"]:hover {

    transform: scale(1.03);

}

/* Contact Icons */

.fa-location-dot,
.fa-phone,
.fa-envelope {

    transition: all .4s ease;

}



/* Google Map */

iframe {

    transition: all .4s ease;

}

iframe:hover {

    filter: brightness(1.05);

}

/* CTA Buttons */

.bg-green-500,
.bg-primary {

    transition: .3s ease;

}

.bg-green-500:hover,
.bg-primary:hover {

    transform: translateY(-4px);

}

/* Footer Links */

footer a {

    transition: .3s ease;

}

footer a:hover {

    color: #FDBB00;
    padding-left: 5px;

}

/* WhatsApp Floating Button */

@keyframes whatsappPulse {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }

}

.animate-bounce {

    animation: whatsappPulse 2s infinite;

}

/* Hero Glow */

.bg-gradient-to-br {

    position: relative;
    overflow: hidden;

}

.bg-gradient-to-br::before {

    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    background: rgba(253,187,0,.08);

    border-radius: 50%;

    top: -250px;
    right: -150px;

}

/* Mobile Responsive */

@media(max-width:768px){

    h1{
        font-size:2.5rem !important;
    }

    h2{
        font-size:2rem !important;
    }

    iframe{
        height:350px;
    }

}

nav .fa-home{
    color:#111827 !important;
}

nav .fa-home:hover{
    color:#111827 !important;
}


nav i,
nav i:hover,
nav .fa-home,
nav .fa-house {
    color: #111827 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    transform: none !important;
}