:root{
  --bg:#f8fafc;
  --text:#0f172a;
  --muted:#64748b;

  /* Modern ALR palette */
  --primary:#0e7490;
  --primary-dark:#164e63;
  --primary-light:#06b6d4;
  --accent:#7c3aed;
  --accent-light:#a78bfa;
  --secondary:#10b981;
  --warning:#f59e0b;

  --surface:#ffffff;
  --surface-alt:#f1f5f9;
  --border:#e2e8f0;
  --border-light:#f0f4f8;

  --radius:12px;
  --shadow:0 4px 12px rgba(0,0,0,0.08);
  --shadow-md:0 8px 24px rgba(0,0,0,0.12);
  --maxw:1100px;
}

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

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

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

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

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
  }
}

*{box-sizing:border-box}
html{
  scroll-behavior:smooth;
}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,sans-serif;
  background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 50%,#ede9fe 100%);
  color:var(--text);
  line-height:1.6;
  animation: fadeInUp 0.6s ease-out;
}

/* Layout */
.wrap{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  padding:40px 24px 60px;
}

/* HEADER */
.site-header{
  width:100%;
  background:linear-gradient(135deg,#ffffff 0%,#f0f9ff 50%,#ecfdf5 100%);
  border-bottom:2px solid var(--primary-light);
  box-shadow:var(--shadow-md);
  backdrop-filter:blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideInDown 0.5s ease-out;
}

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

.header-inner{
  width:100%;
  max-width:var(--maxw);
  margin:0 auto;
  min-height:72px;
  padding:0 24px;
  display:flex;
  justify-content:space-between;
  align-items:stretch;
  gap:18px;
  position:relative;
}

.header-nav{
  flex:1;
  display:flex;
  justify-content:center;
  align-items:stretch;
  gap:8px;
  min-width:0;
}

.header-nav a{
  display:inline-flex;
  align-items:center;
  height:100%;
  padding:0 18px;
  color:var(--primary-dark);
  text-decoration:none;
  font-weight:700;
  border-bottom:3px solid transparent;
  transition:background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.header-nav a:hover{
  background:rgba(14,116,144,0.08);
  color:var(--primary);
  border-bottom-color:var(--primary-light);
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-shrink:0;
}

.brand{
  display:flex;
  gap:16px;
  align-items:center;
  font-weight:600;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand strong{
  font-size:1.15rem;
  color:var(--primary-dark);
}

.logo img{
  height:48px;
  border-radius:8px;
  transition: all 0.3s ease;
  /*animation: float 3s ease-in-out infinite;*/
}

/* .logo img:hover {
  transform: rotate(5deg);
} */

.top-contact{
  text-align:right;
  font-size:0.9rem;
}

.phone{
  font-weight:700;
  color:var(--primary);
  font-size:1rem;
}

.top-contact a{
  color:var(--primary);
  text-decoration:none;
  transition:0.2s;
}

.top-contact a:hover{
  color:var(--primary-light);
}

/* HERO */
.hero{
  background:linear-gradient(135deg,#0e7490 0%,#06b6d4 50%,#10b981 100%);
  color:white;
  padding:80px 40px;
  border-radius:16px;
  box-shadow:0 12px 40px rgba(14,116,144,0.25);
  margin-bottom:50px;
  position:relative;
  overflow:hidden;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero::before{
  content:'';
  position:absolute;
  top:-50%;
  right:-10%;
  width:300px;
  height:300px;
  background:radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius:50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content:'';
  position:absolute;
  bottom:-50%;
  left:-10%;
  width:300px;
  height:300px;
  background:radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius:50%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero h1{
  margin:0 0 16px;
  font-size:2.2rem;
  font-weight:700;
  position:relative;
  z-index:1;
  animation: slideInLeft 0.8s ease-out 0.3s backwards;
}

.hero p{
  max-width:600px;
  font-size:1.05rem;
  opacity:0.95;
  position:relative;
  z-index:1;
  animation: slideInLeft 0.8s ease-out 0.4s backwards;
}

.hero .btn{
  margin-top:28px;
  animation: slideInLeft 0.8s ease-out 0.5s backwards;
}

/* PAGE NAV */
.page-nav{
  display:none;
}
/* SECTIONS */
section{
  background:var(--surface);
  padding:36px;
  border-radius:14px;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  border:1px solid var(--border-light);
  margin-bottom:32px;
  transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

section:nth-of-type(2) { animation-delay: 0.3s; }
section:nth-of-type(3) { animation-delay: 0.4s; }
section:nth-of-type(4) { animation-delay: 0.5s; }
section:nth-of-type(5) { animation-delay: 0.6s; }

section:hover{
  box-shadow:0 12px 32px rgba(14,116,144,0.15);
  border-color:var(--primary-light);
  transform: translateY(-4px);
}

h2{
  margin:0 0 20px 0;
  font-size:1.5rem;
  font-weight:700;
  color:var(--primary-dark);
  position:relative;
  padding-bottom:12px;
  animation: slideInLeft 0.6s ease-out;
}

h2::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:40px;
  height:3px;
  background:linear-gradient(90deg,var(--primary-light),var(--accent));
  border-radius:2px;
  animation: slideInLeft 0.8s ease-out 0.2s backwards;
}

h3{
  font-size:1.1rem;
  color:var(--primary);
  margin-top:24px;
  animation: slideInLeft 0.6s ease-out;
}

p{
  color:#475569;
  margin-bottom:12px;
}

/* GRID */
.two-col{
  display:grid;
  gap:20px;
  animation: fadeInUp 0.8s ease-out;
}

@media(min-width:800px){
  .two-col{
    grid-template-columns:1fr 320px;
  }
}

@media(max-width:700px){
  .header-inner{
    gap:6px;
    flex-wrap:nowrap;
    align-items:center;
    padding:0 12px;
  }

  .brand{
    min-width:0;
    gap:10px;
  }

  .header-nav{
    order:3;
    flex:1 0 100%;
    justify-content:center;
    gap:4px;
  }

  .header-actions{
    margin-left:auto;
    gap:8px;
  }

  .header-nav a{
    padding:0 10px;
    font-size:0.92rem;
  }

  .language-selector{
    margin-top:0;
    flex-shrink:0;
  }

  .top-contact{
    text-align:left;
  }

  .page-nav{
    display:none;
  }
}

/* LIST */
ul{
  padding-left:24px;
  color:#475569;
  animation: fadeInUp 0.6s ease-out;
}

ul li{
  margin-bottom:10px;
  position:relative;
  transition: all 0.3s ease;
  animation: slideInLeft 0.6s ease-out backwards;
}

ul li:nth-child(1) { animation-delay: 0.1s; }
ul li:nth-child(2) { animation-delay: 0.2s; }
ul li:nth-child(3) { animation-delay: 0.3s; }
ul li:nth-child(4) { animation-delay: 0.4s; }
ul li:nth-child(5) { animation-delay: 0.5s; }

ul li:hover{
  transform: translateX(8px);
  color: var(--primary);
}

ul li::marker{
  color:var(--primary-light);
  font-weight:700;
}

ol {
  animation: fadeInUp 0.6s ease-out;
}

ol li {
  transition: all 0.3s ease;
  animation: slideInLeft 0.6s ease-out backwards;
}

ol li:nth-child(1) { animation-delay: 0.1s; }
ol li:nth-child(2) { animation-delay: 0.2s; }
ol li:nth-child(3) { animation-delay: 0.3s; }
ol li:nth-child(4) { animation-delay: 0.4s; }
ol li:nth-child(5) { animation-delay: 0.5s; }

ol li:hover {
  transform: translateX(8px);
}

/* INFO BOX */
aside{
  background:linear-gradient(135deg,#f0f9ff 0%,#f5f3ff 100%);
  border:2px solid var(--primary-light);
  padding:24px;
  border-radius:14px;
  box-shadow:0 4px 12px rgba(6,182,212,0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInRight 0.8s ease-out;
}

aside:hover {
  box-shadow: 0 8px 24px rgba(6,182,212,0.2);
  transform: translateY(-4px);
}

aside strong{
  color:var(--primary-dark);
  font-size:1.1rem;
  display:block;
  margin-bottom:16px;
}

aside p a{
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
  transition:all 0.3s ease;
  position: relative;
}

aside p a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}

aside p a:hover{
  color:var(--primary-light);
}

aside p a:hover::after {
  width: 100%;
}

/* FORM */
form{
  display:flex;
  flex-direction:column;
  gap:16px;
  animation: fadeInUp 0.8s ease-out;
}

input, textarea{
  padding:14px 16px;
  border-radius:10px;
  border:2px solid var(--border);
  font-size:0.95rem;
  font-family:inherit;
  transition:all 0.4s ease;
  background:var(--surface-alt);
  animation: slideInUp 0.6s ease-out backwards;
}

input:nth-of-type(1) { animation-delay: 0.2s; }
input:nth-of-type(2) { animation-delay: 0.3s; }
input:nth-of-type(3) { animation-delay: 0.4s; }
textarea { animation-delay: 0.5s; }

input:focus, textarea:focus{
  outline:none;
  border-color:var(--primary-light);
  background:var(--surface);
  box-shadow:0 0 0 3px rgba(6,182,212,0.15);
  transform: translateY(-2px);
}

input::placeholder, textarea::placeholder {
  color: #94a3b8;
}

textarea{
  min-height:140px;
  resize:vertical;
}

#feedback {
  animation: slideInUp 0.4s ease-out;
  padding: 12px 16px;
  background: #d1fae5;
  border-radius: 8px;
  color: #065f46;
  font-weight: 600;
  border-left: 4px solid var(--secondary);
}

/* BUTTON */
.btn{
  background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
  color:white;
  border:none;
  padding:14px 28px;
  border-radius:10px;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  box-shadow:0 4px 15px rgba(14,116,144,0.3);
  text-transform:uppercase;
  letter-spacing:0.5px;
  display:inline-block;
  width:fit-content;
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out 0.6s backwards;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover{
  transform: translateY(-3px);
  box-shadow:0 10px 28px rgba(14,116,144,0.4);
}

.btn:active{
  transform:translateY(-1px);
}

a .btn{
  text-decoration:none;
  color:white;
  font-size:1rem;
  font-weight:600;
  letter-spacing:0.5px;
  padding:14px 28px;
}

#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 40px;
    left: auto;
    z-index: 99;
    font-size: 25px;
    border: none;
    outline: none;
    border-color: transparent;
    background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);
    color: #06111d;
    cursor: pointer;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(14,116,144,0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInUp 0.4s ease-out;
}

#backToTopBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(14,116,144,0.4);
}

#backToTopBtn:active {
    transform: translateY(-1px);
}

#backToTopBtn i {
    font-size: 24px;
    line-height: 1;
    font-style: normal;
    pointer-events: none;
    color: white;
}

/* FOOTER */
footer{
  text-align:center;
  color:var(--muted);
  font-size:0.9rem;
  margin-top:60px;
  padding-top:28px;
  border-top:1px solid var(--border);
  animation: fadeInUp 0.8s ease-out 0.7s backwards;
  transition: all 0.3s ease;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

#languageSelect {
  padding: 8px 12px;
  border-radius: 6px;
  border: 2px solid var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  background-color: var(--surface);
  cursor: pointer;
  transition: all 0.3s ease;
}

#languageSelect:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

#languageSelect:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

#languageSelect option {
  color: var(--text);
  background-color: var(--surface);
}

@media(max-width:700px) {
  .language-selector {
    margin-top: 0;
  }
}

.menuBtn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 24px;
    width: 32px;
    cursor: pointer;
    padding: 0;
  margin-right: 0;
}

.bar-top,
.bar-middle,
.bar-bottom {
    height: 3.5px;
    width: 28px;
    background-color: rgb(0, 0, 0);
    border-radius: 3px;
    transform-origin: center;
    transition: all 0.5s ease;
}

.menuBtn.active .bar-top {
    transform: translateY(10.5px) rotate(45deg);
}

.menuBtn.active .bar-middle {
    opacity: 0;
    transform: translateX(1rem);
}

.menuBtn.active .bar-bottom {
    transform: translateY(-10.5px) rotate(-45deg);
}

.dropdown{
    display: none;
    left: 0;
    position: absolute;
    top: 100%;
    width: 100%;
    height: 0;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    backdrop-filter: blur(1px);
    opacity: 0.98;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    flex-direction: column;
    transition: 0.2s ease-in-out;
}

.dropdown.show{
    height: 20vh;
}

.dropdown a:hover{
    background-color: #21b2cc2c;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

@media only screen and (max-width: 768px){
  .header-nav{
    display: none;
  }
  
  .menuBtn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        height: 24px;
        width: 32px;
        cursor: pointer;
        padding: 0;
        margin-right: 0;
    }
    .dropdown {
        display: block;
    }
    .dropdown li{
        display: flex;
        flex-direction: column;
        align-items: center;
        list-style: none;
        padding: 0;
    }

    .dropdown a{
        padding: 20px 20px;
        margin: 0px 0;
        font-size: 18px;
        color: rgb(0, 0, 0);
        text-decoration: none;
        font-family: sans-serif;
        width: 100%;
        border-bottom: 1px solid rgb(137, 137, 137);
    }
}