/* Servus Bank - Home Page Redesign */

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

:root {
  --ofc-navy: #0C2C55;
  --ofc-navy-light: #1a4278;
  --ofc-gold: #C9A227;
  --ofc-gold-light: #e6c65c;
  --ofc-cream: #F8F6F2;
  --ofc-dark: #1a1a2e;
  --ofc-text: #4a5568;
}

/* Hero - Full Redesign */
.home-hero-redesign {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ofc-navy) 0%, var(--ofc-navy-light) 50%, #0d3d6e 100%);
}

.home-hero-redesign::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-banking-ofc.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.home-hero-redesign .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12,44,85,0.92) 0%, rgba(12,44,85,0.7) 45%, rgba(12,44,85,0.4) 100%);
  z-index: 1;
}

.home-hero-redesign .hero-content-wrap {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.home-hero-redesign .hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid var(--ofc-gold);
  color: var(--ofc-gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
}

.home-hero-redesign .hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.home-hero-redesign .hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.home-hero-redesign .hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-hero-redesign .hero-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--ofc-gold);
  color: var(--ofc-dark);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.home-hero-redesign .hero-btn-primary:hover {
  background: var(--ofc-gold-light);
  color: var(--ofc-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.home-hero-redesign .hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.home-hero-redesign .hero-btn-secondary:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.home-hero-redesign .hero-visual {
  position: relative;
  z-index: 2;
}

.home-hero-redesign .hero-visual img {
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

/* Quick Features Strip */
.home-quick-strip {
  margin-top: -2.5rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.home-quick-strip .strip-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 24px rgba(12,44,85,0.08);
  transition: all 0.35s ease;
  border: 1px solid rgba(12,44,85,0.06);
}

.home-quick-strip .strip-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(12,44,85,0.15);
}

.home-quick-strip .strip-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--ofc-navy), var(--ofc-navy-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.home-quick-strip .strip-title {
  font-weight: 600;
  color: var(--ofc-navy);
  font-size: 1.1rem;
}

/* Calculator Section Redesign */
.home-calc-section {
  background: var(--ofc-cream);
  padding: 4rem 0;
}

.home-calc-box {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(12,44,85,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .home-calc-box { grid-template-columns: 1fr; }
}

.home-calc-box .calc-left {
  padding: 2.5rem;
  border-right: 1px solid #eee;
}

.home-calc-box .calc-tabs {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.home-calc-box .calc-tab {
  font-weight: 600;
  color: #999;
  cursor: pointer;
  padding-bottom: 0.5rem;
}

.home-calc-box .calc-tab.active {
  color: var(--ofc-gold);
  border-bottom: 3px solid var(--ofc-gold);
}

.home-calc-box .calc-right {
  padding: 2.5rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.home-calc-box .calc-result-card {
  text-align: center;
  padding: 1.25rem;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid #eee;
}

.home-calc-box .calc-result-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ofc-navy);
}

.home-calc-box .calc-result-label {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.home-calc-box .form-control, .home-calc-box select {
  border-radius: 8px;
  border: 1px solid #ddd;
}

.home-calc-box .calc-btn-apply {
  background: linear-gradient(135deg, var(--ofc-gold), #b8921f);
  color: var(--ofc-dark);
  font-weight: 600;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 8px;
  width: 100%;
  transition: all 0.3s ease;
}

.home-calc-box .calc-btn-apply:hover {
  background: linear-gradient(135deg, var(--ofc-gold-light), var(--ofc-gold));
  transform: translateY(-2px);
}

/* Solutions Section */
.home-solutions .section-badge {
  display: inline-block;
  color: var(--ofc-gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.home-solutions .section-title-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--ofc-navy);
  font-weight: 700;
}

.home-solutions .solution-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.35s ease;
  border: 1px solid rgba(12,44,85,0.06);
  box-shadow: 0 4px 20px rgba(12,44,85,0.05);
}

.home-solutions .solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(12,44,85,0.12);
  border-color: rgba(201, 162, 39, 0.3);
}

.home-solutions .solution-card img {
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.home-solutions .solution-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ofc-navy);
  margin-bottom: 0.5rem;
}

/* Who We Are Section */
.home-about-section {
  background: linear-gradient(180deg, #fff 0%, var(--ofc-cream) 100%);
  padding: 5rem 0;
}

.home-about-section .about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(12,44,85,0.15);
}

.home-about-section .about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overview CTA Section */
.home-cta-section {
  background: linear-gradient(135deg, var(--ofc-navy) 0%, var(--ofc-navy-light) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.home-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('../images/trust-security-banking.jpg') right/cover no-repeat;
  opacity: 0.2;
}

.home-cta-section .overview-content h3 {
  color: #fff !important;
}

.home-cta-section .overview-content span {
  color: var(--ofc-gold) !important;
}

.home-cta-section .default-btn {
  background: var(--ofc-gold) !important;
  color: var(--ofc-dark) !important;
  border: none;
}

.home-cta-section .optional-btn {
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff !important;
}

.home-cta-section .optional-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}
