/*
 * Global Styles
 *
 * The colour palette and overall look of this site draw inspiration from the
 * original “I’ll Design For You” demo. A dark, purplish gradient underpins the
 * page with vibrant pink and violet accents for calls to action. Legible
 * typography and generous spacing help guide the reader through each section.
 */

/* CSS Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: linear-gradient(180deg, #1b0144 0%, #461357 100%);
  color: #f0f0f5;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn.primary {
  background: linear-gradient(90deg, #e61be3 0%, #7a5cf1 100%);
  color: #ffffff;
}

.btn.primary:hover {
  transform: translateY(-3px);
}

.btn.secondary {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
}

.btn.tertiary {
  border: 2px solid rgba(255,255,255,0.2);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn.tertiary:hover {
  background: rgba(255,255,255,0.1);
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 30px;
  background: linear-gradient(90deg, #e61be3 0%, #7a5cf1 100%);
  color: #fff;
}

.btn.small:hover {
  transform: translateY(-2px);
}

/* Header */
#header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(9, 6, 30, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  font-size: 1.4rem;
  font-weight: 600;
  color: #e74fc0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
}

.nav-links li a {
  color: #f0f0f5;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #e74fc0;
}

/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  padding: 10rem 0 8rem;
  overflow: hidden;
}

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

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  color: #ffffff;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: #e74fc0;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #d2cde8;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Features */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.feature-box {
  background: rgba(255,255,255,0.05);
  border-radius: 1rem;
  padding: 2rem;
  width: 280px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Symbols in feature circles */
.icon-circle .symbol {
  font-size: 1.8rem;
  color: #e74fc0;
  line-height: 1;
}

/* Ensure icons inside the circle use the accent colour */
.icon-circle i {
  font-size: 1.7rem;
  color: #e74fc0;
}

.feature-box i {
  font-size: 1.7rem;
  color: #e74fc0;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  color: #b9b3d0;
  font-size: 0.9rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: #e74fc0;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.services h2, .portfolio h2, .about-section h2, .team h2, .contact-wrapper h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtext {
  max-width: 600px;
  margin: 0 auto;
  color: #c7c1dc;
  text-align: center;
  margin-bottom: 2.5rem;
}

.service-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 2rem;
  width: 300px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-card ul li {
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
  color: #b9b3d0;
  font-size: 0.95rem;
}

.service-card ul li::before {
  /* Use a small solid bullet character instead of Font Awesome */
  content: '•';
  font-size: 0.8rem;
  color: #e74fc0;
  position: absolute;
  left: 0;
  top: 0;
}

.center-btn {
  text-align: center;
  margin-top: 1rem;
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(90deg, #e61be3 0%, #7a5cf1 100%);
}

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

.portfolio-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-item .content {
  padding: 1rem 1.3rem;
}

.portfolio-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #e74fc0;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.portfolio-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.portfolio-item p {
  color: #b9b3d0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.portfolio-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .overlay .btn.small {
  box-shadow: none;
}

/* About Section */
.about-section {
  padding: 5rem 0;
}

.about-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1 1 450px;
}

.about-text p {
  color: #c7c1dc;
  margin-bottom: 1rem;
}

.about-list li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  color: #b9b3d0;
  font-size: 0.95rem;
}

.about-list li::before {
  /* Use a simple check mark to avoid external font dependencies */
  content: '✓';
  color: #e74fc0;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9rem;
}

.about-image {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.stat {
  flex: 1 1 200px;
  text-align: center;
  margin-bottom: 2rem;
}

.stat i {
  font-size: 2.2rem;
  color: #e74fc0;
  margin-bottom: 0.5rem;
}

.stat h3 {
  font-size: 2rem;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.stat p {
  color: #b9b3d0;
  font-size: 0.9rem;
}

/* Team */
.team {
  padding: 4rem 0 6rem;
  text-align: center;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.team-member {
  width: 220px;
}

.team-member img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 4px solid rgba(255,255,255,0.1);
}

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.team-member p {
  color: #b9b3d0;
  font-size: 0.9rem;
}
/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.form-area {
  flex: 1 1 380px;
  background: rgba(255,255,255,0.05);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.form-area h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

form label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  display: block;
  color: #c7c1dc;
}

form input,
form select,
form textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.95rem;
}

form input::placeholder,
form textarea::placeholder {
  color: #a9a2c1;
}

form select {
  appearance: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 320 512'><path d='M96 192h128c17.7 0 26.6 21.5 14.1 34L174.1 289.9c-7.8 7.8-20.4 7.8-28.2 0L81.9 226c-12.5-12.5-3.6-34 14.1-34z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.6rem;
}

.submit-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.info-area {
  flex: 1 1 380px;
}

.info-area h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.info-area p {
  color: #c7c1dc;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-cards .contact-card {
  display: flex;
  gap: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.contact-card i {
  font-size: 1.5rem;
  color: #e74fc0;
  margin-top: 0.3rem;
}

.card-text h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.card-text p {
  color: #b9b3d0;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.card-text small {
  color: #877e9f;
  font-size: 0.75rem;
}

.why-choose {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.why-choose h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.why-choose ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
  color: #b9b3d0;
  font-size: 0.9rem;
}

.why-choose ul li::before {
  /* Use a simple bullet instead of a Font Awesome glyph */
  content: '•';
  font-size: 1rem;
  color: #e74fc0;
  position: absolute;
  left: 0;
  top: 0;
}

/* Footer */
.footer {
  background: #09061e;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1 1 220px;
  color: #c7c1dc;
  margin-bottom: 2rem;
}

.brand-col h3 {
  color: #e74fc0;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.brand-col p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #b9b3d0;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  transition: background 0.3s ease;
}

.socials a:hover {
  background: linear-gradient(90deg, #e61be3 0%, #7a5cf1 100%);
}

/* Style for simple social symbols */
.socials .symbol {
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #e74fc0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-col ul li a {
  color: #b9b3d0;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #e74fc0;
}

.footer-col ul li i {
  margin-right: 0.4rem;
  color: #e74fc0;
}

.bottom-bar {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  color: #877e9f;
  font-size: 0.85rem;
}

.bottom-bar .heart {
  color: #e74fc0;
}

.bottom-bar a {
  color: #877e9f;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.bottom-bar a:hover {
  color: #e74fc0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none; /* Could be extended into a mobile menu */
  }
  .header .btn {
    display: none;
  }
  .features-grid, .service-cards, .portfolio-items, .stats, .team-members, .contact-wrapper, .footer-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-card, .portfolio-item, .stat, .team-member, .contact-wrapper > div, .footer-col {
    width: 100% !important;
    max-width: 500px;
  }
  .about-wrapper {
    flex-direction: column;
  }
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  .portfolio-item img {
    height: 180px;
  }
}