/*
 * PTJM JYOTI SSVM PETARWAR, BOKARO
 * Global Stylesheet
 * Custom CSS for Premium Educational Design
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,400&display=swap');

/* Color Variables */
:root {
  --primary-color: #1a365d;       /* Royal Blue */
  --secondary-color: #2b6cb0;     /* Slate Royal Blue */
  --accent-color: #d69e2e;        /* Gold Accents */
  --accent-hover: #b7791f;       /* Gold Darker */
  --dark-color: #0f172a;         /* Navy Blue / Charcoal */
  --light-color: #f8fafc;        /* Off White / Light Grey */
  --white: #ffffff;
  --border-color: #e2e8f0;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* Base resets & styles */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #334155;
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Playfair Display', serif;
  color: var(--dark-color);
  font-weight: 700;
}

p {
  font-family: 'Inter', sans-serif;
}

/* Custom Selection Color */
::selection {
  background-color: var(--primary-color);
  color: var(--white);
}

/* General Layout Utilities */
section {
  padding: 80px 0;
}

.bg-light-section {
  background-color: var(--light-color);
}

.text-gold {
  color: var(--accent-color);
}

.bg-navy {
  background-color: var(--dark-color);
}

.bg-royal {
  background-color: var(--primary-color);
}

/* Buttons */
.btn-primary-school {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-primary-school:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-gold {
  background-color: var(--accent-color);
  color: var(--white);
  border: 2px solid var(--accent-color);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Sticky Header & Navbar */
header {
  transition: var(--transition-smooth);
  z-index: 1030;
}

.top-bar {
  background-color: var(--dark-color);
  color: var(--white);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.top-bar a:hover {
  color: var(--accent-color);
}

.header-main {
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

header.scrolled .header-main {
  padding: 5px 0;
  box-shadow: var(--shadow-md);
}

/* Logo and Branding styling */
.logo-img {
  max-height: 60px;
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  max-height: 50px;
}

.school-title {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.school-tagline {
  font-size: 11px;
  font-family: 'Inter', sans-serif;
  color: var(--accent-color);
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

/* Navigation Menu */
.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-color);
  padding: 25px 12px !important;
  transition: var(--transition-smooth);
  position: relative;
}

header.scrolled .navbar-nav .nav-link {
  padding: 15px 12px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* Nav underline indicator */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

header.scrolled .navbar-nav .nav-link::after {
  bottom: 8px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Dropdowns on Hover for Desktop */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.25s ease-out;
  }
}

.dropdown-menu {
  background-color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 230px;
}

.dropdown-item {
  font-size: 13.5px;
  padding: 8px 20px;
  font-weight: 500;
  color: var(--dark-color);
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  padding-left: 25px;
}

.dropdown-item.active, .dropdown-item:active {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Search Bar Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.95);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-input-box {
  width: 80%;
  max-width: 600px;
  background: transparent;
  border: none;
  border-bottom: 3px solid var(--accent-color);
  color: var(--white);
  font-size: 24px;
  padding: 10px;
  outline: none;
}

.search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.search-close:hover {
  color: var(--accent-color);
}

/* Hero Section (Swiper Fullscreen) */
.heroSlider {
  height: 85vh;
  position: relative;
  width: 100%;
}

.hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .heroSlider {
    height: 60vh;
  }
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Swiper navigation custom colors */
.swiper-button-next, .swiper-button-prev {
  color: var(--white);
  background: rgba(26, 54, 93, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 18px;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--accent-color);
}

.swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
}

/* Highlight search keywords */
.search-highlight {
  background-color: #fef08a;
  color: #000;
  padding: 0 2px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Home Section Styles */
.section-title-container {
  margin-bottom: 60px;
}

.section-tag {
  text-transform: uppercase;
  color: var(--accent-color);
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 0;
  font-size: 36px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.text-start .section-title::after {
  left: 0;
  transform: none;
}

/* Message Cards (Principal/Chairman) */
.message-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.message-card:hover {
  transform: translateY(-5px);
}

.message-img-container {
  position: relative;
}

.message-quote-icon {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--accent-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-md);
}

/* Why Choose Us Cards */
.feature-card {
  padding: 35px 25px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: var(--transition-smooth);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon-container {
  width: 65px;
  height: 65px;
  background: rgba(43, 108, 176, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-container {
  background: var(--primary-color);
  color: var(--white);
  transform: rotateY(180deg);
}

/* Counter Section */
.counter-section {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 60px 0;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.9);
}

.counter-item {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
}

.counter-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}

.counter-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.8);
}

/* Notice Board & News */
.notice-board-container {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.notice-board-header {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px 20px;
}

.notice-board-header h3 {
  color: var(--white);
  font-size: 20px;
  margin: 0;
}

.notice-ticker-wrapper {
  height: 380px;
  overflow: hidden;
  position: relative;
  padding: 10px 20px;
}

.notice-ticker {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: calc(100% - 40px);
  animation: scroll-up 25s linear infinite;
}

.notice-ticker:hover {
  animation-play-state: paused;
}

.notice-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.notice-item:last-child {
  border-bottom: none;
}

.notice-date {
  font-size: 12px;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.notice-link {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
  font-size: 14.5px;
}

.notice-link:hover {
  color: var(--secondary-color);
}

@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* News Cards */
.news-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-img-box {
  overflow: hidden;
  position: relative;
  height: 200px;
}

.news-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.news-card:hover .news-img-box img {
  transform: scale(1.1);
}

.news-date-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}

.news-body {
  padding: 20px;
}

.news-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.news-title a {
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.news-title a:hover {
  color: var(--primary-color);
}

/* Timeline (Achievements) */
.timeline-container {
  position: relative;
  padding-left: 30px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-color);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px rgba(214, 158, 46, 0.3);
}

.timeline-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 5px;
}

/* Facility Page and Component Cards */
.facility-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background: var(--white);
  transition: var(--transition-smooth);
  height: 100%;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.facility-img-box {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.facility-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.facility-card:hover .facility-img-box img {
  transform: scale(1.1);
}

.facility-icon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--white);
  color: var(--primary-color);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.facility-body {
  padding: 20px;
}

.facility-title {
  font-size: 19px;
  margin-bottom: 10px;
}

/* Gallery Masonry Layout & Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background: var(--light-color);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark-color);
  transition: var(--transition-smooth);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}

.gallery-grid-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.gallery-grid-item.hide {
  display: none;
}

.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 54, 93, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 20px;
  text-align: center;
}

.gallery-grid-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-grid-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay-icon {
  font-size: 24px;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.gallery-overlay-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
}

.gallery-overlay-cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}

/* Testimonial Slider */
.testimonials-slider {
  padding: 20px 0 50px 0;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-quote {
  font-size: 16px;
  font-style: italic;
  color: #475569;
  margin-bottom: 25px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h5 {
  font-size: 16px;
  margin: 0;
}

.testimonial-author-info span {
  font-size: 12px;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Call To Action Banner */
.cta-banner {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  padding: 80px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

/* Faculty Cards */
.faculty-card-profile {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
  text-align: center;
  height: 100%;
}

.faculty-card-profile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.faculty-avatar-box {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 30px auto 20px auto;
  overflow: hidden;
  border: 4px solid var(--border-color);
  transition: var(--transition-smooth);
}

.faculty-card-profile:hover .faculty-avatar-box {
  border-color: var(--accent-color);
}

.faculty-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faculty-info {
  padding: 0 20px 30px 20px;
}

.faculty-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.faculty-title {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.faculty-detail-text {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
}

/* Page Banner */
.page-banner {
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.page-banner-title {
  font-size: 42px;
  color: var(--white);
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--accent-color);
}

.breadcrumb-item.active {
  color: var(--accent-color);
}

/* Floating Widgets */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.floating-whatsapp {
  background-color: #25d366;
}

.floating-call {
  background-color: #0284c7;
}

.back-to-top {
  background-color: var(--primary-color);
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Footer Section */
footer {
  background-color: var(--dark-color);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 20px 0;
  font-size: 14px;
  border-top: 5px solid var(--accent-color);
}

.footer-column-title {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-logo-box {
  margin-bottom: 20px;
}

.footer-logo-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  background-color: rgba(255,255,255,0.05);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.footer-social-icon:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-info li {
  margin-bottom: 15px;
  display: flex;
  gap: 12px;
}

.footer-contact-icon {
  color: var(--accent-color);
  font-size: 16px;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px;
  padding-top: 25px;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
  color: var(--accent-color);
}

/* Animations, Transitions & Focus states */
.transition-card {
  transition: var(--transition-smooth);
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  section {
    padding: 60px 0;
  }
  .navbar-nav .nav-link {
    padding: 12px 0 !important;
  }
  .navbar-nav .nav-link::after {
    display: none;
  }
  .hero-content h1 {
    font-size: 38px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }
}

/* Google Translate styling cleanup */
#google_translate_element, .skiptranslate, .goog-te-gadget {
  display: none !important;
}
body {
  top: 0px !important;
}
.goog-te-banner-frame {
  display: none !important;
}
.goog-tooltip {
  display: none !important;
}
.goog-tooltip:hover {
  display: none !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Mobile dropdown arrow styling */
.navbar-nav .dropdown {
  position: relative;
}

.mobile-dropdown-arrow {
  position: absolute;
  right: 15px;
  top: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  color: var(--primary-color);
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, background 0.3s ease;
}

.mobile-dropdown-arrow:hover {
  background: rgba(0, 0, 0, 0.1);
}

.mobile-dropdown-arrow.open {
  transform: rotate(180deg);
  background: var(--accent-color);
  color: var(--white);
}

/* Adjust Bootstrap responsive mobile navbar dropdown items */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu {
    display: none;
    position: static;
    float: none;
    width: 100%;
    background-color: rgba(0,0,0,0.02);
    border: none;
    box-shadow: none;
    padding-left: 15px;
    margin: 5px 0;
  }
  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }
  .navbar-nav .nav-link {
    padding-right: 50px !important; /* Space for the arrow button */
  }
}
