* {
    margin     : 0;
    padding    : 0;
    box-sizing : border-box;
    font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background-color: #000;
    color      : white;
    overflow-x : hidden;
}

/* Navbar */
.navbar{
    display         : flex;
    justify-content : space-between;
    align-items     : center;
    background-color: transparent;
    width           : 100%;
    max-width       : 1200px;
    padding         : 16px 20px;
    margin          : 0 auto;
}
.logo{
    display    : flex;
    align-items: center;
}
.logo img{
    height: 40px;
}
.nav-links{
    display    : flex;
    gap        : 32px;
    align-items: center;
}
/* Navlinks */
.nav-links a{
    color          : white;
    text-decoration: none;
    font-size      : 16px;
    font-weight    : 400;
    transition     : opacity 0.3s;
}
.nav-links a:hover{
    opacity: 0.8;
}
.get-quote-btn{
    background-color: rgba(255, 255, 255, 0.3);
    border-radius   : 4px;
    padding         : 8px 16px;
}
.mobile-menu-btn {
    display   : none;
    background: transparent;
    border    : none;
    color     : white;
    font-size : 24px;
    cursor    : pointer;
}
@media(max-width: 768px){
    .mobile-menu-btn{
        display: block;
    }
    .nav-links{
        display         : none;
        flex-direction  : column;
        position        : absolute;
        top             : 50px;
        right           : 0;
        background-color: #000;
        padding         : 20px;
        width           : 200px;
        z-index         : 10;
        box-shadow      : 0 4px 10px rgba(0, 0, 0, 0.3);
        border-radius   : 0 0 0 8px;
    }
    .nav-links a{
        width     : 100%;
        text-align: left;
    }
    .get-quote-btn{
        margin-top: 8px;
        width     : 100%;
        text-align: center;
    }
}
@media (max-width: 480px){
    .logo img{
        height: 32px;
    }
    .navbar{
        padding: 12px 4%;
    }
}

/********************************** NAVBAR ENDS HERE **************************************/
.portfolio-section{
    max-width: 1200px;
    padding  : 20px;
    margin   : 0 auto;
    width    : 100%;
    position : relative;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}
.portfolio-header{
    padding-top:50px;
}
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.portfolio-item:hover {
    transform: translateY(-5px);
}
.portfolio-image {
    aspect-ratio: 1;
    width: 100%;
    position: relative;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.portfolio-image::after {
    content: 'View';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}
.portfolio-title {
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    text-align: center;
}
.project-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.project-type {
    font-size: 0.9rem;
    color: #999;
}

/* CTA Styles with Background Layer */
.cta-wrapper {
    position: relative;
    text-align: center;
    padding: 60px 20px;
}

.cta-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; background-image: url('https://techsaint.co.in/techsaint/public/images/teamLayer.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    border-radius: 12px;
    overflow: hidden;
    z-index: -1;
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 15px;
    }
    
    .team-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .cta-wrapper {
        padding: 40px 15px;
    }
    
    .cta-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .team-section {
        padding: 40px 15px;
    }
    
    .team-heading {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .cta-wrapper {
        padding: 30px 15px;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}


/******************************** PORTFOLIO ENDS HERE ***********************/


.footer{
    padding: 4rem 0rem;
}
.footer-content{
    max-width: 1200px;
    padding  : 0px 20px;
    margin   : 0 auto;
    width    : 100%;
    position : relative;
}
.footer-main{
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}
.brand-section img{
    height: 40px;
    margin-bottom: 1rem;
}
.brand-section p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 300px;
}
.footer-column h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
}
.footer-links{
    list-style: none;
    padding-left: 0px;
}
.footer-links li{
    margin-bottom: 1rem;
}
.footer-links a{
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.footer-links a:hover{
    color: white;
}
.social-links{
    display: flex;
    gap: 1rem;
}
.social-links a{
    color: white;
    text-decoration: none;
}
.copyright{
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.85rem;
}
@media(max-width: 768px){
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .brand-section{
        grid-column: 1 / -1;
    }
}
@media (max-width: 480px){
    .footer-main{
        grid-template-columns: 1fr;
    }
}

