* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #0f1b2e;
  background-color: #ffffff;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

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

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0e0e0;
  height: 4rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 10px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo-box {
  width: 1.75rem;
  height: 1.75rem;
  background-color: #0f1b2e;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.nav-logo-text {
  display: none;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .nav-logo-text {
    display: inline;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-menu a {
  text-decoration: none;
  color: #0f1b2e;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .nav-menu a {
    font-size: 0.875rem;
  }
}

.nav-menu a:hover {
  color: #1a4d7a;
}

.btn-primary {
  background-color: #1a4d7a;
  color: white;
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .btn-primary {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
  }
}

.btn-primary:hover {
  background-color: #0f3460;
}

/* Section Styles */
section {
  position: relative;
  overflow: hidden;
}

.hero {
  padding-top: 6rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-circle-1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: #1a4d7a;
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(3rem);
}

.hero-bg-circle-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20rem;
  height: 20rem;
  background-color: #0f1b2e;
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(3rem);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f5f5f5;
  border-radius: 9999px;
  width: fit-content;
}

.hero-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a4d7a;
}

.hero-title {
  line-height: 1.2;
}

.hero-title .accent {
  color: #1a4d7a;
}

.hero-description {
  font-size: 1.125rem;
  color: #666666;
  line-height: 1.6;
}

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

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-secondary {
  background-color: white;
  color: #0f1b2e;
  border: 2px solid #0f1b2e;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a4d7a;
}

.stat-label {
  font-size: 0.875rem;
  color: #666666;
}

.hero-image {
  position: relative;
  height: 24rem;
}

@media (min-width: 768px) {
  .hero-image {
    height: 100%;
    min-height: 30rem;
  }
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(26, 77, 122, 0.1),
    rgba(15, 27, 46, 0.1)
  );
  border-radius: 1rem;
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #f5f5f5;
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5rem;
  background-color: white;
  clip-path: polygon(0 0, 100% 20%, 100% 0);
}

.services-content {
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .accent {
  color: #1a4d7a;
}

.section-header p {
  font-size: 1.125rem;
  color: #666666;
  max-width: 42rem;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #1a4d7a;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1b2e;
}

.service-card:hover .service-icon {
  background-color: #1a4d7a;
  color: white;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  color: #666666;
  line-height: 1.6;
}

/* Projects Section */
.projects {
  padding: 5rem 0;
  background-color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  height: 20rem;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0f1b2e, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: white;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.project-info p {
  color: #1a4d7a;
  font-weight: 600;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: #0f1b2e;
  color: white;
  position: relative;
}

.about-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.about-bg-circle {
  position: absolute;
  top: 50%;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: #1a4d7a;
  border-radius: 50%;
  filter: blur(3rem);
}

.about-content {
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text h2 .accent {
  color: #1a4d7a;
}

.about-text > p {
  font-size: 1.125rem;
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-item {
  display: flex;
  gap: 1rem;
}

.about-item-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #1a4d7a;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.about-item-content h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-item-content p {
  color: #d1d5db;
  font-size: 0.95rem;
}

.about-image {
  position: relative;
  height: 24rem;
}

.about-image-wrapper {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(26, 77, 122, 0.2),
    rgba(26, 77, 122, 0.2)
  );
  border-radius: 1rem;
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: white;
  position: relative;
}

.cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.cta-bg-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 24rem;
  height: 24rem;
  background-color: #1a4d7a;
  border-radius: 50%;
  filter: blur(3rem);
}

.cta-box {
  background: linear-gradient(to right, #0f1b2e, #1a2f4a);
  border-radius: 1rem;
  padding: 3rem 4rem;
  text-align: center;
  color: white;
  position: relative;
  z-index: 10;
}

.cta-box h2 {
  margin-bottom: 1rem;
  color: white;
}

.cta-box p {
  font-size: 1.125rem;
  color: #d1d5db;
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta-primary {
  background-color: #1a4d7a;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.btn-cta-primary:hover {
  background-color: #0f3460;
}

.btn-cta-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
  background-color: #0f1b2e;
  color: white;
  padding: 3rem 0;
  border-top: 1px solid #1a2f4a;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #1a4d7a;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-box {
  width: 2rem;
  height: 2rem;
  background-color: #1a4d7a;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.footer-section p {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #1a2f4a;
  padding-top: 2rem;
  text-align: center;
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu a {
    display: none;
  }

  .nav-menu .btn-primary {
    display: none;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .services-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
