*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#f3f3f3;
  overflow:hidden;
  color:#222;
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================
   MAIN CONTENT
========================= */

.main-content{
  height:100dvh;
  overflow-y:auto;
  overflow-x:hidden;
  padding-bottom:0;
}
/* =========================
   PROFILE HERO
========================= */

.profile-hero{
  position:relative;
  padding:100px 80px 10px;
  background:#f5f5f5;
}

.vertical-title{
  position:absolute;
  left:20px;
  top:180px;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:22px;
  font-weight:500;
  color:#111;
}

.profile-container{
  max-width:1300px;
  margin:auto;
}

/* =========================
   BREADCRUMB
========================= */

.breadcrumb{
  font-size:15px;
  margin-bottom:30px;
  color:#666;
}

.breadcrumb span{
  color:#d6001c;
}

/* =========================
   PROFILE GRID
========================= */

.profile-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:100px;
}

/* =========================
   PROFILE CONTENT
========================= */

.profile-title{
  font-size:68px;
  line-height:1.1;
  font-weight:400;
  margin-bottom:35px;
  letter-spacing:-2px;
}

.profil-text p{
  margin-bottom: 18px;
  line-height:1.9;
  color:#222;
}

.profile-image{
  margin-top:20px;
  margin-bottom:10px;
}

.profile-image img{
  width:100%;
  height:10%;
  object-fit:cover;
  display:block;
}

/* =========================
   PROFILE SIDEBAR
========================= */

.profile-sidebar{
   padding-top:60px;
}

.profile-sidebar h3{
  font-size:28px;
  margin-bottom:30px;
  font-weight:600;
}

.resource-list{
  list-style:none;
}

.resource-list li{
  margin-bottom:18px;
}

.resource-list a{
  font-size:16px;
  color:#111;
  transition:0.3s;
}

.resource-list a:hover{
  color:#d6001c;
  border-color:#d6001c;
}

/* =========================
   PROFILE SECTION
========================= */

.profile-section{
  max-width:1300px;
  margin:auto;
  padding:35px 80px;
}

.section-title{
  margin-bottom:22px;
}

.section-text p{
  margin-bottom:18px;
  font-size: 16px;
}

.profile-title{
    font-size:32px;
  }

 .profile-text{
    font-size:15px;
    line-height:1.7;
  }

.blue-line{
  width:120px;
  height:3px;
  background:#0f89ff;
  margin-bottom:35px;
}

.section-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:100px;
}

.section-title{
  font-size:32px;
  line-height:1.2;
  margin-bottom:25px;
  font-weight:400;
}

.section-text{
  font-size:15px;
  line-height:1.9;
  color:#222;
}

.section-text p{
  margin-bottom:18px;
}


/* =========================
   INFO BOX
========================= */

.info-box{
  background: transparent;
  border:none;
  padding:35px;
}

.info-box h3{
  font-size:32px;
  margin-bottom:30px;
  font-weight:600;
}

.info-box ul{
  list-style:none;
}

.info-box li{
  margin-bottom:18px;
}

.info-box a{
  font-size:16px;
  color:#111;
  transition:0.3s;
}

.info-box a:hover{
  color:#d6001c;
  border-color:#d6001c;
}


/* =========================
   DESKTOP FOOTER
========================= */

.desktop-footer{
  background:#efefef;
  padding:50px 50px;
  border-top:1px solid #ddd;
}

.footer-wrapper{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:70px;
}

/* =========================
   LEFT
========================= */

.footer-brand{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.footer-brand img{
  width:70px;
  height:70px;
  object-fit:contain;
  flex-shrink:0;
}

/* CONTENT RIGHT OF LOGO */

.footer-brand-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  width:100%;
}

/* TITLE */

.footer-brand-content h3{
  font-size:18px;
  line-height:1.2;
  margin:0;
}

/* ADDRESS */

.footer-brand-content p{
  font-size:14px;
  line-height:1.5;
  color:#444;
  max-width:520px;
  margin:0;
}

/* =========================
   INLINE LINKS
========================= */

.footer-links-inline{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:2px;
}

.footer-links-inline a{
  font-size:14px;
  color:#111;
  transition:0.3s;
}

.footer-links-inline a:hover{
  color:#004180;
}

/* =========================
   SOCIAL
========================= */

.footer-social-desktop{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:30px;
  margin-top:4px;
}

.footer-social-desktop a{
  font-size:18px;
  transition:0.3s;
}

/* FACEBOOK */
.footer-social-desktop a:nth-child(1){
  color:#1877f2;
}

/* YOUTUBE */
.footer-social-desktop a:nth-child(2){
  color:#ff0000;
}

/* INSTAGRAM */
.footer-social-desktop a:nth-child(3){
  color:#e4405f;
}

/* X / TWITTER */
.footer-social-desktop a:nth-child(4){
  color:#111;
}

.footer-social-desktop a:hover{
  transform:translateY(-2px) scale(1.08);
  opacity:.85;
}

/* =========================
   RIGHT
========================= */

.footer-right{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-column a{
  font-size:15px;
  line-height:1.4;
  color:#111;
  transition:0.3s;
}

.footer-column a:hover{
  color:#004180;
}
/* =========================
   FOOTER GALLERY
========================= */

.footer-gallery{

  position:relative;

  background:#004180;

  padding:40px 70px 40px 130px;

  height:auto;
}

/* VERTICAL TEXT */

.footer-vertical-text{

  position:absolute;

  left:28px;
  top:50%;

  transform:
  translateY(-50%)
  rotate(180deg);

  writing-mode:vertical-rl;

  font-size:24px;

  color:#fff;
}

/* =========================
   GRID
========================= */

.footer-gallery-grid img{

  width:100%;
  height:100%;

  object-fit:cover;

  display:block;

  transition:.3s;
}

.footer-gallery-grid img:hover{

  transform:scale(1.02);
}

.footer-gallery-grid{

  max-width:1200px;
  margin:auto;

  display:grid;

  grid-template-columns:1fr 1fr 1fr 1fr;

  grid-template-rows:250px 250px 250px;

  gap:4px;
}

/* BIG LEFT */
.gallery-1{
  grid-column:1 / 3;
  grid-row:1 / 3;
}

/* TOP RIGHT SMALL */
.gallery-2{
  grid-column:3 / 4;
  grid-row:1 / 2;
}

.gallery-3{
  grid-column:4 / 5;
  grid-row:1 / 2;
}

/* BIG RIGHT */
.gallery-4{
  grid-column:3 / 5;
  grid-row:2 / 4;
}

/* LEFT BOTTOM 2 IMAGE */
.gallery-5{
  grid-column:1 / 2;
  grid-row:3 / 4;
}

.gallery-6{
  grid-column:2 / 3;
  grid-row:3 / 4;

  display:block;
}

.gallery-item{
  position:relative;
  overflow:hidden;
  cursor:pointer;
}

.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.4s;
}

/* OVERLAY */

.gallery-caption{
  position:absolute;
  left:0;
  bottom:-100%;
  width:100%;
  padding:22px;

  background:linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,.3)
  );

  color:#fff;
  transition:.4s;
}

.gallery-caption h3{
  font-size:22px;
  margin-bottom:8px;
}

.gallery-caption p{
  font-size:15px;
  line-height:1.6;
  color:#eee;
}

/* CLICK / HOVER EFFECT */

.gallery-item:hover img{
  transform:scale(1.05);
}

.gallery-item:hover .gallery-caption{
  bottom:0;
}

/* MOBILE CLICK SUPPORT */

.gallery-item.active .gallery-caption{
  bottom:0;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  .footer-gallery{

    padding:20px;
  }

  .footer-vertical-text{
    display:none;
  }

  .footer-gallery-grid{

    grid-template-columns:1fr;

    grid-template-rows:auto;

    gap:10px;
  }

  /* BIG IMAGE FULL */

  .gallery-1,
  .gallery-2,
  .gallery-3,
  .gallery-4,
  .gallery-5,
  .gallery-6{

    grid-column:auto;
    grid-row:auto;

    display:block;
  }

  .footer-gallery-grid img{
    width:100%;
    height:250px;
  }

}
/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

  .footer-gallery{
    padding:16px;
  }

  .footer-gallery-grid{
    gap:8px;
  }

  .footer-gallery img{
    height:180px;
  }

}
/* =========================
   TABLET
========================= */

@media(max-width:992px){

  .profile-grid,
  .section-grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .profile-sidebar{
    padding-top:0;
  }

  .profile-title{
    font-size:28px;
  }

  .section-title{
    font-size:28px;
  }

}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

  body{
    overflow-x:hidden;
    overflow-y:auto;
  }

  .section-grid{
    gap:0;
  }

  .main-content{
    height:auto;
    overflow:visible;
    padding-bottom:20px;
  }

  .sidebar-title{
    display:block;
    font-size:24px;
    margin-bottom:18px;
    line-height:1.2;
    color:#111;
  }

  .profile-hero{
    padding:30px 14px 50px;
  }

  .profile-section{
    padding:0px 24px;
  }

  .vertical-title{
    display:none;
  }

  .profile-title{
    font-size:38px;
    line-height:1.2;
    margin-bottom:24px;
    letter-spacing:-1px;
  }

  .profile-text{
    font-size:15px;
    line-height:1.8;
  }

  .section-title{
    font-size:34px;
  }

  .section-text{
    font-size:18px;
    line-height:1.8;
  }

  .profile-image{
    margin-top:20px;
    margin-bottom:0px;
  }

  .profile-image img,
  .full-image img{
    height:300px;
  }

  .profile-sidebar h3{
    font-size:24px;
  }

  .info-box h3{
    margin-top: 20px;
    font-size:25px;
  }


  .resource-list a,
  .info-box a{
    font-size:15px;
  }

   .info-box{
    margin-top:-20px;
    margin-left:-20px;
    padding:20px;
  }

  .desktop-footer{
    display:none;
  }

}

/* =========================
   SMALL MOBILE
========================= */

@media(max-width:480px){

  .profile-title{
    font-size:25px;
  }

  .section-title{
    font-size:25px;
  }

  .profile-text,
  .section-text{
    font-size:15px;
  }

  .profile-image img,
  .full-image img{
    height:240px;
  }

}

.profile-container,
.profile-section,
.footer-gallery{
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 1.4s ease-out forwards;
}

.profile-section{
  animation-delay:.2s;
}

.footer-gallery{
  animation-delay:.4s;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}