/* Google Fonts are loaded via <link> tags in HTML for performance */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html,
body{
    width: 100%;
    overflow-x: hidden;
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}
html{
    scroll-behavior: smooth;
}

/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* all similar content styling codes */
section{
    padding: 80px 0;
}
section:first-of-type{
    padding-top: 120px;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about, .travel, .youtube, .skills, .teams, .contact, .blogs-section, footer{
    font-family: 'Poppins', sans-serif;
}
.about .about-content,
.youtube,
.skills .skills-content,
.contact .contact-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 45px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
    /* decorative only (don't block taps/selection) */
    pointer-events: none;
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
    /* decorative only (don't block taps/selection) */
    pointer-events: none;
}

/* navbar styling */
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
    /* Fallback so navbar stays visible after back/forward navigation (bfcache) when hero may not repaint */
    background: rgba(11, 9, 9, 0.15);
}
.navbar-colored{
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}
.navbar-colored .logo a span{
    color: crimson;
}
.navbar-colored .menu li a:hover{
    color: crimson;
}
.navbar.sticky{
    padding: 15px 0;
    background: crimson;
}
.navbar-colored.sticky{
    background: crimson;
    box-shadow: 0 2px 15px rgba(220, 20, 60, 0.3);
}
.navbar-colored.sticky .menu li a:hover{
    color: #fff;
}
.navbar-colored.sticky .logo a span{
    color: #fff;
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #fff;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: crimson;
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}

/* menu btn styling -----------------------------------------------------------------------------------------> */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: crimson;
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}


/* home section styling -----------------------------------------------------------------------------------------> */
.home{
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("Bhairus Main Page.jpg") no-repeat center;
    background-size: cover;
    background-position: center center;
    height: 100vh;
    min-height: 500px;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    /* scroll instead of fixed for better performance; fixed can cause slowness on mobile/tablet */
    background-attachment: scroll;
}
.home .max-width{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.home .max-width .row{
  margin-right: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.home .home-content{
  text-align: left;
  padding: 30vh 0 0 80px;
}

@media (max-width: 768px) {
  .home .home-content {
    padding: 25vh 20px 0 20px;
  }
}

.home .home-content .text-1{
    font-size: 27px;
}
.home .home-content .text-2{
    font-size: 75px;
    font-weight: 600;
}
.home .home-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.home .home-content .text-3 span{
    color: crimson;
    font-weight: 500;
}
.home .home-content a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.home .home-content a:hover{
    color: crimson;
    background: none;
}

/* about section styling -----------------------------------------------------------------------------------------> */
.about .title::after{
    content: "Who I Am";
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: crimson;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: crimson;
    background: none;
}

/* skills section styling-----------------------------------------------------------------------------------------> */

.skills-education .title::after {
  content: "Data | Code | Growth";
  /* Prevent wrapping on small screens (wrapping grows upward and can overlap the title text) */
  white-space: nowrap;
  line-height: 1.2;
}

.skills-education{
  font-family: 'Poppins', sans-serif;
}

@media screen and (max-width: 480px) {
  .skills-education .title {
    /* Extra room for the subtitle pseudo-element on mobile */
    padding-bottom: 34px;
  }
  .skills-education .title::after {
    font-size: 16px;
    bottom: -12px;
  }
}

.skills-education .skills-wrap{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.skills-education .skills-intro{
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 0 auto 35px;
}

.skills-education .skills-group{
  margin-top: 35px;
}

.skills-education .skills-group h3{
  font-size: 22px;
  font-weight: 600;
  color: crimson;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.skills-education .skills-lines{
  max-width: 920px;
  margin: 0 auto;
}

.skills-education .skill-line{
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  text-align: center;
}

.skills-education .skill-line strong{
  color: #111;
  font-weight: 600;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .skills-education .skills-wrap{
    text-align: center;
  }
  .skills-education .skills-intro{
    font-size: 15px;
  }
}

/* projects section styling -----------------------------------------------------------------------------------------> */
.projects {
  background-color: #fff;
  padding: 80px 20px;
  color: #222;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.projects .title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: #000;
}

.projects .title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: crimson;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.projects .subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 50px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.projects-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.project-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 35px;
  text-align: left;
  width: 100%;
  max-width: 900px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.2);
}

.project-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
  line-height: 1.3;
}

.project-role {
  display: inline-block;
  background: crimson;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-description {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 25px;
}

.project-section {
  margin-bottom: 25px;
}

.project-section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: crimson;
  margin-bottom: 12px;
}

.project-section ul {
  list-style: none;
  padding-left: 0;
}

.project-section ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #555;
}

.project-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: crimson;
  font-weight: bold;
}

.project-tech {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid crimson;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
}

.project-tech strong {
  color: crimson;
}

.project-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: crimson;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.project-link:hover {
  background: #a30000;
  transform: translateY(-2px);
}

.project-link i {
  font-size: 1.1rem;
}

.project-placeholder {
  background: #f0f0f0;
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  width: 100%;
  max-width: 500px;
  color: #888;
}

.project-placeholder i {
  font-size: 3rem;
  color: #bbb;
  margin-bottom: 15px;
}

.project-placeholder p {
  font-size: 1.1rem;
  color: #999;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .projects .title {
    font-size: 2rem;
  }
  
  .projects .subtitle {
    font-size: 1rem;
  }

  .project-card {
    padding: 25px;
  }

  .project-title {
    font-size: 1.5rem;
  }

  .project-description {
    font-size: 1rem;
  }

  .project-section h4 {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .project-card {
    padding: 20px;
  }

  .project-title {
    font-size: 1.3rem;
  }

  .project-links {
    flex-direction: column;
  }

  .project-link {
    width: 100%;
    justify-content: center;
  }
}

/* contact section styling-----------------------------------------------------------------------------------------> */
.contact .title::after{
    content: "get in touch";
}
.contact .contact-content .column{
    width: calc(50% - 30px);
}
.contact .contact-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact .contact-content .left p{
    text-align: justify;
}
.contact .contact-content .left .icons{
    margin: 10px 0;
}
.contact .contact-content .row{
    display: flex;
    height: 65px;
    align-items: center;
}
.contact .contact-content .row .info{
    margin-left: 30px;
}
.contact .contact-content .row i{
    font-size: 25px;
    color: crimson;
}
.contact .contact-content .info .head{
    font-weight: 500;
}
.contact .contact-content .info .sub-title{
    color: #333;
}
.contact .right form .fields{
    display: flex;
}
.contact .right form .field,
.contact .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.contact .right form .textarea{
    height: 80px;
    width: 100%;
}
.contact .right form .name{
    margin-right: 10px;
}
.contact .right form .field input,
.contact .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.contact .right form .field input:focus,
.contact .right form .textarea textarea:focus{
    border-color: #b3b3b3;
}
.contact .right form .textarea textarea{
  padding-top: 10px;
  resize: none;
}
.contact .right form .button-area{
  display: flex;
  align-items: center;
}
.right form .button-area button{
  color: #fff;
  display: block;
  width: 160px!important;
  height: 45px;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  background: crimson;
  border: 2px solid crimson;
  transition: all 0.3s ease;
}
.right form .button-area button:hover{
  color: crimson;
  background: none;
}
/* footer section styling */
footer{
    background: #111;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}
footer span a{
    color: crimson;
    text-decoration: none;
}
footer span a:hover{
    text-decoration: underline;
}


/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .home .home-content .text-2{
        font-size: 70px;
    }
    .home .home-content .text-3{
        font-size: 35px;
    }
    .home .home-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .home{
        min-height: 100svh;
        background-position: center 20%;
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .skills .skills-content .column,
    .contact .contact-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .home{
        background-position: center 15%;
    }
    .max-width{
        padding: 0 23px;
    }
    .home .home-content .text-2{
        font-size: 60px;
    }
    .home .home-content .text-3{
        font-size: 32px;
    }
    .home .home-content a{
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .home{
        background-position: center 10%;
    }
    section{
        padding: 60px 0;
    }
    section:first-of-type{
        padding-top: 100px;
    }
    .home .home-content .text-2{
        font-size: 50px;
    }
    .home .home-content .text-3{
        font-size: 27px;
    }
    .about .about-content .right .text,
    .skills .skills-content .left .text{
        font-size: 19px;
    }
    .contact .right form .fields{
        flex-direction: column;
    }
    .contact .right form .name,
    .contact .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}

/* YouTube Section Styling */
.youtube {
  background-color: #fff; /* white background */
  color: black;           /* black font color */
  padding: 80px 0;
  text-align: center;
}

.youtube .title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: black; /* ensure black text */
}

.youtube .title::before {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background: crimson; /* keep this small crimson underline for style */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Container for the videos */
.youtube .iframes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

/* Make iframes responsive and clean */
.youtube .iframes-container iframe {
  flex: 1 1 300px;      /* flexible width */
  max-width: 480px;
  height: 270px;        /* 16:9 aspect ratio */
  border-radius: 8px;
  border: none;         /* clean, no border */
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube .iframes-container iframe:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 600px) {
  .youtube .iframes-container iframe {
    flex: 1 1 100%;
    max-width: 100%;
    height: 200px;
  }

  .youtube .title {
    font-size: 2rem;
  }
}


/* Link to full channel styling */
.youtube a {
  display: inline-block;
  padding: 12px 30px;
  background: crimson;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 10px crimson;
  transition: background 0.3s ease;
}

.youtube a:hover {
  background: #a30000;
}

/* Travel Section Styling */
.travel {
  background-color: #fff;
  padding: 80px 20px;
  color: #222;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.travel .title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: #000;
}

.travel .title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: crimson;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.travel .subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Travel cards container */
.travel-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Individual travel card */
.travel-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 250px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 15px;
}

.travel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
}

.travel-card .flag {
  width: 48px;
  height: auto;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid #ddd;
}

.travel-card .travel-info h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: crimson;
}

.travel-card .travel-info p {
  margin: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1.3;
}

/* Special styling for "Next" card */
.travel-card.next-destination {
  background: #fff0f1;
  border: 2px dashed crimson;
  justify-content: center;
  cursor: pointer;
}

.travel-card.next-destination .flag {
  filter: grayscale(100%);
  opacity: 0.6;
  width: 40px;
}

.travel-card.next-destination .travel-info h3 {
  color: #a30000;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .travel-cards {
    gap: 20px;
  }
  .travel-card {
    width: 45%;
  }
}

@media screen and (max-width: 480px) {
  .travel-card {
    width: 100%;
  }
  .travel .title {
    font-size: 2rem;
  }
  .travel .subtitle {
    font-size: 1rem;
  }
}

/* Blogs Section Styling */
.blogs-section {
  background-color: #fff;
  padding: 120px 20px 80px;
  color: #222;
  text-align: center;
  margin-top: 0;
}

.blogs-section .title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: #000;
}

.blogs-section .title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: crimson;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
}

.blogs-section .subtitle {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Blogs Container */
.blogs-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
}

/* Blog Card */
.blog-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
}

.blog-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e0e0e0;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-date {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-date i {
  color: crimson;
}

.blog-category {
  background: crimson;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-excerpt {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-more {
  color: crimson;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
  margin-top: auto;
}

.blog-read-more:hover {
  gap: 12px;
  color: #a30000;
}

.blog-read-more i {
  font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .blogs-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .blogs-section .title {
    font-size: 2rem;
  }
  
  .blogs-section .subtitle {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .blog-content {
    padding: 20px;
  }
  
  .blog-title {
    font-size: 1.3rem;
  }
}

/* Blog Post Page Styling */
.blog-post-page {
  background-color: #fff;
  padding: 120px 20px 80px;
  color: #222;
  min-height: 100vh;
}

.blog-post-header {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.blog-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-post-date {
  color: #666;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-post-date i {
  color: crimson;
}

.blog-post-category {
  background: crimson;
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-post-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-post-author {
  color: #666;
  font-size: 1rem;
}

.blog-post-author strong {
  color: #111;
}

.blog-post-featured-image {
  max-width: 900px;
  margin: 0 auto 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.blog-post-content p {
  margin-bottom: 20px;
}

.blog-intro {
  font-size: 1.3rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 25px;
}

.blog-post-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

.blog-post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111;
  margin-top: 35px;
  margin-bottom: 15px;
}

.blog-post-content ul {
  margin-bottom: 20px;
  padding-left: 30px;
}

.blog-post-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-post-content blockquote {
  border-left: 4px solid crimson;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
  font-size: 1.2rem;
}

.blog-post-content a {
  color: crimson;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-post-content a:hover {
  color: #a30000;
  text-decoration: underline;
}

.blog-post-footer {
  max-width: 800px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.blog-post-tags .tag {
  background: #f0f0f0;
  color: #555;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.blog-post-tags .tag:hover {
  background: #e0e0e0;
}

.blog-post-navigation {
  text-align: center;
}

.btn-back-to-blogs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: crimson;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-back-to-blogs:hover {
  background: #a30000;
  transform: translateX(-5px);
}

.btn-back-to-blogs i {
  transition: transform 0.3s ease;
}

.btn-back-to-blogs:hover i {
  transform: translateX(-3px);
}

/* Responsive Blog Post */
@media screen and (max-width: 768px) {
  .blog-post-title {
    font-size: 2rem;
  }
  
  .blog-post-content {
    font-size: 1rem;
  }
  
  .blog-post-content h2 {
    font-size: 1.6rem;
  }
  
  .blog-post-content h3 {
    font-size: 1.3rem;
  }
  
  .blog-intro {
    font-size: 1.1rem;
  }
  
  .blog-post-content blockquote {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .blog-post-page {
    padding: 100px 15px 60px;
  }
  
  .blog-post-title {
    font-size: 1.6rem;
  }
  
  .blog-post-meta {
    flex-direction: column;
    gap: 10px;
  }
}


/*--------------------*/
