/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --beacon-navy: #0a2540;
  --beacon-orange: #ff6f00;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
}

section {
  scroll-margin-top: 100px;
}

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

/* Floating Navigation */
.floating-nav {
  position: fixed;
  top: 1.0rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.412);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 1.0px 0.24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 0.5px solid rgba(229, 231, 235, 0.5);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--beacon-navy);
  transition: color 0.3s ease;
  cursor: pointer;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--beacon-orange);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--beacon-navy) 0%, var(--beacon-navy) 70%, rgba(10, 37, 64, 0.9) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---------------------------------------------------- */
/* Logo Styling for Nav + Footer */
.site-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, filter 0.2s ease;
}
.site-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Footer logo smaller */
.footer-logo-img {
  height: 36px;
}

/* Shrink nav on scroll */
nav.shrink .site-logo {
  height: 32px;
}

/* Smooth Nav transition */
.floating-nav {
  transition: all 0.3s ease;
}

/* Adjust logo-icon container to no longer show Lucide icon background */
.logo-icon {
  width: auto;
  height: auto;
  background: transparent;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 150px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    object-fit: contain;
}


/* Retain spacing for logo section */
.hero-content .logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Optimize nav link spacing if logo resized */
.nav-link {
  padding: 0.5rem 0.75rem;
}

/* Additional hover polish for CTA buttons */
.cta-button:hover {
  transform: scale(1.05);
}

/* maintain color discipline per brand variables */


.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 4rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo-icon {
  width: 3rem;
  height: 3rem;
  background: var(--beacon-orange);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--white);
}

.company-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--beacon-orange);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.5;
}

.cta-section {
  padding-top: 2rem;
}

.cta-button {
  background: var(--beacon-orange);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transform: scale(1);
}

.cta-button:hover {
  background: rgba(255, 111, 0, 0.9);
  transform: scale(1.05);
}

.cta-button i {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--white), transparent);
}

/* About Section */
.about-section {
  padding: 4rem 0 6rem;
  background: var(--gray-50);
}

.about-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--beacon-navy);
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--beacon-navy);
  margin-bottom: 1.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item i {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--beacon-orange);
}

.contact-message {
  text-align: left;
}

.contact-message p {
  color: var(--gray-600);
  line-height: 1.6;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  text-align: center;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(255, 111, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon i {
  width: 2rem;
  height: 2rem;
  color: var(--beacon-orange);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--beacon-navy);
  margin-bottom: 1rem;
}

.value-description {
  color: var(--gray-600);
}

/* Projects Section */
.projects-section {
  padding: 4rem 0 6rem;
  background: var(--white);
}

.projects-content {
  max-width: 72rem;
  margin: 0 auto;
}

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

.projects-subtitle {
  font-size: 1.125rem;
  color: var(--gray-700);
  max-width: 48rem;
  margin: 0 auto;
}

.flagship-project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 1024px) {
  .flagship-project {
    grid-template-columns: 1fr 1fr;
  }
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-badge {
  display: inline-block;
  background: rgba(255, 111, 0, 0.1);
  color: var(--beacon-orange);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
}

.project-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--beacon-navy);
}

.project-description {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.project-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--beacon-orange);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.project-button {
  background: transparent;
  border: 2px solid var(--beacon-orange);
  color: var(--beacon-orange);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  width: fit-content;
}

.project-button:hover {
  background: var(--beacon-orange);
  color: var(--white);
}

.project-button i {
  width: 1rem;
  height: 1rem;
}

.project-image {
  position: relative;
}

.image-card {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-element-1 {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  background: rgba(255, 111, 0, 0.2);
  border-radius: 50%;
  filter: blur(20px);
}

.floating-element-2 {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 8rem;
  height: 8rem;
  background: rgba(10, 37, 64, 0.1);
  border-radius: 50%;
  filter: blur(20px);
}

.additional-projects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 111, 0, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--beacon-orange);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--beacon-navy);
  margin-bottom: 1rem;
}

.card-description {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.coming-soon {
  background: var(--gray-100);
  color: var(--gray-600);
}

.in-development {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Newsletter Section */
.newsletter-section {
  padding: 4rem 0 6rem;
  background: var(--beacon-navy);
  color: var(--white);
}

.newsletter-content {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.newsletter-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.newsletter-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.email-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.email-input:focus {
  outline: none;
  border-color: var(--beacon-orange);
}

.subscribe-button {
  background: var(--beacon-orange);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.subscribe-button:hover {
  background: rgba(255, 111, 0, 0.9);
}

.subscribe-button i {
  width: 1rem;
  height: 1rem;
}

.privacy-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0;
}

.footer-content {
  max-width: 64rem;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-main {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-icon {
  width: 2rem;
  height: 2rem;
  background: var(--beacon-orange);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon i {
  width: 1rem;
  height: 1rem;
  color: var(--white);
}

.footer-company {
  font-size: 1.25rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link {
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--beacon-orange);
}

.social-link i {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-contact p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.contact-link {
  color: var(--beacon-orange);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.footer-copyright p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .floating-nav {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    transform: none;
    width: auto;
  }

  .nav-container {
    gap: 1px;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .company-name {
    font-size: 1.5rem;
  }

  .about-section,
  .projects-section,
  .newsletter-section {
    padding: 3rem 0;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .newsletter-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Success Message */
.success-message {
  background: #10b981;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  text-align: center;
  display: none;
}

.success-message.show {
  display: block;
}
