:root {
  --primary: #fa6405;
  --primary-light: #f9ac79;
  --secondary: #2c3e50;
  --light: #f8f9fa;
  --dark: #212529;
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-light));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
  color: var(--dark);
}
/* Navbar Mobile Enhancements */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 1rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
    margin-top: 10px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  
  .navbar-nav {
    padding: 0.5rem 0;
  }
  
  .nav-item {
    margin: 0.25rem 0;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  
  .nav-link:hover {
    background-color: rgba(250, 100, 5, 0.1);
  }
  
  .nav-link:after {
    display: none;
  }
  
  .dropdown-menu {
    margin: 0.25rem 0 0.25rem 1rem;
    border-left: 2px solid rgba(250, 100, 5, 0.3) !important;
    box-shadow: none !important;
  }
  
  .dropdown-item {
    padding: 0.75rem 1rem;
  }
  
  .mobile-dropdown-wrapper {
    width: 100%;
  }
  
  .mobile-dropdown-wrapper .dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.2s ease;
  }
  
  .mobile-dropdown-wrapper .show.dropdown-toggle::after {
    transform: rotate(-180deg);
  }
  
  .btn-primary {
    width: 100%;
    margin: 0.5rem 0 0 0 !important;
  }
  
  /* Hide desktop dropdown items on mobile */
  .desktop-dropdown-wrapper {
    display: none;
  }
}

@media (min-width: 992px) {
  /* Hide mobile dropdown items on desktop */
  .mobile-dropdown-wrapper {
    display: none;
  }
}

/* Existing Navbar Styles (keep these) */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding-top: 5px;
  padding-bottom: 5px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
  color: var(--dark);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.btn-primary {
  background: var(--gradient);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(250, 100, 5, 0.3);
}

/* Dropdown Styles (keep these) */
.dropdown-menu {
  min-width: 280px;
  border: none;
}

.bg-hover-light:hover {
  background-color: rgba(248, 249, 250, 0.5);
}

.icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.dropdown-item:hover .icon-wrapper {
  transform: scale(1.1);
}

.dropdown-divider {
  border-color: rgba(0, 0, 0, 0.05);
}

.text-primary {
  color: #fa6405 !important;
}

.bg-primary {
  background-color: #fa6405 !important;
}

.bg-opacity-10 {
  background-color: rgba(250, 100, 5, 0.1) !important;
}

.text-success {
  color: #28a745 !important;
}

.bg-success {
  background-color: #28a745 !important;
}

.dropdown-item:hover {
  background-color: rgba(250, 100, 5, 0.1) !important;
  transform: translateX(3px);
}

.dropdown-item:active {
  background-color: rgba(250, 100, 5, 0.2) !important;
}
/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px; /* Added min-height for better mobile view */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  padding-top: 70px; /* Added padding to account for fixed navbar */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; /* Allow buttons to wrap on small screens */
}
/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(to bottom right, #f8f9fa, #ffffff);
}

.section-title {
  font-weight: 700;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  bottom: -10px;
  left: 0;
  background: var(--gradient);
  border-radius: 2px;
}

.about-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-card h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: linear-gradient(to right, #d9dbec, #f9ac79);
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Custom Styles for this section */
.text-gradient {
  background: linear-gradient(135deg, #fa6405, #f9ac79);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.company-fact-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.company-fact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
  border-color: rgba(250,100,5,0.2);
}

.fact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250,100,5,0.1);
  border-radius: 12px;
}

.icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.text-purple {
  color: #6f42c1;
}

.bg-purple {
  background-color: #6f42c1;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 4rem 0 2rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h5:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  bottom: -8px;
  left: 0;
  background: white;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 1rem;
  color: white;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

/* Animations */
[data-aos="fade-up"] {
  transform: translateY(30px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* Internship Modal Styles */
#internshipModal .modal-header {
  background: linear-gradient(135deg, #fa6405, #f9ac79);
  border-bottom: none;
}

#internshipModal .modal-content {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#internshipModal .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

#internshipModal .step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

#internshipModal .step-line {
  flex: 1;
  height: 2px;
  background-color: #e9ecef;
  margin: 0 10px;
  position: relative;
  top: 16px;
  transition: all 0.3s ease;
}

#internshipModal .step.active .step-circle {
  background-color: #fa6405;
  color: white;
}

#internshipModal .step-line.active {
  background-color: #fa6405;
}

#internshipModal .step-label {
  font-size: 0.85rem;
  color: #6c757d;
  transition: all 0.3s ease;
}

#internshipModal .step.active .step-label {
  color: #fa6405;
  font-weight: 500;
}

#internshipModal .form-control:focus, 
#internshipModal .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(250, 100, 5, 0.25);
  border-color: #fa6405;
}

#internshipModal .btn-primary {
  background-color: #fa6405;
  border-color: #fa6405;
}

#internshipModal .btn-primary:hover {
  background-color: #e05a04;
  border-color: #d45504;
}

#internshipModal .input-group-text {
  background-color: #f8f9fa;
  transition: all 0.3s;
}

#internshipModal .is-invalid {
  border-color: #dc3545;
}

#internshipModal .is-invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

#internshipModal .card {
  border: none;
  border-radius: 0.5rem;
}

#internshipModal .form-text {
  font-size: 0.8rem;
}
/* internship alert */
/* Modern Alert Styles */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: white;
  font-family: 'Segoe UI', Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.3s ease-out;
  z-index: 9999;
  max-width: 350px;
}

.custom-alert.show {
  transform: translateX(0);
}

.custom-alert.success {
  background-color: #4CAF50;
  border-left: 5px solid #2E7D32;
}

.custom-alert.error {
  background-color: #F44336;
  border-left: 5px solid #C62828;
}

.custom-alert-icon {
  font-size: 24px;
}

.custom-alert-close {
  margin-left: auto;
  cursor: pointer;
  opacity: 0.8;
  font-size: 18px;
}

.custom-alert-close:hover {
  opacity: 1;
}
/* Login popup style */
.login-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: white !important;
}

.icon-wrapper {
  transition: transform 0.3s ease;
}

.login-option:hover .icon-wrapper {
  transform: scale(1.1);
}

.modal-content {
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 100;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
  animation: pulse 2s infinite;
  position: relative;
}

.whatsapp-icon img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #075E54;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hover Effects */
.whatsapp-float:hover {
  transform: translateY(-5px);
}

.whatsapp-float:hover .whatsapp-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  right: 75px;
}

.whatsapp-float:hover .whatsapp-icon img {
  transform: rotate(15deg);
}

/* Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-icon {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-icon img {
    width: 25px;
    height: 25px;
  }
  
  .whatsapp-tooltip {
    font-size: 12px;
    padding: 6px 12px;
    right: 60px;
  }
  
  .whatsapp-float:hover .whatsapp-tooltip {
    right: 65px;
  }
}
/* Responsive adjustments */
@media (max-width: 768px) {
  #internshipModal .step-label {
    display: none;
  }
  
  #internshipModal .step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  #internshipModal .modal-body {
    padding: 1.5rem;
  }
}

/* Animation for step transitions */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#internshipModal [data-step-content] {
  animation: fadeIn 0.3s ease-out;
}
/* Responsive Adjustments */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons .btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 500px;
    text-align: center; /* Center align for mobile */
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    justify-content: center; /* Center buttons on mobile */
    gap: 0.75rem;
  }
  
  .row.align-items-center {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 450px;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column; /* Stack buttons vertically on very small screens */
    gap: 0.5rem;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    padding: 0.5rem;
  }
}

/* For very small devices (landscape phones) */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
}
