/* ============================================
   SHAKTHI ASTROLOGY - MASTER COMMON CSS
   Version: Final | All Pages Covered
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

/* ---------- ROOT VARIABLES ---------- */
:root {
  --deep-blue: #07273C;
  --darker-blue: #031D2E;
  --orange: #FF7010;
  --white: #fff;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6, .philosopher {
  font-family: 'Philosopher', sans-serif;
  font-weight: 700;
}

p, span, a, li, .inter, .btn, input, select, textarea, button, .counter, .nav-link, .dropdown-item {
  font-family: 'Inter', sans-serif;
}

/* ---------- UTILITY CLASSES ---------- */
.text-orange { color: #FF7010; }
.text-deep-blue { color: #07273C; }
.text-darker-blue { color: #031D2E; }
.section-title {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* ---------- BUTTONS ---------- */
.btn-orange {
  background: #FF7010;
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.25s ease;
  display: inline-block;
  text-decoration: none;
  box-shadow: none;
}

.btn-orange:hover {
  background: #e65d00;
  color: #fff;
  box-shadow: 0 4px 15px rgba(255,112,16,0.4);
}

/* ---------- TOP HEADER ---------- */
.top-header {
  background: #031D2E;
  color: white;
  font-size: 0.9rem;
  padding: 8px 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  margin: 0 4px;
  transition: 0.2s;
  text-decoration: none;
}

.icon-circle:hover {
  background: #FF7010;
  color: white;
}

.call-icon-circle {
  background: #FF7010;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

/* ---------- NAVBAR ---------- */
.navbar {
  background: #07273C;
  padding: 10px 0;
  box-shadow: none;
}

.navbar-brand img {
  height: 55px;
  width: auto;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 5px;
  transition: 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #FF7010 !important;
}

/* ---------- DROPDOWN ---------- */
.dropdown-menu {
  background: #07273C;
  border: none;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 15px 30px rgba(0,0,0,0.6);
  margin-top: 10px;
}

.dropdown-item {
  color: white;
  padding: 10px 22px;
  font-weight: 500;
  transition: 0.2s;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: #FF7010;
  color: #fff;
  border-radius: 6px;
  margin: 0 8px;
  padding-left: 18px;
}

/* ---------- PAGE HEADER (Common for Service + About Pages) ---------- */
.page-header-section,
.page-header {
  background: url('image/bg1.jpg') center/cover no-repeat;
  position: relative;
  padding: 80px 0;
  background-color: #07273C;
}

.page-header-section::before,
.page-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(3, 29, 46, 0.75);
}

.page-header-section .container,
.page-header .container {
  position: relative;
  z-index: 2;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin-bottom: 15px;
}

.breadcrumb-custom .breadcrumb-item a {
  color: #FF7010;
  text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: #ddd;
}

/* ---------- CONTENT SECTION (Service Pages) ---------- */
.content-section {
  background: #07273C;
  padding: 70px 0;
}

/* ---------- HERO SLIDER (Index Page) ---------- */
.hero-slider {
  background: url('image/bg1.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-slider::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.rotating-circle {
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: url('image/circlebanner.png') center/cover no-repeat;
  margin: 0 auto;
  animation: rotateCircle 25s linear infinite;
  position: relative;
  z-index: 2;
}

@keyframes rotateCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.slide-text h2 {
  font-size: 3.4rem;
  font-weight: 700;
  color: white;
  text-shadow: none;
}

.slide-text p {
  color: #FF7010;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #031D2E;
  border-radius: 50%;
  padding: 16px;
  background-size: 55% 55%;
  border: 2px solid #FF7010;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
}

/* ---------- ABOUT SECTION (Index Page) ---------- */
.about-section {
  background-color: #07273C;
  padding: 80px 0;
}

.about-detail-section {
  background: #07273C;
  padding: 80px 0;
}

/* ---------- MILESTONE SECTION (Index Page) ---------- */
.milestone-section {
  background: #031D2E;
  padding: 60px 0;
}

.milestone-box {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 25px 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,112,16,0.2);
}

.milestone-icon {
  font-size: 3.2rem;
  color: #FF7010;
}

.counter {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
}

/* ---------- SERVICES SECTION (Index Page) ---------- */
.services-section {
  background: url('image/bg1.jpg') center/cover no-repeat;
  position: relative;
  padding: 70px 0;
  background-color: transparent;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.25);
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(3, 29, 46, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 25px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,112,16,0.3);
  color: white;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(10, 51, 71, 0.9);
  border-color: #FF7010;
  box-shadow: 0 20px 30px rgba(255,112,16,0.4);
}

.service-icon-circle {
  width: 90px;
  height: 90px;
  background: #FF7010;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 0 25px rgba(255,112,16,0.6);
}

.service-card h5 { color: white; }
.service-card p, .service-card a { color: #ccc; }
.service-card a { font-weight: 600; color: #FF7010; text-decoration: none; }

/* ---------- GALLERY SECTION (Index Page) ---------- */
.gallery-section {
  background: #031D2E;
  padding: 70px 0;
}

.gallery-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0,0,0,0.4);
  transition: 0.3s;
  height: 260px;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px #FF7010;
}

/* ---------- CTA SECTION (Index Page) ---------- */
.cta-section {
  background: url('image/bg1.jpg') center/cover no-repeat;
  position: relative;
  padding: 70px 0;
  background-color: transparent;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

/* ---------- TESTIMONIAL SECTION ---------- */
.testimonial-section {
  background: #031D2E;
  padding: 70px 0;
}

.testimonial-card {
  background: #07273C;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.4);
  margin: 10px;
  color: white;
  border: 1px solid rgba(255, 112, 16, 0.2);
}

.testimonial-snippet {
  background: #031D2E;
  border-radius: 24px;
  padding: 35px;
  margin-top: 30px;
  color: white;
}

.stars i { color: #FF7010; margin: 0 2px; }

.testimonial-carousel .carousel-control-prev { left: -25px; }
.testimonial-carousel .carousel-control-next { right: -25px; }

/* ---------- CONTENT CARD (Service Pages) ---------- */
.content-card {
  background: white;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  border: 1px solid #eee;
}

.content-card h2 {
  color: #07273C;
  margin-bottom: 18px;
  font-size: 1.9rem;
}

.content-card h3 {
  color: #031D2E;
  font-size: 1.5rem;
  margin-top: 20px;
  margin-bottom: 12px;
}

.content-card p, .content-card li {
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ---------- CHECK LIST ---------- */
.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  padding: 8px 0 8px 30px;
  position: relative;
  border-bottom: 1px dashed #e0e0e0;
}

.check-list li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  color: #FF7010;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ---------- ICON HIGHLIGHT BOX ---------- */
.icon-highlight-box {
  background: #fff5f0;
  border-left: 5px solid #FF7010;
  padding: 18px 22px;
  border-radius: 0 14px 14px 0;
  margin: 18px 0;
}

/* ---------- INNER CARD (Service Pages) ---------- */
.inner-card {
  background: #f0f4f8;
  border-radius: 12px;
  padding: 18px;
}

.inner-card i { color: #FF7010; }

/* ---------- GRID ITEMS (Service Pages - Common) ---------- */
.profession-grid,
.zodiac-grid,
.directions-grid,
.numbers-grid,
.love-issues-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.profession-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.zodiac-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.directions-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.numbers-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.love-issues-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

.profession-item,
.zodiac-item,
.direction-item,
.love-issue-item {
  background: #f0f4f8;
  border-radius: 16px;
  padding: 18px 15px;
  text-align: center;
  font-weight: 600;
  color: #07273C;
  transition: 0.2s;
  border: 1px solid transparent;
  cursor: default;
  font-size: 0.95rem;
}

.profession-item:hover,
.zodiac-item:hover,
.direction-item:hover,
.love-issue-item:hover {
  background: #FF7010;
  color: white;
  border-color: #FF7010;
  transform: translateY(-3px);
}

.number-item {
  background: #f0f4f8;
  border-radius: 16px;
  padding: 18px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 1.6rem;
  color: #07273C;
  transition: 0.2s;
  border: 1px solid transparent;
  cursor: default;
}

.number-item:hover {
  background: #FF7010;
  color: white;
  border-color: #FF7010;
  transform: translateY(-3px);
}

.number-item small {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 4px;
  color: #666;
}

.number-item:hover small { color: #fff; }

/* ---------- GUNA VISUAL (Marriage Page) ---------- */
.guna-visual {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 25px;
}

.guna-item {
  background: #f0f4f8;
  border-radius: 20px;
  padding: 20px 15px;
  min-width: 100px;
  margin: 5px;
  transition: 0.2s;
  border: 1px solid transparent;
}

.guna-item:hover {
  background: #FF7010;
  color: white;
  transform: translateY(-3px);
  border-color: #FF7010;
}

.guna-item i {
  font-size: 1.8rem;
  color: #FF7010;
  display: block;
  margin-bottom: 6px;
}

.guna-item:hover i { color: white; }

.guna-item strong {
  display: block;
  font-size: 1.1rem;
}

/* ---------- STICKY FORM (Service Pages) ---------- */
.sticky-form {
  position: sticky;
  top: 100px;
}

.form-card {
  background: #031D2E;
  border-radius: 28px;
  padding: 30px 25px;
  box-shadow: 0 25px 45px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,112,16,0.3);
  color: white;
}

.form-card h4 {
  color: white;
  margin-bottom: 20px;
  font-weight: 700;
}

.form-card .form-control,
.form-card .form-select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  border-radius: 40px;
  padding: 12px 18px;
  margin-bottom: 15px;
}

.form-card .form-control::placeholder { color: #aaa; }

.form-card .form-control:focus {
  border-color: #FF7010;
  box-shadow: 0 0 10px rgba(255,112,16,0.4);
  background: rgba(255,255,255,0.15);
}

/* ---------- BENEFIT MINI LIST ---------- */
.benefit-mini-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.benefit-mini-list li {
  color: #ddd;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.benefit-mini-list i {
  color: #FF7010;
  margin-right: 8px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: white;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid #eee;
}

.faq-item .accordion-button {
  font-weight: 600;
  color: #07273C;
  background: white;
  border-radius: 16px;
}

.faq-item .accordion-button:not(.collapsed) {
  color: #FF7010;
  background: #fff7f2;
}

/* ---------- ABOUT PAGE SPECIFIC ---------- */
.vision-mission-section {
  background: #031D2E;
  padding: 70px 0;
}

.who-we-are-section {
  background: #07273C;
  padding: 70px 0;
}

.icon-large {
  font-size: 3.8rem;
  color: #FF7010;
  margin-bottom: 20px;
  display: block;
}

.vision-card,
.mission-card {
  background: rgba(255,255,255,0.05);
  border-radius: 28px;
  padding: 35px 25px;
  height: 100%;
  border: 1px solid rgba(255,112,16,0.25);
  transition: 0.3s;
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px rgba(255,112,16,0.3);
  border-color: #FF7010;
}

.team-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #FF7010;
  box-shadow: 0 0 25px rgba(255,112,16,0.5);
}

.who-card {
  background: #031D2E;
  border-radius: 24px;
  padding: 30px 20px;
  transition: 0.3s;
  border: 1px solid rgba(255,112,16,0.2);
  height: 100%;
}

.who-card:hover {
  border-color: #FF7010;
  box-shadow: 0 15px 28px rgba(0,0,0,0.7);
}

/* ---------- FOOTER ---------- */
footer {
  background: #0a1f2b;
  color: #ccc;
  padding-top: 60px;
}

footer h5 {
  color: #FF7010;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,112,16,0.4);
  padding-bottom: 12px;
  display: inline-block;
}

footer a {
  color: #bbb;
  text-decoration: none;
}

footer a:hover { color: #FF7010; }

hr { border-color: rgba(255,255,255,0.2); }

.footer-links li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 8px 0;
}

.footer-links li:last-child {
  border-bottom: none;
}

.footer-social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: white;
  margin-right: 10px;
  font-size: 1.2rem;
  transition: 0.2s;
}

.footer-social-circle:hover {
  background: #FF7010;
  color: white;
}

.footer-arrow-link i {
  font-size: 0.8rem;
  margin-right: 8px;
  color: #FF7010;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
  .sticky-form {
    position: static;
    margin-top: 30px;
  }
  .content-card h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .icon-large { font-size: 2.8rem; }
  .vision-card, .mission-card { padding: 25px 18px; }
}

@media (max-width: 767px) {
  .page-header-section,
  .page-header {
    padding: 50px 0;
  }
  .content-card {
    padding: 22px;
  }

  /* Index Page Mobile */
  .hero-slider {
    min-height: auto;
    padding: 40px 0;
  }
  .slide-text {
    text-align: center !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .slide-text h2 { font-size: 1.8rem !important; }
  .slide-text p { font-size: 1rem !important; margin-bottom: 1rem; }
  .slide-text .btn-orange { padding: 8px 20px !important; font-size: 0.85rem !important; }
  .rotating-circle { width: 200px !important; height: 200px !important; margin: 0 auto; }
  .hero-slider .row { flex-direction: column-reverse; }

  .about-section { padding: 40px 0; }
  .about-section p { font-size: 0.95rem !important; line-height: 1.6 !important; }
  .about-section .philosopher { font-size: 1.6rem !important; }

  .counter { font-size: 1.8rem !important; }
  .milestone-box p { font-size: 0.85rem !important; }
  .milestone-icon { font-size: 2.2rem !important; }

  .cta-section .philosopher { font-size: 1.6rem !important; }
  .services-section .philosopher { font-size: 1.8rem !important; }
  .gallery-section .philosopher { font-size: 1.8rem !important; }
  .testimonial-section .philosopher { font-size: 1.8rem !important; }

  .section-title { font-size: 0.75rem !important; }
  .philosopher { font-size: 1.8rem !important; }

  .service-card h5 { font-size: 1rem !important; }
  .service-card p { font-size: 0.85rem !important; }
  .service-card a { font-size: 0.85rem !important; }
  .service-icon-circle { width: 60px !important; height: 60px !important; font-size: 1.6rem !important; }

  .gallery-img { height: 150px !important; }
  .cta-section .lead { font-size: 1rem !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
  .slide-text h2 { font-size: 2.6rem !important; }
  .slide-text p { font-size: 1.1rem !important; }
  .rotating-circle { width: 300px !important; height: 300px !important; }
  .counter { font-size: 2.2rem !important; }
  .cta-section .philosopher { font-size: 2rem !important; }
  .about-section p { font-size: 1rem !important; line-height: 1.7 !important; }
  .gallery-img { height: 180px !important; }
}