/* General Styles */
:root {
  --primary: #2446a6;
  --secondary: #3ddad7;
  --accent: #ff6b6b;
  --dark: #121f3d;
  --light: #f7fafc;
  --text: #333;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(36, 70, 166, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  color: var(--primary);
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
}

.section-header h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  margin: 10px auto 0;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn.primary {
  background-color: var(--primary);
  color: white;
}

.btn.primary:hover {
  background-color: var(--dark);
  transform: translateY(-3px);
}

.btn.secondary {
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn.secondary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary);
}

nav ul li a.active {
  border-bottom: 2px solid var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 2px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(18, 31, 61, 0.8), rgba(18, 31, 61, 0.9)), url(images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 10rem 0 6rem;
  margin-top: 70px; /* Account for fixed header */
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Services Overview */
.services-overview {
  padding: 5rem 0;
  background-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(36, 70, 166, 0.12);
}

.service-card .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  align-self: center;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.service-card .learn-more {
  color: var(--primary);
  font-weight: 500;
  margin-top: auto;
  display: flex;
  align-items: center;
}

.service-card .learn-more i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.service-card .learn-more:hover i {
  transform: translateX(5px);
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
  margin-bottom: 1.2rem;
  position: relative;
  font-size: 1.2rem;
}

.footer-links h3:after, .footer-contact h3:after, .footer-social h3:after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--secondary);
  margin-top: 8px;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
  color: var(--secondary);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 0.5rem;
  color: var(--secondary);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: white;
  text-align: center;
  padding: 8rem 0 4rem;
  margin-top: 70px; /* Account for fixed header */
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Service Detail */
.service-detail {
  padding: 5rem 0;
  background-color: white;
}

.service-detail.alt {
  background-color: var(--light);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-info h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-info p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service-features li {
  position: relative;
  color: var(--text);
  padding-left: 1.5rem;
}

.service-features li i {
  position: absolute;
  left: 0;
  color: var(--secondary);
}

.service-image img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* About Page */
.about-content {
  padding: 5rem 0;
}

.about-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
}

.about-intro h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-intro p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-vision {
  background-color: var(--light);
  padding: 4rem 0;
  margin: 3rem 0;
}

.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vision, .mission {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.vision h3, .mission h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
}

.value-card i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.about-team {
  margin-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}

.member-image {
  height: 250px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  margin-top: 1.5rem;
  color: var(--dark);
}

.team-member .position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member .bio {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

/* Contact Page */
.contact-section {
  padding: 5rem 0;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2, .contact-form-container h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-details {
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact-item h3 {
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.contact-item p {
  color: var(--text-light);
}

.social-connect h3 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.social-connect .social-icons {
  gap: 1.5rem;
}

.social-connect .social-icons a {
  background-color: var(--light);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--primary);
}

.social-connect .social-icons a:hover {
  background-color: var(--primary);
  color: white;
}

.contact-form-container {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background-color: var(--light);
  color: var(--text);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .service-content,
  .contact-content,
  .vision-mission {
    grid-template-columns: 1fr;
  }
  
  .service-image {
    order: -1;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }
  
  nav ul {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}
