
/* ==========================================================================
   Bal Nikunj Inter College - Complete Stylesheet (Astra + Elementor Repaired)
   Domain: http://balnikunjintercollege.com
   ========================================================================== */

:root {
  --ast-global-color-0: #fb2056;
  --ast-global-color-1: #da1c4b;
  --ast-global-color-2: #191919;
  --ast-global-color-3: #404040;
  --ast-global-color-4: #f5f5f5;
  --ast-global-color-5: #ffffff;
  --ast-global-color-6: #ececec;
  --ast-global-color-7: #313131;
  --ast-global-color-8: #000000;
  --primary: #fb2056;
  --primary-hover: #da1c4b;
  --text-dark: #191919;
  --text-muted: #555555;
  --bg-light: #f5f5f5;
  --bg-white: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ast-global-color-3);
  background-color: var(--ast-global-color-4);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .site-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--ast-global-color-2);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
}

h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.4rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}

a {
  color: var(--ast-global-color-0);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--ast-global-color-1);
}

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

/* Container */
.ast-container, .container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */
.site-header {
  background-color: var(--ast-global-color-5);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  padding: 10px 0;
}

.site-branding p strong {
  font-size: 1.35rem;
  font-family: 'Montserrat', sans-serif;
  color: #ff0053;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.main-navigation a.menu-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ast-global-color-8);
  padding: 10px 4px;
  position: relative;
  text-transform: uppercase;
}

.main-navigation a.menu-link:hover,
.main-navigation li.current-menu-item a.menu-link {
  color: var(--ast-global-color-0);
}

.main-navigation li.current-menu-item a.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--ast-global-color-0);
}

/* Header Action Button */
.ast-custom-button {
  background-color: var(--ast-global-color-0);
  color: #ffffff !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(251, 32, 86, 0.25);
  transition: all 0.2s ease;
}

.ast-custom-button:hover {
  background-color: var(--ast-global-color-1);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(251, 32, 86, 0.35);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: var(--ast-global-color-0);
  color: #ffffff;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 921px) {
  .mobile-menu-toggle {
    display: inline-block;
  }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 20px;
  }
  .main-navigation.is-open {
    display: block;
  }
  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .header-actions {
    display: none;
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.85) 0%, rgba(180, 15, 50, 0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 60px 20px;
}

.hero-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffb8ca;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-divider {
  width: 80px;
  height: 3px;
  background: #fb2056;
  margin: 0 auto 24px auto;
}

.elementor-button {
  display: inline-block;
  background-color: var(--ast-global-color-0);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  text-transform: uppercase;
  border-radius: 30px;
  padding: 16px 38px;
  box-shadow: 0 4px 14px rgba(251, 32, 86, 0.3);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.elementor-button:hover {
  background-color: var(--ast-global-color-1);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(251, 32, 86, 0.45);
}

/* Sections */
.site-section {
  padding: 70px 0;
  background-color: var(--ast-global-color-5);
}

.site-section.bg-light {
  background-color: var(--ast-global-color-4);
}

.site-section.bg-dark {
  background-color: #1a1a1a;
  color: #ffffff;
}

.site-section.bg-dark h1,
.site-section.bg-dark h2,
.site-section.bg-dark h3 {
  color: #ffffff;
}

.site-section.bg-dark p,
.site-section.bg-dark h6 {
  color: #e0e0e0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--ast-global-color-0);
  margin: 14px auto 0;
}

/* Two Columns Grid */
.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .two-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* Three Columns Grid */
.three-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */
.feature-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  border-top: 4px solid var(--ast-global-color-0);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.09);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.6;
}

/* Image styling */
.rounded-img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  width: 100%;
  object-fit: cover;
}

/* Glance Grid */
.glance-item {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.glance-item:last-child {
  border-bottom: none;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333333;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--ast-global-color-0);
  box-shadow: 0 0 0 3px rgba(251, 32, 86, 0.15);
}

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

/* Breadcrumbs */
.breadcrumb-banner {
  background-color: #222222;
  color: #ffffff;
  padding: 40px 0;
  border-bottom: 3px solid var(--ast-global-color-0);
}

.breadcrumb-banner h1 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.breadcrumb-nav {
  font-size: 0.9rem;
  color: #cccccc;
}

.breadcrumb-nav a {
  color: #ffffff;
}

.breadcrumb-nav a:hover {
  color: var(--ast-global-color-0);
}

/* Footer */
.site-footer {
  background-color: #ec145c;
  color: #ffffff;
  padding: 50px 0 25px;
}

.site-footer a {
  color: #ffffff;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-address {
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-domain {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
  display: block;
}

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.85;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 20px;
  margin-top: 20px;
}
