/* ==========================================================
   Template Name: Corporate Business Template
   Description: Modern corporate business website template
   Author: AymanInfotechs
   Author Email: aymaninfotechs@gmail.com
   Version: 1.0
   ========================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables */
:root {
  --primary-color: #0d9488; /* Teal Accent */
  --primary-hover: #0f766e;
  --dark-color: #0f172a; /* Dark Blue */
  --dark-light: #1e293b;
  --gray-light: #f8fafc; /* Light Grey */
  --gray-bg: #f1f5f9;
  --gray-text: #64748b;
  --white: #ffffff;
  --body-font: 'Inter', sans-serif;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --box-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
body {
  font-family: var(--body-font);
  color: var(--dark-color);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

p {
  color: var(--gray-text);
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
  color: var(--primary-hover);
}

/* Custom Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: var(--transition);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.39);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Navigation Bar */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-color);
}

.navbar-brand span {
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color);
  margin: 0 0.5rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 6rem;
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title span {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* Service Cards */
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-color);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
}

.service-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Why Choose Us */
.about-section {
  background-color: var(--white);
  padding: 5rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.feature-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Statistics Section */
.stats-section {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin: 0;
}

/* Team Section */
.team-section {
  background-color: var(--gray-light);
  padding: 5rem 0;
}

.team-card {
  background: var(--white);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.team-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img-wrapper img {
  transform: scale(1.05);
}

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  transition: var(--transition);
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-social a {
  color: var(--dark-color);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  box-shadow: var(--box-shadow);
}

.team-social a:hover {
  background: var(--primary-color);
  color: var(--white);
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.team-info p {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0;
}

/* Testimonials */
.testimonial-section {
  padding: 5rem 0;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--gray-bg);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h5 {
  margin: 0;
  font-size: 1rem;
}

.client-info span {
  font-size: 0.875rem;
  color: var(--gray-text);
}

/* Contact Section */
.contact-section {
  background-color: var(--gray-light);
  padding: 5rem 0;
}

.contact-info {
  background: var(--dark-color);
  color: var(--white);
  padding: 3rem;
  border-radius: 0.5rem;
  height: 100%;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.info-text h5 {
  color: var(--white);
  margin-bottom: 0.25rem;
}

.info-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  height: 100%;
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid #cbd5e1;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(13, 148, 136, 0.25);
}

/* Footer */
.footer {
  background-color: var(--dark-light);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: var(--dark-color);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Page Header */
.page-header {
  padding: 8rem 0 4rem;
  background-color: var(--dark-color);
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--box-shadow);
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .hero-section {
    padding: 6rem 0 4rem;
    text-align: center;
  }
  .hero-section img {
    margin-top: 2rem;
  }
  .contact-info, .contact-form {
    padding: 2rem;
  }
}
