/* ============================================
   BKR Consultancy Services
   Corporate & IT Solution Style
   brkconsultancyservices.com
   ============================================ */

:root {
  /* Logo colors: BKR blue + orange/gold arcs */
  --logo-blue: #1565c0;
  --logo-orange: #ff9800;
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --accent: #ff9800;
  --accent-light: #ffb74d;
  --text: #263238;
  --text-muted: #546e7a;
  --bg-light: #f5f5f5;
  --bg-dark: #0d47a1;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --radius: 6px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

/* ========== Top bar (Temkuri-style) ========== */
.top-bar {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar a {
  color: var(--accent-light);
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar span {
  margin: 0 0.5rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
}

/* ========== Navigation ========== */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
}

.site-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-logo .site-logo-text {
  display: flex;
  align-items: center;
  line-height: 1.2;
  white-space: nowrap;
}

.site-logo .site-logo-text span {
  color: var(--accent);
}

.site-logo img {
  height: 2.2em;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  vertical-align: middle;
  align-self: center;
  margin-left: 98px;
}

.site-logo:hover {
  color: var(--primary);
}

.site-logo:hover img {
  opacity: 0.95;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  display: block;
  padding: 0.65rem 1rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
  background: rgba(26, 35, 126, 0.06);
  border-radius: var(--radius);
}

/* Dropdown trigger */
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  gap: 0.25rem;
}

.nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.7rem;
  opacity: 0.8;
}

.nav-menu > li:hover .nav-dropdown-toggle,
.nav-has-dropdown.active .nav-dropdown-toggle {
  color: var(--primary);
  background: rgba(26, 35, 126, 0.06);
  border-radius: var(--radius);
}

/* Dropdown panel */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius);
  list-style: none;
  padding: 0.4rem 0;
  margin-top: 0.15rem;
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 50;
}

.nav-menu > li:hover .nav-dropdown-menu,
.nav-has-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 0;
}

.nav-dropdown-menu a:hover {
  background: rgba(26, 35, 126, 0.08);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-hover);
    display: none;
    align-items: stretch;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li {
    border-bottom: 1px solid var(--border);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-menu a,
  .nav-dropdown-toggle {
    padding: 0.85rem 1rem;
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0 0 0.5rem 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-has-dropdown.open .nav-dropdown-menu {
    max-height: 400px;
    padding: 0.25rem 0 0.5rem 1rem;
  }

  .nav-dropdown-menu a {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  .nav-dropdown-toggle::after {
    margin-left: auto;
    transition: transform 0.2s ease;
  }

  .nav-has-dropdown.open .nav-dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* ========== Main content ========== */
.main-content {
  min-height: calc(100vh - 70px - 260px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Hero (Homepage) ========== */
.hero {
  background: linear-gradient(125deg, var(--primary-dark) 0%, var(--primary) 45%, var(--logo-blue) 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  margin-bottom: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero .tagline {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 640px;
  margin: 0 auto 1.25rem;
  line-height: 1.6;
}

.hero .location {
  font-size: 1rem;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 1.75rem;
}

.hero-cta .btn {
  background: var(--accent);
  margin: 0 0.35rem 0.5rem;
}

.hero-cta .btn:hover {
  background: var(--logo-orange);
}

/* ========== Section titles ========== */
.section-title {
  font-size: 1.85rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
  font-size: 1rem;
}

/* ========== Services grid (4 cards) ========== */
.services-section {
  padding: 3.5rem 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(26, 35, 126, 0.1);
}

.service-card a {
  display: block;
  padding: 1.85rem;
  color: inherit;
}

.service-card a:hover {
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-card .card-num {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* ========== Why us / features strip ========== */
.why-section {
  padding: 3rem 0;
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.why-item {
  text-align: center;
}

.why-item strong {
  display: block;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.why-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Page banner (inner pages) ========== */
.page-banner {
  background: linear-gradient(125deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 2.75rem 1.5rem;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-banner p {
  margin-top: 0.5rem;
  opacity: 0.95;
  font-size: 1.05rem;
}

/* ========== Breadcrumb (Vizag-style) ========== */
.breadcrumb-wrap {
  background: var(--bg-light);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 0.4rem;
  color: var(--text-muted);
}

/* ========== Page with right sidebar (all inner pages) ========== */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.side-col {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  font-weight: 600;
}

.sidebar-card p,
.sidebar-card a {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.sidebar-card a:hover {
  color: var(--accent);
}

.sidebar-card .sidebar-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card ul li {
  margin-bottom: 0.4rem;
}

.sidebar-card ul a {
  display: block;
  padding: 0.25rem 0;
}

.sidebar-cta .btn {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .page-with-sidebar {
    grid-template-columns: 1fr;
  }

  .side-col {
    position: static;
  }
}

/* ========== Content sections ========== */
.content-section {
  padding: 2.5rem 0;
}

.content-section .container {
  max-width: 100%;
}

.content-section h2 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.content-section p {
  margin-bottom: 1rem;
  color: var(--text);
}

/* ========== Benefits list ========== */
.benefits-list {
  list-style: none;
  margin: 1rem 0;
}

.benefits-list li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--text);
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== Buttons ========== */
.cta-wrap {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition), transform var(--transition);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  text-align: center;
}

/* ========== Contact page (Vizag-style: form left, sidebar right) ========== */
.contact-section {
  padding: 2rem 0 3rem;
  background: var(--white);
}

.contact-section .contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: start;
}

.contact-form-wrap {
  min-width: 0;
}

.contact-form-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form-card .form-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.contact-form-card .form-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Contact page right sidebar (Vizag-style blocks) */
.contact-sidebar {
  position: sticky;
  top: 90px;
}

.contact-sidebar .sidebar-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.contact-sidebar .sidebar-block h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.contact-sidebar .sidebar-block p,
.contact-sidebar .sidebar-block a {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 0.25rem 0;
}

.contact-sidebar .sidebar-block a:hover {
  color: var(--accent);
}

.contact-sidebar .sidebar-block .block-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.contact-sidebar .sidebar-block .phone-num {
  font-weight: 600;
  font-size: 1rem;
}

/* Why Contact Us */
.why-contact {
  background: var(--bg-light);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.why-contact .container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-contact h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  text-align: center;
  font-weight: 600;
}

.why-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.why-contact-grid strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.why-contact-grid span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Emergency / CTA strip */
.contact-cta-strip {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem 1.5rem;
  text-align: center;
}

.contact-cta-strip h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-cta-strip a {
  color: var(--accent-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-cta-strip a:hover {
  color: var(--white);
}

.contact-cta-strip span {
  margin: 0 0.5rem;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .contact-section .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
  }

  .contact-form-card .form-row {
    grid-template-columns: 1fr;
  }
}

/* ========== Form elements ========== */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.5rem;
}

.form-actions .btn {
  min-width: 160px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ========== Footer (multi-column, Temkuri-style) ========== */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand .site-logo {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  flex-direction: row;
}

.footer-brand .site-logo .site-logo-text span {
  color: var(--accent-light);
}

.footer-brand .site-logo img {
  opacity: 0.95;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-inner h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--white);
}

.footer-inner ul {
  list-style: none;
}

.footer-inner ul li {
  margin-bottom: 0.5rem;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-inner a:hover {
  color: var(--accent-light);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand .site-logo {
    display: inline-flex;
  }
}

/* ========== Utility ========== */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

/* ========== Alerts ========== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.alert-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}
