/* ====================================================
   MACRO INDIA — Global Stylesheet
   Theme: Royal Navy + Elegant Gold | Bootstrap 5
   ==================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

/* ---- CSS Custom Properties ---- */
:root {
  --primary:        #0c1a3e;   /* Deep royal navy */
  --primary-light:  #162d6b;   /* Rich mid-navy */
  --primary-mid:    #1e3a8a;   /* Bright navy for hover */
  --accent:         #c9a84c;   /* Warm gold */
  --accent-hover:   #b8942e;   /* Deeper gold on hover */
  --accent-light:   #fdf6e3;   /* Pale gold tint background */
  --bg-body:        #f4f6fb;   /* Cool off-white background */
  --bg-white:       #ffffff;
  --bg-sidebar:     #f8f9fd;
  --text-dark:      #111827;
  --text-body:      #374151;
  --text-muted:     #6b7280;
  --border-color:   #dde3f0;
  --border-light:   #e8edf7;
  --nav-bg:         #0c1a3e;   /* Navbar: deep royal navy */
  --footer-bg:      #08122c;   /* Footer: near-black navy */
  --gold:           #c9a84c;
  --gold-dark:      #a07c28;
}

/* ---- Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-body);
  margin: 0;
  padding: 0;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: var(--primary);
}
ul {
  padding-left: 1.2rem;
}
li {
  margin-bottom: 0.35rem;
}

/* ---- Top Info Bar ---- */
.top-info-bar {
  background: #0a1430;
  color: #9aabbf;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 2px solid var(--gold);
}
.top-info-bar a {
  color: #e6c97a;
}
.top-info-bar a:hover {
  color: #fff;
  text-decoration: none;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--nav-bg) !important;
  padding: 0;
  box-shadow: 0 3px 12px rgba(8,18,44,.5);
  border-bottom: 2px solid var(--gold);
}
.navbar-brand {
  padding: 8px 0;
  line-height: 1.15;
  flex-shrink: 0;
}
.navbar-brand .site-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.navbar-brand .site-tagline {
  display: block;
  font-size: 10px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 0.5px;
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-nav {
  flex-wrap: nowrap;
}
.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12px;
  font-weight: 500;
  padding: 16px 9px !important;
  letter-spacing: 0;
  white-space: nowrap;
  transition:
    color 0.2s,
    border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active {
  color: var(--gold) !important;
  border-bottom: 2px solid var(--gold);
  text-decoration: none;
}
.nav-link.active {
  background: rgba(201,168,76,0.08);
}

/* ---- Hero Carousel ---- */
.hero-carousel .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(201,168,76,0.7);
  border-radius: 4px;
  padding: 18px;
  background-size: 50%;
}
.carousel-indicators [data-bs-target] {
  background-color: var(--gold);
  opacity: 0.6;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.carousel-indicators [data-bs-target].active { opacity: 1; }

/* ---- Page Banner ---- */
.page-banner {
  background: linear-gradient(135deg, #08122c 0%, #0c1a3e 60%, #162d6b 100%);
  padding: 26px 0;
  border-bottom: 3px solid var(--gold);
}
.page-banner h1 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .5px;
}
.page-banner .breadcrumb {
  margin: 5px 0 0;
  background: transparent;
  padding: 0;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: #c9a84c;
  font-size: 13px;
}
.page-banner .breadcrumb-item.active {
  color: #d4c5a0;
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: #8a7040;
}

/* ---- Layout ---- */
.main-wrapper {
  padding: 32px 0 40px;
}
.content-col {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 28px 30px;
}
.content-col h1.page-heading {
  font-size: 1.35rem;
  color: var(--primary);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin-bottom: 20px;
  font-weight: 700;
}
.content-col h4 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.4rem;
}
.content-col p {
  line-height: 1.8;
  color: var(--text-body);
}
.content-col ul li {
  color: var(--text-body);
  line-height: 1.7;
}

blockquote {
  background: #fdf6e3;
  border-left: 3px solid var(--gold);
  padding: 14px 18px;
  border-radius: 4px;
  margin: 16px 0;
}
blockquote p {
  margin: 0;
  font-size: 14.5px;
  color: #5a4a1a;
}

/* ---- Sidebar ---- */
.sidebar-col .widget-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-col .widget-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 14px;
  letter-spacing: .2px;
}
.sidebar-col .widget-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.sidebar-col .widget-card ul li {
  padding: 6px 0;
  border-bottom: 1px dashed #dde3f0;
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.sidebar-col .widget-card ul li:last-child {
  border-bottom: none;
}
.sidebar-col .widget-card ul li::before {
  content: "\2713";
  color: var(--gold-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.sidebar-col .verify-img {
  display: block;
  text-align: center;
}
.sidebar-col .verify-img img {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  max-width: 100%;
  height: auto;
}

/* ---- Home ---- */
.home-image-float-right {
  float: right;
  margin: 0 0 16px 20px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
}
.home-image-float-right img {
  display: block;
  max-width: 100%;
}
.home-image-float-right .img-caption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 8px;
  background: #f7faff;
}
.home-image-float-left {
  float: left;
  margin: 0 20px 16px 0;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  text-align: center;
  max-width: 144px;
}
.home-image-float-left img {
  display: block;
  max-width: 100%;
}
.home-image-float-left .img-caption {
  font-size: 12px;
  color: var(--text-muted);
  padding: 5px 8px;
  background: #f7faff;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* ---- Stats Strip ---- */
.features-strip {
  background: linear-gradient(135deg, #08122c 0%, #0c1a3e 100%);
  padding: 22px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.features-strip .stat-item {
  text-align: center;
  color: #fff;
  padding: 10px 0;
  border-right: 1px solid rgba(201,168,76,.2);
}
.features-strip .stat-item:last-child { border-right: none; }
.features-strip .stat-item .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.features-strip .stat-item .stat-label {
  font-size: 12px;
  color: #c8bfa0;
  margin-top: 5px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* ---- Course Sections ---- */
.duration-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 3px;
  margin: 18px 0 10px;
  border-left: 3px solid var(--gold);
}
.qualification-note {
  background: #fdf6e3;
  border: 1px solid #e6c97a;
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 13.5px;
  color: #7a5c14;
  margin: 12px 0 18px;
}

/* ---- Certificate Verify ---- */
.cert-verify-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  background: #fff;
  transition:
    transform 0.2s,
    border-color 0.2s;
  height: 100%;
}
.cert-verify-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.cert-verify-card .cert-icon {
  width: 64px;
  height: 64px;
  background: #fdf6e3;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.cert-verify-card .cert-icon i {
  font-size: 1.6rem;
  color: var(--gold-dark);
}
.cert-verify-card h5 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 8px;
}
.cert-verify-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.btn-verify {
  background: var(--gold);
  color: var(--primary);
  border: none;
  padding: 9px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
  letter-spacing: .3px;
}
.btn-verify:hover {
  background: var(--gold-dark);
  color: #fff;
  text-decoration: none;
}
.btn-verify-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--gold);
  padding: 9px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.btn-verify-outline:hover {
  background: var(--gold);
  color: var(--primary);
  text-decoration: none;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.gallery-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,.25);
}
.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.gallery-item:hover img {
  opacity: 0.85;
}
#galleryModal .modal-dialog {
  max-width: 820px;
}
#galleryModal .modal-body {
  padding: 0;
  background: #000;
}
#galleryModal .modal-body img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
#galleryModal .modal-header {
  background: var(--primary);
  color: #fff;
  border: none;
  border-bottom: 2px solid var(--gold);
  padding: 10px 16px;
}
#galleryModal .modal-header .btn-close {
  filter: invert(1);
}

/* ---- Contact ---- */
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px 28px;
  height: 100%;
}
.contact-info-card h5 {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 600;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  margin-bottom: 16px;
}
.contact-info-card .info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-body);
}
.contact-info-card .info-row i {
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}
.bank-table {
  width: 100%;
  font-size: 13.5px;
  border-collapse: collapse;
}
.bank-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #e8effa;
  color: var(--text-body);
}
.bank-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 45%;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--footer-bg);
  color: #8a9ab5;
  padding: 28px 0 16px;
  border-top: 3px solid var(--gold);
}
.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.site-footer .footer-nav li a {
  color: #9fb3ce;
  font-size: 13px;
  padding: 4px 12px;
  transition: color 0.2s;
  border-right: 1px solid rgba(255,255,255,.08);
}
.site-footer .footer-nav li:last-child a { border-right: none; }
.site-footer .footer-nav li a:hover {
  color: var(--gold);
  text-decoration: none;
}
.site-footer .footer-divider {
  border-color: rgba(201,168,76,.2);
  margin: 0 0 14px;
}
.site-footer .footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #5a6880;
}
.site-footer .footer-bottom a {
  color: var(--gold);
  opacity: .8;
}
.site-footer .footer-bottom a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

/* ---- Utility ---- */
.section-heading {
  font-size: 1.1rem;
  color: var(--primary);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 22px 0 14px;
}

/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .nav-link {
    font-size: 11.5px;
    padding: 16px 7px !important;
  }
  .navbar-brand .site-title {
    font-size: 1rem;
  }
}
@media (max-width: 991.98px) {
  /* Collapsed menu — vertical stack, so restore readable padding */
  .navbar-nav {
    flex-wrap: wrap;
  }
  .nav-link {
    white-space: normal;
    font-size: 13.5px;
    padding: 11px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  .nav-link.active {
    border-left: 3px solid var(--gold);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(201,168,76, 0.08);
  }
  .hero-carousel .carousel-item img {
    height: 260px;
  }
}
@media (max-width: 767.98px) {
  .content-col {
    padding: 20px 16px;
  }
  .hero-carousel .carousel-item img {
    height: 200px;
  }
  .home-image-float-right,
  .home-image-float-left {
    float: none;
    margin: 0 0 16px;
    display: block;
    max-width: 100%;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}
