/* =====================================================
   GLOBAL
===================================================== */

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  padding-top: 54px;
  color: #555e6b;
  line-height: 1.7;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #1a202c;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

a {
  color: #2196f3;
}

a:hover, a:focus, a:active {
  color: #0d72c1;
  text-decoration: none;
}

/* =====================================================
   WHATSAPP FLOAT
===================================================== */

.float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 36px;
  right: 36px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  line-height: 56px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.2s;
}

.float:hover {
  transform: scale(1.08);
  color: #fff;
}

.my-float {
  line-height: 56px;
}

/* =====================================================
   SOCIAL ICONS
===================================================== */

.list-social-icons a {
  color: #4a5568;
  transition: color 0.2s;
}

.list-social-icons a:hover {
  color: #2196f3;
}

.list-social-icons a .fa-lg {
  font-size: 1.75rem;
}

/* =====================================================
   SIDEBAR NAV
===================================================== */

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.6rem 1rem;
  transition: background 0.2s;
}

#sideNav .navbar-nav .nav-item .nav-link:hover {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

@media (min-width: 992px) {
  #sideNav {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }

  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }

  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
    border: 0.4rem solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  }

  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }

  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }

  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
}

/* =====================================================
   BUTTONS
===================================================== */

.btn-general {
  background-color: transparent;
  text-align: center;
  border-width: 1.5px;
  border-radius: 6px;
  font-size: 14px;
  padding: 9px 18px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}

.btn-white {
  border-color: #2196f3;
  background-color: #2196f3;
  color: #fff;
}

.btn-white:hover, .btn-white:focus {
  background-color: #0d72c1;
  border-color: #0d72c1;
  color: #fff;
  cursor: pointer;
}

/* =====================================================
   SECTION GENERIC
===================================================== */

.heading-border {
  width: 48px;
  height: 4px;
  background-color: #2196f3;
  border-radius: 2px;
  margin: 0 auto 30px auto;
}

.heading-border-light {
  width: 48px;
  height: 4px;
  background-color: #2196f3;
  border-radius: 2px;
  margin: 10px 0 30px 0;
}

section.resume-section {
  border-bottom: 1px solid #e8ecf0;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: 100vh;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
}

.bg-primary {
  background-color: #1565c0 !important;
}

.text-primary {
  color: #2196f3 !important;
}

/* =====================================================
   ABOUT
===================================================== */

#about {
  background-image: url(../img/bgcar.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.role-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2196f3;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  display: inline-block;
  background: rgba(33,150,243,0.1);
  color: #1565c0;
  border: 1px solid rgba(33,150,243,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 500;
}

.about-summary {
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.8;
  color: #3a4553;
}

.about-summary strong {
  color: #1a202c;
}

/* =====================================================
   EXPERIENCE
===================================================== */

#experience {
  background: #f7f9fc;
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #e8ecf0;
}

/* d-flex on column + w-100 on card gives equal-height cards per row */
.exp-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.exp-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.border-primary-card {
  border-left: 4px solid #2196f3 !important;
}

.exp-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a202c;
}

.exp-card h6 {
  font-size: 0.88rem;
  font-weight: 600;
}

.exp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 3px 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.current-badge {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

.award-badge {
  background: #fff8e1;
  color: #e65100;
  border: 1px solid #ffcc80;
}

.founder-badge {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stack-pill {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  border-radius: 4px;
  padding: 2px 9px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Fira Code', monospace;
}

.exp-desc {
  font-size: 0.88rem;
  color: #555e6b;
  margin-bottom: 0.75rem;
}

.exp-bullets {
  padding-left: 1.1rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: #4a5568;
}

.exp-bullets li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

/* =====================================================
   SKILLS
===================================================== */

#skills {
  background-image: url("../img/bg/bg-1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.skill-cover {
  background-color: rgba(15,23,42,0.82);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.skill-cover h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.skill-category {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 20px;
  height: 100%;
  transition: background 0.2s;
}

.skill-category:hover {
  background: rgba(255,255,255,0.11);
}

.skill-cat-icon {
  font-size: 1.8rem;
  color: #64b5f6;
  margin-bottom: 12px;
}

.skill-category h5 {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 12px;
}

.skill-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-category ul li {
  color: #94a3b8;
  font-size: 0.83rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  line-height: 1.5;
}

.skill-category ul li:last-child {
  border-bottom: none;
}

.skill-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 14px 0;
}

/* =====================================================
   CERTIFICATIONS
===================================================== */

.certif-section {
  background: #f7f9fc;
  border-bottom: 1px solid #e8ecf0;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.certif-card {
  border: 1px solid #e2e8f0;
  border-left: 4px solid #2196f3;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.certif-inner {
  display: flex;
  align-items: center;
}

.certif-icon {
  font-size: 2rem;
  color: #2196f3;
  margin-right: 20px;
  flex-shrink: 0;
}

.certif-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 4px 0;
}

/* =====================================================
   PROJECTS
===================================================== */

#projects {
  background: #fff;
}

.project-featured {
  border: 1px solid #e2e8f0;
  border-left: 5px solid #2196f3;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
}

.project-featured:hover {
  box-shadow: 0 8px 32px rgba(33,150,243,0.12);
}

.project-featured h4 {
  font-size: 1.3rem;
}

.freelance-label {
  font-size: 0.88rem;
  letter-spacing: 0.05em;
}

/* =====================================================
   TIMELINE (Freelance Projects)
===================================================== */

.timeline-wrap {
  overflow: hidden;
  position: relative;
  padding: 60px 0;
  width: 100%;
}

.timeline-wrap:before {
  content: "";
  width: 1px;
  height: 100%;
  background: #cbd5e0;
  position: absolute;
  top: 0;
  left: 50%;
}

.timeline-wrap .award {
  width: 50%;
  clear: both;
  position: relative;
}

.timeline-wrap .award:before,
.timeline-wrap .award:after {
  content: "";
  display: block;
  clear: both;
}

.timeline-wrap .award:first-child:before,
.timeline-wrap .award:last-child:before {
  content: "";
  width: 11px;
  height: 11px;
  background: #cbd5e0;
  box-sizing: content-box;
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px #cbd5e0;
  position: absolute;
  top: -54px;
  right: -11px;
  transform: rotate(45deg);
}

.timeline-wrap .award:last-child:before {
  top: auto;
  bottom: -54px;
}

.timeline-wrap .award:last-child:nth-child(even):before {
  right: auto;
  left: -11px;
}

.timeline-wrap .award-icon {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 1px solid #cbd5e0;
  position: absolute;
  top: 17px;
  right: -12px;
  z-index: 1;
  transform: rotate(45deg);
}

.timeline-wrap .award-icon:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s;
}

.timeline-wrap .award:hover .award-icon:before {
  background: #2196f3;
}

.timeline-wrap .award-content {
  width: 85%;
  padding: 18px 24px;
  background: #fff;
  text-align: right;
  float: left;
  border: 1px solid transparent;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s;
}

.timeline-wrap .award:hover .award-content {
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.timeline-wrap .award-content:before {
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  background: #fff;
  border: 1px solid #cbd5e0;
  position: absolute;
  top: 21px;
  right: -7px;
  transform: rotate(45deg);
  transition: all 0.2s;
}

.timeline-wrap .award:hover .award-content:before {
  background: #2196f3;
  border-color: #2196f3;
}

.timeline-wrap .award-content:after {
  content: "";
  width: 11%;
  height: 1px;
  background: #cbd5e0;
  position: absolute;
  top: 28px;
  right: -14%;
}

.timeline-wrap .date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2196f3;
  margin: 0 0 6px;
}

.timeline-wrap .title {
  font-size: 1rem;
  color: #1a202c;
  margin-top: 0;
  transition: color 0.2s;
}

.timeline-wrap .award:hover .title {
  color: #2196f3;
}

.timeline-wrap .description {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.65;
  margin-top: 6px;
}

.timeline-wrap .award:nth-child(2n),
.timeline-wrap .award:nth-child(2n) .award-content {
  float: right;
  text-align: left;
}

.timeline-wrap .award:nth-child(2n) .award-icon {
  right: 0;
  left: -12px;
}

.timeline-wrap .award:nth-child(2n) .award-content:before {
  left: -7px;
}

.timeline-wrap .award:nth-child(2n) .award-content:after {
  left: -14%;
}

@media only screen and (max-width: 767px) {
  .timeline-wrap {
    padding-left: 20px;
  }

  .timeline-wrap:before {
    left: 20px;
  }

  .timeline-wrap .award {
    width: 100%;
  }

  .timeline-wrap .award,
  .timeline-wrap .award-content {
    float: none;
    padding: 12px 14px;
    text-align: left;
    width: 100%;
    margin-left: 30px;
  }

  .timeline-wrap .award-icon {
    left: -12px;
    right: auto;
  }

  .timeline-wrap .award-content:before {
    left: -7px;
    right: auto;
  }

  .timeline-wrap .award-content:after {
    left: -14%;
    right: auto;
  }

  .timeline-wrap .award:first-child:before,
  .timeline-wrap .award:last-child:before {
    left: -11px;
    right: auto;
  }
}

/* =====================================================
   BLOGS
===================================================== */

#blogs {
  background: #f7f9fc;
}

/* =====================================================
   CONTACT
===================================================== */

#contact .contact-cont h3 {
  color: #1a202c;
  font-size: 2rem;
}

#contact .contact-cont2 address,
#contact .contact-cont2 address a {
  color: #555e6b;
}

.con-form input {
  border-color: #e2e8f0;
  border-radius: 6px;
  color: #4a5568;
  margin-top: 20px;
  padding: 12px 16px;
  font-size: 0.9rem;
  height: auto;
}

.con-form input:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33,150,243,0.1);
  outline: none;
}

.con-form textarea {
  width: 100%;
  height: 160px;
  margin: 20px 0 10px;
  border-color: #e2e8f0;
  border-radius: 6px;
  color: #4a5568;
  padding: 12px 16px;
  font-size: 0.9rem;
}

.con-form textarea:focus {
  border-color: #2196f3;
  box-shadow: 0 0 0 3px rgba(33,150,243,0.1);
  outline: none;
}

.sub-but {
  margin-top: 10px;
}

.contact-side-desc {
  padding-top: 30px;
}

.contact-box-desc h3 {
  color: #1a202c;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-box-desc h3 i,
.cl-atlantis {
  color: #2196f3;
}

.contact-box-desc p {
  color: #555e6b;
  font-size: 0.9rem;
  margin: 6px 0 0;
}

.social-icon-f li {
  display: inline-block;
}

.social-icon-f li i {
  height: 36px;
  width: 36px;
  line-height: 34px;
  border: 1.5px solid #2196f3;
  text-align: center;
  margin-right: 8px;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.social-icon-f li i:hover {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .contact-box-desc {
    text-align: center;
  }

  #contact .social-icon-f {
    text-align: center;
  }
}

/* =====================================================
   MAP
===================================================== */

.map-responsive {
  overflow: hidden;
  padding-bottom: 40%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
