
/* ==== BASE STYLES ==== */
body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: #ffffff;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;

}

a {
  text-decoration: none;
  color: inherit;
}

/* ==== NAVIGATION BAR ==== */

/* Menu bar */
.logo a {
  font-size: 24px;
  font-weight: bold;
  color: #ff0066;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
}
.horizontal-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000;
  z-index: 1000;
  border-bottom: 1px solid #222;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  overflow-x: visible;

}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.horizontal-menu ul {
  display: flex;
  list-style: none;
  
  margin: 0;
  padding: 0 1rem;
  white-space: nowrap;
}

.horizontal-menu li {
  flex-shrink: 0;
}

.menu-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
}

.menu-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

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

.menu-link:hover,
.menu-link.active {
  color: #ee01df;
}
/* Hide horizontal menu on small screens */
@media (max-width: 768px) {
  .horizontal-menu {
    display: none;
  }
}

/* Dropdown styles FOR DESKTOP */
.dropdown {
  position: relative;
}

/* Base dropdown style */
.dropdown-content {
  display: none;             /* Hidden by default */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #000;
  min-width: 200px;
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;    /* Ensures vertical layout */
  visibility: hidden;        /* Prevents flash of content */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* When toggled */
.dropdown.open .dropdown-content {
  display: flex;
  visibility: visible;
  opacity: 1;
}

/* Force vertical items */
.dropdown-content li {
  width: 100%;
}

.dropdown-content li a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  width: 100%;
}

.dropdown-content li a:hover {
  background-color: #111;
}
.arrow {
  font-size: 0.6em; /* Makes arrow smaller */
  margin-left: 4px;
  transition: transform 0.3s ease;
}


/* Toggle class */
.dropdown-content.show-dropdown {
  display: block;
}

/*Mobile menu */
/* HIDE mobile menu and toggle button on desktop */
.mobile-menu,
.mobile-menu-button {
  display: none;
}

/* SHOW button + vertical menu on mobile only */
.mobile-menu,
.mobile-menu-button {
  display: none;
}

/* SHOW button + vertical menu on mobile only */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: #000000;
    color: #fff;
    padding: 0.5rem 1rem;
    border: none;
    font-size: 1.2rem;

    z-index: 1000;
    cursor: pointer;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 3.5rem;
    right: 0;
    background-color: #000000;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
  }

  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-menu li {
    padding: 0.75rem 1.5rem;
    border-top: 1px solid #000000;
  }

  .mobile-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
  }

  .mobile-menu.show {
    display: block;
  }

  /* Dropdown submenu styles */
.mobile-menu li.dropdown .dropdown-content {
  position: static;
  display: none;
  max-height: calc(100vh - 6rem);
  overflow-y: auto;
  margin: 0 1rem 3rem 2rem; /* top right bottom left */
  width: auto;
  background-color: #6c6a6a;
  border-radius: 4px;
}



/* Style the dropdown toggle button */
.dropdown-toggle {
  background: none;         /* Remove default button background */
  border: none;             /* Remove default button border */
  color: #ffffff;              /* Button text color */
  font-size: 1.1rem; 
  font-family: 'Playfair Display', serif;         /* Adjust text size */
  cursor: pointer;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  padding-left: 22px; 
}

/* Optional hover effect */
.dropdown-toggle:hover {
  color:#ee01df;           /* Change to your hover color */
}

/* Style the arrow inside the toggle */
.dropdown-toggle .arrow {
  margin-left: 0.5rem;
  color: #ffffff;              /* Arrow color */
  font-size: 0.9rem;        /* Optional: smaller arrow */
}

/* Arrow color on hover */
.dropdown-toggle:hover .arrow {
  color: #ee01df;
}

  .mobile-menu li.dropdown.open > ul.dropdown-content {
    display: block;
  }

  /* Arrow styling */
  .mobile-menu .arrow {
    float: right;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
    margin-left: 0.5rem;
  }

  .mobile-menu li.dropdown.open > a .arrow {
    transform: rotate(180deg);
  }

  /* Make dropdown parent link appear clickable */
  .mobile-menu li.dropdown > a {
    cursor: pointer;
    user-select: none;
  }
}


/* ==== HEADER ==== */
.animated-header {
  position: relative;
  background: #212121 url('images/uiuxbackgroundheader.jpg') no-repeat center center;
  background-size: cover;
  padding: 80px 20px 40px;
  text-align: center;
  overflow: hidden;
}

/* Text styles */
.animated-header h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
  color: white;
}

.animated-header p {
  font-size: 1.25rem;
  color: #ccc;
  margin-bottom: 40px;
}

/* Wrapper stays responsive and keeps aspect ratio */
.slide-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  height: 250px; /* Smaller height */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Slide containers (flexed for image scaling) */
.slide-left, .slide-right {
  position: absolute;
  width: 25%; /* Smaller, consistent size */
  max-width: 200px;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ensure image scales responsively */
.slide-left img,
.slide-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Looping animations */
@keyframes slideInOutLeft {
  0%, 100% {
    transform: translateX(-120%);
    opacity: 0;
  }
  25%, 75% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInOutRight {
  0%, 100% {
    transform: translateX(120%);
    opacity: 0;
  }
  25%, 75% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-left {
  left: 5%;
  animation: slideInOutLeft 20s infinite ease-in-out;
}

.slide-right {
  right: 5%;
  animation: slideInOutRight 20s infinite ease-in-out;
}

/*intro section*/
.intro-section {
  background: #f5f5f5;
  padding: 80px 5%;
  text-align: center;
}
.intro-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #000000;
}
.intro-section p {
  font-size: 1.2rem;
  color: #3c3c3c;
  margin-bottom: 40px;
}

/* ==== SECTIONS ==== */
.service-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 5%;
  gap: 40px;
  flex-wrap: wrap;
}

.service-section:nth-child(even) {
  flex-direction: row-reverse;
  background-color: #e9e7e7cf;
}

.service-section img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.service-section .content {
  flex: 1;
  min-width: 300px;
}

.service-section .content h2 {
  font-size: 2rem;
  color: #0000ff;
  margin-bottom: 20px;
}

.service-section .content p {
  font-size: 1.1rem;
  color: #000000;
}

/* ==== CONTACT BLOCK ==== */
.contact-block {
  background: #080808;
  background-size: cover;
  padding: 80px 5%;
  text-align: center;
  color: white;
}
@media (max-width: 768px) {
  .contact-block {
    background-attachment: scroll;
  }
}
.contact-image {
  max-width: 400px; /* or any width you prefer */
  width: 100%;       /* responsive sizing */
  height: auto;
  margin: 0 auto 40px auto;
  display: block;
}

.contact-block h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact-block a {
  background-color: white;
  color: #ff0066;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.contact-block a:hover {
  background-color: #f5f5f5;
}

/* ==== RESPONSIVE SECTION ==== */
@media (max-width: 768px) {
  .service-section {
    flex-direction: column !important;
    text-align: center;
  }

  .service-section img {
    max-width: 100%;
  }

  .service-section .content {
    padding-top: 20px;
  }
}
/* Footer */
footer {
  text-align: center;
  padding: 0.5em;
  background: #eee;
  color:#000000;
}