@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand Colors */
  --primary: #d6006e;
  /* Slightly brighter magenta */
  --primary-dark: #9d0051;
  --primary-gradient: linear-gradient(135deg, #d6006e 0%, #b3005a 100%);

  --secondary: #0b1121;
  /* Deepest Navy */
  --secondary-light: #1e293b;
  --secondary-gradient: linear-gradient(135deg, #0b1121 0%, #1e293b 100%);

  --accent: #8cc63f;
  /* Logo Lime Green */
  --accent-glow: rgba(140, 198, 63, 0.3);

  /* UI Colors */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Effects */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  --backdrop-blur: blur(12px);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
  --shadow-hover: 0 25px 50px -12px rgba(140, 198, 63, 0.2);
  /* Green tinted shadow */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --nav-height: 80px;
}

html,
body {
  font-family: 'Outfit', sans-serif;
  /* More modern, geometric font */
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

main {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--secondary);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Utilities */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.section-padding {
  padding: 120px 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--primary);
  /* Text is RED (Primary) */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 10px;
  background: transparent;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid var(--accent);
  /* Border is GREEN (Accent) */
}

/* Buttons */
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  /* Pillow shape for "Cool" factor */
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-accent {
  background: var(--primary-gradient);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(214, 0, 110, 0.4);
}

.btn-accent:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 20px 30px -5px rgba(214, 0, 110, 0.6);
}

.btn-outline-dark {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(11, 17, 33, 0.3);
}

/* Header - Modern Full Width Transparent */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent !important;
}

header .navbar {
  background: transparent;
  /* Transparent initially */
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 25px 0;
  margin: 0;
}

/* Scrolled State */
header .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 50px;
  mix-blend-mode: multiply;
  /* Works best on white bg, might need adjustment on dark */
}

/* Adjust logo blend mode for dark hero */
/* Adjust logo blend mode for dark hero */
header .navbar:not(.scrolled) .navbar-brand img {
  filter: brightness(0) invert(1);
  /* Make logo white on dark background if transparent */
  mix-blend-mode: normal;
}

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  margin-left: 10px;
  color: white;
  /* White on Hero */
  transition: var(--transition);
}

.logo-text span {
  /* color: white; */
  color: var(--primary);
  /* TIP text is now RED (Primary) always */
  transition: var(--transition);
}

/* Scrolled Logo Text Color */
header .navbar.scrolled .logo-text {
  color: var(--secondary);
}

header .navbar.scrolled .logo-text span {
  color: var(--primary);
}

header .nav-link {
  font-weight: 600;
  color: white !important;
  /* White links on hero */
  font-size: 0.95rem;
  padding: 0 1.5rem !important;
  position: relative;
  opacity: 0.9;
}

/* Custom Modern Toggler */
.navbar-toggler {
  border: none !important;
  background: rgba(255, 255, 255, 0.05);
  /* Subtle glass bg */
  backdrop-filter: blur(4px);
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  /* Circular */
  padding: 0;
  display: flex;
  /* Flexbox for centering */
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 4px rgba(140, 198, 63, 0.2);
}

.navbar-toggler:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(180deg);
  /* Modern spin effect */
  box-shadow: 0 0 20px rgba(140, 198, 63, 0.4);
  /* Green glow */
}

.navbar-toggler-icon {
  width: 26px;
  height: 26px;
  /* Thicker green lines with rounded caps */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238cc63f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M6 8h18M6 15h18M6 22h18'/%3e%3c/svg%3e") !important;
}

header .navbar.scrolled .nav-link {
  color: var(--secondary) !important;
  /* Dark links on scroll */
}

/* .nav-link:hover {
   Green on hover - handled by ::after 
} */

/* Active Indicator for nav items */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 20px;
}

.nav-cta-btn {
  background: var(--secondary);
  color: white !important;
  padding: 10px 30px !important;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(11, 17, 33, 0.15);
}

.nav-cta-btn:hover {
  background: var(--accent);
  /* Green button on hover */
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px var(--accent-glow);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center top;
  overflow: hidden;
  margin: 0;
  padding: 0;
  top: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Darker, cooler gradient */
  background: linear-gradient(135deg, rgba(11, 17, 33, 0.92) 0%, rgba(11, 17, 33, 0.6) 100%);
}

.hero-content {
  position: relative;
  color: white;
  z-index: 2;
  /* background: rgba(255, 255, 255, 0.03); */
  /* backdrop-filter: blur(10px); */
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  padding: 20px;
  /* border-radius: 30px; */
  max-width: 800px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border: 1px solid var(--accent);
  /* Green Border */
  padding: 8px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent);
  /* Green Text */
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  color: white;
  margin-bottom: 25px;
}

.hero-title span {
  color: white;
  position: relative;
  z-index: 1;
}

/* Accent underline for 'Solution Partner' or similar text */
.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 15px;
  background: var(--primary);
  opacity: 0.5;
  z-index: -1;
  transform: skewX(-15deg);
}

.hero-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 650px;
}

/* Services */
.services-section {
  margin-top: -150px;
  /* Pull up into Hero */
  position: relative;
  z-index: 10;
  padding-bottom: 80px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border-top: 5px solid transparent;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #f0fdf4;
  /* Very light green bg */
  border-radius: 50%;
  /* Circle */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--accent);
  /* Lime green icon */
  margin-bottom: 30px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
  transform: rotateY(180deg);
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-img-wrapper {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
  width: 100%;
  border-radius: 30px;
}

.check-list li {
  background: white;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
}

.check-list li:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.check-list li::before {
  content: '\f058';
  /* FontAwesome check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 15px;
  color: var(--accent);
  font-size: 1.2rem;
}

.check-box {
  background: white;
  padding: 15px 15px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  font-weight: 600;
  transition: var(--transition);
  height: 100%;
  font-size: 0.9rem;
  /* Slightly smaller text for mobile grid */
}

.check-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

.check-box i {
  margin-right: 10px;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Contact Cards */
.contact-card {
  background: white;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
  background: white;
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding-top: 100px;
  padding-bottom: 40px;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

/* Abstract shapes in footer bg */
footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(214, 0, 110, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
}

.footer-title {
  color: white;
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.footer-links a {
  color: var(--text-light);
  display: block;
  margin-bottom: 15px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
}

/* Form in Footer */
.footer-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50px;
  padding: 15px 25px;
}

.footer-input:focus {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  border-color: var(--primary);
  color: white;
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-content {
    padding: 30px;
    margin-top: 80px;
  }

  .services-section {
    margin-top: 50px;
  }

  header .navbar {
    padding: 10px 15px;
  }

  /* Mobile Menu Styles - Only this part is modified for better visibility */
  .navbar-collapse {
    background: var(--secondary);
    border-radius: 0 0 20px 20px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
  }

  .navbar-nav {
    gap: 15px;
  }

  /* Force white text in mobile menu */
  header .navbar.scrolled .nav-link,
  .nav-link {
    color: white !important;
    font-size: 1.1rem;
    padding: 10px 0 !important;
    display: inline-block;
  }

  header .navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
  }

  header .navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .nav-link:hover::after {
    width: 40px;
    background-color: var(--accent);
  }

  .nav-item {
    width: 100%;
  }

  .nav-cta-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
    background: var(--accent);
    color: var(--secondary) !important;
  }

  .nav-cta-btn:hover {
    background: white;
    color: var(--secondary) !important;
  }
}