/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding-bottom: 100px;
}

/* Header */
header {
  background-color: #222;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav li {
  position: relative;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
}

.dropdown-content li a {
  color: #333;
  padding: 10px;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Hero Section */
.hero {
  background-color: #007acc;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  margin-top: 1rem;
  border-radius: 8px;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  color: #cdefff;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero-btn {
  display: inline-block;
  margin-top: 1rem;
  background-color: #005999;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
}

/* Sections */
section {
  background-color: white;
  padding: 2rem;
  margin-top: 1.5rem;
  border-radius: 8px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Profiles */
.profiles.refined-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.modern-profile {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 280px;
}

.modern-profile:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.profile-header strong {
  font-size: 1.1rem;
  color: #1f2937;
}

.badge {
  background-color: #007acc;
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}
.profile-card {
  flex: 1;
  background-color: #eee;
  padding: 1rem;
  border-radius: 8px;
  min-width: 250px;
}

/* Services */
.services-section {
  text-align: center;
}

.section-subtitle {
  color: #16a34a;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}


.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card h3, .service-card p {
  padding: 0 1rem;
}

.service-card h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
}

.service-card p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #555;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    width: 100%;
  }
}

/* Clients Section - Logos with Hover Animation */
#clients {
  text-align: center;
  margin-top: 2rem;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
  margin-top: 1.5rem;
}

.client-logos img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
}

.client-logos img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 250px;
}

.contact-info h3 {
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.contact-info a {
  color: #007acc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

form button {
  background-color: #007acc;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #eee;
  margin-top: 2rem;
  border-radius: 8px;
}

/* Read More Transition */
#more {
  transition: all 0.4s ease-in-out;
  display: none;
}

/* Scroll to Top */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none;
  background: #007acc;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

.refined-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  max-width: 500px;
  flex: 1 1 45%;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.refined-card:hover {
  transform: translateY(-4px);
}

.profile-card.modern-profile:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.profile-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #007acc;
}

.profile-details {
  flex: 1;
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.profile-header strong {
  font-size: 1.1rem;
  color: #1f2937;
}

.badge {
  background-color: #007acc;
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.refined-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #007acc;
}

.refined-details h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1f2937;
}

.refined-role {
  display: inline-block;
  font-size: 0.75rem;
  background-color: #007acc;
  color: white;
  padding: 2px 10px;
  border-radius: 5px;
  margin: 6px 0 10px 0;
  text-transform: uppercase;
  font-weight: 500;
}

.refined-details p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

@media (max-width: 768px) {
  .refined-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .refined-details h3,
  .refined-details p {
    text-align: center;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container h1 {
  margin: 0;
  padding: 10px 20px;
  color: white;
}

.site-logo {
  height: 40px;
  margin-right: 20px;
}

.hero-logo-button {
  width: 120px;
  height: auto;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hero-logo-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-logo-button {
  width: 100px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.hero-logo-button:hover {
  transform: scale(1.05);
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e3f5ff;
  letter-spacing: 1px;
}
