/* =========================================================
   BASE STYLES
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #ffffff;
  color: #333;
  scroll-behavior: smooth;
}

img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* =========================================================
   HEADER
========================================================= */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #003366;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #cc0000;
  transform: translateY(-3px);
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  background: linear-gradient(to bottom, #ffffff, #f3f6fc);
  text-align: center;
  padding: 100px 20px 120px;
}

.hero-icon {
  width: 150px;
  margin-bottom: 20px;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 15px;
}

.blue-text {
  color: #003366;
  font-weight: 700;
}

.red-script {
  color: #cc0000;
  font-family: 'NexaRustScriptL', cursive;
  font-weight: normal;
  font-size: 1.2em;
  vertical-align: middle;
}

.tagline {
  font-size: 22px;
  color: #333;
  margin-bottom: 40px;
}

.btn {
  background-color: #003366;
  color: white;
  padding: 14px 32px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #cc0000;
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(204, 0, 0, 0.3);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* =========================================================
   SERVICES
========================================================= */
.services-section {
  padding: 80px 50px;
  text-align: center;
}

.services-section h2 {
  color: #003366;
  font-size: 36px;
  margin-bottom: 50px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background-color: white;
  border: 2px solid #003366;
  border-radius: 15px;
  padding: 30px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  color: #003366;
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card:hover {
  border-color: #cc0000;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(204, 0, 0, 0.2);
}

/* =========================================================
   PROJECTS
========================================================= */
.projects-section {
  padding: 80px 50px;
  text-align: center;
  background-color: #f7f9fc;
}

.projects-section h2 {
  color: #003366;
  font-size: 36px;
  margin-bottom: 50px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.project-card img {
  width: 100%;
  height: 220px; /* uniform height */
  object-fit: cover; /* crops edges evenly without stretching */
  border-radius: 10px 10px 0 0;
}

.project-card {
  background-color: white;
  border: 2px solid #003366;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-card:hover {
  border-color: #cc0000;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(204, 0, 0, 0.2);
}

.project-card p {
  padding: 15px;
  font-weight: 600;
  color: #003366;
}

/* ===========================
   CONTACT FORM
=========================== */
.contact-section {
  padding: 80px 20px;
  text-align: center;
  background: #f9fbff;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0b2545;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 2px solid #ccd6e0;
  border-radius: 6px;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0b2545;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form .btn {
  background-color: #0b2545;
  color: white;
  font-weight: 600;
  border: none;
  padding: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
  background-color: #cc0000;
  transform: translateY(-4px);
  box-shadow: 0 8px 15px rgba(204, 0, 0, 0.3);
}

/* =========================================================
   LIGHTBOX
========================================================= */
.lightbox {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
}

.lightbox img {
  max-width: 85%;
  max-height: 85%;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.close {
  position: absolute;
  top: 25px; right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.lightbox-nav .prev,
.lightbox-nav .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 45px;
  color: white;
  cursor: pointer;
  padding: 15px;
  user-select: none;
}

.lightbox-nav .prev { left: 50px; }
.lightbox-nav .next { right: 50px; }

/* =========================================================
   FOOTER
========================================================= */
footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}
