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

body, html {
  height: 100%;
  font-family: Tahoma, Helvetica, sans-serif , sans-serif;
  background-color:#000000 ;
  scroll-behavior: smooth;
}
H1, h2 {
    color: #FFFFFF;
    font-family: Tahoma, Verdana, sans-serif;
}
p, a {
    color:#FFFFFF;
    font-family: Helvetica, sans-serif;
    font-weight: 100;
}

.hero-bg {
  background: 
    url('media/Photo by Milad Fakurian on Unsplash.webp') center/cover no-repeat;
  color: #f5f5f5;
}

.gradient-text{
  background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #000746 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/**********************************************************/
/* NAVBAR */

.navbar {
    position:fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000000f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 3rem;
}

.navbar .logo img {
  height: 100px;
}

.navbar .menu a {
  color: #f5f5f5;
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s;
}

.navbar .menu a:hover {
  color: #9B96B0ff;
}

.contact-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border: 1px solid transparent;
  border-radius: 0px;
  background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-button:hover {
   background: 
    linear-gradient(rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1)) padding-box, 
    linear-gradient(120deg, #4158D0 , #C850C0) border-box;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
}

/* Hamburger style */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}


/**********************************************************/
/* Hero Section */

.hero {
  padding: 9rem 2rem;
  margin-top: 9rem;

}

.hero h1 {
  width: 70%;
  font-size: 5rem;
  color: #fff;
  margin: 0 auto 8rem; 
  text-align: center;
}

/* Subtext and button line */
.hero-subrow {
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  text-align: left; /* so the text aligns naturally left */
}

.hero-subrow p {
  color: #FFFFFF;
  font-size: 1rem;
  flex: 1; /* so it takes remaining space */
  font-family: Helvetica, sans-serif ;
  font-weight: 100;
}

.hero-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border: 1px solid transparent;
  border-radius: 0px;
  background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.hero-btn:hover {
  background: 
    linear-gradient(rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1)) padding-box, 
    linear-gradient(120deg, #4158D0 , #C850C0) border-box;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
}


/**********************************************************/
/* Feature Section */

.features-section {
  display: flex;
  min-height: 100vh;
  background: #000;

}

.features-content {
  flex: 0 0 60%;
  padding: 4rem 3rem;
  color: #fff;
}

.features-image {
  flex: 0 0 40%;
  background: url('media/dima-solomin-BVkS25hC1I4-unsplash.webp') center right / contain no-repeat;
}

/* Headline */
.features-content h1 {
  font-size: 5rem;
  margin-bottom: 3rem;
  margin-left: calc(50px + 8rem); /* aligns with text blocks */
}

/* Feature items */
.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 8rem;
  border-bottom: 1px solid grey;
  padding-bottom: 2rem;

}

.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.5rem;
  font-size: 2rem;
  color: #e100ff;
}

.feature-icon img {
    width: 40px;
    height: auto;
}

.feature-number {
  margin-top: 0.5rem;
  font-size: .8rem;
  color: #7c7c7c;
  font-weight: 100;
}

.feature-text h3 {
  margin: 0;
  font-weight: 200;
  letter-spacing: 4px;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;

}

.feature-text p {
  margin: 0.7rem 0 0;
  color: #ccc;
  font-weight: 100;
  font-size: 0.9rem;
}


/**********************************************************/
/* About Section */
.about-section {  
  padding: 5rem 1rem;
  max-width: 1280px;
  margin: auto;
  overflow-x: hidden;
}

.about-heading {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-direction: row-reverse; /* puts line first on the right */
  text-align: right;
}

.about-line {
  height: 2px;
  background: #fff;
  width: 50px;
  margin-top: 2.5rem;
  flex-shrink: 0; /* prevents it from shrinking to 0 */
  
}

.about-section h1 {
  font-size: 5rem;
  text-align: right;
}

.about-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}
.about-btn-wrapper {
  margin-top: 2rem; /* Adds space between text and button */
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.about-text {
  flex: 1;
  min-width: 18rem;
  font-size: 1rem;
  color:#ccc;
}
.about-h6{
  flex: 1;
  min-width: 18rem;
  font-weight: 200;
  letter-spacing: 2.5px;
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.enquire-button {
 padding: 0.75rem 1.5rem;
  border: none;
  border: 1px solid transparent;
  border-radius: 0px;
  background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.enquire-button:hover {
  background: 
    linear-gradient(rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1)) padding-box, 
    linear-gradient(120deg, #4158D0 , #C850C0) border-box;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
}


/**********************************************************/
/* Services Section */

.service-title {
    font-size: 5rem;
    text-align: start;

}
.services-section {
  width: 100%;
  margin: 5rem 0;
  text-align: center;
  background:#000000;
  padding: 5rem 0;
  overflow-x: hidden;
}
.service-heading {
  display: flex;
  align-items:start;
  gap: 8rem;
  margin-bottom: 6rem;
  
}

.service-line {
  flex: 1;
  height: 2px;
  background: #fff;
  max-width: 50px;
  margin-top: 2rem;
  margin-left: 1rem;
}

.service-item {
  border-bottom: 1px solid #333;
}

.service-header {
  position: relative;
  padding: 5rem 2rem;
  cursor: pointer;
  background:#0e0e0e;
  transition: background 0.3s;
}

.service-header:hover {
  background: #1f0043bf;
}
.service-header .service-label {
  position: absolute;
  top: 50%;
  left: 2rem;  /* close to the edge */
  transform: translateY(-50%);
  font-size: 1rem;
  color: #e100ff;
  font-weight: 300;
}

.service-header h2 {
  position: absolute;
  top: 50%;       /* center top-bottom */
  left: 50%;      /* center left-right */
  transform: translate(-50%, -50%);
  margin: 0;
  font-size: 3rem;
  color: #fff;
  margin: 0;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.service-toggle {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #e100ff;
  transition: transform 0.3s;
}
.service-toggle svg {
  transition: transform 0.3s;
  width: 2rem;
  height: 2rem;
  stroke: #e100ff;
}

.service-item.active .service-toggle svg {
  transform: rotate(180deg);
}

/* dropdown panel */
.service-content {
  max-height: 0;
  overflow: hidden;
  background: linear-gradient(120deg, #4158D0 , #C850C0);
  color: #fff;
  padding: 0 5rem;
  transition: max-height 0.5s ease, padding 0.5s;
}

.service-content p {
  margin: 1rem 2rem;
}

.service-content .read-more {
  display: inline-block;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid transparent;
  background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
  
  color: #fff;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.service-content .read-more:hover {
  background: 
    linear-gradient(rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1)) padding-box, 
    linear-gradient(120deg, #4158D0 , #C850C0) border-box;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
}

/* active state */
.service-item.active .service-content {
  max-height: 350px;
  padding: 2rem 5rem;
}

.service-item.active .service-toggle {
  transform: rotate(180deg);
}





/**********************************************************/
/* Portfolio Section */


/* Our Work Section Wrapper with background image on left */
.our-work-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: url('media/milad-fakurian-1RWMfvv2UW4-unsplash.webp') center/contain no-repeat;
  background-color: #000; /* fallback color */
  padding: 5rem 0;
  overflow-x: hidden;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.591);
  z-index: 1;
}


/* Content Area */
.our-work-section {
 position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  overflow-x: hidden;
}

/* Heading with line */
.work-heading {
  display: flex;
  align-items: start;
  gap: 8rem;
  margin-bottom: 3rem;
}

.work-line {
  flex: 1;
  height: 2px;
  background: #fff;
  max-width: 50px;
  margin-left: 1rem;
  margin-top: 2.5rem;
}

.our-work-section h1 {
  font-size: 5rem;
}

/* Gradient text reused */
.gradient-text {
  background: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #000746 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Work Item Styles */
.work-showcase {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: 12rem;
  margin-right: 2rem;
}

.work-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.034);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 12px;
  flex: 1 1 calc(45% - 3rem);
  max-width: 550px;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
  transition: box-shadow 0.3s ease;
}

.work-item:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.work-item h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.work-item p {
  font-size: 1rem;
  margin-bottom: 3rem;
  color: #ccc;
}
.work-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.work-content {
  flex: 1;
  text-align: center;

}

.btn-visit {
  padding: 0.75rem 1.5rem;
  border: none;
  border: 1px solid transparent;
  border-radius: 0px;
  background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-visit:hover {
  background: 
    linear-gradient(rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1)) padding-box, 
    linear-gradient(120deg, #4158D0 , #C850C0) border-box;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
}

/**********************************************************/
/* Pricing Section */
.pricing-wrapper {
  position: relative; /* ensures overlay stays inside */
  width: 100%;
  background: url('media/milad-fakurian-wAZvvL1Hbx8-unsplash.webp') top/cover no-repeat;
  padding: 5rem 0;
  overflow: hidden; /* just in case */
}
.pricing-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.6); /* semi-transparent dark overlay */
  z-index: 1;
}
.pricing-section {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin-right: auto;
  padding: 0 1rem;
  text-align: flex-start;
  
  
}

.pricing-heading {
  display: flex;
  align-items:start;
  gap: 8rem;
  margin-bottom: 3rem;
}

.price-line {
  flex: 1;
  height: 2px;
  background: #fff;
  max-width: 50px;
  margin-left:0px;
  margin-top: 2rem;
}

.pricing-section h1 {
  font-size: 5rem;
}
.show-on-mobile {
  display: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-left: calc(50px + 8rem);
}

.pricing-card {
  background: rgba(255, 255, 255, 0.034);
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  color: #fff;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(127, 0, 255, 0.5);
  border: 1px solid rgba(127, 0, 255, 0.6);
}

.pricing-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2rem;
  margin: 0.5rem 0;
  color: #e100ff;
}

.price span {
  font-size: 0.9rem;
  color: #ccc;
}

.tagline {
  font-size: 0.8rem;
  font-style: italic;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: #ccc;
  border-bottom: 1px solid rgba(255,255,255,0.2); /* subtle line */
  padding-bottom: 0.5rem; /* pushes text away from line */

}

.pricing-card ul {
  list-style: none;
  padding: 0;
}

.pricing-card ul li {
  display: flex;
  align-items: center; /* vertical centering */
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #ddd;
}
.pricing-card ul li img{
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}


/* Highlight for popular */
.pricing-card.popular {
  border: 1px solid transparent; /* base border to allow border-image / clip to work */
  box-shadow: 0 0 30px rgba(127, 0, 255, 0.5);
  border: 1px solid rgba(127, 0, 255, 0.6);
}

/**********************************************************/
/* Contact Section */

.contact-section {
    max-width: 90%;
    margin: 5rem auto;
    display: flex;
    gap: 40px;
    padding: 30px;
    border-radius: 8px;
    flex-wrap: wrap;
    overflow-x: hidden;
  }

  .contact-heading {
  width: 100%;
  text-align: center;
  margin-bottom: 3rem;
}

.contact-heading h1 {
  font-size: 5rem;
  margin: 0;
}

  .contact-left, .contact-right {
    flex: 1 1 300px;
  }
  .contact-left h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #FFFFFF;
  }
  .contact-left p {
    color: #ffffff;
    margin-bottom: 20px;
  }
  .contact-details {
    list-style: none;
    padding: 0;
  }
  .contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    color: #ffffff;
  }
  .contact-details li svg {
    margin-right: 10px;
    fill: #e100ff;
    min-width: 20px;
    min-height: 20px;
  }
  form {
    display: flex;
    flex-direction: column;
  }
  input, textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-radius: 0px;
    background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
    color: #fff;
    font-size: 14px;
    resize: vertical;
  }
  button {
    padding: 0.75rem 1.5rem;
  border: none;
  border: 1px solid transparent;
  border-radius: 0px;
  background: 
    linear-gradient(#0a0118, #0a0118) padding-box, /* inner background */
    linear-gradient(120deg, #4158D0 , #C850C0) border-box; /* border gradient */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  }
  button:hover {
    background: 
    linear-gradient(rgba(127, 0, 255, 0.1), rgba(225, 0, 255, 0.1)) padding-box, 
    linear-gradient(120deg, #4158D0 , #C850C0) border-box;
  box-shadow: 0 0 10px rgba(127, 0, 255, 0.6);
  }
/* Footer */
.footer {
  background: #0e0e0e;
  color: #fff;
  text-align: center;
  padding: 1rem 1rem;
  font-size: 0.9rem;
  border-top: 1px solid #222;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Responsive */

/* Responsive fallback to 2 columns on small screens */
/*Tablets*/
@media (min-width: 768px) and (max-width:1100px) {
.about-section {  
  margin-top: -40%;
}
.pricing-grid {
  gap: 1rem;
  margin: 0 2%;
}
.our-work-wrapper{
  padding: 2rem 0;
  min-height: 50%;
}
.work-showcase {
  gap: 1rem;
  justify-content: center;
  max-width: 100%;
  margin: 0 4%;
}
.work-item {
    max-width: 100%;
    padding: 1.5rem;
  }
}



@media (max-width: 1024px) {
  .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0a0118;
    width: 200px;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    display: none;
    border-radius: 8px 0 0 8px;
  }

.menu.active {
    display: flex;
  }

.hamburger {
    display: flex;
  }
.features-section {
    flex-direction: column;
  }

.features-content,
.features-image {
    flex: 1 0 100%;
  }

.features-image {
   display:none;
  }
}


/*Phones*/
@media (max-width: 768px) {

  /* Hero Section */
.hero {
  padding: 1rem;

}
 .hero h1 {
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}
.hero-subrow {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

.hero-subrow p {
    margin-bottom: 1rem;
  }


/* Feature Section */
.features {
    grid-template-columns: 2fr;
  }
.feature-item {
  gap: 0rem;
  
}  

.features-content h1 {
  font-size: 3rem;
  margin-left: 0rem; /* aligns with text blocks */
}


/* About Section */
.about-section {  
  max-width: 100%;
  overflow-x: hidden;
  margin-top: -26%;
}
.about-heading {
  display: flex;
  justify-content: start;
  flex-direction: row;
  gap: 3rem;
  text-align: left;
}

.about-line {
  margin-top: 1.2rem;
  
}
.about-section h1 {
  font-size: 3.5rem;
  text-align: left;
}


/* Services Section */
.services-section{
  margin-top: -10%;
}
.service-title {
    font-size: 3rem;
}
.service-heading {
  gap: 3rem; 
}
.service-line {
  margin-top: 1.2rem;
}
.service-header {
  padding: 5rem 1rem;
}
.service-header h2 {
  font-size: 1.5rem;
}
.service-content p {
  margin: 1rem 1rem;
}
/* active state */
.service-item.active .service-content {
  max-height: 50%;
  padding: 2rem 1rem;
  text-align: justify;
}
.service-content .read-more {
    margin-left: 1rem;
}


/* Work Section */
.our-work-wrapper {
  overflow-x: hidden;
  margin-top: -20%;
  padding: 1rem 0;
  min-height: 50%;
}

.work-heading {
  gap: 3rem;
  
}

.work-line {
  margin-top: 1.2rem;
}

.our-work-section h1 {
  font-size: 3rem;
}
.work-showcase {
    flex-direction: column;
    margin-left: 1rem;
    margin-right: 1rem;
    gap: 2rem;
    align-items: center;
  }

.work-item {
   flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
  }


/* Hosting Section */
.pricing-wrapper {
  width: 100%;
  background: url('media/milad-fakurian-wAZvvL1Hbx8-unsplash.webp') center/cover no-repeat;
  overflow-x: hidden;
}
.pricing-grid {
    grid-template-columns: 1fr;
    margin-left: auto;

  }
.pricing-heading {
  gap: 3rem;
 
}

.price-line {
  margin-top: 1.2rem;
}

.pricing-section h1 {
  font-size: 3rem;
}
.hide-on-mobile {
    display: none;
  }

.show-on-mobile {
    display: inline;
  }

/* Contact Section */
.contact-section {
      flex-direction: column-reverse;
      margin-top: 2rem;
      overflow-x: hidden;
}
.contact-heading {
  margin-bottom:1rem;
}
.contact-heading h1 {
  font-size: 4rem;
}
}
