/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #111;
  color: #f5f5f5;
  position: relative;
  z-index: 0;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  background-color: #121212;
  border-bottom: 2px solid #00bfa6;
}

.logo {
  font-size: 2.2em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-left: 4px solid #00e6e6;
  padding-left: 0.6em;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #00bfa6;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6em 2em 3em;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3em;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.3em;
}

.hero h2 {
  font-size: 1.6em;
  color: #00e6e6;
  font-weight: 400;
  margin-bottom: 1em;
}

.hero .intro {
  max-width: 700px;
  margin: auto;
  color: #ccc;
  font-size: 1.1em;
  line-height: 1.6;
}

/* Background Slideshow */
.background-slideshow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.background-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlide 36s infinite;
  transition: opacity 1s ease-in-out;
}

.background-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.background-slideshow .slide:nth-child(2) { animation-delay: 6s; }
.background-slideshow .slide:nth-child(3) { animation-delay: 12s; }
.background-slideshow .slide:nth-child(4) { animation-delay: 18s; }
.background-slideshow .slide:nth-child(5) { animation-delay: 24s; }
.background-slideshow .slide:nth-child(6) { animation-delay: 30s; }

@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 0.3; }
  20% { opacity: 0.2; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

.background-slideshow::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,       /* lighter at top */
    rgba(10, 10, 10, 0.05) 50%,     /* almost clear in middle */
    rgba(10, 10, 10, 0.2) 100%      /* lighter at bottom */
  );
  z-index: 1;
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.03); /* nearly invisible */
  z-index: -1;
}


}

/* Service Group Layout */
.services {
  max-width: 1100px;
  margin: auto;
  padding: 3em 2em;
  z-index: 2;
  position: relative;
}

.services h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.services .subtitle {
  text-align: center;
  color: #00e6e6;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.services .intro {
  max-width: 750px;
  margin: 0 auto 3rem auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.service-group {
  text-align: center;
  margin-bottom: 3rem;
}
.service-group h3 {
  margin-top: 3rem; /* Adjust as needed */
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
}
.service-group .service-grid {
  margin-top: 1.5rem;
}
.section-title {
  font-size: 1.8rem;
  color: #fff;
  margin: 3rem 0 1rem; /* top margin increased here */
  text-align: center;
  border-bottom: 1px solid #00e6e6;
  display: inline-block;
  padding-bottom: 0.4em;
}


.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center buttons */
  gap: 1rem;
}
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.service-item {
  background-color: rgba(20, 20, 20, 0.85);
  border: 1px solid #00e6e6;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.08);
  cursor: default;
}

.service-item:hover {
  background-color: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.5);
}

/* What I Offer Section */
#what-i-offer {
  margin-top: 5rem;
  padding-bottom: 5rem;
}

#what-i-offer h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5em;
  justify-content: center;
  padding: 0 2em;
}

.service-card {
  background-color: rgba(30, 30, 30, 0.95);
  border: 1px solid #00e6e6;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.5);
}

.service-card img {
  height: 40px;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.4;
}

/* Footer */
footer {
  text-align: center;
  padding: 2em;
  background-color: #121212;
  border-top: 1px solid #444;
  color: #aaa;
}
/* === Portfolio Page Styles === */

.portfolio-container {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.portfolio-header h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.portfolio-header p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* === Card Styles === */

.portfolio-card {
  display: flex;
  flex-direction: column;
  background-color: rgba(30, 30, 30, 0.95);
  border: 1px solid #00e6e6;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.5);
}

.portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #00e6e6;
}

/* === Content Area === */

.portfolio-card-content {
  padding: 1rem;
}

.portfolio-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: #00e6e6;
  font-family: 'Playfair Display', serif;
}

.portfolio-card p {
  font-size: 0.95rem;
  color: #aaa;
  line-height: 1.5;
  margin: 0;
}

/* Prevent link styling issues */
.portfolio-card h3,
.portfolio-card p {
  text-decoration: none;
}

.portfolio-card:visited,
.portfolio-card:active {
  color: inherit;
  text-decoration: none;
}
.service-item a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  padding: 0.6em 1em;
  border-radius: 5px;
  border: 1px solid #00bfa6;
  background-color: rgba(20, 20, 20, 0.85);
  transition: all 0.3s ease;
}

.service-item a:hover {
  background-color: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.5);
  color: #00ffff;
}
.tools-used-logos {
  text-align: center;
  padding: 4em 1em 2em;
}

.tools-used-logos h3 {
  color: #00e6e6;
  font-size: 1.5rem;
  margin-bottom: 1em;
}

.tool-logo-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
}

.tool-logo-row img {
  height: 60px;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.tool-logo-row img:hover {
  transform: scale(1.1);
  opacity: 1;
}
.section-title {
  font-size: 1.8rem;
  color: #fff;
  margin: 3rem 0 1rem; /* top margin increased here */
  text-align: center;
  border-bottom: 1px solid #00e6e6;
  display: inline-block;
  padding-bottom: 0.4em;
}


.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
}

.project-card {
  background-color: #1a1a1a;
  border: 1px solid #00e6e6;
  padding: 1em;
  border-radius: 8px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.project-card img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.8em;
  object-fit: cover;
  height: 160px;
}
.what-i-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.card-link {
  display: block;
  text-decoration: none;
  color: #fff;
  background-color: rgba(30, 30, 30, 0.95);
  border: 1px solid #00e6e6;
  border-radius: 10px;
  padding: 1.5em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.1);
}

.card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.3);
}

.card-link h3 {
  color: #00e6e6;
  font-size: 1.2rem;
  margin: 0.8em 0 0.3em;
}

.card-link p {
  color: #ccc;
  font-size: 0.95rem;
}

.card-link img {
  width: 80px;       /* Increased from 50px */
  height: auto;
  display: block;
  margin: 0 auto 1em;
  opacity: 1;
  filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.2));
}

.estimate-section {
  margin-top: 4em;
  padding: 2em;
  text-align: center;
  background-color: #121212;
  border-top: 1px solid #00e6e6;
}

.estimate-section h2 {
  font-size: 1.8rem;
  color: #00e6e6;
  margin-bottom: 1em;
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5em;
  max-width: 900px;
  margin: 0 auto;
}

.estimate-card {
  background-color: rgba(30, 30, 30, 0.95);
  border: 1px solid #00e6e6;
  padding: 1.2em;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.08);
  color: #ddd;
}

.estimate-card h3 {
  color: #00e6e6;
  margin-bottom: 0.5em;
}

.estimate-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 1.5em;
}
