/* =====================================================
   GLOBAL STYLE
===================================================== */

:root {
  --primary: #0d6efd;
  --primary-dark: #084298;
  --secondary: #0b1320;
  --accent: #f59e0b;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #facc15;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}
/* =====================================================
   CONTACT PAGE MOBILE FIX
===================================================== */

.contact-form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-form-actions .btn {
  min-width: 180px;
}

@media (max-width: 767px) {
  .contact-form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .contact-form-actions .btn {
    width: 100%;
    min-width: 100%;
    margin-left: 0 !important;
    text-align: center;
  }

  .card.p-4 {
    padding: 22px !important;
  }

  .form-control,
  .form-select {
    min-height: 54px;
    font-size: 16px;
  }

  textarea.form-control {
    min-height: 170px;
  }
}
/* =====================================================
   TEAM / LEADERSHIP PHOTOS
===================================================== */

.team-card {
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.team-photo {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 5px solid #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  transition: all 0.35s ease;
}

.team-card:hover .team-photo {
  transform: scale(1.06);
}
/* =====================================================
   STOCK & IPO PAGE
===================================================== */

#stock-list .table,
#ipo-list .table {
  min-width: 1050px;
}

#stock-list h2,
#ipo-list h2 {
  color: #0b1320;
}

#stock-list .table td,
#ipo-list .table td {
  font-size: 14px;
}

#stock-list .badge,
#ipo-list .badge {
  white-space: nowrap;
}

.alert-warning strong,
.alert-danger strong {
  font-weight: 800;
}

.admin-sidebar a.active {
  background: rgba(13, 110, 253, 0.28);
  color: #ffffff;
  border-left-color: #0d6efd;
}

@media (max-width: 767px) {
  #stock-list .table,
  #ipo-list .table {
    min-width: 950px;
  }
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar {
  padding: 14px 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.navbar.bg-primary {
  background: linear-gradient(90deg, #0b1320, #0d6efd) !important;
}

.navbar-brand {
  font-size: 22px;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin-left: 12px;
  padding: 8px 12px !important;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
}

/* =====================================================
   HERO SECTION
===================================================== */

.hero {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(13, 110, 253, 0.45), transparent 35%),
    linear-gradient(135deg, #0b1320 0%, #0d6efd 100%);
  color: white;
  padding: 95px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -140px;
  right: -100px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  bottom: -120px;
  left: -90px;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero .lead {
  max-width: 850px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn {
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 600;
}

/* =====================================================
   SECTIONS
===================================================== */

.section {
  padding: 70px 0;
}

.section.bg-white {
  background: #ffffff !important;
}

.section h1,
.section h2,
.section h3,
.section h4,
.section h5 {
  color: #0b1320;
  font-weight: 700;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 12px;
}

.section p {
  color: #4b5563;
}

.text-muted {
  color: var(--muted) !important;
}

/* =====================================================
   CARDS
===================================================== */

.card {
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.card h4,
.card h5 {
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Account type cards */
.card.text-center h4 {
  color: var(--primary-dark);
}

.card.text-center p {
  min-height: 88px;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #084298);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #084298, #052c65);
  transform: translateY(-1px);
}

.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-1px);
}

.btn-light {
  color: #0b1320;
  background: #ffffff;
  border: none;
}

.btn-light:hover {
  background: #e5e7eb;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: white;
}

.btn-outline-light:hover {
  background: white;
  color: #0b1320;
}

/* =====================================================
   FORMS
===================================================== */

form .form-label {
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid #d1d5db;
  padding: 12px 14px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* =====================================================
   ALERTS
===================================================== */

.alert {
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 500;
}

.alert-success {
  background: #dcfce7;
  color: #166534;
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
}

/* =====================================================
   LISTS
===================================================== */

ul {
  padding-left: 20px;
}

ul li {
  margin-bottom: 8px;
}

.list-group {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.list-group-item {
  border-color: var(--border);
  padding: 14px 16px;
  color: #374151;
}

/* =====================================================
   FOOTER
===================================================== */

.footer {
  background: #0b1320 !important;
  color: white;
}

.footer h5,
.footer h6 {
  color: #ffffff;
  font-weight: 700;
}

.footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer hr {
  border-color: rgba(255, 255, 255, 0.15);
}

/* =====================================================
   WHATSAPP FLOAT BUTTON
===================================================== */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: white;
  padding: 13px 20px;
  border-radius: 50px;
  text-decoration: none;
  z-index: 999;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.whatsapp-float:hover {
  color: white;
  background: #16a34a;
  transform: translateY(-3px);
}

/* =====================================================
   ADMIN PANEL
===================================================== */

.admin-sidebar {
  min-height: 100vh;
  background: linear-gradient(180deg, #0b1320, #111827);
  position: sticky;
  top: 0;
}

.admin-sidebar h5 {
  margin: 0;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-sidebar a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  padding: 13px 18px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 4px solid transparent;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: rgba(13, 110, 253, 0.22);
  color: #ffffff;
  border-left-color: #0d6efd;
}

/* Admin cards */
.col-md-10 {
  background: #f8fafc;
  min-height: 100vh;
}

.table {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.table thead th {
  background: #0b1320;
  color: white;
  font-weight: 600;
  white-space: nowrap;
  border-color: #1f2937;
}

.table tbody td {
  vertical-align: middle;
  color: #374151;
  font-size: 14px;
}

.table-bordered > :not(caption) > * {
  border-color: #e5e7eb;
}

.badge {
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 600;
}

/* =====================================================
   BLOG
===================================================== */

.blog-card-title {
  min-height: 54px;
}

.blog-content {
  font-size: 17px;
  line-height: 1.8;
}

/* =====================================================
   DEMAT PAGE SPECIAL
===================================================== */

#physical-form .card {
  border-top: 5px solid var(--primary);
}

#physical-form h3 {
  color: var(--primary-dark);
}

.compliance-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 22px;
}

.compliance-box h3 {
  color: #9a3412;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 991px) {
  .hero {
    padding: 75px 0;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero .lead {
    font-size: 18px;
  }

  .section {
    padding: 55px 0;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    margin-top: 6px;
  }

  .card.text-center p {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero .lead {
    font-size: 16px;
  }

  .section {
    padding: 45px 0;
  }

  .section h2 {
    font-size: 27px;
  }

  .btn-lg {
    width: 100%;
    margin-left: 0 !important;
    margin-top: 10px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .admin-sidebar {
    min-height: auto;
    position: relative;
  }

  .admin-sidebar a {
    display: inline-block;
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .admin-sidebar a:hover {
    border-bottom-color: #0d6efd;
  }

  .table {
    font-size: 13px;
  }

  .col-md-10 {
    min-height: auto;
  }
}

@media (max-width: 575px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .card {
    border-radius: 15px;
  }

  .card.p-4 {
    padding: 20px !important;
  }

  .table-responsive {
    border-radius: 14px;
  }
}
/* =====================================================
   EXTRA ANIMATIONS & MODERN EFFECTS
   Add this at bottom of style.css
===================================================== */

/* Smooth page load */
body {
  animation: pageFadeIn 0.7s ease-in-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Hero text animation */
.hero h1 {
  animation: slideUp 0.9s ease forwards;
}

.hero .lead {
  animation: slideUp 1.1s ease forwards;
}

.hero .btn {
  animation: slideUp 1.25s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Floating background circles animation */
.hero::before {
  animation: floatCircleOne 7s ease-in-out infinite alternate;
}

.hero::after {
  animation: floatCircleTwo 8s ease-in-out infinite alternate;
}

@keyframes floatCircleOne {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-25px, 25px) scale(1.08);
  }
}

@keyframes floatCircleTwo {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(25px, -20px) scale(1.1);
  }
}


/* Card entrance animation */
.card {
  animation: cardFadeUp 0.75s ease both;
}

@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Stagger card animation */
.row .col-md-3:nth-child(1) .card,
.row .col-md-4:nth-child(1) .card,
.row .col-md-6:nth-child(1) .card {
  animation-delay: 0.05s;
}

.row .col-md-3:nth-child(2) .card,
.row .col-md-4:nth-child(2) .card,
.row .col-md-6:nth-child(2) .card {
  animation-delay: 0.15s;
}

.row .col-md-3:nth-child(3) .card,
.row .col-md-4:nth-child(3) .card,
.row .col-md-6:nth-child(3) .card {
  animation-delay: 0.25s;
}

.row .col-md-3:nth-child(4) .card,
.row .col-md-4:nth-child(4) .card,
.row .col-md-6:nth-child(4) .card {
  animation-delay: 0.35s;
}


/* Better hover lift */
.card:hover {
  transform: translateY(-8px) scale(1.01);
}


/* Button shine effect */
.btn-primary,
.btn-outline-primary,
.btn-light {
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn-outline-primary::before,
.btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transition: all 0.6s ease;
}

.btn-primary:hover::before,
.btn-outline-primary:hover::before,
.btn-light:hover::before {
  left: 120%;
}


/* Navbar smooth hover */
.navbar-nav .nav-link {
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: calc(100% - 24px);
}


/* WhatsApp pulse */
.whatsapp-float {
  animation: whatsappPulse 2.2s infinite;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}


/* Form focus animation */
.form-control:focus,
.form-select:focus {
  transform: translateY(-1px);
}


/* Table row hover */
.table tbody tr {
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background: #eef6ff;
  transform: scale(1.002);
}


/* Badge animation */
.badge {
  animation: badgePop 0.35s ease;
}

@keyframes badgePop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* Footer fade */
.footer {
  animation: footerFade 0.8s ease;
}

@keyframes footerFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}


/* Section subtle reveal */
.section {
  animation: sectionReveal 0.75s ease both;
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Mobile reduce heavy animation */
@media (max-width: 767px) {
  .card:hover {
    transform: translateY(-4px);
  }

  .table tbody tr:hover {
    transform: none;
  }

  .hero::before,
  .hero::after {
    animation-duration: 10s;
  }
}

/* =====================================================
   GOOGLE MAP
===================================================== */

.map-box {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.map-box iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border-radius: 18px;
}

@media (max-width: 767px) {
  .map-box iframe {
    min-height: 320px;
  }
}
/* Accessibility: reduce motion if user prefers */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* =====================================================
   TEAM / LEADERSHIP
===================================================== */

.team-card {
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.team-avatar {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.25);
}

.team-avatar span {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
}