/* --- Global Styles --- */
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
  overflow-x: hidden; /* Prevents awkward side-scrolling bar glitches on small monitors */
}
::selection {
  background: #4b2e83;
  color: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}

/* --- Navigation Header --- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%; 
  background-color: #4b2e83;
  color: #fff;
  width: 100%;
  margin-bottom: 0 !important; /* This completely destroys the thin white line below your menu bar */
}

.logo {
  display: flex;
  align-items: center;
  padding: 5px 0;
}
.logo img {
  height: 85px !important;
  width: auto !important;
  max-height: 85px !important;
  filter: drop-shadow(0px 2px 10px rgba(0,0,0,0.35));
  transition: transform .2s ease;
}
.logo img:hover {
  transform: scale(1.04);
}
nav ul {
  list-style: none !important;
  display: flex !important;
  gap: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
}
nav a {
  color: #fff !important;
  font-weight: 600 !important;
  transition: color .2s ease !important;
}
nav a:hover {
  color: #d4af37 !important;
}
.cta-header {
  background-color: #d4af37;
  color: #4b2e83;
  padding: .5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  z-index: 99;
  transition: all .2s ease;
}
.cta-header:hover {
  background-color: #fff;
  color: #4b2e83;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* --- Fixed Full-Width Image Overlay Hero --- */
.hero {
  position: relative;
  width: 100vw !important;         
  left: 50%;                      
  right: 50%;
  margin-left: -50vw !important;  
  margin-right: -50vw !important;
  
  /* CHANGES MADE HERE: */
  height: 640px !important;       /* 1. Boosted height from 580px to 640px to give the box room to slide down */
  background: transparent !important; /* 2. Erases that ghost gray gradient backdrop creating the empty white block gap */
  margin-bottom: 0 !important;
  
  overflow: visible !important;   /* 3. CRUCIAL: Allows the white card to physically hang outside the image border cleanly */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end; 
  padding-bottom: 0px !important; /* 4. Dropped padding to 0 so the box can sit perfectly on the bottom third line */
  max-width: none !important;
}

/* Force the background photo container boundaries */
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  
  /* CHANGE MADE HERE: */
  height: 520px !important;       /* 5. Hard locks the picture depth so the remaining 120px functions as the overlay overlap */
  
  max-height: 520px !important;
  max-width: 100% !important;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
  margin-bottom: 0 !important;
  border-radius: 0 !important;
}

/* The White Card floating nicely on top */
.hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  padding: 30px 45px;
  border-radius: 12px;
  max-width: 820px;
  width: 90%;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); /* Polished executive drop shadow */
  
  /* CHANGE MADE HERE: */
  margin-bottom: -60px !important; /* 6. Perfectly balances the card right over the center of the divider line line */
}


.hero .hero-content {
  /* ... your other settings ... */
  margin-bottom: -80px !important; /* Pulls the white box down onto the next section line */
}


.hero h1 {
  font-size: 2.6rem;
  margin: 0 0 0.6rem 0;
  color: #4b2e83; 
  letter-spacing: -0.5px;
  font-weight: 700;
}
.hero p {
  max-width: 650px;
  margin: 0 auto 1.75rem;
  font-size: 1.15rem;
  color: #333;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* --- Base Buttons --- */
.btn {
  display: inline-block;
  padding: .75rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: 0.3px;
}
.btn-primary {
  background-color: #4b2e83;
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background-color: #351f5c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75,46,131,0.25);
}
.btn-gold {
  background-color: #d4af37;
  color: #4b2e83;
  border: none;
}
.btn-gold:hover {
  background-color: #c29e2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,175,55,0.35);
}
.btn-outline {
  border: 2px solid #4b2e83;
  color: #4b2e83;
  background: transparent;
  padding: .65rem 1.5rem;
}
.btn-outline:hover {
  background-color: #4b2e83;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(75,46,131,0.15);
}

/* --- General Content Sections --- */
.section {
  padding: 3.5rem 5%;
}
.section h2 {
  color: #4b2e83;
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

/* --- Services Options Section --- */
.services {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.section-subtitle {
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
  margin-top: 2rem;
}
.service-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(75, 46, 131, 0.1);
}
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
}
.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge-360 {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(14, 116, 144, 0.9);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.card-content h3 {
  margin: 0 0 12px 0;
  font-size: 1.4rem;
  color: #4b2e83;
}
.card-content p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}
/* --- Professional Card Actions Base Fix --- */
.card-actions {
  display: flex;
  gap: 10px;                  /* Clean structural separation spacing */
  margin-top: auto;           /* Forces buttons to sit perfectly uniform along the bottom floor line */
  width: 100%;
}

.btn-card {
  flex: 1;
  text-align: center;
  padding: 12px 4px !important; /* Shaved side padding so long words never wrap on small laptop viewports */
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap !important; /* Forces the text to stay on a single line */
  cursor: pointer;
}

.btn-card.primary {
  background-color: #4b2e83;  /* Matches your corporate brand purple */
  color: white !important;
  border: none;
}
.btn-card.primary:hover {
  background-color: #351f5c;
  transform: translateY(-1px);
}

/* Redesigned 360° Button Using a Safe CSS Virtual Rotation Indicator */
.btn-card.tour-btn {
  background-color: #fff;
  color: #0e7490 !important;
  border: 2px solid #0e7490;
  position: relative;
  gap: 6px;
}

/* Smoothly embeds a modern, unbreakable technical rotation symbol in front of the text */
.btn-card.tour-btn::before {
  content: "⟳";               /* Standard, unbreakable system symbol */
  font-size: 1.1rem;
  font-weight: bold;
  display: inline-block;
}

.btn-card.tour-btn:hover {
  background-color: #0e7490;
  color: #fff !important;
  transform: translateY(-1px);
}

.tour-icon {
  font-size: 1.1rem;
}

/* --- Contact & Contact Layout --- */
.contact-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.contact-form {
  flex: 1 1 350px;
}
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form input, .contact-form select, .contact-form textarea {
  padding: .75rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: all .2s ease;
  font-family: inherit;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: #4b2e83;
  box-shadow: 0 0 0 4px rgba(75,46,131,0.12);
}
.contact-form button {
  padding: .85rem;
  border: none;
  border-radius: 6px;
  background-color: #4b2e83;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color .2s ease;
}
.contact-form button:hover {
  background-color: #351f5c;
}
.contact-info {
  flex: 1 1 260px;
  font-size: 1.05rem;
}
.contact-info p {
  margin-bottom: 1.25rem;
}

/* --- Other Components --- */
.blog-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover {
  transform: translateX(5px);
  box-shadow: 2px 4px 15px rgba(0,0,0,0.04);
}
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.gallery-grid img {
  width: 100%;
  border-radius: 6px;
  flex: 1 1 280px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .3s ease, opacity .3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  opacity: .95;
}
.cta-box {
  box-shadow: 0 4px 20px rgba(0,0,0,0.03) !important;
}
footer {
  background-color: #4b2e83;
  color: #fff;
  text-align: center;
  padding: 2.5rem 5%;
  font-size: .95rem;
}
footer a:hover {
  text-decoration: underline;
  color: #d4af37;
}

/* --- Clean Professional Floating Sticky Actions Stack --- */
.floating-cta-stack {
  position: fixed !important;
  bottom: 40px !important;    /* Safely raises the stack off the absolute screen floor */
  right: 30px !important;     /* Locks it neatly along the right vertical browser border */
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;       /* Clean executive breathing room spacing between circles */
  z-index: 9999999 !important; /* Enforces that it remains on top of lower scrollable text blocks */
  align-items: flex-end !important;
}

.f-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  text-decoration: none !important;
  color: #ffffff !important;
  height: 56px !important;    /* Crisp, clean standard tap dimensions */
  width: 56px !important;
  min-width: 56px !important;
  border-radius: 50% !important; /* Perfect circles with no box clipping */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1) !important; /* High-end fluid transition velocity */
  cursor: pointer !important;
}

.f-icon {
  font-size: 1.2rem !important; /* Balanced size for standard text characters */
  font-weight: 700 !important;   /* Makes the letters thick and readable */
  font-family: Arial, sans-serif !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  z-index: 2 !important;
  line-height: 1 !important;
}


/* Polished Text Labels that smoothly slide out when hovering */
.f-label {
  position: absolute !important;
  right: 70px !important;
  background: rgba(75, 46, 131, 0.95) !important; /* Beautiful brand matching deep purple background */
  color: #ffffff !important;
  padding: .5rem 1.2rem !important;
  border-radius: 6px !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateX(10px) !important;
  transition: all .2s ease-in-out !important;
  pointer-events: none !important;
  z-index: 1 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

/* High-End Hover Micro-Interactions */
.f-btn:hover {
  transform: translateY(-3px) scale(1.06) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}
.f-btn:hover .f-label {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
}
.f-btn:active {
  transform: scale(0.96) !important;
}

/* Verified Color Systems */
.f-email { background: #1976d2 !important; }
.f-tour { background: #6a1b9a !important; }
.f-call { background: #2e7d32 !important; }

/* --- Fixes spacing below the overlapping hero card --- */
#about-preview {
  padding-top: 130px !important; /* Adds breathing room so the overlay box doesn't crowd your heading text below */
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.5rem;
  }
  .cta-header {
    display: none !important;
  }

  /* 1. RESET HERO CONTAINER FOR MOBILE */
  .hero {
    height: auto !important;          /* Let it grow dynamically based on content size */
    min-height: auto !important;
    padding: 0 !important;             /* Clear old padding constraints */
    display: flex !important;
    flex-direction: column !important; /* Forces the text container below the photo instead of over it */
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* 2. MAKE THE PHOTO STAND ALONE AT THE TOP */
  .hero img {
    position: relative !important;     /* Takes it out of absolute background mode */
    width: 100% !important;
    height: 240px !important;          /* Keeps a crisp, clean photo profile on phone screens */
    max-height: 240px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
  }

  /* 3. TRANSITION THE FLOATING CARD INTO A CLEAN BLOCK BELOW THE PHOTO */
  .hero .hero-content {
    position: relative !important;
    width: 100% !important;            /* Span full display width */
    max-width: 100% !important;
    padding: 30px 20px !important;     /* Comfort padding bounds for small screens */
    background: #ffffff !important;    /* Solid clean background */
    border-radius: 0 !important;       /* Removes desktop round corners for a flush look */
    box-shadow: none !important;       /* Drop shadow not needed when flat */
    margin-bottom: 0 !important;       /* OBLITERATES the broken negative overlap tracking */
  }

  .hero h1 {
    font-size: 1.8rem !important;      /* Shrinks text size smoothly for mobile screens */
    line-height: 1.3 !important;
  }
  
  .hero p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  /* 4. CLEANLY STACK BUTTONS FOR TAP CONVENIENCE */
  .hero-buttons {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .hero-buttons .btn {
    width: 100% !important;            /* Stacks links into thick, thumb-friendly tap banners */
    box-sizing: border-box !important;
    padding: 12px 16px !important;
  }

  /* 5. REMOVE RECENT BUFFER FOR ABOUT SECTION */
  #about-preview {
    padding-top: 40px !important;     /* Returns to clean standard padding since card doesn't overlap anymore */
  }
}/* <--- MAKE SURE THIS FINAL CLOSING BRACKET IS PRESENT! */

/* --- High-End About Section Layout --- */
#about-preview {
  padding-top: 140px !important; /* Retains safe space for your overlapping hero container box above */
  padding-bottom: 60px;
  background-color: #ffffff;
}

.about-split-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-story-col {
  flex: 1.2;
  text-align: left;
}

.section-tagline {
  color: #d4af37; /* Elegant brand gold tone */
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.about-story-col h2 {
  font-size: 2.5rem;
  color: #4b2e83;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-highlight-text {
  font-size: 1.25rem;
  color: #4b2e83;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.about-story-col p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}

.about-action-wrap {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-outline-gold {
  border: 2px solid #d4af37;
  color: #4b2e83;
  background: transparent;
  font-weight: 600;
  padding: .75rem 1.6rem;
  border-radius: 4px;
}
.btn-outline-gold:hover {
  background-color: #d4af37;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212,175,55,0.2);
}

/* Trust Pillars Styling */
.about-pillars-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-card {
  display: flex;
  gap: 20px;
  background: #fdfcff;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #4b2e83;
  box-shadow: 0 4px 15px rgba(75, 46, 131, 0.03);
  align-items: flex-start;
  text-align: left;
}

.pillar-icon {
  font-size: 1.8rem;
  background: rgba(75, 46, 131, 0.06);
  padding: 10px;
  border-radius: 8px;
  line-height: 1;
}

.pillar-info h3 {
  margin: 0 0 6px 0;
  font-size: 1.2rem;
  color: #4b2e83;
}

.pillar-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Mobile Responsiveness Auto-Stacking Rules */
@media (max-width: 992px) {
  .about-split-layout {
    flex-direction: column;
    gap: 40px;
  }
  .about-story-col, .about-pillars-col {
    width: 100%;
  }
  #about-preview {
    padding-top: 50px !important;
  }
  .about-action-wrap {
    flex-direction: column;
  }
}

/* --- Jump to Top Arrow Styling --- */
.f-top-jump {
  background: #d4af37 !important; /* Elegant brand gold background */
  color: #4b2e83 !important;      /* Purple arrow color for sharp contrast */
}
.f-top-jump:hover {
  background: #4b2e83 !important; /* Turns purple on hover */
  color: #ffffff !important;      /* Turns arrow white on hover */
}

