*{
    margin:0;
    padding:0;
    font-family:'poppins', sans-serif;
    box-sizing:border-box ;
}
html{
    scroll-behavior: smooth;
    font-size: 16px;
}
body{
    background:#050101;
    color:#fff;
    line-height: 1.6;
}
#header{
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position:center;
    position: relative;
}
.container{
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 1, 1, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #ff004f;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ff004f;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Scroll Effect */
nav.scrolled {
    background: rgba(5, 1, 1, 0.98);
    padding: 0.5rem 0;
}

/* Mobile Navigation */
@media only screen and (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(5, 1, 1, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.header-text{
    margin-top: 20%;
    font-size: clamp(20px, 4vw, 30px);
}
.header-text h1{
    font-size: clamp(40px, 6vw, 60px);
    margin-top: 20px;
}
.header-text h1 span{
    color:#ff004f
}
/*--------------about------------*/
#about{
    padding: clamp(40px, 5vw, 80px) 0;
    color: #e6e1e1;
}
.row{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.about-col-1{
    flex: 1 1 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.about-col-1 img{
    width: min(350px, 100%);
    height: min(350px, 100%);
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    filter: brightness(0.95);
}
.about-col-1 img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 35px rgba(255, 255, 255, 0.5),
        0 0 70px rgba(255, 255, 255, 0.3),
        0 0 100px rgba(255, 255, 255, 0.2);
    filter: brightness(1.1);
}
.about-col-1::before {
    content: '';
    position: absolute;
    width: 370px;
    height: 370px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    animation: rotate 10s linear infinite;
    transition: all 0.5s ease;
}
.about-col-1::after {
    content: '';
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.05);
    animation: rotate 15s linear infinite reverse;
    transition: all 0.5s ease;
}
.about-col-1:hover::before {
    border-color: rgba(255, 255, 255, 0.3);
    animation: rotate 5s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.about-col-1:hover::after {
    border-color: rgba(255, 255, 255, 0.2);
    animation: rotate 8s linear infinite reverse;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.about-col-2{
    flex: 2 1 500px;
}
.sub-title{
    font-size: 18px;
    margin-bottom: 20px;
}

.sub-title h1 {
    background: linear-gradient(45deg, #ff004f, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sub-title p {
    line-height: 1.8;
    color: #e6e1e1;
    font-size: 16px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    text-align: justify;
    font-weight: 300;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid #ff004f;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sub-title p:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.tab-titles{
    display: flex;
    margin:20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position:relative;

}
.tab-links::after{
    content:'';
    width:0;
    height: 3px;
    background:#ff004f;
    position:absolute;
    left:0;
    bottom:-8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;

}
.tab-contents ul li{
    list-style: none;
    margin:10px 0;
}
.tab-contents ul li span{
    color:#ff004f;
    font-size:14px;
}
.tab-contents{
    display:none;
}
.tab-contents.active-tab{
    display: block ;
}
/*-------------Certifications----------------*/
#services{
    padding: 30px 0;
}
.services-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;

}
.services-list div{
    background:#262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: backgroun 0.5s,transform 0.5s;
}
.services-list div i{
    font-size: 20px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display:inline-block;

}
.services-list div:hover{
    background: #ff004f;
    transform:translateY(-10px);
}
/*--projects---*/
#portfolio{
    padding: 50px 0;
}
.work-list{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    margin: 50px 0;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}
.work img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6),#ff004f);
    border-radius: 10px;
    position:absolute;
    left:0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;

} 
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;

}
.layer a{
    margin-top:20px;
    color:#ff004f;
    text-decoration:none ;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;

}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100% ;

}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #ff004f;
}
/*------------------CONTACT-------------*/
.contact-left{
    flex: 1 1 300px;
}
.contact-right{
    flex: 1 1 300px;
}
.contact-left p{
    margin-top:30px;

}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;

}
.social-icons{
    margin-top: 30px;

}
.social-icons a{
    text-decoration: none ;
    font-size: 30px;
    margin-right: 15px;
    color:#ababab;
    display:inline-block;

}
.social-icons a:hover{
    color:#ff004f;
    transition: translateY();

}
.btn.btn2{
    display: inline-block;
    background: #ff004f;

}
.contact-right form{
    width: 100%;

}
form input,form textarea{
    width: 100%;
    border: 0;
    outline: none;
    padding: 15px;
    background: #262626;
    margin: 15px 0;
    color: #fff;
    font-size: clamp(14px, 2vw, 18px);
    border-radius: 6px;
}
form btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color: #ff004f;
}

/*---------------css for small screen------------*/
nav .fa-solid {
    color: #ff004f;
    font-size: 25px;
    cursor: pointer;
    display: none;
}

@media only screen and (max-width: 768px) {
    .container {
        padding: 10px 3%;
    }

    .header-text {
        margin-top: 120px;
        text-align: center;
    }

    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }

    .tab-titles {
        flex-wrap: wrap;
        gap: 20px;
    }

    .tab-links {
        margin-right: 20px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 480px) {
    .header-text h1 {
        font-size: 32px;
    }

    .sub-title h1 {
        font-size: 28px;
    }

    .work-list {
        grid-template-columns: 1fr;
    }

    .contact-left, .contact-right {
        flex-basis: 100%;
    }

    .social-icons a {
        font-size: 24px;
        margin-right: 10px;
    }
}

/* Animation for smooth transitions */
@media (prefers-reduced-motion: no-preference) {
    .work, .services-list div, .about-col-1 img {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: #050101;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }

    nav, .btn, .social-icons {
        display: none;
    }
}

#msg{
    color:#61b752;
    margin-top: -40px;
    display: block;
}
