* {
    margin: 0;
    padding: 0;
}

/* Ensure body and HTML don't overflow */
html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/*--background---*/
@keyframes backgroundChange {
    0%, 100% {
        background: linear-gradient(rgba(80, 75, 75, 0.7), rgba(4, 4, 4, 0.7)), url('../img/christina-wocintechchat-com-Q80LYxv_Tbs-unsplash.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    50% {
        background: linear-gradient(rgba(80, 75, 75, 0.7), rgba(4, 4, 4, 0.7)), url('../img/christina-wocintechchat-com-Q80LYxv_Tbs-unsplash.jpg');
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

.header {
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(rgba(80, 75, 75, 0.7), rgba(4, 4, 4, 0.7)), url('../img/christina-wocintechchat-com-Q80LYxv_Tbs-unsplash.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

/*----navigation----*/
nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

/* LOGO SIZE REDUCED HERE */
/* Default logo size - significantly reduced from original */
nav img.logo {
    width: 120px; /* Reduced from 180px */
    height: 80px; /* Reduced from 220px */
    object-fit: contain; /* Changed from cover to contain to show full logo */
    transition: all 0.3s ease;
}

/* Adjust image size for tablets */
@media (max-width: 1024px) {
    nav img.logo {
        width: 100px;
        height: 70px;
    }
}

/* Adjust image size for mobile */
@media (max-width: 720px) {
    nav img.logo {
        width: 80px; /* Reduced from 100px */
        height: 60px; /* Reduced from 100px */
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    nav img.logo {
        width: 70px;
        height: 50px;
    }
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: color 0.3s;
}

.nav-links ul li::after {
    content: '';
    width: 0;
    height: 2px;
    background: #53c2ba;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
}

.text-box {
    width: 90%;
    color: #fff;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 40px auto;
    box-sizing: border-box;
}

.text-box h1 {
    margin-bottom: 15px;
    white-space: normal;
    font-size: clamp(24px, 6vw, 48px);
    line-height: 1.2;
}

.text-box p.mobile-truncate {
    font-size: clamp(16px, 3vw, 18px);
    color: #fff;
    max-width: 100%;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Mobile: Limit to 6 lines */
@media (max-width: 767px) {
    .text-box p.mobile-truncate {
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(1.5em * 6);
    }
}

/* Tablet */
@media (min-width: 768px) {
    .text-box {
        width: 70%;
        margin: 60px auto;
    }
    .text-box p.mobile-truncate {
        -webkit-line-clamp: initial;
        overflow: visible;
        max-height: none;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .text-box {
        width: 50%;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    .text-box p.mobile-truncate {
        font-size: 18px;
    }
}

.hero-btn {
    display: inline-block;
    padding: 12px 25px;
    margin-top: 20px;
    background-color: #53c2ba;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-btn:hover {
    background-color: #3e4848;
}

@media (max-width: 700px) {
    .text-box h1 {
        font-size: 28px;
    }
    .text-box p {
        font-size: 14px;
        padding: 0 10px;
    }
    .hero-btn {
        font-size: 14px;
        width: 90%;
        padding: 10px 20px;
    }
}

nav.fa {
    display: flex;
}

/* Hide menu icon on larger screens */
#menu-icon, #close-icon {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 700px) {
    /* Show menu icon */
    #menu-icon {
        display: block;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    /* Hide nav links by default */
    .nav-links {
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 96vh;
        background: #53c2ba;
        text-align: left;
        transition: 0.5s;
        padding-top: 60px;
        z-index: 999;
    }
    
    /* Show nav links when active */
    .nav-links.active {
        right: 0;
    }
    
    /* Show close icon inside the menu */
    #close-icon {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: white;
        cursor: pointer;
    }
    
    .nav-links ul {
        list-style: none;
        padding: 0 20px;
    }
    
    .nav-links ul li {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-links ul li a {
        color: white;
        font-size: 16px;
        text-decoration: none;
    }
}

/* -------Our Mission------*/
.Mission {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.mission-col {
    flex: 1 1 300px;
    background: #53c2ba;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 25px 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    color: white;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.mission-col:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media(max-width:700px) {
    .row {
        flex-direction: column;
    }
}

.founder-col {
    text-align: center;
    margin: 50px auto;
    max-width: 300px;
}

.founder-col img {
    width: 190px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #53c2ba;
}

.founder-name {
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

.founder-title {
    font-size: 16px;
    color: #555;
    margin-top: 5px;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icons a:hover {
    transform: scale(1.1);
}

.whatsapp {
    background-color: #25D366;
}

.facebook {
    background-color: #1877F2;
}

.linkedin {
    background-color: #0A66C2;
}

/* Recent Work */
.Work {
    width: 80%;
    margin: 80px auto;
    text-align: center;
}

.Work h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.Work p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.work-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.work-col {
    flex: 1 1 400px;
    max-width: 500px;
}

.work-col img {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.work-col img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Read More Button */
.button-container {
    text-align: center;
    margin-top: 30px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    background: #53c2ba;
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #3e4848;
    transform: translateX(5px);
}

.arrow {
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow {
    transform: translateX(5px);
}

.cta {
    margin: 100px auto;
    width: 50%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/microsoft-365-oUbzU87d1Gc-unsplash.jpg');
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta h1 {
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width:700px) {
    .cta h1 {
        font-size: 24px;
    }
}

/* footer */
.footer-about {
    background: #f9f9f9;
    padding: 50px 20px;
    color: #333;
}

.footer-about h4 {
    font-size: 28px;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

/* Layout for four columns */
.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about {
    text-align: center;
    padding: 20px;
    color: black;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-about h4 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Inline (row) layout with no wrapping */
.footer-columns {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 20px;
    text-align: left;
}

/* Equal column width */
.footer-about {
    text-align: center;
    padding: 20px;
    color: black;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: left;
}

/* Base column styling */
.footer-column {
    flex: 1 1 250px;
}

.footer-column h5 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #53c2ba;
    border-bottom: 2px solid #53c2ba;
    padding-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.footer-column ul li i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Optional: Improve layout spacing for very small screens */
@media (max-width: 600px) {
    .footer-columns {
        flex-direction: row;
        align-items: center;
    }
    .footer-column {
        flex: 1 1 100%;
        text-align: center;
    }
    .footer-column h5 {
        text-align: center;
    }
}

.footer-column ul li a {
    color: #53c2ba;
    text-decoration: none;
    transition: color 0.5s;
}

.footer-column ul li a:hover {
    color: #007B7F;
}

.footer {
    background-color: #53c2ba;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 14px;
}

.footer p {
    margin: 0;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 1rem;
}

.footer-info div {
    white-space: nowrap;
}

.info-label {
    font-weight: bold;
    color: #007B7F;
}

/* Contact Us page */
.location {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.location iframe {
    width: 90%;
    height: 450px;
    border-radius: 10px;
}

.contact-us {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 40px;
}

.contact-box {
    width: 45%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-col div {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-col i {
    font-size: 24px;
    color: #53c2ba;
    margin-right: 15px;
}

.contact-col h5 {
    margin: 0;
    font-size: 18px;
}

.contact-col p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #555;
}

.section-title {
    text-align: left;
    font-size: 25px;
    color: #555;
    margin-bottom: 30px;
    padding-top: 10px;
    font-weight: 50;
    letter-spacing: 1px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

/* paragraph on Project schedule */
.center-text {
    text-align: center;
    margin: 0 auto;
}

form {
    width: 100%;
    height: 190px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #47d8ce;
    border-radius: 5px;
}

.hero-btn {
    display: block;
    width: 30%;
    padding: 5px;
    border: none;
    background: #53c2ba;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.hero-btn:hover {
    background: #111717;
}

/* Responsive Design */
@media (max-width: 700px) {
    .contact-us {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }
    .contact-box {
        width: 90%;
        max-width: 400px;
    }
}

/*---------About Page------- */
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../img/mom123.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}

.sub-header h1 {
    margin-top: 50px;
}

.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

/*---------services page------- */
.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img {
    width: 75%;
    height: 35%;
    border-radius: 30px;
}

.about-col h1 {
    padding-top: 0;
}

.about-col p {
    padding: 15px 0 25px;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

/*---------about page------- */
.about1-col {
    width: 75%;
    height: 35%;
    border-radius: 30px;
}

.about1-col img {
    width: 60%;
    height: 20%;
    border-radius: 30px;
}

.red-btn {
    border: 1px solid#53c2ba;
    background: transparent;
    color: #53c2ba;
}

.red-btn:hover {
    color: #53c2ba;
}





/*---------project Page------- */