/* Template 1: Corporate Consulting Style */
:root {
  --primary-color: #0a2540;     /* Dark Blue */
  --secondary-color: #0066cc;   /* Accent Blue */
  --light-gray: #f3f4f6;
  --text-dark: #333333;
  --text-light: #ffffff;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

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

/* Buttons */
.btn-custom {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid var(--secondary-color);
  transition: var(--transition);
}

.btn-custom:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--secondary-color);
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  border: 2px solid var(--secondary-color);
  transition: var(--transition);
}

.btn-custom-outline:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Navbar */
.navbar {
  background-color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
  transition: var(--transition);
}

.navbar.sticky-top {
  padding: 10px 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}

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

/* Hero Section */
.hero-section {
  padding: 120px 0 100px;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.95), rgba(0, 102, 204, 0.8)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80') center/cover;
  color: var(--text-light);
}

.hero-section h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Section Titles */
.section-title {
  position: relative;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* About Section */
.about-img {
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.about-img:hover {
  transform: translateY(-5px);
}

/* Service Cards */
.service-card {
  background: var(--text-light);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  height: 100%;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-bottom: 3px solid var(--secondary-color);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* Why Choose Us Feature */
.feature-box {
  display: flex;
  margin-bottom: 30px;
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 102, 204, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 20px;
  transition: var(--transition);
}

.feature-box:hover .feature-icon {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
  background: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin: 15px;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.client-info h5 {
  margin: 0;
  font-size: 1.1rem;
}

.client-info span {
  font-size: 0.9rem;
  color: #777;
}

/* CTA Section */
.cta-section {
  background-color: var(--secondary-color);
  padding: 80px 0;
  color: var(--text-light);
  text-align: center;
}

.cta-section h2 {
  color: var(--text-light);
}

.cta-section .btn-custom-outline {
  border-color: var(--text-light);
  color: var(--text-light);
}

.cta-section .btn-custom-outline:hover {
  background-color: var(--text-light);
  color: var(--secondary-color);
}

/* Contact Preview Info */
.contact-info-block {
  padding: 30px;
  background: var(--light-gray);
  border-radius: 8px;
  text-align: center;
  height: 100%;
}

.contact-info-block i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 20px;
}

.footer h5 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-icons a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  color: var(--text-light);
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

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

.bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 50px;
  padding-top: 20px;
}

/* Back to Top */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
}

#back-to-top:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Page Header */
.page-header {
  padding: 100px 0 60px;
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
}

.page-header h1 {
  color: var(--text-light);
  font-size: 3rem;
}
