/* === GLOBAL STYLES === */
:root {
  --dark-bg: #121212;
  --primary-dark: #1E1E1E;
  --accent-gold: #D4AF37;
  --accent-teal: #008080;
  --text-light: #F5F5F5;
  --text-secondary: #BBBBBB;
  --highlight-2025: #FF6F61;
  --sage-green-2025: #9CAF88;
  --deep-purple-2025: #5D3E5D;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  color: var(--accent-gold);
}

h2 {
  font-size: 2rem;
  color: var(--accent-gold);
  position: relative;
  padding-bottom: 0.5rem;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--highlight-2025);
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
  color: var(--sage-green-2025);
}

h4 {
  font-size: 1.5rem;
  color: var(--text-light);
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
}

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

a:hover {
  color: var(--accent-gold);
}

.text-highlight {
  color: var(--highlight-2025);
}

.text-gold {
  color: var(--accent-gold);
}

.text-teal {
  color: var(--accent-teal);
}

.text-center {
  text-align: center;
}

.section {
  padding: 4rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-teal);
  color: var(--text-light);
  border-color: var(--accent-teal);
}

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

.btn-secondary {
  background-color: var(--accent-gold);
  color: var(--dark-bg);
  border-color: var(--accent-gold);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--accent-gold);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--dark-bg);
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background-color: rgba(18, 18, 18, 0.9);
  height: 100px;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  height: 50px;
}

.navbar-menu {
  display: none;
}

.navbar-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  margin-left: 2rem;
}

.navbar-links a {
  color: var(--text-light);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 0;
}

.navbar-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.navbar-links a:hover:after,
.navbar-links a.active:after {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: block;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--primary-dark);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 1.5rem 0;
}

.mobile-menu a {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 600;
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
  
  .navbar-menu {
    display: block;
  }
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  animation: fadeIn 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  animation: fadeIn 1s ease-out 0.4s forwards;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
}

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

/* === CIRCULAR SECTIONS === */
.circular-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.circle {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.circle:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.circle:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-teal) 0%, transparent 50%);
  opacity: 0.2;
  border-radius: 50%;
}

.circle-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.circle-title {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.circle-text {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .circles-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
  
  .circle-container {
    flex: 0 0 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (min-width: 992px) {
  .circle-container {
    flex: 0 0 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
  }
}

/* === FEATURES SECTION === */
.features {
  background-color: var(--primary-dark);
  padding: 5rem 0;
}

.feature-card {
  background-color: rgba(30, 30, 30, 0.5);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .feature-card {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === CTA SECTION === */
.cta {
  background-color: var(--deep-purple-2025);
  padding: 5rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

/* === CONTACT FORM === */
.contact-form {
  background-color: var(--primary-dark);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
}

/* intl-tel-input customization */
.iti {
  width: 100%;
}

.iti__flag-container:hover .iti__selected-flag {
  background-color: rgba(0, 0, 0, 0.05);
}

/* === FOOTER === */
.footer {
  background-color: var(--primary-dark);
  padding: 4rem 0 2rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-info {
  margin-bottom: 2rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--accent-gold);
  font-size: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* === PAGE SPECIFIC STYLES === */
/* Main Page */
.mission {
  position: relative;
  padding: 5rem 0;
  background-color: var(--primary-dark);
}

.mission:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/circular-finance.jpg') center/cover no-repeat;
  opacity: 0.1;
}

.mission-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Services Page */
.service-detail {
  padding: 4rem 0;
}

.service-header {
  text-align: center;
  margin-bottom: 3rem;
}

.service-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contacts Page */
.contact-info {
  margin-bottom: 3rem;
}

.contact-card {
  background-color: var(--primary-dark);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-right: 1.5rem;
}

.contact-card-content h4 {
  margin-bottom: 0.5rem;
}

.contact-card-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Thank You Page */
.thank-you {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.thank-you i {
  font-size: 5rem;
  color: var(--accent-gold);
  margin-bottom: 2rem;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  padding: 1.5rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-text {
  margin-bottom: 1.5rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-settings {
  background-color: rgba(30, 30, 30, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  display: none;
}

.cookie-settings.show {
  display: flex;
}

.cookie-settings-content {
  background-color: var(--primary-dark);
  width: 90%;
  max-width: 600px;
  border-radius: 10px;
  padding: 2rem;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-settings-close {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.cookie-category-title {
  margin-bottom: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-light);
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent-teal);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.necessary-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

.cookie-category-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cookie-settings-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

.slide-in-right {
  animation: slideInRight 1s ease-out forwards;
}

.zoom-in {
  animation: zoomIn 1s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Parallax effect */
.jarallax {
  position: relative;
  z-index: 0;
}

.jarallax > .jarallax-img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* WOW.js default hidden state */
.wow {
  visibility: hidden;
}