@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  /* CIS Corporate Color Palette */
  --cis-navy: #123867;
  --cis-navy-light: #1c5299;
  --cis-gold: #d4af37;
  --cis-gold-light: #f3e5ab;
  --cis-white: #ffffff;
  --cis-surface: #f8fafc;
  --cis-text-main: #1e293b;
  --cis-text-muted: #64748b;
  
  /* Transition & Shadow */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(18, 56, 103, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 56, 103, 0.08);
  --shadow-lg: 0 12px 32px rgba(18, 56, 103, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.85);
  
  /* Spacing */
  --section-padding: 100px 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--cis-text-main);
  background-color: var(--cis-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--cis-navy);
  font-weight: 600;
  line-height: 1.3;
}

p {
  color: var(--cis-text-muted);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100;
  border-bottom: 1px solid rgba(18, 56, 103, 0.05);
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1060;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cis-white);
    white-space: nowrap; /* Prevent 2 lines */
    transition: var(--transition-smooth);
}
.navbar.scrolled .logo-text {
    color: var(--cis-navy);
}
/* RTL specific for logo */
body.rtl .nav-logo {
    flex-direction: row-reverse;
}

.nav-logo img {
  height: 48px;
  transition: var(--transition-smooth);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cis-navy);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cis-gold);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--cis-navy);
  color: var(--cis-white);
  box-shadow: 0 4px 14px rgba(18, 56, 103, 0.2);
}

.btn-primary:hover {
  background-color: var(--cis-navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 56, 103, 0.25);
  color: var(--cis-white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--cis-surface);
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

/* Section Formatting */
.section {
  padding: var(--section-padding);
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero h1 { font-size: 3rem; }
  .nav-links { display: none; } /* Add hamburger menu later */
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.1rem; }
  .section { padding: 60px 0; }
}

/* Features / Overview Section */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.overview-card {
  padding: 50px 40px;
  background: var(--cis-white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid rgba(18, 56, 103, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.overview-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cis-gold);
}
.overview-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5px;
}

.overview-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

/* Pillar Cards */
.pillar-grid {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.pillar-card {
  background: var(--cis-white);
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  max-width: 420px;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(18, 56, 103, 0.03);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--cis-gold);
  transform: scaleX(0);
  transition: var(--transition-smooth);
  transform-origin: left;
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pillar-logo {
  height: 64px;
  margin-bottom: 32px;
  object-fit: contain;
}

/* Leadership Teaser */
.leadership-teaser {
  background: var(--cis-navy);
  color: var(--cis-white);
  border-radius: 32px;
  padding: 60px;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.leadership-teaser::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(18,56,103,0) 70%);
  border-radius: 50%;
}

.leader-img-wrapper {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.leader-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-info h2, .leader-info h3 {
  color: var(--cis-white);
}

.leader-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cis-gold);
  margin-bottom: 24px;
}

.leader-info p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: var(--cis-surface);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(18, 56, 103, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 400px;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cis-navy);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--cis-text-muted);
}

.footer-links a:hover {
  color: var(--cis-navy);
  padding-left: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(18, 56, 103, 0.05);
  font-size: 0.9rem;
}

@media (max-width: 991px) {
  .leadership-teaser {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Enhanced Modern UI Additions */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(18, 56, 103, 0.08);
  border-radius: 32px;
}

.business-hero {
  background: linear-gradient(135deg, var(--cis-navy) 0%, #0d284a 100%);
  color: white;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.business-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at right top, rgba(212,175,55,0.15), transparent 50%);
}

.b-card {
  display: flex;
  background: var(--cis-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 60px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.b-card:hover {
  transform: translateY(-10px);
}

.b-card-img {
  flex: 1;
  background: var(--cis-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  border-right: 1px solid rgba(18,56,103,0.05);
}

.b-card-img img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.b-card-content {
  flex: 1.5;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
  padding-top: 32px;
  border-top: 1px solid rgba(18,56,103,0.08);
}

.stat-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--cis-navy);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form Styles */
.form-group {
  margin-bottom: 24px;
}

.form-control {
  width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid rgba(18, 56, 103, 0.1);
  background: var(--cis-surface);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--cis-gold);
  background: var(--cis-white);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.1);
}

@media (max-width: 991px) {
  .b-card { flex-direction: column; }
  .b-card-img { border-right: none; border-bottom: 1px solid rgba(18,56,103,0.05); }
}

/* ================= OVERRIDES FOR GLOBAL NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(18, 56, 103, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 15px 0;
}
.navbar.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(18, 56, 103, 0.05);
  border-bottom: none;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1060;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cis-white);
    white-space: nowrap; /* Prevent 2 lines */
    transition: var(--transition-smooth);
}
.navbar.scrolled .logo-text {
    color: var(--cis-navy);
}
/* RTL specific for logo */
body.rtl .nav-logo {
    flex-direction: row-reverse;
}

.nav-logo img {
  height: 40px;
  transition: all 0.4s ease;
  filter: brightness(0) invert(1);
}
.navbar.scrolled 
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    z-index: 1060;
}
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cis-white);
    white-space: nowrap; /* Prevent 2 lines */
    transition: var(--transition-smooth);
}
.navbar.scrolled .logo-text {
    color: var(--cis-navy);
}
/* RTL specific for logo */
body.rtl .nav-logo {
    flex-direction: row-reverse;
}

.nav-logo img {
  filter: none;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cis-white); 
  position: relative;
  text-decoration: none;
  transition: color 0.3s;
}
.navbar.scrolled .nav-links a:not(.btn) {
  color: var(--cis-navy);
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--cis-gold);
  transition: width 0.3s;
}
.nav-links a:not(.btn):hover::after, .nav-links a:not(.btn).active::after {
  width: 100%;
}

/* ================= OVERRIDES FOR GLOBAL FOOTER (SONY STYLE) ================= */
.sony-footer {
    background-color: #000000;
    color: #e5e5e5;
    padding: 80px 0 30px;
    font-family: 'Inter', sans-serif;
}
.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
}
.footer-col p {
    color: #a3a3a3;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.footer-address {
    font-size: 0.85rem;
    color: #8c8c8c;
    line-height: 1.6;
}
.footer-address strong {
    color: #d4af37; /* CIS Gold */
    font-weight: 600;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: #a3a3a3;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col ul li a:hover {
    color: #d4af37;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    color: #8c8c8c;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.footer-copyright {
    color: #666666;
    font-size: 0.8rem;
}

@media(max-width: 992px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
