:root{
  --primary-color: #003366;
  --secondary-color: #ff9456;
  --third-color: #ffffff;
  --fourth-color: #0e1011;
  --fifth-color:#fff3e0;
  --sixth-color:#25D366;
  --navy-blue: hsl(220, 91%, 31%);
  --navy-blue-dark: hsl(219, 45%, 20%);
  --soft-orange: hsl(24, 95%, 61%);
  --soft-orange-light: hsl(24, 95%, 85%);
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --border-radius: 0.5rem;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
}

.page-header {
  padding: 0;        
  margin: 0;
  background: var(--gradient-primary);
  color: var(--background-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .container {
  padding: 8rem 1rem 4rem;
}

.page-header::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--background-white);
  font-weight: 800;
}

.page-header p {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.contact-section {
    background-color: var(--gray-50);
    padding:7%;
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.section-header {
  color: var(--navy-blue);
  margin-bottom: 3%;
  text-align: center;
}
.section-title {
  font-size: 40px;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    background-color: var(--soft-orange);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.contact-details h4 {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--gray-600);
}

.social-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.social-section h4 {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.social-link.facebook {
    background-color: #1877f2;
}

.social-link.facebook:hover {
    background-color: #166fe5;
}

.social-link.twitter {
    background-color: #1da1f2;
}

.social-link.twitter:hover {
    background-color: #0c90db;
}

.social-link.instagram {
    background-color: #e4405f;
}

.social-link.instagram:hover {
    background-color: #d62d52;
}

.social-link.linkedin {
    background-color: #0077b5;
}

.social-link.linkedin:hover {
    background-color: #006ba1;
}

.service-areas {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.areas-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.areas-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
}

.areas-image {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.areas-lists {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .areas-lists {
        grid-template-columns: 1fr 1fr;
    }
}

.areas-column h4 {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.areas-list {
    list-style: none;
}

.areas-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.areas-list i {
    color: var(--soft-orange);
    font-size: 1rem;
}

.cta-card {
    background: linear-gradient(to right, var(--navy-blue), var(--navy-blue-dark));
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.cta-content {
    text-align: center;
}

.cta-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.cta-btn.primary {
    background-color: var(--soft-orange);
    color: var(--white);
}

.cta-btn.primary:hover {
    background-color: #ea580c;
}

.cta-btn.secondary {
    background-color: #16a34a;
    color: var(--white);
}

.cta-btn.secondary:hover {
    background-color: #15803d;
}


@media (max-width: 480px) {
  #contact-details {
    gap: 1rem;
  }
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .areas-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-links-contact {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-header {
    padding: 8rem 0 4rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .cta-content {
    padding: 3rem 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .areas-list {
    grid-template-columns: 1fr;
  }

  .social-links-contact {
    grid-template-columns: 1fr;
  }

  .cta-buttons-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons-row .btn {
    width: 100%;
  }

  .contact-info-card,
  .service-areas-card {
    padding: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}


/* Footer */
.footer {
  background: #0d1b2a;
  color: #e5e5e5;
  padding: 60px 10% 20px;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/*Footer Animation*/
.footer {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}


/* Each footer section */
.footer-section {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-section h3 {
  font-size: 1.6rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #f8f9fa;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.footer-section h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #1976d2;
  margin-top: 6px;
}

.footer-section p,
.footer-section li,
.footer-section a {
  color: #d0d0d0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section a:hover {
  color: #ffffff;
}

/*Social Icons */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f0f0f0;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #1976d2;
  color: #fff;
  transform: translateY(-3px);
}

/*Footer bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #bbb;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Icons inside text */
.footer-section i {
  color: #1976d2;
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .footer-section {
    flex: 1 1 100%;
  }

  .footer-section h4::after {
    margin-left: auto;
    margin-right: auto;
  }

  .social-links {
    justify-content: center;
  }
}