html, body {
    height: 100%;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
        font-family: 'Montserrat', sans-serif;

}

.home {
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
                url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 90px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.7s ease, box-shadow 0.7s ease;
}
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8); 
}
.navbar-brand {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.navbar-brand:hover {
    color: white;
}

.navbar .nav-link {
    color: white;
    position: relative;
    padding-bottom: 5px;
    font-weight: 700;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1.5px;
    background-color: red;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.navbar .nav-link:hover::after {
    opacity: 1;
}
.navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 10px;
}

@media (min-width: 992px) {
    .navbar-collapse {
        background-color: transparent;
        padding: 0;
        margin-top: 0;
        border-radius: 0;
    }
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-item {
    margin: 10px;
    display: flex;
    align-items: center;
}

.content {
    min-height: 80vh;
    height: auto;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.content h2 {
    font-size: 53px;
    font-weight: 700;
}

.content p {
    font-size: 25px;
}

.content a {
    text-decoration: none;
    min-width: 190px;
    width: auto;
    margin-top: 15px;
    border: 1px solid rgb(193, 189, 189);
    padding: 10px 25px;
    border-radius: 20px;
    background-color: transparent;
    color: white;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.content a:hover {
    background-color: #e43c5c;
}
.about{
    width: auto;
    min-height: auto;
    height: auto;
}
.about-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
}
.about-header p {
    width: auto;
    min-width: 80px;
    height: auto;
    min-height: 30px;
    background-color: rgb(245, 199, 199);
    padding: 5px 15px;
    color: #e43c5c;
    border-radius: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
}
.about-header h2 {
    min-height: 50px;
    font-weight: 550;
}
.about-header h2 span{
    color: #e43c5c;
}
.about-content {
    display: flex;
    flex-wrap: wrap;
    padding: 50px 5%;
}

.about-content .left {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.about-content .left h1 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-content .left p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-content .left a {
    text-decoration: none;
    display: inline-block;
    min-width: 140px;
    width: auto;
    height: auto;
    min-height: 40px;
    text-align: center;
    padding: 7px 20px;
    border-radius: 20px;
    border: 2px solid #e43c5c;
    color: #e43c5c;
    font-size: 14px;
    font-weight: 550;
    transition: 0.3s ease;
}
.about-content .left a:hover {
    color: white;
    background-color: #e43c5c;
}

.about-content .right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}
.about-content .box i {
    font-size: 33px;
    color: #e43c5c;
    margin-bottom: 20px;
    display: inline-block;
}

.about-content .box h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.about-content .box h4:hover{
    color: #e43c5c;
    transition: .3s ease;
    cursor: pointer;
}
.about-content .box p {
    font-size: 14px;
    line-height: 1.6;
    color: rgb(161, 158, 158);
}
.services{
    width: 100%;
    min-height: auto;
    height: auto;
    margin-bottom: 100px;
    padding-bottom: 80px;
}

.card{
    height: auto;
    min-height: 270px;
    margin-top: 50px;
}
.card .icon{
    padding-top: 20px;
}
.card h5 a{
    text-decoration: none;
    color: black;
}
.service-card {
    position: relative;
    overflow: hidden;
    height: auto;
    min-height: 280px;
    background-color: #fff;
    color: #212529;
    transition: color 0.3s ease-in-out;
}

.service-card .overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dc3545;
    z-index: 0;
    transition: bottom 0.3s ease-in-out;
}

.service-card .icon,
.service-card h5,
.service-card h5 a,
.service-card p {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease-in-out;
}

.service-card:hover .overlay {
    bottom: 0;
}

.service-card:hover h5 a,
.service-card:hover p,
.service-card:hover .icon {
    color: white !important;
}
.service-box:hover{
    color: #dc3545;
    cursor: pointer;
    transition: .3s ease;
    border: 1px solid #dc3545 !important;
}

.container.mb-5 {
    margin-top: 80px !important;
    margin-bottom: 60px !important;
}

.action{
    width: auto;
    min-height: 400px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('../img/cta-bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 60px 20px;
}
.action-content {
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px; 
}
.action-content a {
    min-width: 170px;
    width: auto;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid white;
    margin: 15px auto 0; 
    display: inline-block;       
    transition: background-color 0.3s ease;
}
.action-content a:hover {
    background-color: #e43c5c;
}
.bar{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
}
.bar span {
    padding: 10px 15px; 
    color: black;
    margin: 0 3px; 
    border-radius: 25px; 
    cursor: pointer; 
    transition: 0.4s ease;
}
.bar span.active {
    background-color: #c7334e;
    color: white;
}
.bar span:hover {
    background-color: #c7334e; 
    color: white;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(270px, auto);
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.item {
    overflow: hidden;
    position: relative;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tall {
    grid-row: span 2;
}

.wide {
    grid-column: span 2;
}
.overlay {
    position: absolute;
    bottom: -200px;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.75);
    color: black;
    padding: 10px 15px;
    box-sizing: border-box;
    transition: bottom 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.overlay .icons{
    font-size: 20px;
    margin: 20px;
    cursor: pointer;
}
.item:hover .overlay {
    bottom: 0;
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    position: fixed;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
}

.btn2 {
    color: white;
    font-size: 30px;
    position: absolute;
    top: 20px;
    cursor: pointer;
    user-select: none;
    z-index: 1000;
    cursor: pointer;
}

.close {
    right: 20px;
}

.prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.overlay h5 {
    font-size: 16px;
    margin-bottom: 5px;
}
.overlay p {
    font-size: 13px;
    opacity: 0.8;
}
.prices{
    width: 100%;
    min-height: auto;
    height: auto;
    padding-bottom: 100px;
    margin-bottom: 100px;
    position: relative;
    z-index: 1;
}
.pricing-card {
    height: auto;
    min-height: auto;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    border-radius: 20px;
    margin-top: 0;
    overflow: visible;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.pricing-card-top {
    margin-top: 100px;
}

@media (max-height: 900px) {
    .pricing-card-top {
        margin-top: 50px;
    }
}

@media (max-width: 1200px) {
    .pricing-card-top {
        margin-top: 80px;
    }
}

@media (max-width: 1200px) and (max-height: 900px) {
    .pricing-card-top {
        margin-top: 30px;
    }
}

/* Tablet and below */
@media (max-width: 992px) {
    .pricing-card-top {
        margin-top: 30px;
    }
    
    .pricing-card {
        min-height: auto;
    }
    
    .tall-card {
        min-height: auto;
    }
}

@media (max-width: 992px) and (max-height: 800px) {
    .pricing-card-top {
        margin-top: 20px;
    }
    
    .prices {
        padding-bottom: 50px;
        margin-bottom: 50px;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .pricing-card-top {
        margin-top: 0 !important;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-section {
        padding: 20px 0;
    }
    
    .pricing-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .pricing-section .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .prices {
        padding-bottom: 60px;
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .pricing-card-top {
        margin-top: 0 !important;
    }
    
    .prices {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    
    .asked {
        margin-top: 60px;
        padding-top: 40px;
    }
}
.pricing-card .icon {
    width: 70px;
    height: 70px;
    background-color: #ff4d6d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    font-size: 30px;
    color:white !important;
    box-shadow: 0 4px 15px rgba(215, 6, 6, 0.8);
    margin: 0 auto 20px auto;
}
.price{
    color: #ff4d6d;
}
.pricing-card.featured {
    border: 3px solid #ff4d6d;
}
.pricing-card ul li {
    margin-bottom: 10px;
}
.pricing-card button{
    min-width: 170px;
    width: auto;
    height: auto;
    min-height: 50px;
    padding: 10px 25px;
    border: 1px solid gray;
    color: gray;
}
.pricing-card button:hover{
    background-color: #e43c5c;
    color: white;
}
.card-body{
    padding-top: 60px;
    padding-bottom: 30px;
    overflow: visible;
}
.card-body h5{
    padding-bottom: 30px;
}
.card-body ul{
    padding-top: 50px;
    padding-left:30px ;
    padding-bottom: 20px;
}
.card-body ul li{
    font-size: 18px;
    word-wrap: break-word;
}
.tall-card{
    height: auto;
    min-height: auto;
}
.asked{
    width: 100%;
    min-height: auto;
    height: auto;
    margin-top: 150px;
    padding-top: 80px;
    padding-bottom: 50px;
    position: relative;
    z-index: 0;
    clear: both;
}

@media (max-height: 900px) {
    .asked {
        margin-top: 100px;
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

@media (max-height: 800px) {
    .asked {
        margin-top: 80px;
        padding-top: 50px;
        padding-bottom: 30px;
    }
}

@media (max-height: 700px) {
    .asked {
        margin-top: 60px;
        padding-top: 40px;
        padding-bottom: 30px;
    }
}
.asked .about-header p{
    width: auto;
    min-width: 250px;
    padding: 5px 20px;
}
.accordion{
    margin-top: 50px;
    width: 75%;
    margin: 0 auto;
    padding: 30px;
}
.accordion-item{
    border: 1px solid #cbced1;
    background-color: rgba(255, 0, 0, 0.03);
}
.accordion-button{
    padding-top: 25px;
    padding-bottom: 25px;
}
.accordion-button:not(.collapsed){
    background-color: rgba(255, 0, 0, 0.01);
    color: #dc3545;
}
.accordion-button:hover{
    color: #dc3545;
    transition: .3s ease;
}
.accordion-button:focus {
    box-shadow: none !important;
}
.team{
    margin-top: 0;
    margin-bottom: 200px;
    padding-top: 0;
}

@media (max-height: 900px) {
    .team {
        margin-top: 0;
        margin-bottom: 100px;
    }
}

@media (max-height: 800px) {
    .team {
        margin-top: 0;
        margin-bottom: 80px;
    }
}

@media (max-height: 700px) {
    .team {
        margin-top: 0;
        margin-bottom: 60px;
    }
}
.team-card .card-body {
    padding: 10px; 
    border-radius: 6px; 
}

.team-card h5 {
    margin-bottom: 0;
    font-size: 16px;
    min-height: 5px;
    height: auto;
}

.team-card p {
    margin-bottom: 0; 
    font-size: 14px;
    color: #6c757d;
}
.team-card .icons {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.4s ease;
    color: black;
    font-size: 18px;
    background-color: rgba(255, 255, 255, .6);
    width: 100%;
    max-width: 320px;
    min-height: 50px;
    height: auto;
    align-items: center;
}

.team-card:hover .icons {
    bottom: 0; 
    opacity: 1;
    cursor: pointer;
}
.team-card .icons i:hover{
    color: #ff4d6d;
    transition: .3s ease;
}
.team-card .icons2 {
    position: absolute;
    top: -1%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.4s ease;
    color: white;
    font-size: 18px;
    background-color: rgba(0, 0, 0, .5);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.team-card:hover .icons2 {
    top: 0;
    opacity: 1;
    cursor: pointer;
}

.team-card .icons2 i:hover {
    color: #ff4d6d;
    transition: .3s ease;
}
.team-card .icons2 p{
    padding-top: 10px;
    color: rgb(228, 226, 226) ;
}
.contact{
    margin-top: 100px;
}
.items .icon{
    font-size: 20px;
    margin-right: 20px;
    margin-bottom: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e43c5c;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}
.items .icon-content{
    font-size: 14px;
}
.items .icon-content h5{
    font-weight: bold;
}
.contact-content {
    display: flex;
    gap: 30px; 
    align-items: flex-start;
}

.contact-content .left {
    width: 40%;
}

.contact-content .right {
    width: 100%;
    margin-bottom: 50px;
}
.input{
    padding: 12px;
    border-radius: 0;
}
.input:focus {
    border-color: #dc3545 !important;
    box-shadow: none; 
    outline: none;
}
.right button{
    min-width: 170px;
    width: auto;
    padding: 10px 25px;
}
form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

form input[name="name"],
form input[name="email"] {
    flex: 1;
    min-width: 200px;
    width: 100%;
}

@media (min-width: 768px) {
    form input[name="name"],
    form input[name="email"] {
        width: 48%;
        flex: none;
    }
}

form input[name="subject"],
form textarea {
    width: 100%;
}
.footer{
    min-height: auto;
    height: auto;
    background-color: black;
    padding-top: 50px;
    padding-left: 70px;
    padding-right: 70px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}
.top{
    display: flex;
}
.footer .items-footer{
    font-size: 15px;
    max-width: 600px;
    width: 100%;
    min-height: 250px;
    height: auto;
    margin: 0;
}
.items-footer h2{
    color: white;
    padding-bottom: 20px;
}
.items-footer p{
    color: white;
}
.footer .icons{
    display: flex;
    color: rgb(152, 145, 145);
}
.footer .icon{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgb(152, 145, 145);
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer .icon:hover{
    color:#e43c5c;
    cursor: pointer;
    transition: .3s ease;
    border: 1px solid #e43c5c;
}
.footer-links{
    width: auto;
    min-width: 200px;
    min-height: 250px;
    height: auto;
}
.footer-links h4{
    color: white;
    font-size: 18px;
    margin-left: 30px;
    margin-bottom: 20px;
    margin-top: 5px;
}
.footer-links ul li{
    list-style: none;
    padding-bottom: 10px;
}
.footer-links a{
    text-decoration: none;
    color: #afb1b4;
}
.footer-links a:hover{
    cursor: pointer;
    color: #dc3545;
    transition: .3s ease;
}
.footer-contact{
    margin-top: 2px;
    color: white;
}
.footer-contact h4{
    font-size: 18px;
}
.footer-contact p{
    font-size: 15px;
    margin-bottom: 5px;
}
.footer .bottom{
    width: 100%;
    max-width: 100%;
    color: white;
    text-align: center;
    font-size: 15px;
    background-color: rgb(20, 20, 20);
    min-height: 80px;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    margin-left: -70px;
    margin-right: -70px;
    padding-left: 70px;
    padding-right: 70px;
}
.footer .bottom a{
    text-decoration: none;
    color: #dc3545;
}
.footer .bottom a:hover{
    color: #b62a38;
    transition: .3s ease;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet and below (max-width: 992px) */
@media (max-width: 992px) {
    .about-content {
        padding: 50px 4%;
    }
    
    .about-content .right {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(250px, auto);
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .contact-content .left {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .contact-content .right {
        width: 100%;
    }
    
    .footer .top {
        flex-wrap: wrap;
    }
    
    .footer-links {
        width: 50%;
        margin-bottom: 30px;
    }
}

/* Medium tablets (max-width: 900px) */
@media (max-width: 900px) {
    .about-content .right {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        height: 70px;
    }
    
    .navbar-brand {
        font-size: 24px;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    /* Hero Section */
    .home {
        padding-top: 70px;
    }
    
    .content {
        padding: 0 20px;
    }
    
    .content h2 {
        font-size: 36px;
    }
    
    .content p {
        font-size: 18px;
    }
    
    /* About Section */
    .about-header {
        padding-top: 50px;
    }
    
    .about-header h2 {
        font-size: 28px;
        text-align: center;
        padding: 0 20px;
    }
    
    .about-content {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .about-content .left {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .about-content .left h1 {
        font-size: 24px;
        text-align: center;
    }
    
    .about-content .left p {
        text-align: center;
    }
    
    .about-content .left p br {
        display: none;
    }
    
    .about-content .left a {
        display: block;
        margin: 0 auto;
    }
    
    .about-content .right {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .pricing-card {
        min-height: auto;
        height: auto;
    }
    
    .tall-card {
        min-height: auto;
        height: auto;
    }
    
    .card-body {
        padding-bottom: 30px;
    }
    
    .card-body ul {
        padding-bottom: 20px;
    }
    
    .about-content .box p br {
        display: none;
    }
    
    /* Services Section */
    .services {
        padding: 0 20px;
    }
    
    .card {
        margin-top: 30px;
        height: auto;
        min-height: 250px;
    }
    
    .service-card {
        height: auto;
        min-height: 250px;
    }
    
    /* Action Section */
    .action {
        min-height: auto;
        height: auto;
        padding: 60px 20px;
        background-attachment: scroll;
    }
    
    .action-content h2 {
        font-size: 28px;
    }
    
    .action-content p {
        font-size: 16px;
    }
    
    .action-content p br {
        display: none;
    }
    
    /* Portfolio Gallery */
    .gallery {
        grid-template-columns: 1fr;
        padding: 20px 15px;
        grid-auto-rows: minmax(250px, auto);
    }
    
    .tall {
        grid-row: span 1;
    }
    
    .item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .bar span {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    /* Pricing Section */
    .prices {
        padding: 0 20px;
    }
    
    .pricing-section {
        padding: 20px 0;
    }
    
    .pricing-section .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .pricing-card {
        height: auto;
        min-height: auto;
        margin-top: 0 !important;
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .pricing-card-top {
        margin-top: 0 !important;
    }
    
    .tall-card {
        height: auto;
        min-height: auto;
    }
    
    .card-body {
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .card-body ul {
        padding-top: 30px;
        padding-left: 20px;
    }
    
    /* FAQ Section */
    .asked {
        margin-top: 60px;
        padding: 40px 20px;
    }
    
    .team {
        margin-top: 0;
        margin-bottom: 60px;
    }
    
    .prices {
        padding-bottom: 80px;
        margin-bottom: 80px;
    }
    
    .accordion {
        width: 100%;
        padding: 20px 0;
    }
    
    /* Team Section */
    .team {
        margin-bottom: 100px;
        padding: 0 20px;
    }
    
    .team-card .icons {
        width: 100%;
    }
    
    /* Contact Section */
    .contact {
        margin-top: 50px;
        padding: 0 20px;
    }
    
    .map iframe {
        width: 100% !important;
        height: 250px !important;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .items {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }
    
    .items .icon {
        margin-bottom: 15px;
    }
    
    form {
        flex-direction: column;
    }
    
    form input[name="name"],
    form input[name="email"],
    form input[name="subject"],
    form textarea {
        width: 100% !important;
        flex: none !important;
    }
    
    /* Footer */
    .footer {
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: hidden;
    }
    
    .footer .top {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .footer-links {
        width: 100%;
        margin-bottom: 30px;
        margin-left: 0;
        max-width: 100%;
    }
    
    .footer-links h4 {
        margin-left: 0;
    }
    
    .footer-contact {
        width: 100%;
        max-width: 100%;
    }
    
    .footer .bottom {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        font-size: 13px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
    
    .footer .items-footer {
        max-width: 100%;
        width: 100%;
    }
    
    /* Remove line breaks on mobile for better text flow */
    .about-content .left p br,
    .action-content p br {
        display: none;
    }
    
    /* Ensure images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Fix container padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Better spacing for service boxes */
    .service-box {
        margin-bottom: 15px;
    }
    
    /* Team card improvements */
    .team-card .img-container {
        overflow: hidden;
    }
    
    /* Pricing card button */
    .pricing-card button {
        width: 100%;
    }
}

/* Small mobile devices (max-width: 576px) */
@media (max-width: 576px) {
    .content h2 {
        font-size: 28px;
    }
    
    .content p {
        font-size: 16px;
    }
    
    .about-header h2 {
        font-size: 24px;
    }
    
    .about-content .left h1 {
        font-size: 20px;
    }
    
    .action-content h2 {
        font-size: 24px;
    }
    
    .action-content p {
        font-size: 14px;
    }
    
    .navbar-brand {
        font-size: 20px;
    }
    
    .service-card {
        min-height: 220px;
    }
    
    .gallery {
        grid-auto-rows: 250px;
    }
    
    .pricing-card .icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .card-body h5 {
        font-size: 20px;
    }
    
    .card-body ul li {
        font-size: 16px;
    }
}

/* Extra small devices (max-width: 400px) */
@media (max-width: 400px) {
    .content h2 {
        font-size: 24px;
    }
    
    .content a {
        width: 160px;
        padding: 8px;
        font-size: 14px;
    }
    
    .about-header p {
        width: auto;
        padding: 5px 15px;
    }
    
    .bar span {
        padding: 6px 10px;
        font-size: 12px;
    }
}
