/* Preset */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --theme-color: #1489cc;
  --light: #fff;
  --dark: #000;
  --shadow: 0px 0px 20px 1px #999;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

.btn {
  background-color: var(--theme-color);
  padding: 10px;
  border: 1px solid var(--dark);
  color: var(--light);
  text-decoration: none;
}

.spacer {
  height: 80px;
}

/* Navbar CSS */
.desktop-header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background-color: var(--light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 100px;
  border-bottom: 1px solid var(--theme-color);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.desktop-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
}

.desktop-header nav a {
  font-size: 18px;
  text-decoration: none;
  color: var(--dark);
}

.desktop-header nav a:hover {
  color: var(--theme-color);
  border-bottom: 2px solid var(--theme-color);
}
.desktop-header nav .dropdown {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 30px;
  left: 150px;
  background-color: var(--light);
  box-shadow: var(--shadow);
  border-top: 2px solid var(--theme-color);
  padding: 10px;
  display: none;
}

.mobile-header {
  display: none;
}   

/* Form Message */
.message-box {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Homepage */
.hero-section {
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.half {
  width: 50%;
}
.half img {
  width: 100%;
}

.hero-section .text {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 20px;
  padding: 20px;
}

.hero-section .text h1 {
  color: var(--theme-color);
}

.second-section {
  padding: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: url("../imgs/bgi.webp");
  background-position: center;
}

.second-section .half {
  text-align: center;
}
.second-section .half img {
  width: 250px;
}

.second-section .text {
  text-align: justify;
  padding: 20px;
}

.second-section .text h2 {
  color: var(--theme-color);
}

.stats {
  background-color: #eee;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
}

.stats .items {
  text-align: center;
  width: 100px;
}

.stats .items i {
  color: var(--theme-color);
  font-size: 40px;
  margin-bottom: 10px;
}

.jobs {
  padding: 50px;
}

.jobs h2 {
  padding: 20px;
  text-align: center;
  color: var(--theme-color);
}

.jobs .card-div {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 20px;
}

.jobs .card-div .card {
  width: 400px;
  height: 100%;
  padding: 20px;
  box-shadow: var(--shadow);
  border-radius: 5px;
}

.jobs .card-div .card img {
  width: 100%;
  height: 200px;
}

.jobs .card-div .card .last-para {
  margin-bottom: 20px;
}

.reviews {
  text-align: center;
  color: var(--theme-color);
}
.reviews h2 {
  padding: 40px;
}
.reviews .slider {
  width: 80%;
  margin: 20px auto;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.reviews .slides {
  display: flex;
  transition: transform 0.6s ease;
}

.reviews .slide {
  min-width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.reviews .slide i {
  font-size: 30px;
}
.reviews .slide p {
  font-size: 1.1rem;
  color: #333;
}

.reviews .slide h4 {
  color: #555;
  font-weight: normal;
}

.form-section {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* Form Container */
#contactForm {
  width: 100%;
  max-width: 500px;
  margin: 30px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: Arial, sans-serif;
}

/* Input & Textarea */
#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

/* Focus Effect */
#contactForm input:focus,
#contactForm textarea:focus {
  border-color: var(--theme-color); /* Theme violet */
}

/* Textarea Specific */
#contactForm textarea {
  min-height: 100px;
  resize: vertical;
}

footer {
  background-color: var(--dark);
  padding: 20px;
  color: var(--light);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-content img {
  width: 100px;
}
.footer-content div {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  gap: 10px;
  max-width: 300px;
}
.footer-content > div:first-child {
  max-width: 400px;
  text-align: justify;
}

.footer-content div a {
  color: var(--light);
  text-decoration: none;
}
.footer-content div a:hover {
  text-decoration: underline;
}
.copyright {
  margin: 20px;
  border: 2px solid var(--light);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.copyright a {
  color: var(--light);
  font-size: 18px;
  transition: all 0.5s ease;
  text-decoration: none;
}
.copyright a:hover {
  color: var(--theme-color);
}
