/* Reset and global settings */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Playfair Display', serif;
  line-height: 1.6;
  background-color: #fffffffa;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Menu bar */
.brand-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;
}

@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;
  }

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

  .dropdown-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    padding-left: 22px;
  }

  .dropdown-toggle:hover {
    color: #ee01df;
  }

  .dropdown-toggle .arrow {
    margin-left: 0.5rem;
    color: #ffffff;
    font-size: 0.9rem;
  }

  .dropdown-toggle:hover .arrow {
    color: #ee01df;
  }

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

  .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);
  }

  .mobile-menu li.dropdown > a {
    cursor: pointer;
    user-select: none;
  }
}


/* Header with logo and text */
.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem 2rem;
  margin-top: 4.5rem;
}

.logo {
  width: 150px;
  height: auto;
  border: 3px solid #f700ffdf;
}

.texst-group {
  flex: 1;
  text-align: left;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .texst-group {
    text-align: center;
  }
}

/* Hero Header */
.hero-header {
  text-align: center;
  padding-top: 60px;
  background-color: #ffffff;
  color: #000000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.company-name {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.slogan {
  font-size: 1rem;
  font-weight: 400;
  color: #484848c2;
}

.hero-header .header-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.left-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

/* Checklist */
.checklist {
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: center; /* Align icon and text vertically */
  justify-content: flex-start; /* Align content to the left */
  gap: 0.75rem; /* Space between icon and text */
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: rgb(0, 0, 0);
}


.checklist li img {
  width: 40px;
  height: 40px;
  margin-right: 0.5rem;
}

/* Main layout */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 60px);
  padding: 2rem;
  background-color: #f5f5f5;
}

/* Section styling */
.tech-section,
.white-section,.logo-section {
  width: 100%;
  padding: 4rem clamp(1rem, 5vw, 3rem);
}

.tech-section {
  min-height: 80vh;
  background-color: #0b1f3a;
  color: white;
  background-image: url('images/techbackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.white-section {
  min-height: 50vh;
  background-image: url('images/parallax-motion-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.white-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 0;
}

.white-section > * {
  position: relative;
  z-index: 1;
}
/*home section*/
.home-section {
  background-color: #f2f6f8;
  padding: 4rem 0;
  color: #000000;
}
.logo-section {
  min-height: 100vh;
  background-color: #0b1f3a;
  color: white;
  background-image: url('images/logobackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.home-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.home-text {
  flex: 1 1 350px;
  max-width: 500px;
}

.home-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1b1b1b;
  font-weight: 700;
}

.home-text p {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.home-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0073e6;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.home-cta:hover {
  background-color: #005bb5;
}

.home-image {
  flex: 0 0 auto; /* Don't grow or shrink */
  width: 200px;
  text-align: center;
}

.home-image img {
  width: 200px; /* Fixed size */
  height: auto;
  border-radius: 8px;
}


/* Responsive: stack vertically on smaller screens */
@media (max-width: 768px) {
  .home-content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .home-text,
  .home-image {
    max-width: 100%;
  }
}
/* Services */
.services {
  padding: 6rem 2rem;
  background-color: #0b1f3a;
  color: rgb(0, 0, 0);
  text-align: center;
}
.services h2 {
  font-size: 2.5rem;
  color:#ffffff;
  margin-bottom: 2rem;
  
}
.section-title {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
/* Testimonials */
.testimonials {
  padding: 4rem 2rem;
  background-color: #f5eeee00;
  color: #ffffff;
  text-align: center;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem auto;
  max-width: 900px;
  justify-content: center;
}
.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  
}

.testimonial-text {
  flex: 1 1 400px;
  background-color: #0b0b0b85;
  padding: 2rem;
  border-radius: 8px;
  font-size: 1.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-style: italic;
}

.testimonial-img {
  flex: 1 1 200px;
  max-width: 250px;
}

.testimonial-img img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .testimonial-row {
    flex-direction: column;
    align-items: center;
  }

  .testimonial-text {
    text-align: left;
  }
}
.btn {
  display: inline-block;
  background-color: #100c4d;
  color: #fff;
  padding: 0.75rem 4rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/*.btn:hover {
  background-color: #143a64;
}*/




/* Featured Projects Section 

.featured-projects {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.featured-projects h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* Grid container 
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));

  gap: 2rem;
  width: 100%;
}
.example-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* REMOVE this media rule – it breaks alignment 

@media (max-width: 340px) {
  .examples-grid {
    padding: 0 0.5rem; /* Optional: slight padding for ultra-small screens 
  }

  .example-card {
    /* REMOVE: width and margin overrides *
   padding: 1rem;
  }
}

/* Hover effects *
.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Image inside the card *
.example-card img {
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
  width: 100%;
}

/* Card body (if used 
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Thumbnail image 
.project-thumbnail {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* Card heading 
.example-card h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: #111;
}

/* Card paragraph 
.example-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Card link 
.example-card a {
  margin-top: auto;
  display: inline-block;
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
  transition: color 0.3s ease;
}

.example-card a:hover {
  color: #005fa3;
}

/* Why Choose Us */
.why-choose-us {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
  color: #000;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile first */
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.feature img {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 90px;
  height: 90px;
  object-fit: contain;
}


/* Optional styling for images */
.feature img {
  max-width: 90px;
  height: auto;
  margin-bottom: 1rem;
}

/* Responsive: 3 columns on larger screens */
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/*our story button*/
.our-story-button {
  display: inline-block;
  background-color: #000000;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;

  /* Add these lines below */
  margin: 1rem;          /* Adds space between multiple buttons */
  margin-top: 2rem;      /* Moves the buttons down from the content above */
}


/* Contact */
/* Contact */
.split-screen {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 4rem 2rem;
}

.inquiry-left,
.inquiry-right {
  flex: 1;
  width: 100%;
  max-width: 500px;
  padding: 1.5rem;
  background-color: #0606067b;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  margin-inline: auto; /* center when stacked */
}

.inquiry-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.inquiry-form input,
.inquiry-form textarea,
.inquiry-form select {  /* ADDED select styling */
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  width: 100%;
  box-sizing: border-box;
  background-color: #fff; /* Optional for contrast */
  color: #333;
}

/* Optional hover/focus effect for select */
.inquiry-form select:focus,
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: #ff4f8b;
  outline: none;
}

/* Buttons */
.inquiry-form .btn {
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.btn-pink {
  background-color: #ff4f8b;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-pink:hover {
  background-color: #e5447c;
}

.btn.btn-pink {
  background-color: #ff6ea0;
  color: white;
}

/* Container */
.custom-service-inquiry {
  background-color: #0d0d0d;
  padding: 5rem 2rem;
  text-align: center;
}

.inquiry-content {
  max-width: 800px;
  margin: 0 auto;
}

.custom-service-inquiry h2 {
  font-size: 2rem;
  color: #feffff;
  margin-bottom: 0.5rem;
}

.custom-service-inquiry p {
  font-size: 1rem;
  color: #fff9f9;
  margin-bottom: 2rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {  /* ADDED select here too */
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Playfair Display', serif;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .form-group {
    flex-direction: row;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select {  /* Responsive select styling */
    width: 100%;
  }
}

@media (max-width: 360px) {
  .tech-section,
  .featured-projects,
  .split-screen {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .examples-grid,
  .inquiry-left,
  .inquiry-right {
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    max-width: calc(100% - 2rem);
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 0.5em;
  background: #eee;
}



/* Footer */
footer {
  text-align: center;
  padding: 0.5em;
  background: #eee;
}
