@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

:root{
    --black: #1B1722;
    --white: #F0F0F0;
    --purple: #7213BE;
    --box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s ease;
}

*{
    font-family: 'Montserrat', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: var(--transition);
}

html{
    font-size: 62.5%;   
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background-color: var(--purple);
    border-radius: 5rem;
}

/* Header Styles */
.header{
    top: 0;right: 0;left: 0;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    padding: 1.4rem 7%;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .logoContent{
    display: flex;
    align-items: center;
}

.header .logoContent .logo img{
    height: 4rem;
}

.header .navbar a{
    font-size: 1.8rem;
    margin-right: 3rem;
    color: var(--black);
    font-weight: 500;
    position: relative;
}

.header .navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--purple);
    transition: var(--transition);
}

.header .navbar a:hover::after {
    width: 100%;
}

.header .icon i{
    font-size: 2rem;
    margin-right: 2rem;
    color: var(--purple);
    cursor: pointer;
}

.header .search{
    display: none;
    top: 100%;
    margin: 1.5rem 7%;
    background-color: transparent;
    width: 50%;
    right: 0;
    height: 5rem;
    position: absolute;
}

.header .search input{
    width: 100%;
    height: 100%;
    font-size: 1.5rem;
    background-color: var(--white);
    color: var(--black);
    margin-right: 7%;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    box-shadow: var(--box-shadow);
}

.header .search.active{
    display: inline-block;
}

#menu-bar{
    display: none;
}

/* Hero Section */
.hero {
    min-height: 40vh;
    background: linear-gradient(rgba(27, 23, 34, 0.8), rgba(27, 23, 34, 0.8)), url(images/headerbranding.png) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
    margin-bottom: 0;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Section */
.portfolio {
    padding: 3rem 7%;
    background-color: #f9f9f9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(114, 19, 190, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s ease;
}

.portfolio-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-content p {
    font-size: 1.6rem;
    opacity: 0.9;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Styles */


.footer {
    background-color: #f8f9fa;
    padding: 6rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #7213BE, transparent);
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
    padding: 0 7%;
    margin-bottom: 4rem;
}

.footer .box-container .mainBox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer .box-container .mainBox .content {
    margin-bottom: 2rem;
}

.footer .box-container .mainBox .content img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer .box-container .mainBox .content img:hover {
    transform: scale(1.1);
}

.footer .box-container .mainBox p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #666;
    margin-top: 1rem;
}

.footer .box-container .box h3 {
    font-size: 2rem;
    color: #7213BE;
    padding-bottom: 1.5rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.footer .box-container .box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #7213BE;
}

.footer .box-container .box a {
    display: block;
    font-size: 1.5rem;
    color: #666;
    padding: 0.7rem 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer .box-container .box a i {
    color: #7213BE;
    margin-right: 1rem;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.footer .box-container .box a:hover {
    color: #7213BE;
    transform: translateX(5px);
}

.footer .box-container .box a:hover i {
    transform: translateX(5px);
}

.footer .share {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin: 0 7%;
}

.footer .share a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    font-size: 2rem;
    color: #7213BE;
    background: #fff;
    margin: 0 0.5rem;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.footer .share a:hover {
    background: #7213BE;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(114,19,190,0.3);
}

.footer .credit {
    font-size: 1.6rem;
    color: #666;
    text-align: center;
    padding: 2rem 7%;
    border-top: 1px solid #eee;
}

.footer .credit span {
    color: #7213BE;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    .header {
        padding: 1.3rem 3rem;
    }
    
    .hero {
        min-height: 35vh;
        padding: 5rem 2rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
        max-width: 500px;
    }
    
    .portfolio {
        padding: 2.5rem 5%;
    }
}

@media (max-width: 768px) {
    #menu-bar {
        display: inline-block;
    }
    
    .header .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 25rem;
        background-color: rgba(255, 255, 255, 0.95);
        height: auto;
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .header .navbar.active {
        right: 2rem;
    }
    
    .header .navbar a {
        display: block;
        font-size: 1.8rem;
        margin: 1.5rem 0;
    }
    
    .hero {
        min-height: 30vh;
        padding: 4rem 1.5rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.5rem;
        max-width: 400px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 25vh;
        padding: 3rem 1rem 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
        line-height: 1.5;
        max-width: 300px;
    }
    
    .portfolio {
        padding: 1.5rem 3%;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}
