:root {
  --primary-blue: #0284c7;
  --dark-blue: #0c4a6e;
  --light-blue: #e0f2fe;
  --accent-blue: #38bdf8;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px -1px rgba(2, 132, 199, 0.5);
}

/* Header */
header {
  background-color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo span {
  color: var(--primary-blue);
}

nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a:hover {
  color: var(--primary-blue);
}

/* Hero */
.hero {
  height: 600px;
  background-image: url("assets/banner4.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.hero .container {
  display: block;
  width: 100%;
}

.hero-content {
  max-width: 550px; /* Text block width limit */
}

.hero-content h1 {
  font-size: 2.8rem; /* Smaller font */
  margin-bottom: 1.5rem;
  color: var(--dark-blue);
}

.hero-content p {
  font-size: 1.1rem; /* Smaller font */
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.contact-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-link:hover {
  color: var(--primary-blue);
}

/* Services */
.services {
  padding: 8rem 0;
  text-align: center;
}

.services-header {
  margin-bottom: 4rem;
}

.services-header h2 {
  font-size: 2.5rem;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.services-header p {
  color: var(--text-muted);
}

.services-header strong {
  color: var(--primary-blue);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 60%;
  margin: 0 auto 2rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-blue);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  color: var(--white);
  position: relative;
  background: var(--dark-blue);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(12, 74, 110, 0.9),
    rgba(12, 74, 110, 0.4)
  );
  z-index: 1;
}

.cta-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Footer */
footer {
  padding: 5rem 0 2rem;
  background-color: #082f49;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info .logo {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-info p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--accent-blue);
}

.footer-social h4 {
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 991px) {
  .hero .container,
  .cta-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-btns {
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none; /* simple burger implementation would go here */
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
