/* ========== Base Styles ========== */
body {
  margin: 0; /* Removes default body margin */
  font-family: 'Inter', sans-serif;
  background: #f9f9f9; /* Light gray background for clean look */
  color: #333; /* Dark text for readability */
}

/* ========== Navigation Bar ========== */
.navbar {
  background: #1f1f1f;
  color: white;
  padding: 1rem 2rem;
}

.navbar .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
}

/* Desktop Nav Menu */
.nav-menu {
  margin-left: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #d1d5db;
}

.nav-links li a.active {
  border-bottom: 2px solid white;
  font-weight: bold;
}

/* ========== Dropdown Styling (Desktop) ========== */
.has-dropdown:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1f1f1f;
  padding: 0.5rem 0;
  border-radius: 8px;
  list-style: none;
  min-width: 180px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.dropdown li a {
  display: block;
  padding: 0.7rem 1rem;
  color: white;
  text-decoration: none;
  transition: background 0.2s ease;
}

.dropdown li a:hover {
  background: #333;
}

/* ========== Mobile Navigation ========== */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: 2rem;
    background: #1f1f1f;
    border-radius: 8px;
    padding: 1rem;
    width: 250px;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links li a {
    font-size: 1rem;
  }
}


/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f0f4f8, #ffffff);
  color: #111827;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  color: #4b5563;
  font-weight: 300;
  margin-bottom: 2rem;
}


.cta-button {
  background-color: #2563eb;
  color: #fff;
  padding: 0.9rem 1.7rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

.cta-button:hover {
  background-color: #1e40af;
  transform: translateY(-2px);
}
/* ========== Our Services Section ========== */
.services-overview {
  text-align: center;
  padding: 5rem 2rem;
  background-color: #ffffff;
}

.services-overview h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #004aad;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-item {
  max-width: 300px;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* ========== Why Bekaptech Section ========== */
.why-bekaptech {
  padding: 5rem 2rem;
  background-color: #f0f4f8;
  text-align: center;
}
.why-bekaptech h2 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  color: #004aad;
}
.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.reason {
  max-width: 260px;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.reason:hover {
  transform: translateY(-5px);
}

.reason h3 {
  margin-bottom: 0.5rem;
  color: #004aad;
}

.reason p {
  color: #444;
  font-size: 0.95rem;
}
/* ========== How it works Secton ========== */
.how-it-works {
  padding: 5rem 2rem;
  background-color: #ffffff;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: #004aad;
}

.steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.step {
  max-width: 250px;
  background-color: #f9fafb;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step h3 {
  margin-bottom: 0.5rem;
  color: #004aad;
}

.step p {
  font-size: 0.95rem;
  color: #555;
}

 /*=========== Testimonials Section ========== */
.testimonials {
  background: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  color: #004aad;
  margin-bottom: 3rem;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial {
  max-width: 300px;
  background-color: #f9fafb;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  font-style: italic;
  color: #333;
}

.testimonial h4 {
  margin-top: 1rem;
  font-weight: 500;
  color: #004aad;
}

 /*=========== Call to Action Section ========== */
.call-to-action {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(to right, #004aad, #2563eb);
  color: #ffffff;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.call-to-action p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-accent {
  background-color: #ffffff;
  color: #004aad;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.9rem 1.7rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-accent:hover {
  background-color: #f0f4f8;
  color: #1e40af;
}

/* ========== Content Section ========== */
.content-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 2rem;
  line-height: 1.8;
}

.content-section h1, .content-section h2 {
  color: #004aad; /* Blue headings for visual consistency */
}

.content-section ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

/* ========== Service Boxes ========== */
.services-banner {
  position: relative;
  padding: 6rem 2rem 4rem;
  background: url('../images/services-bg.png') center/cover no-repeat;
  color: rgb(253, 253, 253);
  text-align: center;
  overflow: hidden;
}

.services-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.services-banner .container {
  position: relative;
  z-index: 2;
}

.services-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.services-banner p {
  font-size: 1.125rem;
  font-weight: 300;
  color: #e0e0e0;
}

.service-box {
  background: #fff;
  padding: 3rem 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 850px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-box h2 a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1.4rem;
}

.service-box p {
  line-height: 1.6;
  color: #444;
}
.service-box h2 a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-box h2 a:hover {
  color: #0066cc;
}

.service-box h2 i {
  font-size: 1.2rem;
  color: #555;
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-box h2 a:hover i {
  transform: scale(1.1);
  color: #0066cc;
}
.service-box:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}
.service-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-box:nth-child(1) {
  transition-delay: 0.1s;
}
.service-box:nth-child(2) {
  transition-delay: 0.2s;
}
/* ...web-design */
.page-banner {
  position: relative;
  padding: 6rem 2rem 4rem;
  background: url('../images/web-design-banner.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
}

.page-banner .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.feature-box {
  background: #fff;
  padding: 3rem 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  max-width: 850px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.feature-box.visible {
  opacity: 1;
  transform: translateY(0);
}
/* === Hosting Grid Layout === */
.hosting-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

/* === Base Card Styling === */
.hosting-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  max-width: 320px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #1a1a1a;
}

.hosting-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* === Glow Accent per Plan on Hover Only === */
.hosting-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hosting-card.starter:hover::after {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08), rgba(0, 102, 204, 0.04));
  opacity: 1;
}

.hosting-card.pro:hover::after {
  background: linear-gradient(135deg, rgba(156, 90, 255, 0.1), rgba(156, 90, 255, 0.05));
  opacity: 1;
}

.hosting-card.performance:hover::after {
  background: linear-gradient(135deg, rgba(51, 204, 51, 0.1), rgba(51, 204, 51, 0.05));
  opacity: 1;
}

/* === Text & Icons === */
.hosting-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 1;
  position: relative;
}

.hosting-card .price {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
  z-index: 1;
  position: relative;
}

.hosting-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
  z-index: 1;
  position: relative;
}

.hosting-card ul li {
  margin-bottom: 0.6rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.hosting-card ul li i {
  color: #666;
  font-size: 1rem;
}

/* === Button Styling === */
.btn-hosting {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  background: #e0e0e0;
  color: #1a1a1a;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 1;
  position: relative;
}

.hosting-card.starter:hover .btn-hosting {
  background: #3399ff;
  color: white;
}

.hosting-card.pro:hover .btn-hosting {
  background: #9c5aff;
  color: white;
}

.hosting-card.performance:hover .btn-hosting {
  background: #33cc33;
  color: white;
}
.btn-hosting-toggle {
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  border-radius: 8px;
  background-color: #0066cc;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-hosting-toggle:hover {
  background-color: #004999;
}
.feature-panel {
  display: none;
  margin-top: 2rem;
  padding-top: 1rem;
}

.feature-panel.visible {
  display: block;
}

.feature-group {
  margin-bottom: 2rem;
  border-top: 1px solid #ddd;
  padding-top: 1rem;
}

.feature-group h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feature-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-group ul li {
  margin-bottom: 0.4rem;
  color: #444;
  padding-left: 1.4rem;
  position: relative;
}

.feature-group ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-size: 1rem;
}

.btn-hosting-toggle {
  padding: 0.6rem 1.4rem;
  font-weight: 500;
  border-radius: 8px;
  background-color: #0066cc;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-hosting-toggle:hover {
  background-color: #004999;
}


/* ========== About us ========== */
.about-hero {
  text-align: center;
  color: white;
  position: relative;
  padding: 6rem 2rem 3rem;
  background: #202020;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05); /* Very light layer over dark base */
  opacity: 0.2; /* You can tune this between 0.1–0.3 */
  pointer-events: none;
}

.about-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
  color: #222;
}
.about-box {
  background: #ffffff;
  padding: 3rem 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  max-width: 850px;
}
.container.narrow {
  max-width: 750px;
  margin: 0 auto;

}
.about-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-box.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Avatar & Intro Layout */
.about-intro {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  
}
.about-hero {
  position: relative;
  color: rgb(247, 246, 246);
  padding: 6rem 2rem 3rem;
  background: url('../images/bg.png') center/cover no-repeat;
  overflow: hidden;
}

.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(40, 40, 40, 0.6); /* Adjust for desired depth */
  z-index: 1;
}

.about-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #fff;
}

.intro-text {
  flex: 1;
}

.about-section h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  font-weight: 600;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #333;
}

.about-section ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.about-section li {
  padding: 0.5rem 0;
  font-size: 1rem;
  border-bottom: 1px solid #e2e2e2;
}

/* ========== Portfolio Projects ========== */
.hosting-card {
  display: none;
}
.hosting-card {
  opacity: 1;
  transform: none;
}

[data-visible] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-visible].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Contact Form & Info ========== */
form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}

form label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.3rem;
}

form input,
form textarea {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  font-family: inherit;
}

form input:focus,
form textarea:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
  outline: none;
}

form textarea {
  resize: vertical;
}

form button {
  align-self: flex-start;
  padding: 0.6rem 1.4rem;
  background-color: #0066cc;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #004999;
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 2rem;
  background: #f9fafb;
  color: #6b7280;
  font-size: 0.9rem;
}

/* ========== Thank You Animation Section ========== */
.thank-you-section {
  text-align: center;
  padding: 5rem 2rem;
  animation: fadeIn 1s ease-in;
}

.checkmark {
  font-size: 4rem;
  color: #00cc88;
  margin-bottom: 1rem;
  animation: popIn 0.6s ease forwards;
  opacity: 0;
  transform: scale(0.6);
}

/* ========== Animations ========== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(0, 74, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 74, 173, 0); }
}
