@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary-color: #000000;
  --mckinsey-dark: #000000; /* Pure Black */
  --mckinsey-blue: #111111; /* Deep charcoal instead of blue */
  --text-primary: #000000;
  --text-inverse: #ffffff;
  --text-secondary: #555555;
  --bg-color: #ffffff;
  --bg-secondary: #f4f4f4;
  --border-color: #e5e5e5;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  font-size: 14px;
}

@media (max-width: 1440px) {
  html {
    font-size: 13px;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 12px;
  }
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin-top: 0;
  font-weight: 600;
}

/* Corporate Cards -> Flat Minimalist Cards */
.corporate-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  border-radius: 0;
  padding: 2rem;
}

.corporate-card:hover {
  border-color: var(--text-primary);
}

/* Button */
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 0; /* Sharp corporate edges */
  font-weight: 500;
  border: 2px solid var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-size: 0.9rem;
  font-family: var(--font-sans);
}

.btn:hover {
  background: transparent;
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Top Bar - Hidden for McKinsey style, they don't use a heavy top bar */
.top-bar {
  display: none;
}

/* Sticky Header Wrapper */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

/* Navbar */
nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  background: var(--bg-color);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-item {
  position: relative;
  padding: 0.75rem 0;
  margin: -0.75rem 0;
}

.nav-item.mega-parent {
  position: static;
}

.nav-links a, .nav-item > span {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  font-family: var(--font-sans);
  transition: color 0.2s;
}

.nav-links a:hover, .nav-item > span:hover {
  color: #888888; /* Gray hover for B&W theme */
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 5%;
}

.container-wide {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 5%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
  transform: none;
  width: 95vw;
  max-width: 1300px;
  background: #ffffff;
  border-top: 2px solid var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  display: none;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  z-index: 100;
}

.nav-item:hover .mega-menu {
  display: grid;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  background: #ffffff;
  border-top: 2px solid var(--primary-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 0.5rem 1.5rem;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: var(--primary-color);
}

.mega-column h4 {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-sans);
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin-bottom: 1rem;
}

.mega-column ul li a {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.95rem;
}

.mega-column ul li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: #000000;
  color: #ffffff;
  padding: 4rem 5% 2rem;
  margin-top: auto;
  font-family: var(--font-sans);
}

footer h4 {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

footer a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #ffffff !important;
}

/* Premium WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 40px;
  right: 40px;
  background: linear-gradient(135deg, #25d366, #128C7E);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: '';
  position: absolute;
  border: 2px solid #25d366;
  border-radius: 50%;
  top: -8px; left: -8px; right: -8px; bottom: -8px;
  animation: whatsapp-pulse 2s linear infinite;
  opacity: 0;
  pointer-events: none;
}

.whatsapp-float::after {
  animation-delay: 1s;
}

@keyframes whatsapp-pulse {
  0% { transform: scale(0.7); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 0; }
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

.whatsapp-float svg {
  transition: transform 0.4s ease;
}

.whatsapp-float:hover svg {
  transform: rotate(15deg) scale(1.15);
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: 2px 5px 15px rgba(0,0,0,0.25);
}

/* Horizontal Scroll Container */
.featured-scroll-container::-webkit-scrollbar {
  display: none;
}
.featured-scroll-container {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Hide TinyMCE API Warning */
.tox-notifications-container { display: none !important; }

/* McKinsey Full Screen Menu */
.mckinsey-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mckinsey-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mckinsey-menu-left {
  width: 350px;
  background-color: #051c2c; /* McKinsey dark blue */
  height: 100%;
  color: white;
  padding: 4rem 0 2rem 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mckinsey-menu-overlay.open .mckinsey-menu-left {
  transform: translateX(0);
}

.mckinsey-menu-right {
  flex: 1;
  background-color: #ffffff;
  height: 100%;
  padding: 4rem 3rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: 0.1s;
}

.mckinsey-menu-overlay.open .mckinsey-menu-right {
  transform: translateX(0);
}

.mckinsey-menu-left-item {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #e0e6ed;
  transition: all 0.2s;
  border-left: 4px solid transparent;
}

.mckinsey-menu-left-item:hover, .mckinsey-menu-left-item.active {
  background-color: #0f3047;
  color: #ffffff;
}

.mckinsey-menu-left-item.active {
  border-left-color: #ffffff;
}

.mckinsey-menu-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: transform 0.2s;
}

.mckinsey-menu-close:hover {
  transform: scale(1.1);
}

.mckinsey-right-header {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  color: #051c2c;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mckinsey-right-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.mckinsey-right-col h4 {
  font-size: 0.9rem;
  color: #0066cc;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.mckinsey-right-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mckinsey-right-col ul li {
  margin-bottom: 0.75rem;
}

.mckinsey-right-col ul li a {
  color: #333333;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.mckinsey-right-col ul li a:hover {
  color: #0066cc;
  text-decoration: underline;
}
