* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #fdfdfd;
    --text-color: #333;
    --main-color: #8c6007;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, .2);
}

*::selection {
    background: var(--main-color);
    color: var(--bg-color);
}

.dark-mode {
    --bg-color: #0e1313;
    --text-color: #fdfdfd;
    --shadow-color: rgba(21, 20, 20, 0.945);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;
}

.header.sticky {
    background: var(--bg-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    margin-right: auto;
}

.navbar a {
    position: relative;
    font-size: 1.7rem;
    color: var(--white-color);
    font-weight: 500;
    margin-right: 3.5rem;
}

.header.sticky .navbar a {
    color: var(--text-color);
}

.header.sticky .navbar a.active {
    color: var(--main-color);
}

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--white-color);
}

.header.sticky .navbar a::before {
    background: var(--main-color);
    opacity: .7;
}

#darkMode-icon {
    font-size: 2.4rem;
    color: var(--white-color);
    cursor: pointer;
}

.header.sticky #darkMode-icon {
    color: var(--text-color);
    opacity: .9;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 7% 2rem;
}

/*  */
  
  /* Main container as flex row */
  .home .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 60px 0;
  }
  
  /* Text section */
  .home-content {
    flex: 1 1 50%;
    max-width: 600px;
    color: white; /* make all text inside white */
  }
  
  .home-content h3,
  .home-content h1,
  .home-content p {
    color: white; /* force white for headings & paragraph */
  }
  
  .home-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .home-content h1 {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: .3rem;
  }
  
  .home-content p {
    font-size: 17px;
    font-family: Serif;
    margin-bottom: 12px;
  }
  
  /* Social media icons */
  .home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--main-color);
    margin-right: 10px;
    transition: 0.3s;
  }
  
  .home-content .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
  }
  
  /* Button */
  .btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 1.6rem;
    color: var(--white-color);
    letter-spacing: .1rem;
    font-weight: 600;
    border: .2rem solid transparent;
    transition: .5s ease;
  }
  
  .btn:hover {
    background: transparent;
    color: var(--main-color);
    border-color: var(--main-color);
  }
  
  /* Video styling */
  .video {
    margin-left: 300px;   /* default for large screens */
    max-width: 100%;
    display: block;
  }
  
  @media (max-width: 992px) {
    .video {
      margin-left: 100px;
    }
  }
  
  @media (max-width: 768px) {
    .video {
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  /* Right: image */
  .hero-visual {
    flex: 1 1 40%;
    text-align: center;
  }
  
  .hero-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow-color);
  }
  
  /* Highlighted text */
  span {
    color: var(--main-color);
  }
  
  /* Responsive tweaks */
  @media (max-width: 768px) {
    .home .container {
      flex-direction: column;
      text-align: center;
    }
  
    .home-content {
      max-width: 100%;
    }
  }
  
  /* Background video styling */
  .home {
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
  }
  
  .home .bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.9;
    background-attachment: fixed;
  }
  
  /* Dark mode override if you have dark mode toggle */
  .dark-mode .home-content h1,
  .dark-mode .home-content h3,
  .dark-mode .home-content p {
    color: white;
  }
  
  
/* <!-- about section design --> */
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.about-img img {
    width: 40vw;
    border-radius: 20px;
    height: 500px;
}

.heading {
    font-size: 4.5rem;
    text-align: center;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 1.5rem;
}

.about-content h3 span {
    font-size: 35px;
}

.about-content p {
    font-size: 20px;
    margin: 2rem 0 3rem;
    font-family: Serif;
}

.about-title {
    font-size: 20px;
    font-weight: 800;
  }
  
  .about-title span {
    color: #0d6efd;
  }
  
  .about-subtitle {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
  }
  
  .about-paragraph {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
  }
  
  .counter {
    font-size: 30px;
    font-weight: bold;
  }
  
  .counter-label {
    font-size: 20px;
    font-weight: 500;
    color: #444;
  }
  
  .info-box p,
  .info-box ul {
    font-size: 20px;
    line-height: 1.6;
  }
  

  .skills-section {
    background-color: #fff8dc;
  }
  
  .heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
  }
  
  .skill-block {
    margin-bottom: 1.5rem;
  }
  
  .skill-block label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    display: block;
  }
  .progress {
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
    position: relative;
  }
  
  .progress-bar {
    background-color: #d4af37;  /* Gold color */
    height: 100%;
    width: 0;                   /* Start from 0 for animation */
    transition: width 2s ease;
    position: relative;
  }
  
  .progress-bar span {
    position: absolute;
    right: 10px;
    top: 0;
    color: #000;
    font-weight: bold;
    line-height: 25px;
  }
  
  label {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    margin-left: 350px;
  }
  
  .skill-block {
    margin-bottom: 25px;
  }
  
  .center-page {
    height: 15vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 50px;
  }

  .counter-box {
    transition: transform 0.3s ease;
  }
  
  .counter-box:hover {
    transform: translateY(-8px);
    background-color: #f9f9f9;
  }
  
  .counter-box h3 {
    font-size: 2.5rem;
    color: #222;
  }
  
  .counter-box i {
    font-size: 3rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
  }
  
  .counter-box:hover i {
    color: #d4af37;
  }
  
  
  .mvv-section {
    /* background: linear-gradient(135deg, #FFD700, #FFC107); */
    padding: 60px 20px;
    text-align: center;
  }
  
  .mvv-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 40px;
  }
  
  .mvv-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px 25px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
  }
  
  .mvv-box:hover {
    transform: translateY(-8px);
  }
  
  .mvv-box i {
    font-size: 3rem;
    color: #f0b90b;
    margin-bottom: 15px;
  }
  
  .mvv-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
  }
  
  .mvv-box p,
  .mvv-box ul {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
  }
  
  .mvv-box ul {
    padding-left: 0;
  }

  /* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .about {
      flex-direction: column;
      text-align: center;
      gap: 2rem;
      padding: 0 1rem;
    }
  
    .about-img img {
      width: 90vw;
      height: auto;
    }
  
    .about-content h2,
    .about-content h3,
    .about-content p {
      text-align: center;
    }
  
    .heading {
      font-size: 2rem;
    }
  
    .about-content h3 span {
      font-size: 26px;
    }
  
    .about-content p,
    .about-title,
    .about-subtitle,
    .about-paragraph,
    .info-box p,
    .info-box ul {
      font-size: 16px;
    }
  
    label {
      margin-left: 0;
      text-align: left;
    }
  
    .counter-box h3 {
      font-size: 1.8rem;
    }
  
    .counter-box i {
      font-size: 2rem;
    }
  
    .mvv-box {
      padding: 20px 15px;
    }
  
    .mvv-box h3 {
      font-size: 20px;
    }
  
    .mvv-box p,
    .mvv-box ul {
      font-size: 15px;
    }
  
    .skill-block label {
      font-size: 16px;
    }
  
    .progress-bar span {
      font-size: 14px;
    }
  }
  
  @media (max-width: 576px) {
    .about-content h3 {
      font-size: 1.2rem;
    }
  
    .about-content h3 span {
      font-size: 22px;
    }
  
    .progress {
      height: 20px;
    }
  
    .progress-bar span {
      right: 5px;
      font-size: 12px;
    }
  
    .center-page {
      font-size: 32px;
      height: auto;
    }
  }
  
  /* end of aboutus */

  
/* Services Section Design */
.services {
    min-height: auto;
    padding-bottom: 10rem;
}

.services h2 {
    margin-bottom: 5rem;
}

.services .services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    transition: .5s ease;
}

.services-container .services-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
    transition: .5s ease;
}

.services-box:hover h3 {
    color: var(--main-color);
}

.services-box p {
    font-size: 17px;
    margin: 1rem 0 3rem;
    font-family: Serif;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services {
        padding: 5rem 2rem;
    }

    .services h2 {
        font-size: 2.5rem;
    }

    .services-container .services-box {
        flex: 1 1 45%;
    }

    .services-box h3 {
        font-size: 2rem;
    }

    .services-box p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .services h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
        text-align: center;
    }

    .services-container {
        flex-direction: column;
    }

    .services-container .services-box {
        flex: 1 1 100%;
        padding: 2.5rem 1.5rem;
    }

    .services-box i {
        font-size: 5rem;
    }

    .services-box h3 {
        font-size: 1.8rem;
    }

    .services-box p {
        font-size: 15px;
        margin: 1rem 0 2rem;
    }
}


/* porfolio design */
.portfolio {
    min-height: auto;
    padding-bottom: 10rem;
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio .portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box {
    position: relative;
    display: flex;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1);
    overflow: hidden;
}

.portfolio-box img {
    width: 100%;
    transition: .5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    opacity: 0;
    transition: .5s ease;
}

.portfolio-box:hover .portfolio-layer {
    opacity: 1;
}

.portfolio-layer h4 {
    font-size: 3rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--white-color);
    border-radius: 50%;
}

.portfolio-layer a i {
    font-size: 2rem;
    color: #333;
}
/* Responsive Design for Portfolio */
@media (max-width: 992px) {
    .portfolio .portfolio-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
  
    .portfolio-layer h4 {
      font-size: 2.2rem;
    }
  
    .portfolio-layer p {
      font-size: 1.4rem;
    }
  }
  
  @media (max-width: 576px) {
    .portfolio .portfolio-container {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 0 1rem;
    }
  
    .portfolio-layer h4 {
      font-size: 1.8rem;
    }
  
    .portfolio-layer p {
      font-size: 1.2rem;
    }
  
    .portfolio-layer {
      padding: 0 2rem;
    }
  
    .portfolio-layer a {
      width: 4rem;
      height: 4rem;
    }
  
    .portfolio-layer a i {
      font-size: 1.5rem;
    }
  }

  

/* contact design */
.contact {
    min-height: auto;
    padding-bottom: 7rem;
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--main-color);
}

.footer-text p {
    font-size: 1.6rem;
    color: var(--white-color);
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--white-color);
    border-radius: .8rem;
    border: .2rem solid var(--main-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    outline-color: var(--white-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: #333;
}


/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .profession-container .profession-box {
        right: -10%;
        width: 60%;
        height: auto;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .home-img img {
        max-width: 100%;
        width: 400px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 1100px) {
    .home .profession-container .profession-box {
        right: -15%;
        width: 60%;
        height: auto;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .home-img img {
        max-width: 100%;
        width: 420px;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 3rem 3%;
    }

    section {
        padding: 15rem 4% 2rem;
    }

    .home .home-content {
        max-width: 40rem;
    }

    .home .profession-container .profession-box {
        right: -3%;
        width: 60%;
        height: 75%;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .home-img img {
        max-width: 400px;
    }

    .about {
        margin-top: -700px;
    }

    .services {
        margin-top: -400px;
    }

    .services-container p {
        font-size: 20px; /* Corrected */
    }
}

@media (max-width: 991px) {
    .navbar a:nth-child(1) {
        color: var(--main-color);
    }

    .navbar a.active::before {
        background: var(--main-color);
        opacity: 0.7;
    }

    .home .home-content {
        max-width: 45rem;
    }

    .home .profession-container .profession-box {
        width: 55%;
        height: auto;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
    }

    .video {
        width: 90%;
        margin-left: 5%;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 913px) {
    .about {
        margin-top: -690px;
    }

    .home .profession-container .profession-box {
        right: -3%;
        width: 57%;
        height: 75%;
    }
}

@media (max-width: 896px) {
    .navbar a:nth-child(2) {
        color: var(--main-color);
    }

    .home .home-content {
        max-width: 40rem;
    }

    .home .profession-container .profession-box {
        right: -1%;
        width: 53%;
        height: auto;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
    }

    .video {
        width: 80%;
        margin-left: 10%;
    }
}

@media (max-width: 879px) {
    .portfolio .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .home .home-content {
        max-width: 33rem;
    }

    .home .profession-container .profession-box {
        right: -3%;
        width: 63%;
        height: 90%;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
    }

    .video {
        width: 80%;
        margin-left: 10%;
    }
}

@media (max-width: 854px) {
    .about {
        margin-top: -390px;
    }
}

@media (max-width: 800px) {
    .navbar a:nth-child(2) {
        color: var(--white-color);
    }

    .home .profession-container .profession-box {
        width: 65%;
        height: auto;
    }

    .home .profession-box img {
        width: 100%;
        height: auto;
    }

    .home .home-content {
        margin-top: 20px;
        max-width: 32rem;
    }

    .video {
        width: 80%;
        margin-left: 10%;
    }
}


@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    #darkMode-icon {
        position: absolute;
        right: 7rem;
        font-size: 2.6rem;
        color: var(--text-color);
        margin-bottom: .1rem;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }

    .navbar a.active {
        color: var(--main-color);
    }

    .navbar a::before {
        display: none;
    }

    .home {
        padding: 0 3% 23rem;
        justify-content: center;
        text-align: center;
        margin-top: 70px;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content .social-media a {
        margin: 2.5rem .75rem 3rem;
    }

    .home .profession-container .profession-box {
        top: 660px;
        left: 0;
        width: 100%;
        height: 60%;
    }

    .home .profession-box img {
        padding: 0 10px;
        transform-origin: 0;
        height: 60%;
    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
        margin-top: -50px;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-img img {
        width: 70vw;
        margin-top: -2rem;
    }

    .video {
        width: 80%;
        margin: 0 auto 30px;
    }

    .services {
        margin-top: -50px;
    }
}

@media (max-width: 580px) {
    .portfolio .portfolio-container {
        grid-template-columns: 1fr;
    }

    .home .profession-container .profession-box {
        top: 500px;
        width: 95%;
        height: 60%;
    }

    #darkMode-icon {
        right: 6rem;
    }
}

@media (max-width: 541px) {
    .about {
        margin-top: 70px;
    }

    .services {
        margin-top: 50px;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 55%;
    }

    .home .profession-container .profession-box {
        top: 410px;
        width: 95%;
        height: 100%;
    }

    .home .profession-box img {
        height: 35%;
    }

    .contact form .input-box input {
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }
}

@media (max-width: 431px) {
    .about {
        margin-top: -80px;
    }

    .services {
        margin-top: -90px;
    }

    .home .profession-container .profession-box {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 412px) {
    html {
        font-size: 55%;
    }

    .home .profession-container .profession-box {
        top: 410px;
        width: 100%;
        height: 100%;
    }

    .home .profession-box img {
        height: 40%;
    }

    .about {
        margin-top: 1px;
    }

    .services {
        margin-top: 1px;
    }
}

@media (max-width: 375px) {
    .home .profession-box img {
        width: 90vw;
        height: 40%;
        margin-top: 200px;
    }

    .home .profession-container .profession-box {
        top: -400px;
        width: 95%;
        height: 100%;
    }

    .video {
        width: 80%;
        margin: 0 auto 30px;
    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-img img {
        width: 70vw;
        margin-top: -2rem;
    }

    .services {
        margin-top: -50px;
    }
}

@media (max-width: 365px) {
    .about-img img {
        width: 90vw;
    }
}

@media (max-width: 315px) {
    .home-content h1 {
        font-size: 4.5rem;
    }
}

img {
    border-radius: 20px;
}
@media (max-width: 768px) {
    .home .profession-box img {
        height: auto;
        max-height: 60vh;
        margin-top: 20px;
    }
}

@media (max-width: 450px) {
    .home .profession-box img {
        height: auto;
        max-height: 40vh;
        margin-top: 20px;
    }
}
/* Larger screens - default Bootstrap handles it */
.home .profession-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .home-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  /* Smaller screens (phones/tablets) */
  @media (max-width: 767.98px) {
    .home .row {
      flex-direction: column-reverse;
    }
  
    .home {
      padding: 2rem 1rem;
      text-align: center;
    }
  
    .home .home-content {
      margin-bottom: 2rem;
    }
  
    .profession-box {
      margin-top: 1rem;
    }
  
    .home-img {
      width: 90%;
      height: auto;
      margin: 0 auto;
    }
  }

  @media (max-width: 767.98px) {
    .about-content h3,
    .about-content p {
      text-align: center;
    }
  
    .about-content h2.heading {
      font-size: 2rem;
      text-align: center;
    }
  
    .about-img img {
      width: 90%;
      margin: 0 auto;
    }
  }



@media (max-width: 375px) {
    .home .profession-box img {
        height: auto;
        max-height: 35vh;
        margin-top: 30px;
    }
}
