*{
    margin: 0;
    padding: 0;
}
body{
    font-family: 'Bree Serif', serif;
    display: grid;
}
css variables
:root{
    --navbar-height: 20px
}
#navbar{
    display: flex;
    align-items: center;
    position: relative;
    top: 0;
}
/* logo and image  */
#logo{
    margin: 4px;
    margin-right: 500px;
}
#logo img{
    height: 70px;
    margin: 10px 7px;
    cursor: pointer;
}
.img img{
    height: 50px;
    border-radius: 50px;
    width: 50px;
    cursor: pointer;
}
/* list style  */
#navbar ul{
    display: flex;
    margin-right: 150px;
}
#navbar::before{
    content: '';
    background: black;
    position: absolute;
    height: 90%;
    width: 100%;
    z-index: -1;
    opacity: 0.7;
    top:0;
    left: 0;
}
#navbar ul li{
    color: #ffffff;
    list-style-type: none;
    font-size: 1.3rem;
}
#navbar ul li a{
    padding: 3px 22px;
    display: block;
    text-decoration: none;
}
#navbar ul li a:hover{
    color: #ffffff;
    border: 1px solid#fff;
    border-radius: 20px;
}
#navbar .active{
    border: 2px solid#fff;
    border-radius: 20px;
}
#home {
    display: flex;
    flex-direction: column;
    padding: 3px 200px;
    justify-content: center;
    align-items: center;
    height: 529px;
    position: relative; /* Required for absolute positioning of the video */
    overflow: hidden; /* Ensures the video doesn't overflow the section */
    color: white; /* Set text color to contrast with the video */
}

#bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
    z-index: -1; /* Places the video behind the content */
    opacity: 0.89; /* Adjust opacity if needed */
}
.h-pri{
    font-size: 3rem;
    padding: 12px;
    color: #3E3E3E;
}
#home h1{
    color: #fff;
    text-align: center;
    letter-spacing: 2px;
    font-family: 'Bree Serif', serif;

}
#home p{
    color: #fff;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 1px;
    font-family: 'Bree Serif', serif;
}
.btn{
  padding: 8px 20px;
  border-radius: 10px;
  font-size: 1rem;
  background: linear-gradient(to right,#fb5283,#ff3527);
  color: #fff;
  border: none;
  margin: 20px;
  cursor: pointer;
  text-align: center;
}
.btn:hover{
    color: #ffff;
    border: 2px solid#fff;
}

/* services area  */

.h-secon{
    font-size: 2rem;
    padding: 10px; 
    letter-spacing: 2px;
    color: #3E3E3E;
}
.center{
    text-align: center;
    color: #3E3E3E;
}
#services{
    margin-top: 10px;
    display: flex;
}
#services .box{
   border: none;
   padding: 15px;
   margin: 10px;
   border-radius: 30px;
   color: rgb(14, 13, 13);
   box-shadow: inset 5px 5px 5px rgba(0,0,0,0.2),
   inset -5px -5px 15px rgba(255,255,255,0.1),
   5px -5px 15px rgba(0,0,0,0.3),
   -5px -5px 15px rgba(255,255,255,0.1);
   transition: 0.5s;
}
#services .box img{
    height: 160px;
    margin: auto;
    display: block;
}
.btn-1{
    padding: 8px 20px;
    border-radius: 10px;
    margin: 20px 175px;
    border: none;
    background: linear-gradient(to right,#fb5283,#ff3527);
    color: #fff;
    cursor: pointer;
}
.box:hover{
    transform: translateY(-20px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.5);
}
.btn-1:hover{
    background: linear-gradient(45deg,#87adfe,#ff77cd);
}

/* Client Section Styles */
#client-section {
    padding: 40px 0;
    background: #f9f9f9;
    min-height: 300px;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container h1 {
    text-align: center;
    color: #3E3E3E;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-size: 2.5rem;
    box-shadow: none;
    transform: none;
}

#clients {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-item {
    margin: 0;
    padding: 20px;
    transition: transform 0.3s ease;
}

.client-item:hover {
    transform: scale(1.1);
}

.client-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Gallery Section Styles */
.gallery {
    padding: 40px 0;
    background: #fff;
}

.gallery h1 {
    text-align: center;
    color: #3E3E3E;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-size: 2.5rem;
    box-shadow: none;
    transform: none;
}

.imggalr {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    grid-auto-rows: 250px;
}

.imggalr .box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.imggalr .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.imggalr .box:hover img {
    transform: scale(1.1);
}

.imggalr .box.a {
    grid-row: span 2;
}

.imggalr .box.b,
.imggalr .box.f,
.imggalr .box.j {
    grid-column: span 2;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .imggalr {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    #clients {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .client-item {
        padding: 10px;
    }

    .imggalr {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .imggalr .box.b,
    .imggalr .box.f,
    .imggalr .box.j {
        grid-column: span 1;
    }

    .container h1,
    .gallery h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    #clients {
        grid-template-columns: repeat(2, 1fr);
    }

    .imggalr {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .imggalr .box.a {
        grid-row: span 1;
    }

    .container h1,
    .gallery h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

.blog {
    padding: 40px 20px;
    background: #f9f9f9;
}

#blog-area {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.box-1 {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.box-1:hover {
    transform: translateY(-10px);
}

.box-1 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.box-1 .content {
    padding: 20px;
}

.box-1 h2 {
    margin-bottom: 15px;
    color: #333;
}

.box-1 p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-2 {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(to right,#fb5283,#ff3527);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-2:hover {
    background: linear-gradient(to right,#ff3527,#fb5283);
    transform: translateY(-2px);
}

/* Contact Form Styles */
#contact {
    padding: 60px 20px;
    background: #fff;
}

#contact-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #fb5283;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

#contact .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin: 20px 0 0 0;
    transition: all 0.3s ease;
}

.section-1{
    margin-left: 100px;
    justify-content: center;
    align-items: center;
}
.section-1 img{
    height: 60px;
    margin-top: 20px;
}
.section-1 p{
    font-size: 18px;
    width: 50%;
}
footer{
    display: inline-block;
    padding: 10px;
    color: #fff;
    background-color: #011c39;
}
.section-1 > *{
    flex: 1 100%;
}
.section-1{
    margin-right: 1.2em;
    margin-bottom: 2em;
}
h2{
    font-weight: 600;
    font-size: 17px;
}
.section-1 ul{
    list-style: none;
    padding-left: 0;
}
.section-1 li{
    line-height: 2em;
}
.section-1 a{
    text-decoration: none;
}
.footer-right{
    display: flex;
    float: right;
    margin-top: -120px;
    
}
.footer-right ul li{
    margin-right: 40px;
}
.box a{
    color: #999;
}
.section-1 p{
    padding-right: 20%;
    color: #999;
}
.social{
    margin-top: 20px;
}
.social a{
    background-color: #364a62;
    display: inline-block;
    margin-right: 10px;
}
.social a i{
    color: #e7f2dd;
    padding-right: 10px 12px;
    font-size: 20px;
}
.footer-bottom{
    margin-top: 10px;
    text-align: center;
}

/* Add these media queries at the end of your CSS file */

/* For tablets and smaller screens (max-width: 768px) */
@media screen and (max-width: 768px) {
    #navbar {
        flex-direction: column;
        padding: 10px;
    }

    #logo {
        margin-right: 0;
        text-align: center;
    }

    #navbar ul {
        margin-right: 0;
        padding: 10px 0;
    }

    .img {
        display: none; /* Hide the profile image on mobile */
    }

    #services {
        flex-direction: column;
    }

    #services .box {
        margin: 20px 10px;
    }

    .btn-1 {
        margin: 20px auto;
        display: block;
    }

    #home {
        padding: 3px 20px;
        height: 400px;
    }

    .h-pri {
        font-size: 2rem;
    }

    #clients {
        flex-wrap: wrap;
    }

    .client-item {
        flex: 0 0 33.33%;
        margin: 10px 0;
    }

    .imggalr {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    #blog-area {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .box-1 {
        margin: 10px 0;
    }

    #contact-box {
        padding: 10px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    .footer-right {
        flex-direction: column;
        float: none;
        margin-top: 20px;
    }

    .section-1 {
        margin-left: 20px;
    }

    .section-1 p {
        width: 100%;
    }
}

/* For mobile phones (max-width: 480px) */
@media screen and (max-width: 480px) {
    #navbar ul {
        flex-direction: column;
        text-align: center;
    }

    #navbar ul li {
        margin: 5px 0;
    }

    .client-item {
        flex: 0 0 50%;
    }

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

    .imggalr .box.b,
    .imggalr .box.f,
    .imggalr .box.j,
    .imggalr .box.i {
        grid-column: span 1;
    }

    .h-pri {
        font-size: 1.8rem;
    }

    #home p {
        font-size: 0.9rem;
    }

    .social a i {
        font-size: 16px;
    }
}

/* For larger screens (min-width: 1200px) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
        margin: 0 auto;
    }

    #services {
        justify-content: space-between;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    #navbar ul {
        display: none;
    }

    #navbar ul.show {
        display: flex;
    }
}
