/* Your CSS here (unchanged) */
    :root {
      --primary: #2266c2;
      --primary-light: #3377d3;
      --primary-dark: #1a5099;
      --gold: #f7d488;
      --gold-light: #f9dea6;
      --gold-dark: #f5ca6a;
      --terracotta: #d4a373;
      --terracotta-light: #deb088;
      --terracotta-dark: #ca965e;
      --white: #ffffff;
      --gray-50: #f9fafb;
      --gray-100: #f3f4f6;
      --gray-200: #e5e7eb;
      --gray-300: #d1d5db;
      --gray-400: #9ca3af;
      --gray-500: #6b7280;
      --gray-600: #4b5563;
      --gray-700: #374151;
      --gray-800: #1f2937;
      --gray-900: #111827;
    }

    /* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero {
  width: 100%;
  height: 30rem;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/10/Lower_Manhattan_skyline_-_June_2017.jpg/1280px-Lower_Manhattan_skyline_-_June_2017.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero img {
  
  position: absolute;
  
  z-index: 1;
 
}

.hero-content {
  width: 100%;
  z-index: 2;
}

.hero-text {
  max-width: 32rem;
  
  padding: 1rem;
  border-radius: 0.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #e0f2ff; /* Very light blue for luxury feel */
  line-height: 1.1;
  margin-bottom: 1rem;
  
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: white;
  opacity: 0.9;
  margin-bottom: 2rem;
  margin-left: 1.15rem;
}

.hero-button {
  background-color: white;
  color: #064e3b;
  border: 2px solid white;
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-left: 1.15rem;
}

.hero-button:hover {
  background-color: #1e3a8a;
  color: white;
  transform: translateY(-1px);
}

/* Responsive hero text */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero img {
    width: 20%;
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.services-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #1f2937;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* default, so content stacks from top */
  /* keep your existing styles */
  background-color: white;
  border-radius: 0.5rem;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;

  height: 100%; /* ensures the card fills the grid cell */
}


.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(#facc15 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  pointer-events: none;
}

.service-card:hover {
  background-color: #1e3a8a;
  color: #ffffff;
  transform: translateY(-5px);
}

.service-card:hover::before {
  opacity: 0.2;
  animation: sparkle 4s linear infinite;
}

@keyframes sparkle {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 40px 40px;
  }
}

.service-icon {
  width: 5rem;
  height: 5rem;
  background-color: #2266c2; /* your blue */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: white;
  z-index: 2;
  position: relative;
  box-shadow: 0 2px 6px rgba(34, 102, 194, 0.5); /* subtle shadow to lift icon */
  transition: background-color 0.4s ease;
}

.service-card:hover .service-icon {
  background-color: #1e3a8a; /* darker blue on hover */
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.7);
}

.service-icon svg {
  width: 60%;  /* scaled down a bit inside the circle */
  height: 60%;
  display: block;
  fill: currentColor;
  stroke: none;
  transition: fill 0.4s ease;
}

.service-card:hover .service-icon svg {
  fill: #facc15; /* golden/yellow fill on hover for sparkle effect */
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-description {
  color: inherit;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.service-button {
  background-color: transparent;
  color: inherit;
  border: 1px solid currentColor;
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.service-card > :not(.service-button) {
  flex-grow: 1;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .services {
    padding: 3rem 0;
  }

  .services-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}


/* MODAL OVERLAY */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
}


.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}


/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* form */
.main-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;       /* Changed from 100vh to auto to avoid forcing full viewport height */
  padding: 1rem 2rem;     /* Reduced vertical padding from 2rem to 1rem */
  gap: 1.5rem;            /* Reduced gap from 3rem to 1.5rem */
  flex-wrap: wrap;
}






/* another paragraph*/
.cta-section {
  color: #1a73e8;              /* Blue title color */
  padding: 1.5rem 0;           /* Vertical padding only, no box */
  margin: 3rem auto 2rem;      /* More space above, center horizontally */
  max-width: 600px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* Removed border-radius and box-shadow for no box */
}

.cta-section h2 {
  margin-bottom: 1rem;         /* More space below title */
  font-weight: 700;
  font-size: 2.2rem;           /* Slightly bigger */
  letter-spacing: 0.05em;      /* Spaced out letters */
  line-height: 1.2;
}

.cta-section p {
  margin-top: 1rem;            /* Space from title */
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #000000;              /* Black text */
}

.introSer{
  padding: 60px 10px;
  text-align: center;
  background-color: #f9faff;
}
.introSer h1{
  font-size: 40px;
  margin-bottom: 24px;
  color: #1a5099;
}
.introSer .introDiv{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -30px;
  margin-bottom: 20px;
  text-align: center;
  padding: 20px;
}
.introSer .introDiv p{
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-800);
  font-weight: 300;
  max-width: 900px;
}
.introSer button{
  background-color: #2266c2;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.introSer h1,
.services-title,
.cta-section h2 {
  font-family: 'Georgia', serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}

@media (max-width: 576px) {
  .introSer h1{
    font-size: 2.2rem;
  }
  .introSer .introDiv p{
    font-size: 1.1rem;
  }
  .services-title {
    font-size: 2.2rem;
  }
  .cta-section {
    padding: 20px;
  }

}

.dark-mode .hero img {
  filter: brightness(.5) !important;
}
.dark-mode .hero-button  {
  background: var(--gray-900);
  color: var(--gray-100);
}
.dark-mode .hero-button:hover{
  opacity: 0.9;
}
.dark-mode .introSer,
.dark-mode .services {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.dark-mode .introSer h1,
.dark-mode .services-title,
.dark-mode .cta-section h2 {
  color: var(--gold-dark) !important;
  /*color: var(--gold-light);*/
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.dark-mode .introDiv p,
.dark-mode .cta-section p{
  color: var(--gray-100);
}
.dark-mode .service-card{
  background: #1e1e1e;
}