@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #0b2545; /* Deep Lake Blue */
  --secondary-color: #134074;
  --accent-color: #8da9c4;
  --highlight-color: #eef4ed;
  --text-dark: #131515;
  --text-light: #f8f9fa;
  --card-bg: rgba(255, 255, 255, 0.9);
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition-speed: 0.4s;
  --whatsapp-color: #25D366;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--text-dark); 
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-color); 
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color); 
}

/* Selection */
::selection {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--highlight-color);
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--accent-color);
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Glassmorphism Navbar */
.navbar-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-speed) ease;
  padding: 15px 0;
}

.navbar-glass.scrolled {
  background: rgba(11, 37, 69, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
}

.navbar-glass .nav-link {
  color: var(--text-light);
  font-weight: 500;
  transition: color var(--transition-speed);
  position: relative;
  margin: 0 5px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.navbar-glass.scrolled .nav-link {
  color: #fff;
}

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

.navbar-glass .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.navbar-glass .nav-link:hover::after, .navbar-glass .nav-link.active::after {
  width: 80%;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: var(--text-light) !important;
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-brand img {
  background: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: all var(--transition-speed) ease;
}

.navbar-brand img:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: scale(1.03);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11,37,69,0.9) 0%, rgba(19,64,116,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.hero-tagline {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  color: var(--accent-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 1.25rem;
  margin-bottom: 45px;
  font-weight: 300;
  opacity: 0.9;
}

.btn-custom {
  background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
  border: none;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 5px 15px rgba(11, 37, 69, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: opacity var(--transition-speed) ease;
  opacity: 0;
}

.btn-custom:hover::before {
  opacity: 1;
}

.btn-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(11, 37, 69, 0.5);
  color: #fff;
}

/* Sections General */
.section-padding {
  padding: 120px 0;
}

.section-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  text-transform: capitalize;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 6px;
  bottom: -15px;
  left: 20%;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
  border-radius: 3px;
}

/* Cards & Micro-animations */
.service-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: all var(--transition-speed) ease;
  height: 100%;
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
  /* VanillaTilt takes over transform but let's keep base transition */
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: height var(--transition-speed) ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover h4, .service-card:hover p, .service-card:hover i {
  color: #fff !important;
}

.service-icon {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  transition: color var(--transition-speed);
  display: inline-block;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

/* Mission & Vision Block */
.mission-vision-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 50px;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(11, 37, 69, 0.2);
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.mission-vision-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.mission-vision-box h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.mission-vision-box p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Custom List/Table Style */
.custom-list-item {
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border-left: 5px solid var(--secondary-color);
}
.custom-list-item:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.table-modern {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.table-modern th {
  background-color: var(--primary-color);
  color: #fff;
  padding: 25px 20px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}
.table-modern td {
  padding: 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f1f1;
}
.table-modern tr:last-child td {
  border-bottom: none;
}
.table-modern tbody tr {
  transition: background-color var(--transition-speed);
}
.table-modern tbody tr:hover {
  background-color: #f8fbff;
}

/* Contact Section */
.contact-wrapper {
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
  overflow: hidden;
}

.contact-info-block {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  padding: 60px;
  height: 100%;
}

.contact-form-block {
  padding: 60px;
}

.form-control {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 15px 20px;
  border-radius: 10px;
  transition: all var(--transition-speed);
}

.form-control:focus {
  background-color: #fff;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(19, 64, 116, 0.15);
}

/* Floating WhatsApp Button */
.float-wa {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: var(--whatsapp-color);
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-speed);
}
.float-wa:hover {
  background-color: #1ebe57;
  color: #fff;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

/* About Us Enhancements */
.about-experience-badge {
  bottom: -30px;
  right: -30px;
  z-index: 10;
  min-width: 150px;
}
@media (max-width: 991px) {
  .about-experience-badge {
    bottom: 20px;
    right: 20px;
  }
}
.about-feature-card {
  transition: all var(--transition-speed) ease;
}
.about-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
  border-color: var(--secondary-color) !important;
}
.about-feature-icon {
  transition: transform var(--transition-speed);
}
.about-feature-card:hover .about-feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Footer */
footer.footer-enhanced {
  background: linear-gradient(180deg, var(--primary-color) 0%, #05162a 100%);
  color: var(--text-light);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

footer.footer-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.footer-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.footer-link:hover {
  color: #fff;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transition: all var(--transition-speed);
}
.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .section-padding { padding: 80px 0; }
  .float-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }
}
