*{
    margin: 0;
    padding: 0;
    font-family:'Poppins',sans-serif;
    box-sizing: border-box;
}
body{
    background-color: #060606;
    color: #fff;
}
body {
    width: 100%;
    height: 100vh;
    background-image: url("imagee/123.jpeg");
    background-size: cover;       /* makes it cover entire screen */
    background-repeat: no-repeat; /* prevents tiling */
    background-position: center;  /* keeps it centered */
}
#header{
    image-resolution: 1000%;
}
html{
    scroll-behavior: smooth;
}
.container{
    padding: 10px 10%;
    padding-bottom: 30%;
}
nav{
    display: flex;
    align-items: right;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    width: 250px; 
}
nav ul li{  /* this is for the home and other buttons to algn horizontally */
    display: inline-block;
    list-style: none;
    font-size: large;
    margin: 20px 30px;
}
nav ul li a{
    color: #121010;
    text-decoration: none;
    font-size: large;
    position: relative;
}
nav ul li a::after{ 
    width: 0;
    content: '';
    height: 3px;
    background-color:#f9fcfa; /* hover colour*/
    position: absolute;
    left:0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
nav .fa-solid{
    display:none;
}

.menubutton{
    display: none;
}
.header-text {
    margin-top: 20%;
    padding-left: 10%;
    color: rgb(10, 3, 3);
}

.header-text h1 {
    font-size: 50px;
    margin-bottom: 20px;
    padding-top:10%;
    padding-left: 10%;
    align-items: center;
    font-weight: 300;   /* thin */
    font-size: 3rem;    /* adjust size */
    font-family: 'Poppins', sans-serif;
}
.header-text h2 {
    font-size: 30px;
    color: #e5ebe7;
    padding-left: 10%;
    padding-bottom: 20%;
    align-items: center;
    font-weight: 700;   /* bold/thick */
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
}

.header-text h2 > .animated-text {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    overflow: hidden;
    color: #f7f6f6;
    height: 40px; /* adjust this to match one line of text */
}

.header-text h2 > .animated-text > span {
    display: block;
    padding-bottom: 20%;
    animation: slide 10s linear infinite;
}

@keyframes slide {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
.header-h1
{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #ede9ea;
}
#about{
    padding:80px ;
    color:#d3cdd2;
}
.row
{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1
{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 150%;
    border-radius: 10px;
}
 /* to make about me near the image */
.about-col-2{
    flex-basis: 45%;
}
.about-col-2 h2{
    font-size: 50px;
}
.about-col-2 span{
    color: #ff004f;

}
.about-col-2 p{
    color:#d3cdd2;
    font-size:20px;
    font-weight: 400;
    line-height: 1.5;
}
.tab-titles {
    display: flex;
    margin: 20px 0  40px;
}
.tab-links 
{
    margin-right: 50px;
    font-size: 18px;;
    cursor: pointer;
    position:relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background-color:#ff004f; 
    position: absolute;
    left:0;
    bottom: -8px;
    transition: 0.5s;
} 
.tab-links.active-link::after{
    width:50%;
} 
.tab-contents ul li span{
    color:#95143c;
}
.tab-contents ul li br{
    text-align: right;
    color: #00e645;
}
.tab-contents{
    display:none;
}
.tab-contents.active-tab p{
    padding-left: 20px;
    font-size:medium;

}
.tab-contents.active-tab{
    display:block;
}
/* -----------service-------- */
#service{
    padding:20px -10px;
}
.service-list{
    display:flex;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 20px;;
    margin-top:100px;
}
h1{
    padding-left: 5%;
    color: #f8f9f8;
}
.service-list div{
    background: #262626;
    padding: 40px;
    font-size: 20px;
    font-weight: 300;
    border-radius: 20px;
    transition: background 0.5s,transform 0.5s;
}
.service-list div i{
    font-size: 40px;
    margin-bottom: 30px;;
}
.service-list div h3{
    font-size: 30px;;
    font-weight: 500;
    margin-bottom: 15px;
}
/* .container1{
    display: flex;
    width: 400px;
    height: 340px;
    gap: 10px;
} */
.card{
    flex: 1;
    min-width: 70px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;

}

.service-list div p{
    text-decoration: none;;
    color: hsl(0, 9%, 80%);
    font-size: 17px;
    display: inline-block;
    margin-top: 20px;
}
.service-list div:hover{
    background: #720328;
    transform: translateY(-10px);
}
.service-list div a i{
    font-size: 40px;
    margin-bottom: 30px;;
}
.service-list div h3 p{
    font-size: 17px;;
   display: inline-block;
    margin-top: 20px;
}
.portfolio-link {
    background-color: #1a73e8; 
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.portfolio-link a {
    color: #f1f2f5;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.portfolio-link a:hover {
    color: #3838ac;
}



/* ------------------contact--------- */
#contact{
    padding-top: 100px;
    font-size: x-large;
}
.contact-left{
    flex-basis: 80%;
    line-height: 1.5;

}
.contact-right{
    flex-basis: 80%;
    align-items: end;
    display:grid
}
.contact-left p{
    margin-top: 30px ;

}
#social-icon i {
    color: #dbced2; 
    margin-right: 10px; 
    font-size: 20px;
    transition: color 0.3s; 
}
#social-icon p{
    margin: 15px 0;
    font-size: 16px;
}
#social-icon i:hover {
    color: #00ffae; 
    transform: translateY(-3px);
}
.contact-right form{
    width: 100%;
}
    #contact-left {
    flex: 1;
    max-width: 45%;
    padding: 20px;
}

.contact-right {
    flex: 1;
    max-width: 50%;
    padding: 20px;
}

.contact-right .btn {
    background-color: #ff004f; 
    color: #fff;               
    padding: 12px 30px;        
    font-size: 18px;          
    border: none;               
    border-radius: 8px;         
    cursor: pointer;            
    transition: background 0.3s;
}

.contact-right .btn:hover {
    background-color: #00e645;
}

form input,form textarea{
    width: 100%;;
    border: 0;
    outline: none;
    background: #262626;
    padding:15px;
    margin:15px;
    color: #fff;
    font-size: 18px;;
    border-radius: 6px;
}

/* Responsive layout for phones and smaller tablets */
@media only screen and (max-width:600px)
{
#header {
    background: url(imagee/1234.jpeg) no-repeat center center;
        background-size: cover; /* This makes the image cover the entire screen */
        width: 100%;
        height: 100vh; /* Full viewport height */
        animation: gradientBG 15s ease infinite;
        overflow: hidden;
    }
}  
@keyframes gradientBG{
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}

}
.header-text  {
    margin-top: 10%;
    color:#000301;
    font-size: 16px;
    padding-left: 20;
}
.header-text-h1{
    font-size: 30px;
}
nav .fa-solid{
    display: block;
    font-size: 25px;
}
nav ul {
    background: #d1123f;
    position: fixed;
    top: 0;
    right: -200px;
    width:200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2 ;
    transition: right 0.5s;
}
nav ul li{
    display: block;
    margin:25px;
}
nav ul .fa-solid{
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
}
}

@media (max-width: 800px) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    #contact-left, .contact-right {
        max-width: 100%;
        text-align: center;
        padding: 10px;
    }

    #contact-left {
        margin-bottom: 20px;
    }

    .contact-right {
        align-items: right;
    }
}







