/* Unifilings Custom Styles */

:root {
  --primary-color: #2E75B6;
  --secondary-color: #FF6B35;
  --accent-blue: #4A90E2;
  --accent-green: #50C878;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #F8F9FA;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Navigation */
.navbar {
  padding: 1rem 0;
  background-color: var(--white) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.navbar-brand img {
  height: 50px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-blue), var(--accent-green));
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(46, 117, 182, 0.95), rgba(74, 144, 226, 0.9)),
              url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600') center/cover;
  color: var(--white);
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(80, 200, 120, 0.1), transparent 50%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
  animation: fadeInUp 0.8s ease;
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1.2s ease;
}

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

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #FF8C5A);
  border: none;
  padding: 12px 35px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #FF8C5A, var(--secondary-color));
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46, 117, 182, 0.3);
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-blue), var(--accent-green));
  margin: 1rem auto;
  border-radius: 2px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid #E0E0E0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border-color: var(--primary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  color: var(--white);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: rotate(360deg) scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-align: center;
}

.service-card p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0;
}

/* Features/Why Choose Us */
.feature-box {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(74, 144, 226, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.feature-box h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-box p {
  color: var(--text-light);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #E0E0E0;
  padding: 12px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 117, 182, 0.15);
}

.contact-info {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue));
  color: var(--white);
  padding: 3rem;
  border-radius: 15px;
  height: 100%;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: start;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--secondary-color);
  min-width: 30px;
}

.contact-item h5 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.contact-item p {
  margin-bottom: 0;
  opacity: 0.9;
}

/* About Page */
.about-content {
  padding: 2rem 0;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin-bottom: 2rem;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.value-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.value-card:hover {
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transform: translateX(10px);
}

.value-card h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a2e, #2E75B6);
  color: var(--white);
  padding: 60px 0 20px;
}

footer h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
}

footer ul {
  list-style: none;
  padding: 0;
}

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

footer ul li a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

footer ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero .tagline {
    font-size: 1.2rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
  
  .navbar-nav {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
}

/* Page Header for Internal Pages */
.page-header {
  background: linear-gradient(135deg, rgba(46, 117, 182, 0.95), rgba(74, 144, 226, 0.9)),
              url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1600') center/cover;
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  margin-top: 1rem;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255,255,255,0.9);
}

.breadcrumb-item.active {
  color: var(--white);
}
