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

:root {
  --primary-blue: #0D1B2A;
  --primary-blue-rgb: 13, 27, 42;
  --primary-blue-hover: #1b2f4a;
  --primary-teal: #0097A7;
  --primary-teal-rgb: 0, 151, 167;
  --primary-teal-hover: #00838F;
  --accent-green: #2E7D32;
  --accent-green-hover: #1B5E20;
  --bg-light: #F2F4F7;
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F1F5F9;
  --border-color: #E2E8F0;
  --focus-ring: #0097A7;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base resets & typography */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-weight: 600;
  line-height: 1.3;
}

/* Accessibility: Skip to Content */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-teal);
  color: white;
  padding: 10px 20px;
  z-index: 9999;
  transition: top 0.2s ease-in-out;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 5px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Accessibility: Focus Indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--focus-ring) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Header & Sticky Navbar */
.navbar-custom {
  background-color: transparent;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  z-index: 1030;
}

.navbar-custom.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand-img {
  height: 50px;
  transition: var(--transition-smooth);
}
.navbar-scrolled .navbar-brand-img {
  height: 42px;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary-blue);
  margin-left: 10px;
  transition: var(--transition-smooth);
  display: inline-block;
  vertical-align: middle;
}

.navbar-custom .nav-link {
  font-weight: 500;
  color: var(--primary-blue);
  padding: 8px 16px !important;
  position: relative;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 16px;
  background-color: var(--primary-teal);
  transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover {
  color: var(--primary-teal);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: calc(100% - 32px);
}

.navbar-custom .nav-link.active {
  color: var(--primary-teal);
}

/* Navbar Buttons */
.btn-nav-apply {
  background-color: var(--primary-teal);
  color: white !important;
  border-radius: 30px;
  padding: 8px 24px !important;
  margin-left: 10px;
  transition: var(--transition-smooth);
}

.btn-nav-apply:hover {
  background-color: var(--primary-teal-hover);
  color: white !important;
  box-shadow: 0 4px 12px rgba(0, 151, 167, 0.25);
}

.btn-nav-apply::after {
  display: none !important;
}

/* Mobile Nav Styles */
.offcanvas {
  background-color: var(--bg-white);
  border-left: 1px solid var(--border-color);
}

.offcanvas .nav-link {
  font-size: 1.2rem;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--border-color);
}
.offcanvas .nav-link::after {
  display: none;
}
.offcanvas .btn-nav-apply {
  margin-left: 0;
  margin-top: 15px;
  text-align: center;
}

/* Buttons */
.btn-custom {
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-custom-primary {
  background-color: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
}

.btn-custom-primary:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 27, 42, 0.2);
}

.btn-custom-teal {
  background-color: var(--primary-teal);
  color: white;
  border: 2px solid var(--primary-teal);
}

.btn-custom-teal:hover {
  background-color: var(--primary-teal-hover);
  border-color: var(--primary-teal-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 151, 167, 0.2);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-custom-outline:hover {
  background-color: var(--primary-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(13, 27, 42, 0.1);
}

.btn-custom-outline-white {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-custom-outline-white:hover {
  background-color: white;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
}

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

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

.bg-pattern-light {
  background-color: var(--bg-white);
  background-image: radial-gradient(var(--border-color) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #F2F4F7 0%, rgba(0, 151, 167, 0.05) 100%);
  padding: 180px 0 120px 0;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 140px 0 80px 0;
  }
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.hero-shapes .shape-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,151,167,0.2) 0%, rgba(255,255,255,0) 70%);
  top: -100px;
  right: -100px;
}

.hero-shapes .shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(13,27,42,0.1) 0%, rgba(255,255,255,0) 70%);
  bottom: -50px;
  left: -100px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 400;
}

.hero-img-wrapper {
  position: relative;
  z-index: 1;
}

.hero-img-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-teal);
  border-radius: 20px;
  top: 15px;
  left: 15px;
  z-index: -1;
  opacity: 0.15;
}

.hero-img {
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  max-width: 100%;
  height: auto;
}

/* Feature Badge */
.feature-badge {
  background-color: rgba(0, 151, 167, 0.1);
  color: var(--primary-teal);
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.feature-badge-blue {
  background-color: rgba(13, 27, 42, 0.1);
  color: var(--primary-blue);
}

/* Cards & Grid elements */
.card-custom {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 151, 167, 0.2);
}

.icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: rgba(0, 151, 167, 0.1);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.card-custom:hover .icon-wrapper {
  background-color: var(--primary-teal);
  color: white;
}

.icon-wrapper-blue {
  background-color: rgba(13, 27, 42, 0.1);
  color: var(--primary-blue);
}
.card-custom:hover .icon-wrapper-blue {
  background-color: var(--primary-blue);
  color: white;
}

/* Service Card List Benefits */
.benefit-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}
.benefit-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.benefit-list li i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--accent-green);
  font-size: 1.1rem;
}

/* Value Cards */
.value-card {
  padding: 30px;
  border-left: 4px solid var(--primary-teal);
  border-radius: 0 16px 16px 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
}

.value-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-green);
}

/* Why Choose Us List */
.why-list {
  list-style: none;
  padding-left: 0;
}
.why-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
}
.why-list .why-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* CTA Callout */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #173B5C 100%);
  color: white;
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  color: white;
}

.cta-banner .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.05;
}
.cta-banner .shape-1 {
  width: 300px;
  height: 300px;
  background-color: white;
  right: -50px;
  top: -50px;
}

/* Forms Styling */
.form-label-custom {
  font-weight: 500;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.form-control-custom {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control-custom:focus {
  border-color: var(--primary-teal);
  background-color: white;
}

/* Custom checkbox wrapper for accessibility */
.form-check-custom {
  padding-left: 1.8em;
}
.form-check-custom .form-check-input {
  width: 1.25em;
  height: 1.25em;
  margin-left: -1.8em;
  border: 1px solid var(--border-color);
  background-color: var(--bg-light);
  border-radius: 4px;
  transition: var(--transition-smooth);
}
.form-check-custom .form-check-input:checked {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
}

/* Custom File Upload */
.file-upload-wrapper {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background-color: var(--bg-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.file-upload-wrapper:hover,
.file-upload-wrapper.dragover {
  border-color: var(--primary-teal);
  background-color: rgba(0, 151, 167, 0.02);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Alert styles */
.alert-custom {
  border-radius: 8px;
  padding: 15px 20px;
  border: none;
  font-weight: 500;
}
.alert-custom-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: #065F46;
}
.alert-custom-danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: #991B1B;
}

/* Embedded Map Styling */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 350px;
}

.map-placeholder {
  background-color: #E2E8F0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
}

/* Careers Working Culture list */
.culture-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* Back to Top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  border: none;
  box-shadow: var(--shadow-lg);
}

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

.back-to-top:hover {
  background-color: var(--primary-teal-hover);
  transform: translateY(-3px);
  color: white;
}

/* Footer styling */
.footer-custom {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
}

.footer-custom h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-custom h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-teal);
}

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

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

.footer-custom .footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-custom .footer-links a:hover {
  color: var(--primary-teal);
  padding-left: 4px;
}

.footer-custom .footer-contact-info {
  list-style: none;
  padding-left: 0;
}

.footer-custom .footer-contact-info li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #CBD5E1;
}

.footer-custom .footer-contact-info li i {
  color: var(--primary-teal);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

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

.footer-social-icons a:hover {
  background-color: var(--primary-teal);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  margin-top: 60px;
  color: #94A3B8;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-bottom a:hover {
  color: white;
}

/* Reduced Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}
