:root {
  --primary-blue: #002654;
  --primary-red: #ce1126;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --text-gray: #6c757d;
  --dark: #212529;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}

.nav-logo a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Language Selector in Navigation */
.language-selector-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  order: 3;
}

.language-selector-nav .lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 6px;
  transition: var(--transition);
  opacity: 0.75;
  cursor: pointer;
  text-decoration: none;
  background: transparent;
  border: 2px solid transparent;
}

.language-selector-nav .lang-option:hover {
  opacity: 1;
  transform: scale(1.15);
  background: rgba(206, 17, 38, 0.1);
}

.language-selector-nav .lang-option.active {
  opacity: 1;
  border-color: var(--primary-red);
  background: rgba(206, 17, 38, 0.15);
  box-shadow: 0 2px 8px rgba(206, 17, 38, 0.2);
}

.flag-icon {
  width: 36px;
  height: 24px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.9rem;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 auto;
}

.nav-link {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 250px;
  list-style: none;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
  background: var(--light-gray);
  color: var(--primary-red);
}

.contact-btn {
  background: var(--primary-red);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.nav-contact {
  margin-left: 2rem;
}

.contact-btn:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #003d82 100%);
  color: var(--white);
  padding: 150px 20px 100px;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
  border: 2px solid var(--primary-red);
}

.btn-primary:hover {
  background: #a00e1e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(206, 17, 38, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--primary-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-red), #ff1744);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: var(--white);
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.service-link:hover {
  gap: 1rem;
}

/* Why Choose Us */
.why-choose-us {
  padding: 80px 20px;
  background: var(--light-gray);
}

.why-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  display: flex;
  gap: 1.5rem;
}

.feature i {
  font-size: 2rem;
  color: var(--primary-red);
  flex-shrink: 0;
}

.feature h3 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.why-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #003d82 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 60px 20px 20px;
}

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

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-red);
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contact-info i {
  margin-top: 0.25rem;
}

/* Language Selector in Footer */
.language-selector-footer {
  margin-top: 2rem;
}

.lang-flags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.language-selector-footer .lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
  opacity: 0.75;
}

.language-selector-footer .lang-option:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.15);
  opacity: 1;
}

.language-selector-footer .lang-option.active {
  background: rgba(206, 17, 38, 0.3);
  border-color: var(--primary-red);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(206, 17, 38, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #003d82 100%);
  color: var(--white);
  padding: 150px 20px 80px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Page Content */
.page-content {
  padding: 80px 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.content-main h2 {
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
}

.content-main h3 {
  color: var(--primary-blue);
  margin: 2rem 0 1rem;
}

.content-main ul,
.content-main ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.content-main li {
  margin-bottom: 0.75rem;
}

.sidebar {
  position: sticky;
  top: 100px;
}

/* CTA Box in Sidebar */
.cta-box {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.cta-box h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.cta-box .btn {
  margin-bottom: 1rem;
}

.cta-box .btn:last-of-type {
  margin-bottom: 0;
}

.sidebar .btn-outline {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--dark);
  font-weight: 600;
}

.sidebar .btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu Styles */
@media (max-width: 968px) {
  .nav-container {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: left;
    transition: left 0.3s ease;
    box-shadow: var(--shadow);
    padding: 0;
    margin: 0;
    gap: 0;
    list-style: none;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
  }

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

  .nav-menu li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--dark);
    text-decoration: none;
  }

  .nav-link::after {
    display: none;
  }

  .dropdown {
    position: relative;
  }

  .dropdown > .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown > .nav-link i {
    transition: transform 0.3s ease;
  }

  .dropdown.active > .nav-link i {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    background: #f8f9fa;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    border-radius: 0;
    display: block;
  }

  .dropdown.active .dropdown-menu {
    max-height: 500px;
  }

  .dropdown-menu li {
    border-bottom: 1px solid #e9ecef;
  }

  .dropdown-menu li a {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    display: block;
  }

  .hamburger {
    display: flex;
    order: 2;
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .nav-contact .contact-btn:last-child {
    display: none !important;
  }

  .language-selector-nav {
    order: 4;
    margin-left: 0.5rem;
    display: flex !important;
    gap: 0.5rem;
    align-items: center;
  }

  .language-selector-nav .lang-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    border-radius: 6px;
    transition: var(--transition);
    opacity: 0.75;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    border: 2px solid transparent;
  }

  .language-selector-nav .lang-option:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(206, 17, 38, 0.1);
  }

  .language-selector-nav .lang-option.active {
    opacity: 1;
    border-color: var(--primary-red);
    background: rgba(206, 17, 38, 0.15);
  }

  .flag-icon {
    width: 32px;
    height: 21px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
  }

  .nav-logo {
    order: 1;
  }

  .hero-container,
  .why-content,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    top: 65px;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .dropdown-menu li a {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .flag-icon {
    width: 28px;
    height: 18px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

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

  .section-header h2 {
    font-size: 1.8rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .content-main h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 10px;
    gap: 0.3rem;
  }

  .hamburger {
    margin-right: 0.25rem;
  }

  .language-selector-nav {
    gap: 0.3rem;
  }

  .flag-icon {
    width: 24px;
    height: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .content-main h3 {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

/* Animations */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}




/*@media (max-width: 968px)*/

@media (min-width: 968px) {
    .header .navbar > .nav-logo {
    display: none;
    order: unset;
}
.header .navbar .nav-container .nav-contact {
    display: flex;
    gap: .4rem
}
}

@media (max-width: 968px) {
 .header .navbar {
    display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
}

.header .navbar .nav-container {
    padding: 0 !important;
}

.header .navbar > .nav-logo {
    order: 0;
}

.header .navbar .nav-container .nav-logo {
    display: none;
}

.header .navbar .nav-container .nav-menu {
    margin: 0 !important;
}   
}