/* 
   BERTHCELINE TECHNOLOGIES LTD
   Main Stylesheet
*/

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a4b8c;
  --secondary-color: #e74c3c;
  --accent-color: #f39c12;
  --text-color: #333;
  --light-text: #777;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --border-color: #ddd;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --white: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--light-text);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #0e3a75;
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #c0392b;
  color: var(--white);
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

/* ===== HEADER ===== */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo img {
  height: 60px;
}

.main-nav .nav-menu {
  display: flex;
}

.main-nav .nav-menu li {
  margin-left: 25px;
}

.main-nav .nav-menu a {
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

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

.main-nav .nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../images/banner3.png") no-repeat center
    center / cover;
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  height: 600px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.2rem;
}

.service-card p {
  padding: 0 20px;
  color: var(--light-text);
}

.service-card .btn {
  margin: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.clients-logo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.client {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.client:hover {
  transform: scale(1.05);
}

.client img {
  max-width: 100%;
  max-height: 60px;
  filter: grayscale(0%);
  transition: var(--transition);
}

.client:hover img {
  filter: grayscale(0%);
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("../images/cta-bg.jpg") no-repeat center
    center / cover;
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-section p {
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.7)), url("../images/page-banner.png") no-repeat center
    center / cover;
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* ===== SERVICES DETAILS ===== */
.services-details {
  padding: 80px 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-content h2 {
  margin-bottom: 1.5rem;
}

/* ===== COMPANY OVERVIEW ===== */
.company-overview {
  padding: 80px 0;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.overview-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ===== MISSION & VISION ===== */
.mission-vision {
  padding: 80px 0;
  background-color: var(--light-bg);
  text-align: center;
}

.mission-vision .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.mission,
.vision {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* ===== TEAM SECTION ===== */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h3 {
  padding: 20px 20px 5px;
  font-size: 1.2rem;
}

.team-member .position {
  padding: 0 20px;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 10px;
}

.team-member p {
  padding: 0 20px 20px;
  color: var(--light-text);
}

/* ===== CLIENTS LIST ===== */
.clients-list {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}

.clients-list ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.clients-list li {
  padding: 10px 0;
  position: relative;
  padding-left: 25px;
}

.clients-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 24px;
  margin-right: 20px;
  color: var(--accent-color);
}

.info-item h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.alert {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== MAP SECTION ===== */
.map-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.map-container {
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
  color: #bbb;
  transition: var(--transition);
}

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

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin-left: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .about-content,
  .service-item,
  .overview-content,
  .mission-vision .container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) .service-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .main-nav .nav-menu.active {
    left: 0;
  }

  .main-nav .nav-menu li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom p {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .client {
    width: 140px;
    height: 80px;
  }

  .client img {
    max-height: 40px;
  }
}
