/* --------------------
   SUPREME SOLUTIONS GLOBAL STYLES
-------------------- */

:root {
  --accent: #00bcd4;
  --bg-dark: #0a0a0a;
  --bg-medium: #111;
  --text-light: #f5f5f5;
  --text-muted: #bbb;
  --border: #1f1f1f;
  --radius: 15px;
  --font: 'Poppins', sans-serif;
}

/* Reset & Base */
body {
  margin: 0;
  padding: 0;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: var(--bg-medium);
  border-bottom: 2px solid var(--accent);
  padding: 20px 0;
}

header h1 {
  color: var(--accent);
  font-size: 1.8rem;
  margin: 0;
  display: inline-block;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 15px; /* keep padding consistent */
  border-bottom: 2px solid transparent; /* reserve space for the active underline */
  transition: color 0.3s ease, border-color 0.3s ease;
}

nav ul li a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent); /* underline effect */
}


/* Hero Section */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: radial-gradient(circle at top, #111, #000);
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #0097a7;
  transform: scale(1.05);
}

/* Features & Sections */
.features, .services, .about, .contact {
  padding: 80px 20px;
}

.features h3, .services h2, .about h2, .contact h2 {
  text-align: center;
  color: var(--accent);
  margin-bottom: 40px;
  font-size: 2rem;
}

.feature-grid, .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item, .service-item {
  background: var(--bg-medium);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: all 0.3s ease;
}

.service-icon {
  width: 150px;       /* or desired width */
  height: 150px;      /* keep same as width for square/circle icons */
  object-fit: contain; /* keeps aspect ratio without cropping */
  display: block;
  margin: 0 auto 15px; /* centers the image */
}


.feature-item:hover, .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 188, 212, 0.2);
}

.feature-item h4, .service-item h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* About */
.about p {
  text-align: center;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 50px auto;
}

.team-member {
  background: var(--bg-medium);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
}

.team-photo {
  width: 120px;        /* or whatever size you want */
  height: 120px;       /* same value as width */
  object-fit: cover;   /* THIS keeps the aspect ratio and crops if needed */
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid var(--accent);
}


/* Contact Form */
.contact-form {
  background: var(--bg-medium);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  margin: auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.contact-form label {
  display: block;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #111;
  color: var(--text-light);
}

.contact-form button {
  display: block;
  margin: 20px auto 0;
}

/* Footer */
footer {
  background: var(--bg-medium);
  color: #777;
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    float: none;
    text-align: center;
    margin-top: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}
