/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Row and columns */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
  padding: 0 15px;
}

.col-lg-12 { width: 100%; }
.col-lg-6 { width: 50%; }
.col-lg-4 { width: 33.333333%; }
.col-lg-3 { width: 25%; }
.col-lg-8 { width: 66.666667%; }
.col-lg-7 { width: 58.333333%; }
.col-lg-5 { width: 41.666667%; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #2f5577;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* Links */
a {
  color: #2f5577;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #254969;
  text-decoration: none;
}

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.m-auto { margin: auto; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }

/* Spacing */
.space6 { height: 0.375rem; }
.space10 { height: 0.625rem; }
.space14 { height: 0.875rem; }
.space16 { height: 1rem; }
.space20 { height: 1.25rem; }
.space24 { height: 1.5rem; }
.space30 { height: 1.875rem; }
.space40 { height: 2.5rem; }

.sp3 { padding: 80px 0; }

/* Theme loader */
.theme-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  display: flex;
  gap: 0.5rem;
}

.spinner-bounce {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  animation: bounce 1.4s ease-in-out infinite both;
}

.spinner-bounce.one { 
  animation-delay: -0.32s; 
  background: #3b82f6;
}

.spinner-bounce.two { 
  animation-delay: -0.16s; 
  background: #fbbf24;
}

.spinner-bounce.three { 
  background: white;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Header */
.header-area {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0;
}

.header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo img {
  height: 40px;
  width: auto;
}

/* Navigation */
.main-menu-ex ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-menu-ex li a {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.main-menu-ex li a:hover {
  color: #2f5577;
}

.main-menu-ex li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2f5577;
  transition: width 0.3s ease;
}

.main-menu-ex li a:hover::after {
  width: 100%;
}

/* Dropdown menus */
.main-menu-ex li {
  position: relative;
}

.main-menu-ex li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border-radius: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  flex-direction: column;
  gap: 0;
}

.main-menu-ex li:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-menu-ex li ul li {
  width: 100%;
}

.main-menu-ex li ul li a {
  padding: 0.5rem 1.5rem;
  color: #666;
  display: block;
  border-bottom: none;
}

.main-menu-ex li ul li a:hover {
  background: #f8fafc;
  color: #2f5577;
}

.main-menu-ex li ul li a::after {
  display: none;
}

/* Language selector */
.language-selector .language-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.language-selector .language-btn:hover {
  background: #2f5577;
  color: white;
  border-color: #2f5577;
}

.language-dropdown {
  position: relative;
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  border-radius: 0.5rem;
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  z-index: 100;
}

.language-dropdown:hover .language-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  color: #666;
  transition: all 0.3s ease;
}

.language-option:hover {
  background: #f8fafc;
  color: #2f5577;
}

.language-option.active {
  color: #2f5577;
  font-weight: 500;
}

/* Flag icons */
.flag-icon {
  width: 20px;
  height: 15px;
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  border-radius: 2px;
}

.flag-ee {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjUiIGZpbGw9IiMwMDcyQ0UiLz4KPHJlY3QgeT0iNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjUiIGZpbGw9IiMwMDAwMDAiLz4KPHJlY3QgeT0iMTAiIHdpZHRoPSIyMSIgaGVpZ2h0PSI1IiBmaWxsPSIjRkZGRkZGIi8+Cjwvc3ZnPgo=');
}

.flag-se {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjE1IiBmaWxsPSIjMDA2QUE3Ii8+CjxyZWN0IHg9IjYiIHdpZHRoPSIzIiBoZWlnaHQ9IjE1IiBmaWxsPSIjRkVDQzAwIi8+CjxyZWN0IHk9IjYiIHdpZHRoPSIyMSIgaGVpZ2h0PSIzIiBmaWxsPSIjRkVDQzAwIi8+Cjwvc3ZnPgo=');
}

.flag-gb {
 background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 3'><path fill='%23012169' d='M0 0h4v3H0z'/><path stroke='%23fff' stroke-width='0.6' d='M0 0l4 3M4 0L0 3'/><path stroke='%23C8102E' stroke-width='0.4' d='M0 0l4 3M4 0L0 3'/><path stroke='%23fff' stroke-width='1' d='M2 0v3M0 1.5h4'/><path stroke='%23C8102E' stroke-width='0.6' d='M2 0v3M0 1.5h4'/></svg>");
}

/* Who we help section styles */
.who-we-help {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.help-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2f5577;
  margin-bottom: 1.5rem;
}

.help-features {
  margin-top: 2rem;
}

.help-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07);
  transition: all 0.3s ease;
}

.help-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.help-feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2f5577, #254969);
  color:white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-feature-icon i {
  color: white;
  font-size: 1.25rem;
}

.help-feature-content h5 {
  color: #2f5577;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.help-feature-content p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
}

.commitment-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(47, 85, 119, 0.1);
  border: 1px solid rgba(47, 85, 119, 0.1);
  position: relative;
  overflow: hidden;
}

.commitment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #2f5577, #254969);
}

.commitment-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2f5577, #254969);
  color:white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.commitment-icon i {
  color: white;
  font-size: 1.75rem;
}

.commitment-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.commitment-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.commitment-highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: #2f5577;
}

.commitment-highlight i {
  color: #10b981;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .who-we-help {
    padding: 3rem 0;
  }

  .help-content h2 {
    font-size: 2rem;
  }

  .commitment-card {
    margin-top: 2rem;
    padding: 2rem;
  }

  .help-feature-item {
    padding: 0.75rem;
  }
}

/* Projektide detailide nupp */
.project-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #2f5577;
  color: white !important;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.project-details-btn:hover {
  background: #254969;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(47, 85, 119, 0.3);
}

.project-details-btn span {
  transition: transform 0.3s ease;
}

.project-details-btn:hover span {
  transform: translateX(5px);
}

/* Expertise section styles */
.expertise-box {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 15px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.expertise-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.expertise-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.expertise-icon i {
  font-size: 30px;
  color: #fff;
}

.expertise-box h4 {
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.expertise-box p {
  color: #666;
  line-height: 1.6;
}

.expertise-summary {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Principles section styles */
.principle-box {
  padding: 30px 25px;
  background: #fff;
  border-radius: 12px;
  height: 100%;
  transition: all 0.3s ease;
  border-left: 4px solid #007bff;
  box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.principle-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-left-color: #0056b3;
}

.principle-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.principle-icon i {
  font-size: 24px;
  color: #007bff;
}

.principle-box h4 {
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.principle-box p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 0;
}

.principles-summary {
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-style: italic;
}

/* Mobile language selector improvements */
.mobile-language-selector {
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
  margin-top: 1rem;
}

.mobile-languages {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  color: #666;
  transition: color 0.3s ease;
}

.mobile-lang-option:hover {
  color: #2f5577;
}

.mobile-lang-option.active {
  color: #2f5577;
  font-weight: 500;
}

/* Buttons */
.button-h-2, .btnfos2, .btn-primary {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  padding: 0.875rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px -3px rgba(47, 85, 119, 0.4);
  display: inline-block;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  min-height: 44px; /* Touch-friendly minimum size */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-h-2:hover, .btnfos2:hover, .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(47, 85, 119, 0.5);
  color: white;
  text-decoration: none;
}

.button-h2-2, .btnfos3, .btnfos4, .btn-secondary {
  background: transparent;
  border: 2px solid #2f5577;
  color: #2f5577;
  padding: 0.875rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.button-h2-2:hover, .btnfos3:hover, .btnfos4:hover, .btn-secondary:hover {
  background: #2f5577;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(47, 85, 119, 0.3);
  text-decoration: none;
}

.button2 {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  width: 100%;
}

.button2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* Mobile header */
.mobile-header {
  background: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.mobile-logo img {
  height: 35px;
  width: auto;
}

.mobile-nav-icon {
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 300px;
  height: 100vh;
  background: #2f5577;
  color: white;
  transition: left 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  padding: 2rem 0;
}

.mobile-sidebar.active,
.mobile-sidebar.mobile-menu-active {
  left: 0 !important;
  transform: translateX(0) !important;
}

.mobile-sidebar.active {
  left: 0;
}

.menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li a {
  color: white;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
  transition: all 0.3s ease;
}

.mobile-nav li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-menu-button {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #333;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  margin: 1rem 2rem;
  display: block;
  text-align: center;
}

.mobile-menu-button:hover {
  color: #333;
}

/* Header Styles */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(47, 85, 119, 0.1);
  transition: all 0.3s ease;
}

.header-elements {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo img {
  height: 45px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(2px 3px 2px #e7ecf3);
}

.site-logo:hover img {
  transform: scale(1.05);
}

.main-navigation .main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  color: #2f5577;
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-menu a:hover {
  color: #1e3a52;
}

/* Dropdown menu styles */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(47, 85, 119, 0.15);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  list-style: none;
  margin: 0;
  border: 1px solid rgba(47, 85, 119, 0.1);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #2f5577;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(47, 85, 119, 0.05);
}

.dropdown-menu a:hover {
  background: rgba(47, 85, 119, 0.05);
  color: #1e3a52;
  padding-left: 2rem;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.has-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 1rem 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  list-style: none;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  color: #666;
}

.dropdown-menu a:hover {
  background: #f8fafc;
  color: #2f5577;
}

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

.language-selector {
  position: relative;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-btn:hover {
  border-color: #2f5577;
}

.mobile-menu-toggle {
  display: none;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  background: #2f5577;
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding-top: 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232f5577' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") no-repeat center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(47, 85, 119, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2f5577;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(135deg, #2f5577 0%, #4a90a4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #2f5577;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Ikoonide ja teksti vahelised tühikud */
.btn-primary i + span,
.btn-secondary i + span,
.button-h-2 i + span,
.button-h2-2 i + span {
  margin-left: 0.5rem;
}

.mobile-menu-button i {
  margin-right: 0.5rem;
}

.hero-trust-indicators {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #666;
  font-size: 0.95rem;
}

.trust-item i {
  color: #10b981;
  font-size: 1.1rem;
}

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

.hero-image-wrapper {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.hero-image-main {
  position: relative;
  z-index: 3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(47, 85, 119, 0.3);
}

.hero-image-main {
  position: relative;
  overflow: hidden;
}

.hero-image-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 1s ease-in-out;
}

/* Hero image slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: auto;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide:first-child {
  position: relative;
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}



.hero-benefits-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  max-width: 250px;
  z-index: 4;
}

.hero-benefits-card h4 {
  margin-bottom: 1rem;
  color: #2f5577;
  font-size: 1.1rem;
}

.hero-benefits-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-benefits-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.hero-benefits-card i {
  color: #10b981;
  font-size: 0.8rem;
}

.main-hadding2 .span {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.main-hadding2 h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2f5577;
  line-height: 1.1;
}

.main-hadding2 p {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.6;
}

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

.hero2-image-all1 {
  position: relative;
}

.hero2-img1, .hero2-img2, .hero2-img3 {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.hero2-img1 img, .hero2-img2 img, .hero2-img3 img {
  width: 100%;
  height: auto;
  display: block;
}

.img100 img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.border-70 img, .border-80 img {
  border-radius: 1rem;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* Üldised responsiivsed pildistiilid */
img {
  max-width: 100%;
  height: auto;
}

/* About section */
.about2 {
  padding: 5rem 0;
}

.about2-images {
  position: relative;
}

.about2-img1 {
  position: absolute;
  top: -20px;
  left: -20px;
  opacity: 0.6;
}

.about2-img2 {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
}

.about2-img2 img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.hadding2 .span {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.hadding2 h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2f5577;
}

.hadding2 p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.after2 {
  position: relative;
}

.after2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #fbbf24;
  border-radius: 2px;
}

/* Choose section */
.choose2 {
  padding: 5rem 0;
  background: #f8fafc;
}

/* Service boxes */
.service2-box {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  height: 100%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service2-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service2-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgba(47, 85, 119, 0.25);
  border-color: #2f5577;
}

.service2-box:hover::before {
  opacity: 1;
}

/* Service header with icon and title inline */
.service2-hadding {
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Ühtne stiil kõikidele boksidele - ikoon enne pealkirja */
.service2-box .service2-hadding {
  display: flex;
  flex-direction: column;
}

.service2-box .service2-hadding .serivce2-icon {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  color: #2f5577;
  flex-shrink: 0;
  margin-bottom: 0;
}

.service2-box .service2-hadding h4 {
  color: #2f5577;
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  flex: 1;
  display: inline;
  margin-left: 1rem;
}

/* Ikoon ja pealkiri ühel real */
.service2-box .service2-hadding .service-header-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.serivce2-icon {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  color: #2f5577;
  flex-shrink: 0;
}

.service2-box:hover .serivce2-icon {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
}

.service2-hadding h4 {
  color: #2f5577;
  margin: 0;
  font-weight: 600;
  font-size: 1.25rem;
  flex: 1;
}

.service2-hadding p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more-btn {
  color: #2f5577;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.read-more-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2f5577;
  transition: width 0.3s ease;
}

.read-more-btn:hover::after {
  width: 100%;
}

/* Dark sections */
.bg-primary {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%) !important;
  color: white;
}

.bg-primary .service2-box {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.3);
}

.bg-primary .service2-box:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.bg-primary .serivce2-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.bg-primary .service2-box:hover .serivce2-icon {
  background: rgba(255, 255, 255, 0.9);
  color: #2f5577;
}

.bg-primary .service2-hadding h4,
.bg-primary .service2-hadding p {
  color: white;
}

.bg-primary .read-more-btn-w {
  color: white;
}

/* Kõigi ikoonide ühtne stiil - eemaldame kollase värvi override */
.service2-box .serivce2-icon.text-warning,
.service2-box .serivce2-icon i.text-warning,
.service2-box .serivce2-icon svg {
  color: #2f5577 !important;
}

/* Hover korral kõik ikoonid valgeteks sinistel taustadel */
.bg-primary .service2-box:hover .serivce2-icon i,
.bg-primary .service2-box:hover .serivce2-icon,
.bg-primary .service2-box:hover .serivce2-icon svg {
  color: #2f5577 !important;
}

/* Tavalistel taustadel hover korral siniseks */
.service2-box:hover .serivce2-icon i,
.service2-box:hover .serivce2-icon,
.service2-box:hover .serivce2-icon svg {
  color: white !important;
}

.hadding2-w .span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Üldine span stiil tume taustaga sektsioonidele */
.bg-primary .span,
.bg-primary .hadding2-w .span {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.hadding2-w h1 {
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hadding2-w p {
  color: rgba(255, 255, 255, 0.95);
}

.read-more-btn-w {
  color: white;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.read-more-btn-w:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.read-more-btn-w::after {
  display: none;
}

/* Counter boxes */
.counter-boxs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.counter2-box {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 1rem;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-width: 250px;
  text-align: center;
  box-shadow: 0 8px 25px -8px rgba(47, 85, 119, 0.15);
}

.counter2-box:hover {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px -10px rgba(47, 85, 119, 0.4);
  border-color: #2f5577;
}

.counter2-box h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #2f5577;
  transition: color 0.4s ease;
  margin: 0;
  line-height: 1;
}

.counter2-box:hover h2 {
  color: white;
}

.counter2-box p {
  color: #666;
  transition: color 0.4s ease;
  margin: 0;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.3;
}

.counter2-box:hover p {
  color: white;
}

/* Team advisor section */
.team-advisor {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 6rem 0;
  position: relative;
}

.team-advisor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/img/shapes/home2-main-shape.svg') no-repeat center;
  opacity: 0.05;
  z-index: 1;
}

.advisor-content {
  position: relative;
  z-index: 2;
}

.advisor-name {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #2f5577;
  line-height: 1.2;
}

.advisor-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #254969;
  position: relative;
}

.advisor-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #fbbf24;
  border-radius: 2px;
}

.advisor-description {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: #555;
  max-width: 500px;
}

.advisor-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.advisor-btn {
  margin-bottom: 0.5rem;
  min-width: 200px;
}

.advisor-image {
  position: relative;
  z-index: 2;
}

.advisor-image img {
  max-width: 450px;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px -10px rgba(47, 85, 119, 0.3);
  transition: transform 0.3s ease;
}

.advisor-image:hover img {
  transform: scale(1.02);
}

/* CTA section */
.cta2 {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/assets/img/bg/cta2-bg.png') center/cover;
  opacity: 0.1;
}

.section-padding {
  padding: 5rem 0;
}

.header2-buttons2 {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Projects section */
.projects {
  padding: 5rem 0;
}

.project-all-box {
  position: relative;
  margin-bottom: 2rem;
}

.project-img {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.project-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-box {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  margin: -3rem 1rem 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  border: 1px solid #e2e8f0;
}

.project-all-box:hover .project-box {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.project-hadding h4 {
  margin-bottom: 1rem;
}

.project-hadding h4 a {
  color: #2f5577;
  font-weight: 600;
}

.project-button {
  display: flex;
  justify-content: flex-end;
}

/* Testimonial section */
.testimonial2 {
  background: #1a202c;
  color: white;
  padding: 5rem 0;
}

.bg-dark {
  background: #1a202c !important;
}

.testimonial-single-slider {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.testimonial2-slider-img {
  flex-shrink: 0;
}

.testimonial2-slider-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-stars ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  gap: 0.25rem;
}

.testimonial-stars li i {
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial2-hadding p {
  font-style: italic;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.slider1-bottom h4 a {
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
}

.slider1-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Blog section */
.blog2 {
  padding: 5rem 0;
}

.blog2-box-all {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.blog2-box-all:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.blog2-box-all.active {
  border-color: #2f5577;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.blog2-box-img {
  overflow: hidden;
}

.blog2-box-img img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog2-box-all:hover .blog2-box-img img {
  transform: scale(1.05);
}

.blog2-hadding {
  padding: 1.5rem;
}

.blog2-hadding ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.date2 {
  color: #999;
  font-size: 0.875rem;
  text-decoration: none;
}

.date2:hover {
  color: #2f5577;
}

.blog2-hadding h4 a {
  color: #2f5577;
  font-weight: 600;
  line-height: 1.4;
}

.blog2-hadding h4 a:hover {
  color: #254969;
}

/* Contact section */
.contact2 {
  position: relative;
  padding: 100px 0;
  background: var(--primary-color);
  z-index: 10;
  overflow: visible;
  min-height: auto;
}

.contact2-contacts {
  margin-top: 2rem;
}

.contact2-single {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact2-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.contact2-icon-hadding a {
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
}

.contact2-icon-hadding a:hover {
  color: #fbbf24;
}

.contact2-form-box-all {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 100;
}

.contact-form .hadding2 h1 {
  color: #fff;
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

.contact-input-signle {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-input-signle1 {
  flex-direction: column;
}

.contact-input input,
.contact-input textarea,
.contact-input select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.contact-input input:focus,
.contact-input textarea:focus,
.contact-input select:focus {
  outline: none;
  border-color: #2f5577;
  box-shadow: 0 0 0 3px rgba(47, 85, 119, 0.1);
}

.contact-input select {
  cursor: pointer;
}

.contact-input textarea {
  resize: vertical;
  min-height: 100px;
}

/* Footer Styles */
.modern-footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #2f5577 50%, transparent 100%);
}

.footer-main {
  padding: 4rem 0 2rem;
}

.footer-widget {
  height: 100%;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  filter: brightness(1.2);
      filter: drop-shadow(2px 3px 2px #000);
}

.footer-description {
  color: #cbd5e0;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-item i {
  color: #4a90a4;
  font-size: 1rem;
  width: 16px;
}

.contact-item a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: white;
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #2f5577, #4a90a4);
}

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

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

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links i {
  font-size: 0.7rem;
  opacity: 0.7;
}

.newsletter-description {
  color: #cbd5e0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.newsletter-form {
  margin-bottom: 2rem;
}

.newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: none;
  background: transparent;
  color: white;
  font-size: 0.9rem;
}

.newsletter-input-group input::placeholder {
  color: #a0aec0;
}

.newsletter-input-group input:focus {
  outline: none;
}

.newsletter-btn {
  background: linear-gradient(135deg, #2f5577 0%, #4a90a4 100%);
  border: none;
  padding: 0.875rem 1.25rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  background: linear-gradient(135deg, #254969 0%, #3a7a8a 100%);
}

.newsletter-privacy {
  color: #a0aec0;
  font-size: 0.75rem;
}

.newsletter-privacy i {
  color: #10b981;
  margin-right: 0.25rem;
}

.footer-social h5 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link.facebook {
  background: rgba(59, 89, 152, 0.2);
  color: #3b5998;
}

.social-link.facebook::before {
  background: #3b5998;
}

.social-link.linkedin {
  background: rgba(0, 119, 181, 0.2);
  color: #0077b5;
}

.social-link.linkedin::before {
  background: #0077b5;
}

.social-link.youtube {
  background: rgba(255, 0, 0, 0.2);
  color: #ff0000;
}

.social-link.youtube::before {
  background: #ff0000;
}

.social-link.twitter {
  background: rgba(29, 161, 242, 0.2);
  color: #1da1f2;
}

.social-link.twitter::before {
  background: #1da1f2;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  color: white;
  transform: translateY(-2px);
}

.social-link i {
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  margin: 0;
  color: #cbd5e0;
  font-size: 0.9rem;
}

.footer-legal {
  text-align: right;
}

.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
}

.footer-legal a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

  .service-header {
    flex-direction: row;
  }

  .serivce2-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .stat-item {
    min-width: 120px;
  }

  .hero-actions {
    justify-content: center;
    gap: 0.75rem;
  }

  .btn-hero {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .hero-benefits-card {
    position: static;
    margin-top: 2rem;
    max-width: 100%;
  }



  .service2-box {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .serivce2-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .service2-hadding h4 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .service2-hadding p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .footer-legal {
    text-align: center;
    margin-top: 1rem;
  }

  .footer-legal ul {
    justify-content: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-navigation {
    display: none;
  }

  .header-actions .cta-button {
    display: none;
  }

  .testimonial-single-slider {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .testimonial2-slider-img img {
    width: 60px;
    height: 60px;
  }

  .advisor-name {
    font-size: 2rem;
  }

  .advisor-title {
    font-size: 1.2rem;
  }

  .advisor-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .advisor-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .service-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .serivce2-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 0.5rem;
  }

  .service2-hadding h4 {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .service2-hadding p {
    text-align: center;
    font-size: 0.9rem;
  }

  .counter-boxs {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .counter2-box {
    min-width: auto;
    width: 100%;
    max-width: 250px;
  }

  /* Väga väikeste ekraanide jaoks */
  .about2-img2 img {
    max-width: 300px;
    width: 90%;
  }

  .about2 {
    padding: 2rem 0;
  }

  .container {
    padding: 0 10px;
  }
}

.padding-top {
  padding-top: 3rem;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.single-footer h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 1.25rem;
}

.single-footer p {
  color: #cbd5e0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

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

.footer-menu ul li a {
  color: #cbd5e0;
  transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
  color: white;
}

.mr50 {
  margin-right: 3rem;
}

.footer-subscribe-area {
  max-width: 400px;
}

.footer-contact-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.input-footer2 {
  flex: 1;
}

.input-footer2 input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #4a5568;
  border-radius: 0.5rem;
  background: #2d3748;
  color: white;
  font-size: 1rem;
}

.input-footer2 input::placeholder {
  color: #a0aec0;
}

.input-footer2 input:focus {
  outline: none;
  border-color: #2f5577;
  box-shadow: 0 0 0 3px rgba(47, 85, 119, 0.1);
}

.button-footer .button2 {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
  width: auto;
}

.copyright2 {
  border-top: 1px solid #4a5568;
  padding-top: 2rem;
  margin-top: 2rem;
}

.copyright-p {
  color: #cbd5e0;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.Conditions2 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.Conditions2 li a {
  color: #cbd5e0;
  font-size: 0.875rem;
}

.Conditions2 li a:hover {
  color: white;
}

.social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.social ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #4a5568;
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social ul li a:hover {
  background: #2f5577;
  color: white;
  transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 1024px) {
  .col-lg-12, .col-lg-6, .col-lg-4, .col-lg-3, .col-lg-8, .col-lg-7, .col-lg-5 {
    width: 100%;
    margin-bottom: 2rem;
  }

  .main-menu-ex {
    display: none;
  }

  .d-lg-none {
    display: block !important;
  }

  .d-none.d-lg-block {
    display: none !important;
  }

  .advisor-name {
    font-size: 2.2rem;
  }

  .advisor-title {
    font-size: 1.3rem;
  }

  .counter-boxs {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-hadding2 h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .header2-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    justify-content: center;
  }

  .button-h-2, .button-h2-2, .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
  }

  /* About2 sektsiooni mobiilne stiil */
  .about2-images {
    text-align: center;
    margin-bottom: 2rem;
  }

  .about2-img1 {
    display: none; /* Peida kujunduslik kuju mobiilis */
  }

  .about2-img2 {
    max-width: 100%;
    margin: 0 auto;
  }

  .about2-img2 img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 1rem;
    object-fit: cover;
  }

  .section-padding, .sp3 {
    padding: 3rem 0;
  }

  .service2-box {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }

  .counter-boxs {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .counter2-box {
    width: 100%;
    max-width: 280px;
    padding: 2rem 1.5rem;
  }

  .counter2-box h2 {
    font-size: 2.5rem;
  }

  .advisor-name {
    font-size: 2rem;
  }

  .advisor-title {
    font-size: 1.2rem;
  }

  .advisor-description {
    font-size: 1.1rem;
  }

  .advisor-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .advisor-btn {
    width: 100%;
    text-align: center;
  }

  .header2-buttons2 {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .testimonial-single-slider {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .contact-input-signle {
    flex-direction: column;
  }

  .footer-contact-input {
    flex-direction: column;
  }

  .footer-contact-input .button2 {
    margin-top: 0.5rem;
  }

  .copyright2 {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .social {
    justify-content: center;
  }

  .Conditions2 {
    justify-content: center;
  }

  .mr50 {
    margin-right: 0;
  }

  .text-right {
    text-align: center !important;
  }
}

/* Utility classes for colors */
.text-primary {
  color: #2f5577 !important;
}

.text-warning {
  color: #fbbf24 !important;
}

.text-white {
  color: white !important;
}

.bg-light {
  background: #f8fafc !important;
}

.bg-secondary {
  background: #f8fafc !important;
}

/* Additional visual improvements */
.section-padding {
  padding: 6rem 0;
}

.sp3 {
  padding: 6rem 0;
}

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Better text readability */
p {
  line-height: 1.7;
}

/* Theme button 2 - Contact form submit button */
.theme-btn2 {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
  color: white;
  padding: 0.875rem 2.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px -3px rgba(47, 85, 119, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  min-height: 44px;
}

.theme-btn2:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(47, 85, 119, 0.5);
  color: white;
  background: linear-gradient(135deg, #254969 0%, #1e3a52 100%);
}

.theme-btn2:focus {
  outline: 3px solid rgba(47, 85, 119, 0.3);
  outline-offset: 2px;
}

.theme-btn2 i {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* Focus states for accessibility */
.button-h-2:focus, .btn-primary:focus, .button-h2-2:focus, .btn-secondary:focus {
  outline: 3px solid rgba(47, 85, 119, 0.3);
  outline-offset: 2px;
}

/* Loading animation improvements */
.theme-loader {
  background: linear-gradient(135deg, #2f5577 0%, #254969 100%);
}

/* Additional utility classes */
.aniamtion-key-1 {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.font-f-2 {
  font-family: 'Inter', sans-serif;
}

/* Loader progress */
.paginacontainer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.progress-wrap {
  position: fixed;
  right: 50px;
  bottom: 50px;
  height: 46px;
  width: 46px;
  cursor: pointer;
  display: block;
  border-radius: 50px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
  pointer-events: auto;
}

.progress-circle {
  width: 50px;
  height: 50px;
  position: relative;
}

.progress-circle path {
  stroke: #2f5577;
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}

/* Garanteeri kontakti sektsiooni nähtavus */
#kontakt {
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
}

#kontakt [data-aos] {
    pointer-events: auto !important;
}