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

:root {
  --primary-blue: #173F7A;
  --secondary-cyan: #4FD1E0;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --text-dark: #2D3748;
  --text-light: #718096;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light-gray);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Typography Utilities */
.text-primary-blue { color: var(--primary-blue) !important; }
.text-secondary-cyan { color: var(--secondary-cyan) !important; }
.bg-primary-blue { background-color: var(--primary-blue) !important; }
.bg-secondary-cyan { background-color: var(--secondary-cyan) !important; }
.bg-light-gray { background-color: var(--light-gray) !important; }

/* Custom Buttons */
.btn-primary-custom {
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #102e5a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 63, 122, 0.2);
}

.btn-secondary-custom {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.btn-cyan-custom {
  background-color: var(--secondary-cyan);
  color: var(--primary-blue);
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cyan-custom:hover {
  background-color: #38b8c7;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 209, 224, 0.3);
}

/* Navbar */
.navbar-custom {
  background-color: #1c4478;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s;
}

.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
  color: #ffffff;
}

.navbar-brand {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #102e5a 100%);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(79,209,224,0.1) 0%, transparent 70%);
  z-index: 0;
}

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

/* Cards */
.card-custom {
  border: none;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-custom .card-img-top {
  border-radius: 16px 16px 0 0;
  height: 200px;
  object-fit: cover;
}

/* Dashboard Student Area */
.sidebar {
  background-color: var(--white);
  min-height: calc(100vh - 76px);
  border-right: 1px solid #edf2f7;
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: all 0.2s;
}

.sidebar-link:hover, .sidebar-link.active {
  background-color: #ebf4ff;
  color: var(--primary-blue);
  font-weight: 500;
}

.sidebar-link i {
  margin-right: 12px;
  font-size: 1.2rem;
}

/* Progress Bar */
.progress-custom {
  height: 8px;
  border-radius: 4px;
  background-color: #edf2f7;
}

.progress-custom .progress-bar {
  background-color: var(--secondary-cyan);
  border-radius: 4px;
}

/* Footer */
footer {
  background-color: var(--white);
  border-top: 1px solid #edf2f7;
}

/* Utilities */
.rounded-xl { border-radius: 16px !important; }
.shadow-sm-custom { box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02) !important; }
.transition-all { transition: all 0.3s ease; }

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo Background Adjustment */
img[src="assets/img/logo.png"] {
  background-color: #1c4478;
  padding: 4px;
}
