/* 
   TikiTiki MFN - Financial Consulting
   CSS Stylesheet
*/

/* ===== CSS Variables ===== */
:root {
  /* Primary Colors - Complementary Scheme */
  --primary: #2e5bff;
  --primary-dark: #1942d1;
  --primary-light: #5379ff;
  --secondary: #ff7e2e;
  --secondary-dark: #e05f14;
  --secondary-light: #ff9c5e;
  
  /* Neutral Colors */
  --dark: #1a1a2e;
  --dark-medium: #2d2d44;
  --medium: #555;
  --light-medium: #f0f2f5;
  --light: #ffffff;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #ffffff;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-medium);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: var(--space-sm);
}

/* ===== Layout & Containers ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

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

/* ===== Button Styles ===== */
.btn-primary, .btn-secondary, button, input[type="submit"] {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-align: center;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text-light);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  height: 80px;
}

.logo a {
  font-family: 'Manrope', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-menu ul {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-medium);
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a:hover::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--dark);
  transition: all var(--transition-medium);
}

/* ===== Hero Section ===== */
.hero-section {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  height: calc(100vh - 80px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-content .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-md);
}

.hero-text h1 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s var(--transition-medium) both;
}

.hero-text p {
  color: var(--text-light);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s var(--transition-medium) 0.2s both;
}

.hero-text .btn-primary {
  animation: fadeInUp 1s var(--transition-medium) 0.4s both;
}

/* ===== Mission Section ===== */
.mission-section {
  background-color: var(--light);
}

.mission-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.mission-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.mission-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  object-fit: cover;
}

.mission-text {
  flex: 1;
  min-width: 300px;
}

/* ===== Methodology Section ===== */
.methodology-section {
  background-color: var(--light-medium);
}

.methodology-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.methodology-text {
  flex: 1;
  min-width: 300px;
}

.methodology-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.methodology-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  object-fit: cover;
}

.methodology-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--space-md);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

/* ===== History Section ===== */
.history-section {
  background-color: var(--light);
}

.history-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  align-items: center;
}

.history-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.history-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
  object-fit: cover;
}

.history-text {
  flex: 1;
  min-width: 300px;
}

/* ===== Resources Section ===== */
.resources-section {
  background-color: var(--light-medium);
}

.resources-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.resource-card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.resource-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  text-align: center;
}

.resource-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.resource-card:hover .card-image img {
  transform: scale(1.05);
}

.resource-card .card-content {
  padding: var(--space-md);
  text-align: center;
  flex: 1;
}

.resource-card .card-content h3 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.resource-card .card-content a {
  color: var(--secondary);
  font-weight: 500;
  display: inline-block;
  margin-top: var(--space-sm);
  position: relative;
}

.resource-card .card-content a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width var(--transition-medium);
}

.resource-card .card-content a:hover {
  color: var(--secondary-dark);
}

.resource-card .card-content a:hover::after {
  width: 100%;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
  background-color: var(--light);
  overflow: hidden;
}

.testimonials-carousel {
  display: flex;
  transition: transform var(--transition-medium);
  margin-bottom: var(--space-md);
}

.testimonial-card {
  min-width: 100%;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 5px solid var(--primary-light);
  box-shadow: var(--shadow-md);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  max-width: 800px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-md);
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  color: var(--primary-light);
  font-size: 2rem;
  font-family: serif;
}

.testimonial-author {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 1.2rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.prev-btn,
.next-btn {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--transition-medium);
}

.prev-btn:hover,
.next-btn:hover {
  background-color: var(--primary-dark);
}

/* ===== News Section ===== */
.news-section {
  background-color: var(--light-medium);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-md);
}

.news-card {
  background-color: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-card .card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  text-align: center;
}

.news-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .card-image img {
  transform: scale(1.05);
}

.news-card .card-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card .card-content h3 {
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.news-date {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

/* ===== Contact Section ===== */
.contact-section {
  background-color: var(--light);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.info-item {
  margin-bottom: var(--space-md);
}

.info-label {
  display: block;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.contact-hours {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--light-medium);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background-color: var(--light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: 'Rubik', sans-serif;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(46, 91, 255, 0.2);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--dark);
  color: var(--text-light);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo h3 {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4, 
.footer-social h4, 
.footer-contact h4 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

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

.footer-links ul li {
  margin-bottom: var(--space-xs);
}

.footer-links ul li a {
  color: var(--light-medium);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--primary-light);
}

.footer-social {
  flex: 1;
  min-width: 200px;
}

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

.footer-social ul li {
  margin-bottom: var(--space-xs);
}

.footer-social ul li a {
  color: var(--light-medium);
  transition: color var(--transition-fast);
}

.footer-social ul li a:hover {
  color: var(--primary-light);
}

.footer-contact {
  flex: 1;
  min-width: 200px;
}

.footer-contact p {
  color: var(--light-medium);
  margin-bottom: var(--space-xs);
}

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

.footer-bottom p {
  color: var(--light-medium);
}

/* ===== Modal Styles ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.modal-content {
  background-color: var(--light);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalFadeIn 0.4s var(--transition-medium) forwards;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
  transition: color var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content h2 {
  background-color: var(--primary);
  color: var(--text-light);
  margin: 0;
  padding: var(--space-md);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.modal-body {
  padding: var(--space-md);
}

.modal-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.seminar-details,
.services-details,
.expansion-details {
  max-width: 800px;
}

.seminar-details h3,
.services-details h3,
.expansion-details h3 {
  color: var(--primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.seminar-details ul,
.services-details ul,
.expansion-details ul {
  margin-bottom: var(--space-md);
}

.seminar-details .btn-primary,
.services-details .btn-primary,
.expansion-details .btn-primary {
  margin-top: var(--space-md);
}

/* ===== Success Page ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.success-content {
  max-width: 600px;
  background-color: var(--light);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 2.5rem;
}

.success-title {
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.success-message {
  margin-bottom: var(--space-lg);
}

/* ===== About, Privacy & Terms Pages ===== */
.page-content {
  padding-top: 120px;
  padding-bottom: var(--space-lg);
}

.page-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.page-section {
  margin-bottom: var(--space-lg);
}

.page-section h3 {
  color: var(--primary);
  margin-bottom: var(--space-md);
}

/* ===== Cookie Consent ===== */
#cookie-consent {
  transition: opacity var(--transition-medium);
}

#accept-cookies:hover {
  background-color: #3a8a3d;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ===== Responsive Styles ===== */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .navbar {
    height: 70px;
  }
  
  .hero-section {
    padding-top: 70px;
  }
  
  .hero-content {
    height: calc(100vh - 70px);
  }
}

@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--light);
    transition: left var(--transition-medium);
    z-index: 100;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: var(--space-md);
    height: 100%;
  }
  
  .nav-menu ul li {
    margin-bottom: var(--space-md);
  }
  
  .burger-menu {
    display: flex;
    z-index: 101;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .mission-content,
  .methodology-content,
  .history-content {
    flex-direction: column;
  }
  
  .methodology-text {
    order: 1;
  }
  
  .methodology-image {
    order: 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  section {
    padding: var(--space-md) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-text {
    padding: var(--space-sm);
  }
  
  .news-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .card-image {
    height: 200px;
  }
}