html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Root Variables */
:root {
    --primary-color: #ffc107;
    --secondary-color: #212529;
 --text-color: #333;
    --light-bg: #f8f9fa;
}

/* Global Styles */
body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Brand Logo Styles */
.brand-logo {
    position: relative;
}

.brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
 line-height: 1;
    gap: 2px;
}

.brand-main {
  font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
font-weight: 900;
    letter-spacing: 0.5rem;
    color: #ffc107;
    text-transform: uppercase;
    position: relative;
    line-height: 1;
    padding-bottom: 2px;
}

.brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.35rem;
    color: #666;
    text-transform: uppercase;
    line-height: 1;
    padding-left: 2px;
}

/* Navbar with brand */
.navbar-brand {
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled .brand-main {
    font-size: 1.8rem;
  letter-spacing: 0.4rem;
}

.navbar-scrolled .brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.3rem;
}

/* Footer brand */
.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand .brand-main {
    font-size: 2rem;
    letter-spacing: 0.45rem;
    color: #ffc107 !important;
}

.footer-brand .brand-sub {
    font-size: 0.65rem;
    letter-spacing: 0.32rem;
    color: #fff !important;
}

/* Responsive brand */
@media (max-width: 992px) {
    .brand-main {
        font-size: 1.9rem;
   letter-spacing: 0.4rem;
    }
    
    .brand-sub {
        font-size: 0.65rem;
      letter-spacing: 0.3rem;
    }
}

@media (max-width: 768px) {
    .brand-main {
        font-size: 1.6rem;
        letter-spacing: 0.35rem;
    }
    
    .brand-sub {
        font-size: 0.55rem;
        letter-spacing: 0.25rem;
    }
    
.footer-brand .brand-main {
        font-size: 1.5rem;
        letter-spacing: 0.35rem;
    }
    
    .footer-brand .brand-sub {
    font-size: 0.55rem;
        letter-spacing: 0.25rem;
    }
}

@media (max-width: 576px) {
    .brand-main {
        font-size: 1.4rem;
   letter-spacing: 0.3rem;
    }
    
    .brand-sub {
   font-size: 0.5rem;
        letter-spacing: 0.2rem;
    }
    
    .footer-brand .brand-main {
        font-size: 1.3rem;
        letter-spacing: 0.3rem;
  }
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    margin-top: 76px;
    position: relative;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 0 50px;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem !important;
 }
    
    .carousel-caption h2 {
 font-size: 1.5rem !important;
    }
    
    .carousel-caption p {
        font-size: 1rem !important;
    }
}

/* Cards */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Course Cards */
.course-card {
    transition: all 0.3s ease;
}

.course-card:hover {
    border-color: var(--primary-color) !important;
}

.course-icon i {
    transition: all 0.3s ease;
}

.course-card:hover .course-icon i {
 transform: scale(1.1);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-overlay {
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-warning {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

.btn-outline-warning:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Stats Section */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Page Header */
.page-header {
    padding: 100px 0 50px;
    margin-top: 76px;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
}

/* Service Icons */
.service-icon i,
.service-icon-large i {
    transition: all 0.3s ease;
}

.hover-card:hover .service-icon i,
.hover-card:hover .service-icon-large i {
  transform: rotate(360deg);
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
  transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

/* Contact Form */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #000;
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
  }
    to {
      opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
     padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
  font-size: 1.75rem;
    }
    
    .display-6 {
    font-size: 1.5rem;
    }
}

/* Smooth Scrolling for Sections */
section {
  scroll-margin-top: 76px;
}

/* Video Icon Animation */
.video-icon i {
    transition: all 0.3s ease;
}

.hover-card:hover .video-icon i {
    transform: scale(1.2);
    color: #e0a800;
}

/* Contact Icon */
.contact-icon i {
    transition: all 0.3s ease;
}

.card:hover .contact-icon i {
    transform: scale(1.1);
}

/* Social Links Large */
.social-links-large .btn {
    min-width: 150px;
    padding: 1.5rem 1rem;
}

.social-links-large .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .social-links {
     display: none;
    }
}