body{
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
   line-height: 1.6;
   color: #333;
   overflow-x: hidden;
}

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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800&display=swap');

.navbar{
   background: rgba(0, 0, 0, 0.85);
   backdrop-filter: blur(8px);
   -webkit-backdrop-filter: blur(8px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.15);
   transition: all 0.3s ease;
   box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
   padding: 0.3rem 0;
   min-height: 60px;
   }
#myTogglerNav .nav-item.nav-link{
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
   font-size: 15px;
   font-weight: 700;
   color: #FFFFFF !important;
   padding: 0.5rem 1rem;
   margin: 0 0.25rem;
   background: none !important;
   border-radius: 0;
   transition: all 0.3s ease;
   text-decoration: none;
   position: relative;
   text-shadow: 0 2px 4px rgba(0,0,0,0.5);
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

#navItem {
   color: #FFFFFF !important;
}

#myTogglerNav .nav-item.nav-link:hover {
   color: #D22F25;
   background: none !important;
   transform: translateY(-1px);
   text-shadow: 0 2px 8px rgba(210, 47, 37, 0.4);
}

#myTogglerNav .nav-item.nav-link.active {
   color: #D22F25;
   background: none !important;
   font-weight: 700;
   text-shadow: 0 2px 8px rgba(210, 47, 37, 0.4);
}

.navbar.scrolled{
   background: rgba(0, 0, 0, 0.9);
   backdrop-filter: blur(12px);
   -webkit-backdrop-filter: blur(12px);
   box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
   border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand{
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
   font-weight: 800;
   font-size: 26px;
   letter-spacing: 0.5px;
   background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 50%, #E9ECEF 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   height: 100%;
   padding: 0.5rem 0;
   width: auto; 
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   text-shadow: 0 3px 6px rgba(0,0,0,0.6);
   transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   position: relative;
   display: inline-block;
   line-height: 1.2;
}

.navbar-brand::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(135deg, #D22F25 0%, #FF6B6B 50%, #FF8E8E 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   background-clip: text;
   opacity: 0;
   transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   z-index: -1;
}

.navbar-brand:hover {
   transform: translateY(-2px) scale(1.02);
   text-shadow: 0 4px 12px rgba(210, 47, 37, 0.5);
}

.navbar-brand:hover::before {
   opacity: 1;
}

.navbar-brand:active {
   transform: translateY(-1px) scale(1.01);
}

/* Modern navbar toggle button */
.navbar-toggler {
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 6px;
   padding: 0.5rem 0.75rem;
   transition: all 0.3s ease;
   background: rgba(255, 255, 255, 0.05);
}

.navbar-toggler:hover {
   border-color: #D22F25;
   background: rgba(210, 47, 37, 0.1);
   transform: scale(1.05);
}

.navbar-toggler:focus {
   box-shadow: 0 0 0 0.2rem rgba(210, 47, 37, 0.25);
   border-color: #D22F25;
}

.navbar-toggler-icon {
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
   transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28210, 47, 37, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive navbar adjustments */
@media (max-width: 991px) {
   .navbar {
      min-height: 55px;
      padding: 0.25rem 0;
   }
   
   .navbar-brand {
      font-size: 22px;
      letter-spacing: 0.3px;
      padding: 0.4rem 0;
   }
   
   #myTogglerNav .nav-item.nav-link {
      padding: 0.4rem 0.8rem;
      margin: 0.25rem 0;
   }
}

@media (max-width: 768px) {
   .navbar {
      min-height: 50px;
   }
   
   .navbar-brand {
      font-size: 20px;
      letter-spacing: 0.2px;
      padding: 0.3rem 0;
   }
}

@media (max-width: 576px) {
   .navbar {
      min-height: 48px;
   }
   
   .navbar-brand {
      font-size: 18px;
      letter-spacing: 0.1px;
      padding: 0.25rem 0;
   }
}

/* unified navbar brand size across pages */

.aboutUs {
   line-height: 1.4;
   font-weight: 800;
   font-size: 48px;
   padding: 40px 25px;
   color: #D22F25;
   margin-top: 100px;
   text-align: center;
   position: relative;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 800ms ease-out 200ms forwards;
}

.aboutUs::after {
   content: '';
   position: absolute;
   bottom: 20px;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   height: 4px;
   background: linear-gradient(90deg, #D22F25, #ff6b6b);
   border-radius: 2px;
}

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

article > img{
   width: 100%;
   max-width: 320px;
   height: 240px;
   border-radius: 12px;
   box-shadow: 0 8px 32px rgba(0,0,0,0.12);
   display: block;
   margin-left: auto;
   margin-right: auto;
   object-fit: cover;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 800ms ease-out forwards;
}

article > img:nth-child(1) { animation-delay: 300ms; }
article > img:nth-child(2) { animation-delay: 500ms; }

article > img:hover {
   transform: translateY(-8px);
   box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

@media (max-width: 600px){
   article > img{
      height: 180px;
   }
}

article > ul{
   text-align: left;
   list-style: none;
   padding-left: 0;
   opacity: 0;
   transform: translateY(20px);
   animation: fadeUp 800ms ease-out forwards;
}

article > ul li {
   position: relative;
   padding-left: 30px;
   margin-bottom: 12px;
   color: #4a4a4a;
   font-size: 16px;
   line-height: 1.6;
}

article > ul li::before {
   content: '✓';
   position: absolute;
   left: 0;
   top: 0;
   color: #D22F25;
   font-weight: bold;
   font-size: 18px;
}

article:nth-child(1) ul { animation-delay: 700ms; }
article:nth-child(2) ul { animation-delay: 900ms; }

.mainImage{
   height: auto;
   width: 100%;
   border-radius: 16px;
   box-shadow: 0 12px 40px rgba(0,0,0,0.15);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 800ms ease-out 400ms forwards;
}

.mainImage:hover {
   transform: translateY(-5px);
   box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.lang-cov {
   line-height: 1.4;
   font-weight: 800;
   font-size: 48px;
   padding: 40px 25px;
   color: #D22F25;
   margin-top: 80px;
   text-align: center;
   position: relative;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 800ms ease-out 600ms forwards;
}

.lang-cov::after {
   content: '';
   position: absolute;
   bottom: 20px;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   height: 4px;
   background: linear-gradient(90deg, #D22F25, #ff6b6b);
   border-radius: 2px;
}

.prov-prof{
   line-height: 1.5;
   font-weight: 400;
   font-size: 20px;
   margin-bottom: 24px;
   color: #2c3e50;
   opacity: 0;
   transform: translateY(20px);
   animation: fadeUp 800ms ease-out 800ms forwards;
}

.list-lang{
   line-height: 1.7;
   font-weight: 400;
   font-size: 16px;
   margin-bottom: 40px;
   color: #4a4a4a;
   opacity: 0;
   transform: translateY(20px);
   animation: fadeUp 800ms ease-out 1000ms forwards;
}

.ourTeamImage {
   width: 100%;
   max-width: 420px;
   height: auto;
   border-radius: 16px;
   box-shadow: 0 12px 40px rgba(0,0,0,0.15);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 800ms ease-out forwards;
}

.ourTeamImage:hover {
   transform: translateY(-5px);
   box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.ourTeam {
   line-height: 1.4;
   font-weight: 800;
   font-size: 48px;
   padding: 40px 25px;
   color: #D22F25;
   margin-top: 60px;
   text-align: center;
   position: relative;
   opacity: 0;
   transform: translateY(30px);
   animation: fadeUp 800ms ease-out 1200ms forwards;
}

.ourTeam::after {
   content: '';
   position: absolute;
   bottom: 20px;
   left: 50%;
   transform: translateX(-50%);
   width: 80px;
   height: 4px;
   background: linear-gradient(90deg, #D22F25, #ff6b6b);
   border-radius: 2px;
}

.h3Heading{
   margin-top: 24px;
   font-weight: 700;
   color: #2c3e50;
   font-size: 24px;
   margin-bottom: 16px;
   opacity: 0;
   transform: translateY(20px);
   animation: fadeUp 800ms ease-out forwards;
}

.h3Heading:nth-of-type(1) { animation-delay: 1400ms; }
.h3Heading:nth-of-type(2) { animation-delay: 1600ms; }

/* Team section paragraphs */
.row p {
   color: #4a4a4a;
   font-size: 16px;
   line-height: 1.7;
   margin-bottom: 16px;
   opacity: 0;
   transform: translateY(20px);
   animation: fadeUp 800ms ease-out forwards;
}

.row p:nth-of-type(1) { animation-delay: 1500ms; }
.row p:nth-of-type(2) { animation-delay: 1700ms; }
.row p:nth-of-type(3) { animation-delay: 1900ms; }
.row p:nth-of-type(4) { animation-delay: 2100ms; }

/* Team section images */
.ourTeamImage:nth-of-type(1) { animation-delay: 1300ms; }
.ourTeamImage:nth-of-type(2) { animation-delay: 1800ms; }

.page-footer{
   /* background-color: #0094D1; */
   background-color: black;
   margin-top: 40px;
   color: #FFFFFF;
   border-top: 1px solid #00a651;
   min-height: 140px;
}

.page-footer p {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
   font-weight: 400;
   font-size: 16px;
   color: #FFFFFF !important;
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.page-footer .font-weight-lighter {
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
   font-weight: 300;
   font-size: 16px;
   color: #FFFFFF !important;
   text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Standardized Email Link Styling */
.email-link {
   color: #d22f25;
   text-decoration: none;
   font-weight: 600;
   font-family: 'Inter', sans-serif;
   transition: all 0.3s ease;
   border-bottom: 1px solid transparent;
}

.email-link:hover {
   color: #b0251f;
   text-decoration: none;
   border-bottom: 1px solid #d22f25;
   transform: translateY(-1px);
}

.email-link:focus {
   color: #b0251f;
   text-decoration: none;
   outline: 2px solid #d22f25;
   outline-offset: 2px;
   border-radius: 2px;
}

.contact-info {
   margin-bottom: 8px;
   color: #4a4a4a;
   font-size: 16px;
   font-family: 'Inter', sans-serif;
}
