/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d1117;
  color: #f0f0f0;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #00b4d8, #023e8a);
  color: #fff;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeIn 2s ease-in-out;
  padding: 0 1rem; /* Added padding for mobile */
}

.hero-content h1 {
  font-size: 2.5rem; /* Smaller font size for mobile */
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.2rem; /* Smaller font size for mobile */
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 2rem; /* Smaller padding for mobile */
  background: linear-gradient(90deg, #00b4d8, #0096c7);
  color: #fff;
  border-radius: 50px;
  font-size: 1rem; /* Smaller font size for mobile */
  font-weight: bold;
  transition: all 0.4s ease;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.6);
}

.cta-button:hover {
  background: linear-gradient(90deg, #0077b6, #023e8a);
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.9);
}

/* Services Section */
#services {
  padding: 3rem 1rem; /* Adjusted padding for mobile */
  text-align: center;
  background: #0d1117;
}

#services h2 {
  font-size: 2rem; /* Smaller font size for mobile */
  color: #00b4d8;
  margin-bottom: 2rem; /* Adjusted margin for mobile */
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
}

#services h2::after {
  content: '';
  width: 80px; /* Smaller width for mobile */
  height: 3px;
  background: #00b4d8;
  display: block;
  margin: 1rem auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted for smaller screens */
  gap: 1.5rem; /* Smaller gap for mobile */
  padding: 0 1rem; /* Added padding for mobile */
}

.service-card {
  background: linear-gradient(135deg, #1e293b, #2a2e35);
  border-radius: 15px;
  padding: 1.5rem; /* Smaller padding for mobile */
  transition: all 0.4s ease;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.5);
}

.service-card i {
  font-size: 2.5rem; /* Smaller icon size for mobile */
  color: #00b4d8;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #00b4d8;
  font-size: 1.5rem; /* Smaller font size for mobile */
  margin-bottom: 1rem;
}

.service-card p {
  color: #e5e5e5;
  font-size: 0.9rem; /* Smaller font size for mobile */
  line-height: 1.5;
}

/* Meet the CEO Section */
#about-ceo {
  padding: 3rem 1rem; /* Adjusted padding for mobile */
  background: linear-gradient(135deg, #1e293b, #0d1117);
  color: #fff;
  text-align: center;
  position: relative;
}

#about-ceo::before {
  content: '';
  position: absolute;
  top: -60px; /* Adjusted for mobile */
  left: 0;
  width: 100%;
  height: 60px; /* Adjusted for mobile */
  background: linear-gradient(135deg, #0d1117, #1e293b);
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

#about-ceo h2 {
  font-size: 2rem; /* Smaller font size for mobile */
  color: #00b4d8;
  margin-bottom: 1.5rem; /* Adjusted margin for mobile */
  text-transform: uppercase;
  position: relative;
}

.bio-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* Centered for mobile */
  gap: 2rem; /* Smaller gap for mobile */
}

.bio-image img {
  width: 250px; /* Smaller image size for mobile */
  height: 250px; /* Smaller image size for mobile */
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #00b4d8;
  box-shadow: 0 8px 30px rgba(0, 180, 216, 0.6);
}

.bio-text {
  max-width: 100%; /* Full width for mobile */
  text-align: center; /* Centered text for mobile */
  animation: fadeInUp 1.5s ease;
}

.bio-text h3 {
  font-size: 1.8rem; /* Smaller font size for mobile */
  color: #00b4d8;
  margin-bottom: 1rem;
}

.bio-text p {
  font-size: 1rem; /* Smaller font size for mobile */
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #d1d5db;
}

.bio-text blockquote {
  font-size: 1.2rem; /* Smaller font size for mobile */
  font-style: italic;
  color: #00b4d8;
  border-left: 5px solid #00b4d8;
  padding-left: 1rem;
}

/* Contact Section */
#contact {
  padding: 3rem 1rem; /* Adjusted padding for mobile */
  text-align: center;
  background: #1e293b;
}

#contact h2 {
  font-size: 2rem; /* Smaller font size for mobile */
  color: #00b4d8;
  margin-bottom: 1.5rem; /* Adjusted margin for mobile */
}

.contact-info {
  margin-bottom: 1.5rem; /* Adjusted margin for mobile */
  font-size: 1rem; /* Smaller font size for mobile */
  color: #e5e5e5;
}

.contact-info a {
  color: #00b4d8;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem; /* Adjusted padding for mobile */
  background: #0d1117;
  color: #fff;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem; /* Smaller gap for mobile */
}

.social-links a {
  color: #00b4d8;
  font-size: 1.2rem; /* Smaller icon size for mobile */
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0077b6;
}

/* Media Queries for Larger Screens */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4rem; /* Larger font size for tablets and desktops */
  }

  .hero-content p {
    font-size: 1.5rem; /* Larger font size for tablets and desktops */
  }

  .cta-button {
    padding: 1rem 2.5rem; /* Larger padding for tablets and desktops */
    font-size: 1.2rem; /* Larger font size for tablets and desktops */
  }

  #services {
    padding: 5rem 2rem; /* Larger padding for tablets and desktops */
  }

  #services h2 {
    font-size: 3rem; /* Larger font size for tablets and desktops */
  }

  .service-card {
    padding: 2rem; /* Larger padding for tablets and desktops */
  }

  .service-card i {
    font-size: 3rem; /* Larger icon size for tablets and desktops */
  }

  .service-card h3 {
    font-size: 1.8rem; /* Larger font size for tablets and desktops */
  }

  .service-card p {
    font-size: 1rem; /* Larger font size for tablets and desktops */
  }

  #about-ceo {
    padding: 5rem 2rem; /* Larger padding for tablets and desktops */
  }

  #about-ceo h2 {
    font-size: 3rem; /* Larger font size for tablets and desktops */
  }

  .bio-image img {
    width: 350px; /* Larger image size for tablets and desktops */
    height: 350px; /* Larger image size for tablets and desktops */
  }

  .bio-text {
    max-width: 600px; /* Adjusted width for tablets and desktops */
    text-align: left; /* Left-aligned text for tablets and desktops */
  }

  .bio-text h3 {
    font-size: 2rem; /* Larger font size for tablets and desktops */
  }

  .bio-text p {
    font-size: 1.2rem; /* Larger font size for tablets and desktops */
  }

  .bio-text blockquote {
    font-size: 1.5rem; /* Larger font size for tablets and desktops */
  }

  #contact {
    padding: 4rem 2rem; /* Larger padding for tablets and desktops */
  }

  #contact h2 {
    font-size: 2.5rem; /* Larger font size for tablets and desktops */
  }

  .contact-info {
    font-size: 1.2rem; /* Larger font size for tablets and desktops */
  }

  footer {
    padding: 2rem; /* Larger padding for tablets and desktops */
  }

  .social-links a {
    font-size: 1.5rem; /* Larger icon size for tablets and desktops */
  }
}
