/* 
 * Template Name: Modern IT Company
 * Description: A modern IT business template
 */

:root {
  --primary-color: #0d6efd;
  --primary-dark: #0a58ca;
  --secondary-color: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0dcaf0 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-weight: 800;
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background-color: #fff;
}

.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;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 10px 25px;
  font-weight: 500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

.btn-outline-primary {
  padding: 10px 25px;
  font-weight: 500;
  border-width: 2px;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-dark);
  color: white;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
  opacity: 0.1;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Services */
.service-card {
  padding: 30px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/* Technologies Section */
.tech-section {
  background-color: var(--secondary-color);
}

.tech-icon-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.tech-icon-box:hover {
  transform: scale(1.05);
}

.tech-icon {
  font-size: 4rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Projects Section */
.project-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  transition: all 0.3s ease;
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-info {
  transform: translateY(0);
  opacity: 1;
}

/* Team Section */
.team-section {
  background-color: var(--secondary-color);
}

.team-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
}

.team-info h5 {
  margin-bottom: 5px;
}

.team-info p {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  margin: 15px;
}

.client-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.client-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.client-name h5 {
  margin: 0;
  font-size: 1.1rem;
}

.client-name span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Contact Section */
.contact-info-box {
  background: var(--gradient-primary);
  color: white;
  padding: 40px;
  border-radius: 10px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Footer */
footer {
  background: var(--gradient-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

/* Counters */
.counter-box {
  text-align: center;
  padding: 30px;
}

.counter-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}
