/* 
   Twin Hills Complex - Stylesheet
   Theme: Dark Steel Blue Heading & Hero Area, Crisp White Body
   
   Color Palette:
   - Primary Dark Steel Blue: #2b3e50
   - Deep Steel Blue (Header/Hero background): #1e2c3a
   - Accent Cyan/Light Blue: #24aae2
   - Accent Steel Slate: #4a5d6e
   - Body Background: #ffffff
   - Surface / Card Tint: #ffffff
   - Border Color: #e2e8f0
   - Text Dark (for body): #1e293b
   - Text Muted (for body): #64748b
   - Text Light (for dark headers): #f1f5f9
*/

:root {
  --dark-steel-blue: #2b3e50;
  --dark-steel-deep: #1b2834;
  --dark-steel-card: #233444;
  --steel-blue-accent: #24aae2;
  --steel-blue-accent-hover: #38bdf8;
  --steel-slate: #4a5d6e;
  --steel-light: #f1f5f9;
  --body-bg: #ffffff;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-hover-border: #cbd5e1;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(27, 40, 52, 0.08), 0 2px 4px -1px rgba(27, 40, 52, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(27, 40, 52, 0.15), 0 6px 12px -2px rgba(27, 40, 52, 0.06);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.25s ease-in-out;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--body-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   DARK HEADING / HEADER AREA
   ========================================= */

.dark-heading-wrapper {
  background: linear-gradient(180deg, var(--dark-steel-deep) 0%, var(--dark-steel-blue) 100%);
  color: #ffffff;
  border-bottom: 3px solid var(--steel-blue-accent);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent glow */
.dark-heading-wrapper::after {
  content: "";
  position: absolute;
  top: -30%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(36, 170, 226, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Top Accent Stripe */
.top-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--steel-blue-accent) 0%, #60a5fa 100%);
  width: 100%;
}

/* Site Header (Navigation) */
.site-header {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-tagline-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.header-nav a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.12);
}

/* Hero / Main Heading Banner */
.hero {
  padding: 76px 0 84px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 9999px;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--steel-blue-accent);
  box-shadow: 0 0 8px var(--steel-blue-accent);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.22rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* =========================================
   WHITE BODY CONTENT AREA
   ========================================= */

.main-content {
  background-color: #ffffff;
  padding: 70px 0 90px;
}

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

.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--steel-blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--dark-steel-blue);
  letter-spacing: -0.02em;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
}

.portal-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--dark-steel-blue);
  opacity: 0;
  transition: var(--transition);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--card-hover-border);
}

.portal-card:hover::before {
  opacity: 1;
}

.card-icon-wrapper {
  width: 66px;
  height: 66px;
  border-radius: var(--radius-md);
  background-color: var(--steel-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--dark-steel-blue);
  border: 1px solid var(--card-border);
  transition: var(--transition);
}

.portal-card:hover .card-icon-wrapper {
  background-color: var(--dark-steel-blue);
  color: #ffffff;
  border-color: var(--dark-steel-blue);
}

.portal-card:hover .card-icon-wrapper svg {
  stroke: #ffffff;
}

.card-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--dark-steel-blue);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.card-domain {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--steel-blue-accent);
  margin-bottom: 18px;
  display: inline-block;
}

.card-description {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.62;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  margin-bottom: 32px;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}

.card-features li {
  font-size: 0.9rem;
  color: var(--steel-slate);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-features li svg {
  color: var(--steel-blue-accent);
  flex-shrink: 0;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--dark-steel-blue);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  width: 100%;
}

.card-btn:hover {
  background-color: var(--dark-steel-deep);
  box-shadow: 0 4px 14px rgba(27, 40, 52, 0.25);
  transform: translateY(-1px);
}

.card-btn svg {
  transition: transform 0.2s ease;
}

.card-btn:hover svg {
  transform: translateX(4px);
}

/* About / Overview Banner */
.about-section {
  background-color: #fbfcfd;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-steel-blue);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark-steel-blue);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Footer */
.site-footer {
  background-color: #ffffff;
  padding: 60px 0 36px;
  border-top: 1px solid var(--card-border);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-steel-blue);
  margin-bottom: 10px;
}

.footer-brand-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-nav-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-steel-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer-nav-col ul {
  list-style: none;
}

.footer-nav-col ul li {
  margin-bottom: 10px;
}

.footer-nav-col ul li a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-nav-col ul li a:hover {
  color: var(--dark-steel-blue);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto 60px;
  }
  .about-section {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 32px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
}
