/* === Global Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, rgb(245, 245, 245) 0%, rgb(240, 235, 230) 100%);
  color: #222;
  line-height: 1.6;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px;
  background: transparent;
  font-weight: bold;
  margin-right: 200px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #a259ff;
}

/* === Hero Section === */
.hero {
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero h3 {
  font-size: 1.8rem;
  color: rgb(198, 105, 217);
  margin: 10px 0;
}

.hero p {
  margin: 15px 0;
  max-width: 600px;
  margin-inline: auto;
}

.hero-buttons {
  margin-top: 20px;
}

.hero button {
  border-radius: 30px;
  height: 40px;
  width: 150px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background: rgb(198, 105, 217);
  color: #fff;
}

.btn-primary:hover {
  background: #a259ff;
}

.btn-secondary {
  background: #fff;
  border: 2px solid rgb(198, 105, 217);
}

.btn-secondary:hover {
  background: rgb(198, 105, 217);
  color: #fff;
}

/* === Section Titles === */
h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 15px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  margin: 10px auto;
  width: 60px;
  height: 3px;
  background: #a259ff;
  border-radius: 5px;
}

/* === About Section === */
.about-section {
  padding: 60px 20px;
}

.about-section p {
  text-align: center;
  margin-bottom: 30px;
}

.about {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.about img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
}

.about-content {
  flex: 1;
}

/* === Stats === */
.stats {
  display: flex;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.stat-box {
  background: #e4e6e7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  flex: 1;
}

.stat-box h3 {
  font-size: 1.5rem;
  color: #6c63ff;
  margin-bottom: 5px;
}

/* === Skills === */
.skills {
  margin-top: 20px;
}

.skill {
  margin-bottom: 15px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 14px;
}

.progress {
  background: #eaeaea;
  height: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #a259ff, #ff4ecd);
}

/* === Portfolio Section === */
.portfolio {
  padding: 60px 20px;
  text-align: center;
}

.portfolio-buttons {
  margin: 20px 0;
}

.portfolio-buttons button {
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 7px;
  background: #e4e6e7;
  cursor: pointer;
  transition: 0.3s;
}

.portfolio-buttons button:hover {
  background: #a259ff;
  color: #fff;
}

.portfolio-items {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.portfolio-items img {
  width: 300px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* === Services === */
.services {
  padding: 60px 20px;
  text-align: center;
}

.service-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.service-card {
  background: #e4e6e7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
  width: 250px;
  text-align: center;
}

.service-card h6 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.service-card button {
  margin-top: 10px;
  border: none;
  padding: 8px 15px;
  border-radius: 7px;
  background: #a259ff;
  color: #e4e6e7;
  cursor: pointer;
  transition: 0.3s;
}

.service-card button:hover {
  background: #6c63ff;
}

/* === Testimonies === */
.testimonies {
  padding: 60px 20px;
  text-align: center;
}

.client-card {
  background: #e4e6e7;
  padding: 20px;
  border-radius: 12px;
  max-width: 500px;
  margin: 20px auto;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
}

.client-card img {
  width: 80px;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* === Contact Section === */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

.contact-card {
  background: #e4e6e7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.05);
  width: 200px;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-size: 14px;
}

.contact-form button {
  border: none;
  padding: 12px;
  border-radius: 7px;
  background: #a259ff;
  color: #e4e6e7;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #6c63ff;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 20px;
  background: #e4e6e7;
  margin-top: 40px;
}
/* Service card icons styling */
.service-card i {
  font-size: 40px;
  color: #6c63ff; /* pick your brand color */
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect on icons */
.service-card:hover i {
  transform: scale(1.2) rotate(5deg);
  color: #0099ff; /* changes color on hover */
}

/* Optional glow effect */
.service-card:hover i {
  text-shadow: 0 0 10px rgba(0, 153, 255, 0.6);
}
/* Mobile nav */
.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin: 1rem;
}

.navbar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  transition: max-height 0.3s ease;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .navbar {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
  }
  .navbar.active {
    max-height: 500px;
  }
}

/* Scroll animation */
section, .service-card, .client-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
section.visible, .service-card.visible, .client-card.visible {
  opacity: 1;
  transform: translateY(0);
}
header{
  background-color: rgb(241, 241, 241);
  color: white;
}

/* === Team cards: larger CEO and bigger member cards === */
.teamceo { 
  padding: 40px 0 10px; 
}
.teamceo .bg-white {
  display: inline-block;
  padding: 2.5rem;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.06);
  max-width: 360px;
  margin: 0 auto 1.5rem;
}
.teamceo img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.teamceo h3 { margin-bottom: 0.8rem; }

/* Agents grid larger cards and images */
#agents .bg-white {
  padding: 1.75rem;
  border-radius: 12px;
}
#agents img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
#agents h4 { font-size: 1.02rem; margin-top: 0.4rem; }
#agents p { font-size: 0.95rem; }

/* Hover and spacing */
#agents .bg-white:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(0,0,0,0.10); }
#agents .grid { gap: 26px; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .teamceo .bg-white { max-width: 92%; padding: 1.5rem; }
  .teamceo img { width: 110px; height: 110px; }
  #agents img { width: 88px; height: 88px; }
}
