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

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --text: #334155;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.8);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background: var(--glass) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  color: var(--primary) !important;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05), transparent);
  padding: 120px 0 80px;
  position: relative;
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background-color: var(--accent);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Services */
.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
  letter-spacing: -0.025em;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Footer */
footer {
  background-color: var(--primary);
  padding: 4rem 0 2rem;
}

.footer-text {
  color: #94a3b8;
}

.social-links a {
  color: #94a3b8;
  font-size: 1.25rem;
  margin: 0 10px;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--white);
}

/* AOS Tweaks */
[data-aos] {
  pointer-events: none;
}

.aos-animate {
  pointer-events: auto;
}

/* News Section */
.news-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 1.5rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Scheduling Section */
.scheduling-wrapper {
  background: var(--white);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.calendar-mock {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 1.5rem;
}

.calendar-day {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.calendar-day:hover {
  background: var(--accent);
  color: var(--white);
}

.calendar-day.active {
  background: var(--accent);
  color: var(--white);
}

/* Corporate Hub Section */
.hub-wrapper {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.hub-sidebar {
  background: var(--bg-light);
  padding: 3rem;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.hub-main {
  padding: 3rem;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-item:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.event-date {
  min-width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.event-date .day {
  font-size: 1.25rem;
  font-weight: 700;
}

.event-date .month {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.8;
}

.event-info h6 {
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.event-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Calendar Refinement */
.calendar-mock {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow);
}

@media (max-width: 991.98px) {
  .hub-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}

/* Dashboard Tabs */
.nav-pills-custom .nav-link {
  color: var(--text-light);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.nav-pills-custom .nav-link.active {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow);
}

.dashboard-preview-img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--white);
}

/* Steps */
.step-item {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.1);
}


/* FAQ */
.accordion-item {
  border: none;
  background: transparent;
  margin-bottom: 1rem;
}

.accordion-button {
  background: var(--white) !important;
  color: var(--primary) !important;
  font-weight: 600;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--accent) !important;
  color: var(--white) !important;
}

.accordion-body {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 0 0 12px 12px;
  margin-top: -5px;
  box-shadow: var(--shadow);
}

/* Contact Form Overrides */
.form-control {
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-light);
}

/* Login Page Styles */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent),
    var(--primary);
  padding: 2rem;
}

.login-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  color: var(--white);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.login-card .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.login-card .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  color: var(--white);
}

.login-card .form-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.social-login-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-login-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Swiper Slider Custom Styles */
.heroSwiper,
.testimonialSwiper {
  width: 100%;
  padding-bottom: 50px !important;
}

.heroSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonialSwiper .service-card {
  margin: 10px;
}

.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

/* Team Section Styles */
.team-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.team-img-wrapper {
  overflow: hidden;
  border-radius: 16px;
}

.team-img-wrapper img {
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.1);
}

.text-accent {
  color: var(--accent);
}

/* News Card Refinements */
.news-card .news-img {
  transition: transform 0.5s ease;
}

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

.news-card {
  display: flex;
  flex-direction: column;
}

.news-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-content a {
  margin-top: auto;
}

/* Task Management Section */
.task-section {
  background: var(--bg-light);
  padding: 100px 0;
}

.task-view-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.task-view-btn {
  padding: 0.8rem 1.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  color: var(--text-light);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.task-view-btn i {
  font-size: 1.1rem;
}

.task-view-btn:hover,
.task-view-btn.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 8px 25px -5px rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
}

.task-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.task-card:hover {
  transform: translateX(12px);
  border-color: var(--accent);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.task-info-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-grow: 1;
}

.task-status-indicator {
  width: 12px;
  height: 48px;
  border-radius: 6px;
}

.status-todo {
  background: #94a3b8;
}

.status-progress {
  background: var(--accent);
}

.status-completed {
  background: #22c55e;
}

.task-content {
  flex-grow: 1;
}

.task-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  display: block;
}

.task-metadata {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.task-meta-item {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.badge-priority {
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.priority-high {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.priority-medium {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.priority-low {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.task-action-buttons {
  display: flex;
  gap: 1rem;
}

.btn-view-pdf {
  border: 1.5px solid #ef4444;
  color: #ef4444;
  background: transparent;
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-view-pdf:hover {
  background: #ef4444;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-details {
  background: var(--bg-light);
  color: var(--primary);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-details:hover {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 991.98px) {
  .task-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .task-action-buttons {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
  }
}