/* ===================================
   AJL & Co - Main Stylesheet
   =================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color System - HSL Values */
  --background: hsl(210, 40%, 98%);
  --foreground: hsl(222, 47%, 11%);
  
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(222, 47%, 11%);
  
  --primary: hsl(203, 89%, 25%);
  --primary-foreground: hsl(0, 0%, 100%);
  
  --secondary: hsl(186, 75%, 45%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  
  --accent: hsl(186, 75%, 45%);
  --accent-foreground: hsl(0, 0%, 100%);
  
  --border: hsl(214, 32%, 91%);
  --radius: 0.5rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(16, 74, 135, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100px;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--primary-foreground);
  text-decoration: none;
}

.logo-svg {
  width: 50px;
  height: 50px;
}

.logo-img {
  height: 80px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-container:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  color: var(--primary-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
}

.btn-phone {
  background-color: var(--secondary);
  color: var(--primary-foreground);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-phone:hover {
  background-color: rgba(44, 156, 184, 0.8);
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-foreground);
  font-size: 1.75rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  background-image: linear-gradient(135deg, rgba(16, 74, 135, 0.95) 0%, rgba(16, 74, 135, 0.85) 50%, rgba(44, 156, 184, 0.9) 100%), url('../images/hero-bg-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-content {
  max-width: 900px;
  color: var(--primary-foreground);
  animation: fadeIn 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 .accent-text {
  color: var(--accent);
}

.hero-content p {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: rgba(44, 156, 184, 0.9);
  transform: translateX(5px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Decorative Stars */
.star {
  position: absolute;
  color: var(--accent);
  animation: pulse 2s infinite;
  opacity: 0.8;
}

.star-1 {
  top: 8rem;
  left: 2.5rem;
  font-size: 2.5rem;
  animation-delay: 0s;
}

.star-2 {
  bottom: 8rem;
  right: 5rem;
  font-size: 2rem;
  animation-delay: 1s;
}

.star-3 {
  top: 50%;
  right: 2.5rem;
  font-size: 1.5rem;
  opacity: 0.5;
  animation-delay: 0.5s;
}

/* Section Styles */
section {
  padding: 6rem 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeIn 0.8s ease-out;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-divider {
  width: 6rem;
  height: 0.375rem;
  background-color: var(--accent);
  margin: 0 auto;
  border-radius: 999px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* 2x2 Grid Layout for Services */
.card-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(44, 156, 184, 0.5);
  transform: translateY(-8px);
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-icon {
  color: var(--accent);
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.card ul li:hover {
  color: var(--foreground);
}

.card ul li::before {
  content: "●";
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1.5;
  transition: transform 0.3s ease;
}

.card ul li:hover::before {
  transform: scale(1.25);
}

.card p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Contact Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
}

.contact-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.contact-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 74, 135, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background-color 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
  background-color: rgba(44, 156, 184, 0.2);
}

.contact-icon {
  width: 40px;
  height: 40px;
  stroke: var(--primary);
  transition: stroke 0.3s ease;
}

.contact-card:hover .contact-icon {
  stroke: var(--accent);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-card a {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-card p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1rem;
  text-align: center;
}

footer p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

footer p.copyright {
  font-size: 1.125rem;
}

footer p.tagline {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* Services Detail Page */
.page-header {
  padding-top: 9rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary) 50%, var(--secondary) 100%);
  color: var(--primary-foreground);
  text-align: center;
  animation: fadeIn 0.8s ease-out;
}

.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 4rem;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-description h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-divider {
  width: 0.5rem;
  height: 2.5rem;
  background-color: var(--accent);
  border-radius: 999px;
}

.service-description p {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1.125rem;
}

.service-features ul {
  list-style: none;
  padding: 0;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-features li:hover {
  color: var(--foreground);
}

.check-icon {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.service-features li:hover .check-icon {
  transform: scale(1.1);
}

/* Team Page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
}

.team-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(44, 156, 184, 0.5);
  transform: translateY(-8px);
}

.team-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.team-avatar svg {
  width: 64px;
  height: 64px;
  stroke: var(--primary-foreground);
}

.team-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.team-bio {
  color: var(--muted-foreground);
  line-height: 1.8;
  text-align: left;
}

/* About Page */
.about-intro {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  margin-bottom: 4rem;
  text-align: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.8s ease-out;
}

.about-intro h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-intro p {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.about-intro .btn-primary {
  margin-top: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out;
}

.value-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(44, 156, 184, 0.5);
  transform: translateY(-8px);
}

.value-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: rgba(16, 74, 135, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background-color 0.3s ease;
}

.value-card:hover .value-icon-wrapper {
  background-color: rgba(44, 156, 184, 0.2);
}

.value-icon {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  animation: fadeIn 0.8s ease-out;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-card {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: box-shadow 0.3s ease;
}

.contact-detail-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(16, 74, 135, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
}

.contact-detail-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-detail-content a,
.contact-detail-content p {
  color: var(--muted-foreground);
  text-decoration: none;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.contact-detail-content a:hover {
  color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
  background-color: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  animation: fadeIn 0.8s ease-out;
  animation-delay: 0.2s;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--card);
  color: var(--foreground);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.btn-submit {
  width: 100%;
  background-color: var(--accent);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: rgba(44, 156, 184, 0.9);
}

/* Success Message */
.success-message {
  background-color: #d4edda;
  border: 2px solid #c3e6cb;
  color: #155724;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background-color: rgba(16, 74, 135, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .card-grid,
  .card-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4rem 1rem;
  }

  .star {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1rem;
  }

  .logo-subtitle {
    font-size: 0.5rem;
  }

  .logo-svg {
    width: 40px;
    height: 40px;
  }

  .logo-img {
    height: 60px;
    max-height: 60px;
  }
}

