/* UNIFIN Custom Styles - Dark Theme */

:root {
  --primary-blue: #efb810;
  --secondary-blue: #d4a00e;
  --accent-green: #A1DA69;
  --white: #FFFFFF;
  --dark-bg: #212529;
  --darker-bg: #1a1a1a;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  color: #f8f9fa;
  background-color: var(--dark-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anek Devanagari', sans-serif;
}

/* Override Bootstrap primary color */
.bg-primary {
  background-color: var(--primary-blue) !important;
}

.text-primary {
  color: var(--primary-blue) !important;
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #000 !important;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  border-color: var(--secondary-blue);
  color: #000 !important;
}

.btn-dark {
  background-color: #000;
  border-color: #000;
}

.btn-dark:hover {
  background-color: #2c2c2c;
  border-color: #2c2c2c;
}

/* Top Header */
.top-header {
  font-size: 14px;
}

/* Navigation */
.navbar-dark .navbar-nav .nav-link {
  color: #f8f9fa;
  font-weight: 500;
  font-size: 14px;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

.navbar-dark .navbar-nav .nav-link.text-primary {
  color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
  background-attachment: scroll !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

@media only screen and (min-width: 768px) {
  .hero-section {
    background-attachment: fixed !important;
  }
}

/* Text Justify */
.text-justify {
  text-align: justify;
}

/* Divider */
.divider {
  border-radius: 3px;
}

/* Solution Cards */
.solution-card {
  position: relative;
  height: 250px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.solution-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.solution-card:hover .solution-overlay {
  background: rgba(239, 184, 16, 0.5);
}

/* Process Steps */
.process-step {
  padding: 1rem;
}

/* Blog Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: var(--dark-bg);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(239, 184, 16, 0.3) !important;
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Footer Links */
footer a:hover {
  color: var(--primary-blue) !important;
}

footer ul li {
  margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .hero-section {
    min-height: 500px !important;
    background-attachment: scroll;
  }
  
  .hero-section h1 {
    font-size: 2.5rem !important;
  }
  
  .solution-card {
    height: 200px;
  }
  
  .process-step {
    margin-bottom: 1rem;
  }
}
