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

:root{
  --navy:#062852;
  --navy-dark:#05234a;
  --red:#d72d27;
  --red-dark:#bd241f;
  --text:#111111;
  --muted:#586572;
  --bg:#f2f3f5;
  --line:#d5d9df;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  background:#fff;
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

button{
  font-family:inherit;
}

.container{
  width: min(1125px, calc(100% - 48px));
  margin:0 auto;
}

/* Header */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#eeeeef;
  box-shadow:0 4px 14px rgba(0,0,0,.12);
}

.header-top{
  height:120px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:min(1125px, calc(100% - 48px));
  margin:0 auto;
}

.logo-area img{
  width:300px;
  height:120px;
  object-fit:contain;
  object-position:left center;
}

.accessibility{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--navy);
  font-weight:700;
}

.accessibility button{
  border:0;
  background:transparent;
  color:var(--navy);
  font-size:15px;
  cursor:pointer;
}

.main-nav{
  background:#e7e8ea;
  border-top:1px solid #e1e2e5;
}

.nav-container{
  min-height:63px;
  width:min(1125px, calc(100% - 48px));
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-container a{
  color:#08111e;
  font-size:14px;
  font-weight:800;
  letter-spacing:.1px;
  white-space:nowrap;
}

.nav-container span{
  color:#9ba2aa;
  font-size:13px;
  margin-left:3px;
}

.search-btn{
  margin-left:auto;
  border:0;
  background:transparent;
  color:var(--navy);
  font-size:31px;
  cursor:pointer;
}

/* Hero */

.hero{
  height:477px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.30) 42%, rgba(0,0,0,.05) 100%),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=80");
  background-size:cover;
  background-position:center;
  position:relative;
}

.hero-content{
  width:min(1125px, calc(100% - 48px));
  margin:0 auto;
  padding-top:118px;
}

.hero h1{
  color:#f2f2f2;
  font-size:43px;
  line-height:1.18;
  letter-spacing:-1.1px;
  font-weight:800;
  max-width:700px;
  margin-bottom:28px;
}

.red-btn{
  display:inline-flex;
  align-items:center;
  gap:14px;
  background:var(--red);
  color:#fff;
  height:45px;
  padding:0 24px;
  font-size:13px;
  font-weight:800;
}

.red-btn:hover{
  background:var(--red-dark);
}

.hero-dots{
  margin-top:47px;
  display:flex;
  gap:12px;
}

.hero-dots span,
.page-dots span{
  width:13px;
  height:13px;
  border-radius:50%;
  background:#bbc3ce;
  display:block;
}

.hero-dots .active,
.page-dots .active{
  background:var(--red);
}

/* Services */

.services{
  background:#f3f4f6;
  padding:63px 0 40px;
}

.section-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
}

h2{
  font-size:40px;
  line-height:1;
  margin-bottom:33px;
  letter-spacing:-.7px;
}

.tabs{
  display:flex;
  gap:28px;
  border-bottom:2px solid #d9dce2;
  min-width:525px;
}

.tabs button{
  background:transparent;
  border:0;
  color:var(--navy);
  font-size:15px;
  font-weight:800;
  padding:0 26px 18px 0;
  cursor:pointer;
}

.tabs .active{
  border-bottom:3px solid var(--red);
}

.outline-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  min-width:174px;
  height:42px;
  border:1px solid #c8d0da;
  color:var(--navy);
  font-size:13px;
  font-weight:800;
  background:transparent;
}

.service-cards{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:28px;
}

.service-cards article{
  height:255px;
  background:#fff;
  padding:32px 28px;
  box-shadow:0 9px 25px rgba(24,35,49,.10);
}

.circle-icon{
  width:69px;
  height:69px;
  border-radius:50%;
  background:#e5eaf0;
  display:grid;
  place-items:center;
  color:var(--navy);
  font-size:28px;
  margin-bottom:21px;
}

.service-cards h3{
  color:var(--navy);
  font-size:25px;
  line-height:1.17;
  margin-bottom:23px;
  font-weight:800;
}

.service-cards a{
  color:#617181;
  font-size:15px;
  font-weight:800;
}

.page-dots{
  display:flex;
  justify-content:center;
  gap:10px;
  margin:43px 0 0;
}

/* Missions */

.missions{
  background:
    linear-gradient(rgba(243,244,246,.92), rgba(243,244,246,.92)),
    url("https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?auto=format&fit=crop&w=1800&q=80");
  background-size:cover;
  background-position:center;
}

.mission-grid{
  min-height:360px;
  display:grid;
  grid-template-columns:1fr 1fr;
}

.mission-card{
  padding:67px 42px 60px 0;
}

.mission-card.right{
  padding-left:43px;
  border-left:1px solid rgba(140,150,160,.18);
}

.line-icon{
  color:var(--red);
  font-size:49px;
  float:left;
  margin:1px 22px 20px 0;
}

.mission-card h3{
  color:var(--navy);
  font-size:31px;
  line-height:1.16;
  font-weight:800;
  padding-top:2px;
}

.thin-line{
  clear:both;
  height:1px;
  background:#cbd1d8;
  margin:18px 0 20px;
}

.mission-card p{
  color:#555;
  font-size:16px;
  margin-bottom:27px;
}

.mission-card select{
  width:100%;
  height:48px;
  border:1px solid #c4ccd5;
  background:rgba(255,255,255,.28);
  padding:0 16px;
  color:#555;
  font-size:15px;
}

/* Latest News */

.latest-news{
  background:#f3f4f6;
  padding:61px 0 60px;
}

.news-title-row{
  align-items:center;
  margin-bottom:27px;
}

.news-title-row h2{
  margin:0;
}

.news-layout{
  display:grid;
  grid-template-columns:542px 1fr;
  gap:42px;
}

.news-image{
  height:305px;
  background:#d8dce2;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:27px;
  overflow:hidden;
}

.date-badge{
  position:absolute;
  top:18px;
  left:18px;
  width:65px;
  text-align:center;
  color:#fff;
  z-index:2;
}

.date-badge strong{
  display:block;
  background:var(--red);
  font-size:34px;
  line-height:50px;
}

.date-badge span{
  display:block;
  background:var(--navy);
  font-weight:800;
  font-size:15px;
  line-height:19px;
  padding:6px 0;
}

.portrait{
  width:172px;
  height:211px;
  background:
    linear-gradient(180deg, rgba(230,233,238,.45), rgba(230,233,238,.15)),
    url("news1.png");
  background-size:cover;
  background-position:center top;
  border-radius:24px 24px 0 0;
  border:2px solid #b4a77e;
  margin-top:31px;
}

.portrait.second{
  background:
    linear-gradient(180deg, rgba(230,233,238,.45), rgba(230,233,238,.15)),
    url("news2.png");
  background-size:cover;
  background-position:center top;
}

.call-icon{
  color:#b4a77e;
  font-size:25px;
  border:2px solid #d0c8ae;
  width:31px;
  height:31px;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.arrows{
  position:absolute;
  right:0;
  bottom:0;
  display:flex;
}

.arrows button{
  width:44px;
  height:50px;
  border:0;
  color:white;
  font-size:32px;
  cursor:pointer;
}

.arrows .prev{background:var(--red);}
.arrows .next{background:var(--navy);}

.news-text h3{
  color:var(--navy);
  font-size:25px;
  line-height:1.28;
  font-weight:800;
  margin-bottom:19px;
}

.news-text .meta{
  color:#6b747f;
  margin-bottom:22px;
  font-size:15px;
}

.news-text p{
  color:#3f3f3f;
  font-size:16px;
  line-height:1.55;
  margin-bottom:26px;
}

.read-more{
  color:var(--red);
  font-size:16px;
  font-weight:800;
}

.news-line{
  height:1px;
  background:#d9dde3;
  margin-top:38px;
}

/* Floating */

.quick-tools{
  position:fixed;
  right:18px;
  top:44%;
  background:var(--navy);
  z-index:60;
  display:grid;
}

.quick-tools button{
  width:43px;
  height:38px;
  background:transparent;
  color:#fff;
  border:0;
  border-bottom:1px solid rgba(255,255,255,.18);
  font-weight:800;
  cursor:pointer;
}

.chat-btn{
  position:fixed;
  right:26px;
  bottom:26px;
  width:57px;
  height:57px;
  border-radius:50%;
  border:0;
  color:#fff;
  background:#173f95;
  font-size:23px;
  box-shadow:0 7px 20px rgba(0,0,0,.20);
  z-index:60;
}

/* Footer */

.footer{
  background:#062852;
  color:#fff;
  padding:46px 0 33px;
}

.footer-main{
  display:grid;
  grid-template-columns:1.45fr 1fr .75fr;
  gap:62px;
  padding-bottom:42px;
  border-bottom:1px solid rgba(255,255,255,.13);
}

.footer h3{
  font-size:25px;
  color:#dce4ee;
  margin-bottom:17px;
}

.footer p{
  color:#cbd4df;
  font-size:16px;
  line-height:1.5;
  margin-bottom:14px;
}

.contact-line{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

.contact-line strong{
  font-size:20px;
  color:#fff;
}

.contact-line span{
  color:#cbd4df;
  font-size:13px;
}

.apps{
  color:#dce4ee;
  font-size:14px;
}

.apps span{
  margin:0 10px;
  color:#8798aa;
}

.socials{
  display:flex;
  gap:13px;
}

.socials span{
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.20);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--red);
  font-weight:800;
}

.footer-lower{
  padding-top:27px;
  display:grid;
  grid-template-columns:330px 1fr 1fr;
  align-items:end;
  gap:20px;
}

.footer-lower img{
  width:265px;
  height:70px;
  object-fit:contain;
  object-position:left center;
}

.footer-links{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  color:#d5deea;
  font-size:14px;
}

.footer-links span{
  color:#8495a7;
}

.footer-lower p{
  text-align:right;
  font-size:14px;
  color:#cbd4df;
  margin:0;
}

/* Responsive */

@media (max-width:1050px){
  .nav-container{
    gap:17px;
  }
  .nav-container a{
    font-size:13px;
  }
  .news-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:850px){
  .header-top{
    height:auto;
    padding:22px 0;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .nav-container{
    padding:14px 0;
    flex-wrap:wrap;
  }

  .search-btn{
    margin-left:0;
  }

  .hero{
    height:430px;
  }

  .hero-content{
    padding-top:82px;
  }

  .hero h1{
    font-size:35px;
  }

  .section-row{
    flex-direction:column;
  }

  .tabs{
    min-width:0;
    width:100%;
    overflow-x:auto;
  }

  .service-cards,
  .mission-grid,
  .footer-main,
  .footer-lower{
    grid-template-columns:1fr;
  }

  .mission-card,
  .mission-card.right{
    padding:45px 0;
    border-left:0;
  }

  .footer-lower p{
    text-align:left;
  }

  .quick-tools{
    display:none;
  }
}

@media (max-width:560px){
  .container,
  .header-top,
  .nav-container,
  .hero-content{
    width:calc(100% - 28px);
  }

  .logo-area img{
    width:235px;
  }

  .accessibility{
    flex-wrap:wrap;
  }

  .hero h1{
    font-size:30px;
  }

  .service-cards article{
    height:auto;
  }

  .news-image{
    gap:12px;
  }

  .portrait{
    width:115px;
    height:165px;
  }

  .date-badge{
    left:12px;
    top:12px;
  }
}

/* Login Page */

.login-page{
  background:#f3f4f6;
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:80px 0;
}

.login-box{
  width:min(470px, 100%);
  background:#fff;
  padding:42px;
  box-shadow:0 12px 35px rgba(15,23,42,.10);
  border-radius:8px;
  margin:0 auto;
}

.login-box h1{
  color:var(--navy);
  font-size:38px;
  margin-bottom:12px;
  letter-spacing:-1px;
}

.login-box p{
  color:#66707b;
  line-height:1.6;
  margin-bottom:32px;
}

.form-group{
  margin-bottom:22px;
}

.form-group label{
  display:block;
  margin-bottom:10px;
  color:var(--navy);
  font-weight:700;
  font-size:14px;
}

.form-group input{
  width:100%;
  height:52px;
  border:1px solid #ccd3db;
  padding:0 16px;
  font-size:15px;
  outline:none;
  transition:.2s ease;
}

.form-group input:focus{
  border-color:var(--navy);
  box-shadow:0 0 0 4px rgba(6,40,82,.08);
}

.login-btn{
  width:100%;
  height:52px;
  border:0;
  background:var(--red);
  color:#fff;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.login-btn:hover{
  background:var(--red-dark);
}

.login-links{
  margin-top:22px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  flex-wrap:wrap;
}

.login-links a{
  color:var(--navy);
  font-size:14px;
  font-weight:700;
}

.login-links a:hover{
  text-decoration:underline;
}

@media (max-width:560px){
  .login-box{
    padding:30px 22px;
  }

  .login-box h1{
    font-size:31px;
  }
}

/* Admin Dashboard */

.admin-page{
  background:#f3f4f6;
  min-height:100vh;
  padding:80px 0;
}

.admin-card{
  width:min(700px, 100%);
  margin:0 auto;
  background:#fff;
  padding:42px;
  border-radius:8px;
  box-shadow:0 12px 35px rgba(15,23,42,.10);
}

.admin-card h1{
  color:var(--navy);
  font-size:38px;
  margin-bottom:12px;
  letter-spacing:-1px;
}

.admin-card p{
  color:#66707b;
  line-height:1.6;
  margin-bottom:32px;
}

.admin-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.admin-grid input{
  width:100%;
  height:52px;
  border:1px solid #ccd3db;
  padding:0 16px;
  font-size:15px;
  outline:none;
}

.admin-grid input:focus{
  border-color:var(--navy);
  box-shadow:0 0 0 4px rgba(6,40,82,.08);
}

.full{
  grid-column:1 / -1;
}

.admin-btn{
  width:100%;
  height:52px;
  border:0;
  background:var(--red);
  color:#fff;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.admin-btn:hover{
  background:var(--red-dark);
}

.success-box{
  margin-top:24px;
  background:#e8f8ec;
  border:1px solid #98d6a6;
  color:#146c2e;
  padding:16px;
  display:none;
}

@media (max-width:560px){

  .admin-card{
    padding:30px 22px;
  }

  .admin-card h1{
    font-size:31px;
  }

  .admin-grid{
    grid-template-columns:1fr;
  }
}