:root {
    /* Dark theme variables */
    --dark-bg: #1e293b; /* Using --dark from client's palette */
    --darker-bg: #0f172a; /* Darker shade of --dark */
    --accent: #ff4500; /* Using --primary as accent */
    --accent-dark: #de5613; /* Using --primary-dark */
    --text: #f8fafc; /* Using --light for text */
    --text-muted: #94a3b8; /* Using --gray */
    
    /* Client's original variables */
    --primary: #ff4500;
    --primary-light: #f3551c;
    --primary-dark: #ff4400;
    --secondary: #f43f5e;
    --secondary-light: #f65f7a;
    --success: #10b981;
    --info: #3b82f6;
    --warning: #f59e0b;
    --danger: #ef4444;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #94a3b8;
    --gray-light: #e2e8f0;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --indigo: #6366f1;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.text-accent {
  color: var(--accent); /* from your palette, e.g., #ff4500 */
}

#mission-vision ul {
  list-style: none;
  padding-left: 0;
}

#mission-vision ul li::before {
  content: "✔";
  color: var(--success);
  margin-right: 0.5rem;
}

body {
    font-family:'Ubuntu', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--darker-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

/* Navbar */
.navbar {
    background-color: rgba(10, 10, 10, 0.9) !important;
    backdrop-filter: blur(10px);
    padding: 10px 0;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    transition: all 0.3s ease;
    height: 100px; 
    display: flex;
    align-items: center;


}

/* .navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.1);
} */

/* .navbar-brand {
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--accent) !important;
    letter-spacing: 1px;
} */

.navbar-brand img {
    height: 100px; /* Set image height within navbar height */
    width: auto;
    max-height: 100%; /* Ensure image doesn't exceed navbar */
    border-radius: 8px;
    transition: transform 0.3s ease;
}
    
.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.nav-link.active {
    color: var(--accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
/* Remove default dropdown arrow */
.nav-link.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
  max-height: 300px; /* Adjust as needed */
  overflow-y: auto;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active,
.dropdown-menu .dropdown-item.show {
    background-color: var(--accent) !important;
    color: #fff !important; /* make sure text contrasts */
}

/* Hero Section */
/* .hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/static/images/elevation.png")  no-repeat center center/cover;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    min-height: 500px;
    margin: 2rem;
    transform: translateY(200px);
}
.btn-apply {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary);
  color: var(--light);
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 0.4rem;
  box-shadow: var(--card-shadow);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.btn-apply:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--card-shadow-hover);
  color: var(--light);
}

.btn-apply i {
  font-size: 1.1rem;
}

.hero h1  {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}
.hero h4  {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(to right, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark-bg);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
} */


.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* .carousel-item {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
} */

.carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}
.hero-content {
    position: absolute;

    z-index: 2;
    padding: 2rem;
    left: 10%;
    transform: translateY(100px);
    min-height: 500px;

    border-radius: 1rem;
}
.caroimg{
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9));
        height: 100vh;
    object-fit: cover;
    width: 100%;
    display: block;
}
.hero h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #eee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--dark-bg);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(246, 135, 66, 0.3);
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  background-color: #ff4500;
  color: #f8fafc;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 
              0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-apply:hover {
  background-color: #e0662a;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 
              0 4px 6px -2px rgba(0, 0, 0, 0.05);
  color: #f8fafc;
}
.button-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.lead{
    font-size: 1rem;
}
.owl-carousel .item {
  display: flex;
}
.facility-card {
  min-height: 588px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.4s ease;
  backdrop-filter: blur(10px);
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(255, 69, 0, 0.1);
  border-color: var(--accent);
}

.facility-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.facility-card:hover .facility-img img {
  transform: scale(1.05);
}

.facility-content {
  padding: 20px;
}

.facility-content h3 {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.facility-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: justify;
  margin-bottom: 15px;
}

.headering{
    padding-top:50px;
}
/* Floor Sections */
.floor-section {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

#swimming-pool,#our-facilities {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('/static/images/swimming3.png') no-repeat center center/cover;
}

#badminton-court,#our-facilities {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('/static/images/courtrender.jpeg') no-repeat center center/cover;
}

#gym {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('/static/images/strength.png') no-repeat center center/cover;
}
#cafe {
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('/static/images/cafe1.png') no-repeat center center/cover;
}
#pool-table{
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url('/static/images/pooltable.jpg') no-repeat center center/cover;
}
.floor-content {
    background-color: rgba(5, 5, 5, 0.85);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent);
}

.floor-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 20px;
}

.floor-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.floor-content ul {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    padding-left: 20px; 
    list-style-type: disc; 
}

.floor-content ul li {
    margin-bottom: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    background-color: var(--accent);
    color: var(--dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--darker-bg);
}

.contact-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: white;
    padding: 15px;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    /* box-shadow: 0 0 0 0.25rem rgba(0, 255, 136, 0.25); */
    /* border-color: var(--accent); */
    color: white;
}

/* Footer */
.footer {
    background-color: #050505;
    color: var(--text-muted);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-icon:hover {

    transform: translateY(-5px);
}

/* Hover Effects */
.social-icon.facebook:hover {
    background-color: #1877F2; /* Facebook Blue */
    color: #fff;
}

.social-icon.twitter:hover {
    background-color: #000000; /* X (Twitter) Black */
    color: #fff;
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.social-icon.whatsapp:hover {
    background-color: #25D366; /* WhatsApp Green */
    color: #fff;
}
/* Animations */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

.animate-top {
    transform: translateY(-50px);
}

.animate-bottom {
    transform: translateY(50px);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Styles */



@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}



@media (max-height: 700px) {
  .dropdown-menu {
    max-height: 50vh; /* or 60vh depending on how tall your navbar is */
    overflow-y: auto;
  }
}


@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* Calendar Modal Styles */
.modal-content {
    background-color: var(--darker-bg);
    color: var(--text);
    border: 1px solid var(--accent);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.close {
    color: white;
    text-shadow: none;
    opacity: 0.8;
}

.close:hover {
    color: var(--accent);
    opacity: 1;
}

/* Calendar Icon in Hero */
.btn-outline-light {
    border-color: white;
    color: white;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--dark-bg);
}


.contact-form ::placeholder {
  color: white !important;
  opacity: 1;
}

.contact-form input,
.contact-form textarea {
  color: white;
  background-color: transparent;
  border-color: white;
}

@media (max-width: 1322px) {
    .carousel-item,
    .caroimg {
        height: 100vh;
    }

    .caroimg {
        object-fit: cover;
    }
}

/* Enhanced Responsive Styles */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: rgba(10, 10, 10, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        max-height: 80vh; 
        overflow-y: auto;
    }
    
    .nav-link {
        margin: 10px 0;
        padding: 10px 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    .hero h4{
        font-size: 1.3rem;
    }
    .hero-content {
        
        text-align: center;
        transform: translateY(50px);
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-primary,
    .btn-apply {
        display: inline-flex;
        margin: 0;
        max-width: none;
    }

    .button-group {
        justify-content: left;
    }
    
    .floor-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .facility-card {
        margin-bottom: 30px;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 1.3rem;
    }
    .hero h4{
        font-size: 1rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .carousel-item,
    .caroimg {
        height: 90vh;
    }

    .caroimg {
        object-fit: cover;
    }

    .hero-content {
        
        text-align: center;
        transform: translateY(10px);
    }
    .floor-content h2 {
        font-size: 2rem;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 30px;
    }
    
    .back-to-top {
        margin-left: 80% !important;
    }
}

/* Fix for dropdown menu in mobile */
@media (max-width: 992px) {
    .dropdown-menu {
        background-color: transparent;
        border: none;
        box-shadow: none;
    }
    
    .dropdown-item {
        color: var(--text) !important;
        padding: 8px 15px;
    }
    
    .dropdown-item:hover {
        color: var(--accent) !important;
        background-color: transparent;
    }
}


.list-unstyled li a {
  text-decoration: none;
  color: var(--gray);
  font-size: 18px;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}


.list-unstyled li a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}
