:root {
  --blue: #002EFE;
  --gold: #C5A021;
  --white: #FFFFFF;
  --dark-gray: #2A2A2A;
  --swiss-red: #FF0000;
  --bg-glass: rgba(255, 255, 255, 0.1);
  --bg-glass-dark: rgba(42, 42, 42, 0.1);
  --text-color: #2A2A2A;
  --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --backdrop: backdrop-filter: blur(10px);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: #F5F5F5;
  color: var(--text-color);
  line-height: 1.6;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}



.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link.active {
  color: var(--blue);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
}

/* Hero Video Section */
.hero-video-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 46, 254, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
}

.swiss-flag-container {
  margin-bottom: 15px;
}

.swiss-flag {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slogan-animated {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark-gray);
  box-shadow: 0 4px 15px rgba(197, 160, 33, 0.4);
}

.btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 33, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--dark-gray);
  transform: translateY(-2px);
}

/* Main Content */
.main-content {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--dark-gray);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--blue);
}

/* Premium Card */
.premium-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: 0.3s;
  box-shadow: var(--shadow);
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.37);
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.feature-card p {
  color: #666;
}

/* Mortgage Section */
.mortgage-section {
  padding: 4rem 0;
  background: #fff;
}

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

.mortgage-card {
  background: var(--bg-glass-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(42, 42, 42, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  transition: 0.3s;
}

.mortgage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mortgage-card h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.mortgage-card p {
  color: #666;
  font-size: 0.9rem;
}

/* Diversity Section */
.diversity-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

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

.diversity-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: 0.3s;
}

.diversity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.diversity-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.diversity-card p {
  opacity: 0.9;
}

.placeholder-image {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Page Specific Styles */
.about-hero, .partnership-hero, .why-hero, .contact-hero, .legal-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.about-hero .hero-title, .partnership-hero .hero-title, .why-hero .hero-title, .contact-hero .hero-title, .legal-hero .hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero .hero-subtitle, .partnership-hero .hero-subtitle, .why-hero .hero-subtitle, .contact-hero .hero-subtitle, .legal-hero .hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-content, .partnership-content, .why-content, .contact-content, .legal-content {
  padding: 4rem 0;
}

.about-grid, .partnership-grid, .why-grid, .contact-grid, .legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.about-card h3, .partnership-card h3, .why-card h3, .contact-info h3, .legal-card h3 {
  color: var(--blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-card ul, .partnership-card ul, .why-card ul {
  list-style: none;
  padding-left: 0;
}

.about-card li, .partnership-card li, .why-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  padding-left: 1.5rem;
}

.about-card li::before, .partnership-card li::before, .why-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

/* Testimonials */
.testimonials-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

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

.testimonial-card {
  background: white;
  box-shadow: var(--shadow);
}

.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #333;
}

.testimonial-card cite {
  font-weight: 600;
  color: var(--blue);
}

/* Comparison Table */
.comparison-section {
  padding: 4rem 0;
  background: white;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.comparison-row {
  display: contents;
}

.comparison-cell {
  padding: 1.5rem;
  background: white;
  border-bottom: 1px solid #eee;
}

.comparison-cell:first-child {
  font-weight: 600;
  color: var(--dark-gray);
  background: #f8f9fa;
}

/* Case Studies */
.case-studies {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.case-study-card h3 {
  color: var(--blue);
  margin-bottom: 1rem;
}

.case-study-card p {
  margin-bottom: 0.5rem;
  color: #666;
}

/* Contact Form */
.contact-form form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 46, 254, 0.1);
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile .nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-mobile .nav-link {
  font-size: 2rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav {
    display: none;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .slogan-animated {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-hero .hero-title, .partnership-hero .hero-title, .why-hero .hero-title, .contact-hero .hero-title, .legal-hero .hero-title {
    font-size: 2rem;
  }
  
  .comparison-table {
    grid-template-columns: 1fr;
  }
  
  .comparison-cell {
    border-bottom: none;
    border-right: 1px solid #eee;
  }
  
  .comparison-cell:nth-child(3n) {
    border-right: none;
  }
}

/* Brand Icon Styles */
.brand-icon-section {
  padding: 2rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.brand-icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.brand-icon {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.brand-icon:hover {
  transform: scale(1.05);
}

/* Lottie Animation Styles */
.lottie-logo {
  width: 100px;
  height: 100px;
}

.lottie-logo-loop {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.5;
}

/* Animation Classes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-card, .feature-card, .diversity-card, .testimonial-card, .case-study-card {
  animation: fadeIn 0.6s ease-out;
}

/* Scroll Animation */
@media (prefers-reduced-motion: no-preference) {
  .premium-card, .feature-card, .diversity-card, .testimonial-card, .case-study-card {
    animation: none;
  }
  
  .premium-card:hover, .feature-card:hover, .diversity-card:hover, .testimonial-card:hover, .case-study-card:hover {
    animation: fadeIn 0.3s ease-out;
  }
}