:root {
  --primary: #7eeafb;
  --primary-dark: #5ecbdb;
  --secondary: #1a2a3a;
  --accent: #ff6b6b;
  --dark: #0d1117;
  --darker: #080c12;
  --light: #f0f4f8;
  --light-gray: #e0e6ed;
  --gray: #b8c2cc;
  --section-padding: 80px 0;
  --border-radius: 8px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --max-content-width: 1920px; /* Added for large displays */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--light);
  background-color: var(--dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Container for extra large screens */
.container-xxl {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--light);
}

a {
  text-decoration: none;
  transition: var(--transition);
  color: var(--light-gray);
}

p {
  color: var(--light-gray);
}

/* Background Patterns */
.bg-pattern {
  background-image: linear-gradient(
      rgba(13, 17, 23, 0.5),
      rgba(26, 42, 58, 0.9)
    ),
    url("/Content/Gallery/13.jpg");
  background-attachment: fixed;
  background-size: cover;
}

/* Navigation - Fixed z-index and dropdown positioning */
.navbar {
  background-color: rgba(13, 17, 23, 1);
  position: fixed;
  backdrop-filter: blur(2px);
  top: 0.5rem;
  padding: 0rem;
  left: 3.5%;
  right: 3.5%;
  border-radius: 0.8rem;
  border-top: 1px solid rgba(29, 220, 250, 0.699);
  border-bottom: 1px solid rgba(29, 220, 250, 0.699);
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 55px; /* Bigger logo when not scrolled */
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  /* padding: 0.5rem 1rem; */
}

.navbar.scrolled .navbar-brand img {
  height: 45px; /* Medium logo when scrolled */
}

.nav-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: var(--light) !important;
  margin: 0 1.5rem;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}

.nav-link.active {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}

/* Fixed dropdown positioning */
.dropdown {
  position: relative;
}

.dropdown-menu {
  background-color: rgba(13, 17, 23, 1);
  border-bottom: 2px solid rgba(29, 220, 250, 0.699);
  backdrop-filter: blur(2px);
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 180px;
  z-index: 1001;
  border-radius: 0.5rem;
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-item {
  color: var(--light);
  padding: 0.5rem 1.5rem;
  transition: var(--transition);
  display: block;
  width: 100%;
  clear: both;
  font-weight: 400;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(126, 234, 251, 0.1);
  color: var(--primary);
  padding-left: 1.8rem;
}

/* Hero Section */
.hero-section {
  min-height: 110vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  z-index: 1;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.hero-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem); /* Increased max size for large displays */
  font-weight: 700;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(
    0.9rem,
    2vw,
    1.3rem
  ); /* Increased max size for large displays */
  color: var(--light-gray);
  margin-bottom: 2rem;
  max-width: 650px; /* Increased for large displays */
}

.hero-image {
  height: 400px; /* Increased for large displays */
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.hero-image img {
  filter: brightness(0.7);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  padding: 14px 35px; /* Slightly larger for big screens */
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 8px 15px rgba(126, 234, 251, 0.2);
  font-size: 1rem; /* Slightly larger for big screens */
  color: var(--dark);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(126, 234, 251, 0.3);
  color: var(--dark);
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 30px; /* Slightly larger for big screens */
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 1rem; /* Slightly larger for big screens */
}

.btn-outline-custom:hover {
  color: var(--dark);
}

.btn-outline-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-outline-custom:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-shape {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(126, 234, 251, 0.15) 0%,
    rgba(126, 234, 251, 0) 70%
  );
  z-index: 1;
}

.hero-shape-1 {
  top: -250px;
  right: -250px;
}

.hero-shape-2 {
  bottom: -150px;
  left: -150px;
  width: 300px;
  height: 300px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px; /* Larger for big screens */
  height: 60px; /* Larger for big screens */
  background: rgba(126, 234, 251, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition);
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
  opacity: 1;
}

/* About Section */
.about-section {
  background-image: linear-gradient(
      rgba(13, 17, 23, 0.9),
      rgba(26, 42, 58, 0.8)
    ),
    url("/Content/Gallery/6.jpg");
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  overflow: hidden;
  padding: var(--section-padding);
}

.about-img {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  position: relative;
  height: 500px; /* Increased for large displays */
}

.about-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(126, 234, 251, 0.1),
    rgba(255, 107, 107, 0.1)
  );
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-item {
  margin-bottom: 1.5rem; /* Slightly increased for large displays */
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  width: 42px; /* Slightly larger for big screens */
  height: 42px; /* Slightly larger for big screens */
  background: rgba(126, 234, 251, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.2rem; /* Slightly increased for big screens */
  flex-shrink: 0;
}

.feature-content h5 {
  margin-bottom: 0.3rem;
  color: var(--light);
  font-size: 1.1rem; /* Slightly larger for big screens */
}

.feature-content p {
  color: var(--gray);
  font-size: 1rem; /* Slightly larger for big screens */
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
  width: 100%;
}

.services-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem; /* Increased gap for large displays */
  margin: 0 auto;
  max-width: 1400px; /* Increased for large displays */
  padding: 0 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(126, 234, 251, 0.1);
  border-radius: var(--border-radius);
  padding: 2.2rem; /* Increased padding for large displays */
  width: 100%;
  max-width: 380px; /* Increased for large displays */
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 3rem; /* Larger for big screens */
  color: var(--primary);
  margin-bottom: 1.2rem; /* Slightly increased for big screens */
}

.service-title {
  font-size: 1.5rem; /* Slightly larger for big screens */
  margin-bottom: 1rem; /* Slightly increased for big screens */
  color: var(--light);
}

.service-card p {
  font-size: 1.05rem; /* Slightly larger for big screens */
  color: var(--gray);
}

/* Section Titles */
.section-title {
  font-size: clamp(
    1.8rem,
    4vw,
    3rem
  ); /* Increased max size for large displays */
  margin-bottom: 1.2rem; /* Slightly increased for big screens */
  color: var(--light);
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem; /* Slightly larger for big screens */
  color: var(--gray);
  margin-bottom: 2.5rem; /* Slightly increased for big screens */
  max-width: 800px; /* Increased for large displays */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.main-footer {
  background-color: var(--darker);
  padding: 70px 0 0; /* Slightly increased for big screens */
  border-top: 1px solid rgba(126, 234, 251, 0.1);
  position: relative;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
  width: 100%;
  max-width: 1400px; /* Increased for large displays */
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  margin-bottom: 50px; /* Slightly increased for big screens */
}

.footer-section h3 {
  font-size: 1.3rem; /* Slightly larger for big screens */
  margin-bottom: 1.8rem; /* Slightly increased for big screens */
  position: relative;
  padding-bottom: 10px; /* Slightly increased for big screens */
  color: var(--light);
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px; /* Slightly increased for big screens */
  height: 3px; /* Slightly increased for big screens */
  background: var(--primary);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 1.2rem; /* Slightly increased for big screens */
}

.footer-section ul li a {
  color: var(--light-gray);
  transition: var(--transition);
  font-size: 1.05rem; /* Slightly larger for big screens */
}

.footer-section ul li a:hover {
  color: var(--primary);
}

.contact-info li {
  margin-bottom: 1.5rem; /* Slightly increased for big screens */
  display: flex;
  align-items: flex-start;
}

.contact-info i {
  color: var(--primary);
  margin-right: 18px; /* Slightly increased for big screens */
  font-size: 1.3rem; /* Slightly larger for big screens */
}

.social-links {
  display: flex;
  gap: 18px; /* Slightly increased for big screens */
  margin-top: 2rem; /* Slightly increased for big screens */
}

.social-link {
  width: 45px; /* Slightly larger for big screens */
  height: 45px; /* Slightly larger for big screens */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 1.1rem; /* Slightly larger for big screens */
}

.social-link.facebook {
  background-color: #3b5998;
}

.social-link.twitter {
  background-color: #1da1f2;
}

.social-link.linkedin {
  background-color: #0077b5;
}

.social-link.whatsapp {
  background-color: #25d366;
}

.social-link.instagram {
  background: linear-gradient(
    45deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.logo-footer {
  margin-top: 2.5rem; /* Slightly increased for big screens */
}

.logo-footer img {
  height: 110px; /* Slightly larger for big screens */
  width: auto;
}

.footer-bottom {
  text-align: center;
  padding: 2rem 0; /* Slightly increased for big screens */
  margin-top: 2.5rem; /* Slightly increased for big screens */
  border-top: 1px solid rgba(126, 234, 251, 0.1);
  color: var(--gray);
  font-size: 0.9rem; /* Slightly larger for big screens */
}

@media (min-width: 768px) {
  .footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px; /* Slightly increased for big screens */
  }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px; /* Slightly increased for big screens */
  right: 30px; /* Slightly increased for big screens */
  width: 50px; /* Slightly larger for big screens */
  height: 50px; /* Slightly larger for big screens */
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem; /* Slightly larger for big screens */
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(126, 234, 251, 0.3);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* Extra Large Screens (1920px and above) */
@media (min-width: 1920px) {
  .navbar {
    padding: 1rem;
    left: calc((100% - min(100%, var(--max-content-width))) / 2 + 3.5%);
    right: calc((100% - min(100%, var(--max-content-width))) / 2 + 3.5%);
  }

  .navbar.scrolled {
    left: 0;
    right: 0;
    border-radius: 1rem;
    padding-left: calc((100% - min(100%, var(--max-content-width))) / 2);
    padding-right: calc((100% - min(100%, var(--max-content-width))) / 2);
  }

  .navbar-brand img {
    height: 75px; /* Bigger logo when not scrolled */
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
  }

  .hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    max-width: 750px;
  }

  .hero-image {
    height: 450px;
  }

  .services-container {
    max-width: 1600px;
    gap: 2.5rem;
  }

  .service-card {
    max-width: 420px;
    padding: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
  }

  .section-subtitle {
    font-size: 1.2rem;
    max-width: 900px;
  }

  .footer-content {
    max-width: 1600px;
  }
}

/* Responsive Design for smaller screens (unchanged) */
@media (max-width: 1199.98px) {
  :root {
    --section-padding: 70px 0;
  }

  .navbar {
    left: 2.5%;
    right: 2.5%;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-padding: 60px 0;
  }

  .navbar {
    left: 2%;
    right: 2%;
    padding: 0.6rem;
  }

  .navbar-brand img {
    height: 60px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 40px;
  }

  .hero-section {
    padding-top: 90px;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero-image {
    height: 300px;
    margin: 0 auto;
  }

  .about-img {
    height: 350px;
    margin-bottom: 2rem;
  }

  .nav-link {
    margin: 0 1rem;
    font-size: 0.85rem;
  }

  .dropdown-menu {
    min-width: 180px;
    border-radius: 0.5rem;
    border-top: 2px solid rgba(29, 220, 250, 0.699);
  }

  .services-container {
    gap: 1rem;
  }

  .service-card {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-padding: 50px 0;
    --border-radius: 6px;
  }

  .navbar {
    left: 1%;
    right: 1%;
    top: 0.3rem;
    padding: 0.5rem;
  }

  .navbar-brand img {
    height: 50px;
  }

  .navbar.scrolled .navbar-brand img {
    height: 35px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .nav-link {
    margin: 0 0.5rem;
    font-size: 0.8rem;
  }

  .dropdown-menu {
    min-width: 160px;
    margin-top: 0.3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 40px 0;
  }

  .navbar {
    left: 0.5%;
    right: 0.5%;
    border-radius: 0.5rem;
  }

  .navbar-brand img {
    height: 45px;
  }

  .navbar.scrolled {
    padding: 0.4rem 0.8rem;
  }

  .navbar.scrolled .navbar-brand img {
    height: 30px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-image {
    height: 250px;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .dropdown-menu {
    min-width: 150px;
    font-size: 0.85rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Mobile menu toggle (if needed for future implementation) */
.navbar-toggler {
  border: none;
  background: transparent;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--darker);
    transition: var(--transition);
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    left: 0;
  }
}
