/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

.body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrapper {
  flex: 1;
}

/* ===== TYPOGRAPHY ===== */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
  font-weight: 600;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

p, pre, li, a {
  font-size: 17px;
  font-family: 'Open Sans', sans-serif;
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

section {
  padding: 80px 0;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  position: fixed;
  height: 60px;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  color: #1F76BF;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled,
nav.scrolled {
  background-color: rgba(239, 230, 230, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  color: white;
  padding: 10px 20px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  background-color: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 10px 20px;
}

.navbar {
  background-color: #ffffff;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: black;
  text-decoration: none;
  padding: 10px;
  display: block;
  position: relative;
  font-size: 1.1em;
  font-family: 500;
  color: #333;
  padding: 6px 20px;
  transition: 0.5s;
}

.nav-links a:hover {
  color: #4169E1;
}

.nav-links a span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-bottom: 2px solid #4169E1;
  border-radius: 15px;
  transform: scale(0) translateY(50px);
  opacity: 0;
  transition: 0.1s;
}

.nav-links a:hover span {
  transform: scale(1) translateY(0);
  opacity: 1;
}

nav a.active {
  color: #268cd3;
  font-weight: bold;
}

/* Dropdown Styles */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
  min-width: 160px;
  top: 100%;
  left: 0;
  z-index: 999;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-links .dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links .dropdown > a::after {
  content: "▼";
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* ===== LOGO STYLES ===== */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo {
  width: 60px;
  height: auto;
  margin-right: 10px;
  font-size: 10em;
  font-weight: bold;
  color: #268cd3;
  display: flex;
  align-items: center;
  line-height: normal;
}

.logo-img {
  height: 100px;
  width: auto;
  margin-right: 5px;
}

.logo-text {
  font-size: 30px;
  font-weight: 900;
  color: #1E75BF;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

.site-name {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: #1F76BF;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.lang-btn, .lang-button {
  background: linear-gradient(90deg, #0D47A1 0%, #1976D2 100%);
  transition: background 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  color: white;
  padding: 6px 14px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
}

.lang-btn:hover, .lang-button:hover {
  background: linear-gradient(90deg, #1976D2 0%, #0D47A1 100%);
}

.language-switcher .separator {
  display: inline-block;
  width: 1px;
  height: 1.2em;
  background-color: #333;
  margin: 0 8px;
  vertical-align: middle;
  line-height: 0;
  font-size: 0;
  position: relative;
}

.language-switcher .separator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #333;
  transform: translateY(-50%);
}

/* ===== HERO SECTION ===== */
.hero {
  background: url('images/hero.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-image: url('images/hero.jpg');
  background-size: cover;
  color: white;
  padding: 100px 20px;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 50%;
  padding: 40px;
  align-items: center;
  z-index: 2;
}

.hero-media {
  width: 0%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  background-color: #ddd;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  position: absolute;
}

/* Services Hero Variant */
.services-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/services-hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.services-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.services-hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== BUTTON STYLES ===== */
.btn, .cta-button, .submit-button, .primary-btn,
.newsletter-form button, .hero-buttons .btn, .services-cta .btn {
  background: linear-gradient(90deg, #0D47A1 0%, #1976D2 100%) !important;
  border: none !important;
  border-radius: 6px !important;
  color: white !important;
  padding: 6px 14px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover, .cta-button:hover, .submit-button:hover, .primary-btn:hover,
.newsletter-form button:hover, .hero-buttons .btn:hover,
.services-cta .btn:hover {
  background: linear-gradient(90deg, #1976D2 0%, #0D47A1 100%) !important;
}

.primary-btn, .hero-buttons .btn {
  min-width: 200px !important;
  padding: 12px 30px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.secondary-btn {
  background-color: white !important;
  /*color: white!important;*/
  border: 2px solid #0066cc !important;
  min-width: 100px;
  padding: 6px 15px;
  border-radius: 4px;
}

.secondary-btn:hover {
  background-color: #8bbffb !important;
}

.cta-button {
  background-color: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background-color: linear-gradient(to right, #2575fc, #6a11cb);
}

.submit-button {
  background: linear-gradient(90deg, #0D47A1 0%, #1976D2 100%);
  transition: background 0.3s ease;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.submit-button:hover {
  background: linear-gradient(90deg, #1976D2 0%, #0D47A1 100%);
}

/* ===== FORM STYLES ===== */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input, select, textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 14px;
  color: #333;
  box-sizing: border-box;
}

input::placeholder, select option[disabled] {
  color: #bbb;
}

.input-field {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

input:not(:focus):not(:placeholder-shown):invalid,
select:not(:focus):invalid {
  border: 1px solid #ccc;
}

input.invalid {
  border: 2px solid red;
}

#phone {
  width: 100%;
  height: 40px;
  padding-left: 60px;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.iti {
  width: 100%;
}

.iti__flag {
  width: 20px !important;
  height: 15px !important;
}

/* ===== SERVICE SECTIONS ===== */
.services-intro {
  text-align: center;
  padding: 60px 0;
  background-color: #f9f9f9;
}

.services-intro h2 {
  margin-bottom: 20px;
}

.services-intro p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #eee;
  border-radius: 50%;
}

.service-section {
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.service-section.reverse {
  flex-direction: row-reverse;
}

.service-content {
  flex: 1;
  padding: 0 40px;
}

.service-image {
  flex: 1;
  height: 400px;
  background-color: #eee;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.service-section h2 {
  color: #0066cc;
  margin-bottom: 20px;
}

.service-section ul {
  margin: 20px 0;
  padding-left: 20px;
}

.service-section li {
  margin-bottom: 10px;
  font-size: 16px;
}

.service-benefits {
  padding: 80px 0;
  background-color: #f5f5f5;
  text-align: center;
}

.service-benefits h2 {
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #0066cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card h3 {
  color: #0066cc;
  margin-bottom: 15px;
}

.services-cta {
  text-align: center;
  padding: 80px 0;
  background-color: #0066cc;
  color: white;
}

.services-cta h2 {
  color: white;
  margin-bottom: 20px;
}

.services-cta p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 18px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us .benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.benefit-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-carousel {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
}

.testimonial {
  min-width: 350px;
  scroll-snap-align: start;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #eee;
  margin-right: 15px;
}

.client-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.client-logos img {
  height: 50px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.client-logos img:hover {
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta-section {
  text-align: center;
  background-color: #f5f5f5;
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter {
  background-color: white;
  padding: 20px;
  text-align: center;
  margin: 20px 0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-form input {
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  max-width: 300px;
}

.newsletter-form button {
  background-color: white;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.newsletter-form button:hover {
  background-color: #f0f0f0;
}

/* ===== FOOTER STYLES ===== */
footer {
  background: linear-gradient(90deg, #0E49A3 0%, #176FCB 100%);
  color: white;
  padding: 40px 20px 20px;
  text-align: left;
  margin-top: auto;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 100%;
  width: 100%;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
}

.footer-section ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
  font-size: 14px;
}

/* Contact Items in Footer */
.contact-item {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.contact-item img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: opacity 0.2s ease;
  filter: brightness(0) invert(1);
}

.social-icons img:hover {
  opacity: 0.8;
}

.social-icons a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  
  .hero-content, .hero-media {
    width: 100%;
    position: relative;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-left: 60px;
  }
  
  .service-section, .service-section.reverse {
    flex-direction: column;
  }
  
  .service-content, .service-image {
    width: 100%;
    padding: 20px 0;
  }
  
  .service-image {
    height: 250px;
    margin-top: 30px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  main {
    flex: 1;
    margin-top: 70px;
  }
}

/* ===== MAIN CONTENT AREA ===== */
main {
  flex: 1;
  margin-top: 70px;
}
