/* ============================================
   VIDHINAAD — Custom Styles
   Palette: Navy #0B1A2E | Gold #C4A962 | Ivory #FAF7F2
   ============================================ */

:root {
  --navy: #0b1a2e;
  --navy-light: #152238;
  --navy-dark: #060f1a;
  --gold: #c4a962;
  --gold-light: #d4bc7a;
  --gold-dark: #a88b4a;
  --ivory: #faf7f2;
  --ivory-dark: #f0ebe3;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: linear-gradient(180deg, #fbf7f0 0%, var(--ivory) 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

::selection {
  background: rgba(196, 169, 98, 0.35);
  color: var(--navy);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.brand-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 26, 46, 0.6);
}


h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Utilities ---- */
.text-gold { color: var(--gold) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-ivory { background-color: var(--ivory) !important; }
.bg-ivory-dark { background-color: var(--ivory-dark) !important; }

.section-padding {
  padding: 80px 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.section-desc {
  max-width: 600px;
  color: rgba(11, 26, 46, 0.65);
  font-size: 1.05rem;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ---- Buttons ---- */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.75rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(196, 169, 98, 0.3);
}

.btn-navy {
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.75rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-navy:hover {
  background: var(--navy-light);
  color: var(--ivory);
}

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(196, 169, 98, 0.6);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.65rem 1.75rem;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-outline-navy:hover {
  background: rgba(196, 169, 98, 0.08);
  border-color: var(--gold);
  color: var(--navy);
}

/* ---- Navbar ---- */
#mainNav {
  background: transparent;
  padding: 1rem 0;
  transition: all 0.4s ease;
}

#mainNav.scrolled {
  background: rgba(11, 26, 46, 0.97);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-logo {
  height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

#mainNav.scrolled .nav-logo {
  height: 42px;
}

#mainNav .nav-link {
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

#mainNav.scrolled .nav-link {
  color: rgba(250, 247, 242, 0.85);
}

#mainNav.scrolled .brand-name,
#mainNav.scrolled .brand-tagline {
  color: rgba(250, 247, 242, 0.95);
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--gold) !important;
}

#mainNav .navbar-toggler {
  border-color: rgba(196, 169, 98, 0.4);
}

#mainNav .navbar-toggler-icon {
  filter: invert(1);
}

#mainNav:not(.scrolled) .navbar-toggler-icon {
  filter: none;
}

@media (max-width: 991px) {
  #mainNav .navbar-collapse {
    background: var(--navy);
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
  }

  #mainNav .nav-link {
    color: var(--ivory) !important;
  }
}

/* ---- Hero ---- */
.hero-section {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--ivory-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(196, 169, 98, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(11, 26, 46, 0.08);
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}

.hero-title {
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(11, 26, 46, 0.7);
  max-width: 520px;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.95rem;
  color: rgba(11, 26, 46, 0.66);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-logo {
  max-width: 420px;
  filter: drop-shadow(0 8px 30px rgba(11, 26, 46, 0.12));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---- About ---- */
.about-block h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.about-block p {
  color: rgba(11, 26, 46, 0.7);
}

.values-card {
  background: var(--navy);
  color: var(--ivory);
  padding: 2.5rem;
  border-radius: 4px;
  height: 100%;
}

.values-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ivory);
}

.values-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.values-list li {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(250, 247, 242, 0.85);
}

.values-list li i {
  color: var(--gold);
  font-size: 0.85rem;
}

.client-tag {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
  color: rgba(11, 26, 46, 0.8);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(11, 26, 46, 0.08);
  border-radius: 2px;
}

/* ---- Services ---- */
.service-card {
  display: flex;
  flex-direction: column;
  background: rgba(21, 34, 56, 0.8);
  border: 1px solid rgba(250, 247, 242, 0.05);
  padding: 2rem;
  border-radius: 4px;
  height: 100%;
  transition: border-color 0.4s ease, transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(196, 169, 98, 0.3);
  transform: translateY(-4px);
}

.service-card-content {
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.service-card-content.collapsed {
  max-height: 230px;
}

.service-card-content.expanded {
  max-height: 1200px;
}

.readmore-btn {
  margin-top: 0.8rem;
  align-self: flex-start;
  font-size: 0.78rem;
  padding: 0.35rem 0.9rem;
  min-width: auto;
  line-height: 1.2;
  color: var(--gold);
  border-color: rgba(196, 169, 98, 0.75);
}

.readmore-btn:hover {
  color: var(--navy);
  background: rgba(196, 169, 98, 0.12);
  border-color: var(--gold);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(196, 169, 98, 0.4);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1.25rem;
}

.service-card h3 {
  color: var(--ivory);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-card > p {
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.service-card ul {
  list-style: none;
  padding: 0;
}

.service-card ul li {
  color: rgba(250, 247, 242, 0.75);
  font-size: 0.875rem;
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.service-card ul li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.6rem;
  top: 0.55rem;
}

/* ---- Partners ---- */
.partner-card {
  background: #fff;
  border: 1px solid rgba(11, 26, 46, 0.06);
  padding: 2.5rem;
  border-radius: 4px;
  height: 100%;
  transition: box-shadow 0.4s ease;
}

.partner-card:hover {
  box-shadow: 0 8px 30px rgba(11, 26, 46, 0.08);
}

.partner-avatar {
  width: 64px;
  height: 64px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.partner-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.partner-role {
  color: var(--gold-dark);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.partner-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(11, 26, 46, 0.75);
  padding: 0.5rem 0;
}

.partner-card ul li i.partner-list-icon {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
  min-width: 1.2rem;
}


/* ---- Why Choose Us ---- */
.why-card {
  padding: 1.5rem;
}

.why-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border: 1px solid rgba(196, 169, 98, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-dark);
  border-radius: 4px;
}

.why-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: rgba(11, 26, 46, 0.65);
}

/* ---- Contact Form ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item i {
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 0.2rem;
}

.contact-item h5 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.contact-item p {
  color: rgba(250, 247, 242, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.form-dark .form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(250, 247, 242, 0.5);
}

.form-dark .form-control,
.form-dark .form-select {
  background: var(--navy-light);
  border: 1px solid rgba(250, 247, 242, 0.1);
  color: var(--ivory);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.form-dark .form-control:focus,
.form-dark .form-select:focus {
  background: var(--navy-light);
  border-color: rgba(196, 169, 98, 0.5);
  color: var(--ivory);
  box-shadow: none;
}

.form-dark .form-control::placeholder {
  color: rgba(250, 247, 242, 0.3);
}

.return-note {
  font-size: 0.85rem;
  color: rgba(196, 169, 98, 0.95);
}

/* ---- Consultation Form ---- */
.consultation-form {
  background: #fff;
  border: 1px solid rgba(11, 26, 46, 0.06);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(11, 26, 46, 0.05);
}

.consultation-form .form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 26, 46, 0.5);
  font-weight: 600;
}

.consultation-form .form-control,
.consultation-form .form-select {
  background: var(--ivory);
  border: 1px solid rgba(11, 26, 46, 0.1);
  border-radius: 2px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  color: var(--navy);
}

.consultation-form .form-control:focus,
.consultation-form .form-select:focus {
  border-color: rgba(196, 169, 98, 0.6);
  box-shadow: none;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(11, 26, 46, 0.45);
  margin: 0;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(250, 247, 242, 0.6);
  padding: 60px 0 30px;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-text {
  font-size: 0.875rem;
  max-width: 280px;
}

.site-footer h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: rgba(250, 247, 242, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom p {
  font-size: 0.75rem;
  margin: 0;
  letter-spacing: 0.03em;
}

.footer-tagline {
  color: rgba(250, 247, 242, 0.3);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(196, 169, 98, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
}

/* ---- Scroll Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero-logo {
    max-width: 280px;
    margin-bottom: 1.5rem;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .consultation-form {
    padding: 1.5rem;
  }
}

/* ---- Partner photos ---- */
.partner-photo {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gold);
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}
.partner-card.text-center h3 {
  text-align: center;
}
.partner-card.text-center .partner-role {
  text-align: center;
}

@media (max-width: 576px) {
  .partner-photo {
    width: 120px;
    height: 168px;
  }
}
