/* Technoit Template Styles - Excerya Theme */

:root {
  --primary-color: #2563eb; /* Bright blue */
  --secondary-color: #6c757d;
  --accent-color: #10b981; /* Green accent */
  --light-color: #f8f9fa;
  --dark-color: #1e293b; /* Dark blue-gray */
  --success-color: #28a745;
}

/* Base Styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header Styles */
.header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
  background-color: var(--dark-color);
  color: #fff;
  padding: 8px 0;
  font-size: 14px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-btn {
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 30px;
  transition: all 0.3s ease;
}

/* Services Section */
.services-section {
  padding: 80px 0;
}

.service-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 20px;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ebf4ff; /* Light blue background */
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 24px;
}

/* About Section */
.about-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-check {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
}

/* Counter Section */
.counter-section {
  background: url('/images/counter-bg.jpg') center/cover;
  padding: 80px 0;
  position: relative;
  color: white;
}

.counter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.8); /* Darker overlay matching dark-color */
}

.counter-box {
  text-align: center;
}

.counter-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 0;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 30px;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 99, 235, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Testimonial Section */
.testimonial-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.testimonial-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 15px;
  background: #fff;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-member {
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-social {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(37, 99, 235, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-member:hover .team-social {
  opacity: 1;
}

.team-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 5px;
  background: #fff;
  color: var(--primary-color);
  border-radius: 50%;
  text-align: center;
}

/* Blog Section */
.blog-section {
  padding: 80px 0;
  background-color: var(--light-color);
}

.blog-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  background: #fff;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-content {
  padding: 20px;
}

.blog-meta {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-info {
  padding: 20px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 8px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  margin-right: 15px;
}

.contact-form {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 80px 0 0;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

/* Section titles */
.section-title {
  position: relative;
  margin-bottom: 15px;
  font-weight: 700;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, 
.btn-primary:focus {
  background-color: #1d4ed8; /* Slightly darker blue */
  border-color: #1d4ed8;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .counter-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .services-section,
  .about-section,
  .counter-section,
  .portfolio-section,
  .testimonial-section,
  .team-section,
  .blog-section,
  .contact-section {
    padding: 50px 0;
  }
} 