/* Main Styles and Variables */
:root {
  --primary-color: #121212;
  --secondary-color: #1a1a1a;
  --accent-color: #FF8C00;
  --text-color: #ffffff;
  --card-bg: rgba(22, 22, 22, 0.8);
  --card-hover-bg: rgba(30, 30, 30, 0.95);
  --transition-speed: 0.3s;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary-color)!important;
  color: var(--text-color);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color 0.5s ease;
}

/* Modern Custom Cursor */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background-color: #FF8C00;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.3s, height 0.3s;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 140, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 40;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-out;
  animation: pulsate 2s infinite;
}

@keyframes pulsate {
  0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
  }
  50% {
      transform: translate(-50%, -50%) scale(1.2);
      opacity: 0.4;
  }
  100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
  }
}

/* Interactive cursor state */
.clickable {
  cursor: pointer;
}

.clickable:hover ~ .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
  background-color: #FF8C00;
}

.clickable:hover ~ .cursor-ring {
  border-color: rgba(255, 140, 0, 0.6);
  transform: translate(-50%, -50%) scale(0.75);
}


/* Page Loading Animation */
body:not(.loaded) {
  overflow: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

body.loaded::before {
  opacity: 0;
}

/* Animated Background Gradient */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(-45deg, #280f01, #000000, #281401, #000000);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: #FF8C00;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF8C00;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
/* Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.8s ease;
}

.particle {
  position: absolute;
  background-color: var(--accent-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
  0% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(0) translateX(20px); }
  75% { transform: translateY(20px) translateX(10px); }
  100% { transform: translateY(0) translateX(0); }
}

/* Section Styles */
section {
  padding: 4rem 1rem;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #FF8C00; /* Darker orange */
  font-weight: bold;
  font-family: 'Xirod', sans-serif;
  position: relative;
  padding-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.5); /* Glow effect */
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #FF8C00, #E83A00); /* Darker gradient */
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.5); /* Glow effect */
}


@media (max-width: 768px) {
  section {
    padding: 2rem 0.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* Button Styles */
.button {
  margin-bottom: 2rem;
}

.btn-outline-info {
  border: 2px solid var(--accent-color) !important;
  color: var(--accent-color) !important;
  background-color: black !important;
  padding: 0.75rem 1.5rem;
  margin: 1rem 0;
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.btn-outline-info:hover {
  color: var(--primary-color);
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 140, 0, 0.6);
}

.btn-outline-info::before {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.btn-outline-info:hover::before {
  left: 100%;
}

.btn-clicked {
  animation: buttonPulse 0.5s ease;
}

@keyframes buttonPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-animation {
  animation: pulse 1.5s infinite;
}

.click-animation {
  animation: clickEffect 0.5s;
}

@keyframes clickEffect {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* Card Styles */
.card-container {
  margin-bottom: 4rem;
}

.card {
  background-color: rgb(40, 39, 39)!important;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  position: relative;
  height: 420px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 140, 0, 0.6);
}

.card-img-top {
  height: 300px;
  background-size: cover;
  transition: transform 0.5s ease;
  padding: 10px;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
  background-color: var(--card-bg);
  transition: all var(--transition-speed) ease;
}

.card-title {
  color: white!important;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-align: center;
}

.card-text {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: rotateY(180deg);
  transition: all 0.5s ease;
  backface-visibility: hidden;
}

.card:hover .card-back {
  opacity: 1;
  transform: rotateY(0);
}

.card-back p {
  color: var(--text-color);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-button {
  width: 100%;
  margin-top: auto;
}

.card-highlight {
  animation: highlightCard 1s ease;
}

@keyframes highlightCard {
  0% { box-shadow: 0 0 0 rgba(255, 140, 0, 0.3); }
  50% { box-shadow: 0 0 30px rgba(255, 140, 0, 0.6); }
  100% { box-shadow: 0 0 0 rgba(255, 140, 0, 0.3); }
}

.keyboard-focus {
  box-shadow: 0 0 0 3px var(--accent-color);
}

.touch-active {
  transform: scale(0.98);
}

/* Responsive Card Adjustments */
@media (max-width: 992px) {
  .card {
    height: 380px;
  }
  
  .card-img-top {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .card {
    height: 360px;
    margin-bottom: 1.5rem;
  }
  
  .card-img-top {
    height: 300px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
  
  .card-text {
    font-size: 0.9rem;
  }
  
  .card-back p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .card {
    height: auto;
    min-height: 280px;
  }
  
  .card-img-top {
    height: 300px;
  }

  .row>* {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
}

/* Dock Menu */
.dock-container {
  position: fixed;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  z-index: 100;
}

.dock {
  display: flex;
  background-color: rgba(14, 12, 9, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 15px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
}

.dock-item:hover {
  transform: translateY(-15px) scale(1.2);
  background-color: rgba(255, 166, 61, 0.2);
  color: #FFA63D;
  box-shadow: 0 15px 35px rgba(255, 166, 61, 0.3);
}

.active-dock-item {
  background-color: rgba(255, 166, 61, 0.2);
  color: #FFA63D;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 166, 61, 0.2);
}

.dock-tooltip {
  position: absolute;
  top: -45px;
  background-color: rgba(62, 47, 33, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-item:hover .dock-tooltip {
  opacity: 1;
  top: -50px;
}


@media screen and (max-width: 992px) {
  .dock-item {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

@media screen and (max-width: 768px) {
  .dock {
    padding: 10px 15px;
  }

  .dock-item {
      width: 45px;
      height: 45px;
      margin: 0 8px;
      font-size: 18px;
  }
}

@media screen and (max-width: 576px) {
  .dock {
    border-radius: 20px;
    padding: 8px 12px;
}

.dock-item {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    font-size: 16px;
  }
}

@media screen and (max-width: 400px) {
  .dock-item {
    width: 35px;
    height: 35px;
    margin: 0 3px;
    font-size: 14px;
  }
}

/* Footer */
.footer {
  background: linear-gradient(to top, #000000, #0a0a0a);
  padding: 3rem 9%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 140, 0, 0.3);
}

.footer-heading {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #FF8C00;
  transition: all 0.3s ease;
}

.followus:hover .footer-heading::after, 
.contactus:hover .footer-heading::after {
  width: 100%;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.social-media-footer {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-media-footer a {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media-footer a:hover {
  background: var(--primary-color);
  color: grey;
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.contactus-content p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: gray;
}

.contactus-content p span {
  color: gray;
  font-weight: 600;
}

/* Animation for elements */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Responsive */
@media (max-width: 991px) {

  .footer {
    padding: 3rem 4%;
  }
}

@media (max-width: 768px) {    
  .footer {
    flex-direction: column;
    gap: 2rem;
  }
}


/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  color: var(--accent-color);
  opacity: 0.7;
  animation: bounce 2s infinite;
  z-index: 100;
  transition: opacity 0.3s ease;
}

.hide-scroll-indicator {
  opacity: 0;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-20px) translateX(-50%); }
  60% { transform: translateY(-10px) translateX(-50%); }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent-color);
  width: 0%;
  z-index: 1000;
  transition: width 0.2s ease;
}

/* Section Title Animation */
.section-title-animation {
  position: relative;
  overflow: hidden;
}

.section-title-animation::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  transform: translateX(-100%);
  animation: titleLineAnimation 1.5s forwards;
}

@keyframes titleLineAnimation {
  to { transform: translateX(0); }
}

/* Highlight Section Animation */
.highlight-section {
  position: relative;
  animation: highlightSection 1.5s ease;
}

@keyframes highlightSection {
  0% { box-shadow: inset 0 0 0 rgba(255, 140, 0, 0.3); }
  50% { box-shadow: inset 0 0 30px rgba(255, 140, 0, 0.5); }
  100% { box-shadow: inset 0 0 0 rgba(255, 140, 0, 0.3); }
}


/* Responsive Footer Adjustments */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    padding: 2rem 1rem 6rem;
  }
  
  .followus, .contactus {
    margin: 1rem 0;
  }
  
  .footer-heading {
    font-size: 1.3rem;
  }
  
  .social-media-footer a {
    width: 50px;
    height: 50px;
  }
  
  .social-media-footer dotlottie-player {
    width: 50px;
    height: 50px;
  }
}

/* Accessibility Enhancements */
.card:focus {
  outline: 3px solid var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.5);
}

.btn-outline-info:focus {
  outline: 3px solid var(--accent-color);
  box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.5);
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
  .card {
    border: 1px solid CanvasText;
  }
  
  .btn-outline-info {
    border: 2px solid CanvasText;
  }
  
  .dock-item:hover, .active-dock-item {
    outline: 2px solid Highlight;
  }
}

/* Print Styles */
@media print {
  .dock-container,
  .particles,
  .animated-bg,
  .scroll-indicator,
  .scroll-progress {
    display: none !important;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .card {
    break-inside: avoid;
    page-break-inside: avoid;
    background-color: white;
    color: black;
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .card-title {
    color: black;
    font-weight: bold;
  }
  
  a {
    text-decoration: underline;
    color: black;
  }
}

/* Drop-up menu styles */
.dropup {
  position: relative;
}

.dropup-content {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(1, 1, 1);
  min-width: 70px;
  border-radius: 12px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.dropup-item {
  padding: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
}

.dropup-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.dropup-item i {
  margin-right: 8px;
  font-size: 16px;
}

/* Show the dropup content when active */
.show {
  display: flex;
}

