
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

body{
    background: lightblue;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container{
    position: relative;
    width: 1005px;
    max-height: 1150px;
    min-height: 1220px;
    background: #fff;
    margin: 50px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    box-shadow: 0 35px 55px rgba(0, 0, 0, 0.9);
}

.container .left_side{
    position: relative;
    background: #003147;
    padding: 40px;
}

.portfoliotext{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.portfoliotext .imgbox{
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}

.portfoliotext .imgbox img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfoliotext h2{
    color: #fff;
    font-size: 1.5rem;
    margin-top: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    line-height: 1.4em;
}

.portfoliotext h2 span{
    font-size: 0.8em;
    font-weight: 300;
}

.contactinfo{
    padding-top: 40px;
}

.title{
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.contactinfo ul{
    position: relative;
}

.contactinfo ul li{
    position: relative;
    list-style: none;
    margin: 10px 0;
    cursor: pointer;
}

.contactinfo ul li a{
    display: inline-block;
    width: 30px;
    font-size: 18px;
    color: #03a9f4;
}

.contactinfo ul li .icon{
    display: inline-block;
    width: 30px;
    font-size: 18px;
    color: #03a9f4;
}

.contactinfo ul li span{
    color: #fff;
    font-weight: 300;
}

.Education li{
    margin-bottom: 15px;
    position: relative;
    list-style: none;
    margin: 10px 0;
    cursor: pointer;
}

.Education h5{
    color: #03a9f4;
    font-weight: 500;
}

.Education h4:nth-child(2){
    color: #fff;
    font-weight: 500;
}

.Education h4{
    color: #bdffac;
    font-weight: 300;
}

.language ul li {
    position: relative;
    list-style: none;
    margin: 10px 0;
    cursor: pointer;
    color: #fff;
}
.language .percent {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgb(38, 38, 38);
    display: block;
    margin-top: 5px;
}

.language .percent div{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #03a9f4;
}

.container .right_side{
    position: relative;
    background: #ddf4ff;
    padding: 40px;
}

.about{
    margin-bottom: 50px;
}

.about:last-child{
    margin-bottom: 0;
}

.title2{
    color: #003147;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

p{
    color: #333;
}

.about .box{
    display: flex;
    flex-direction: row;
    margin: 20px 0;
}

.about .box h5{
    font-size:  large;
}

.about .box .your_company{
    min-width: 150px;
}

.about .box .your_company h5{
    text-transform: uppercase;
    color: #848c90;
    font-weight: 600;
    font-size: large;
    margin-right: 20px;
}

.about .box .text h4{
    text-transform: uppercase;
    color: #2a7da2;
    font-size: 16px;
}

.skills .box{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 150px 1fr;
    justify-content: center;
    align-items: center;
}

.skills .box h4{
    text-transform: uppercase;
    color: #848c99;
    font-weight: 500;
}

.skills .box .percentage{
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #adadad;
}

.skills .box .percentage div{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #03a9f4;
}

.interest ul{
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.interest ul li{
    list-style: none;
    color: #333;
    font-weight: 500;
    margin: 10px 0;
}

.interest ul li i{
    color: #03a9f4;
}

.btn button{
    width: 170px;
    height: 35px;
    border-radius: 5px;
    margin-bottom: 40px;
    font-size: large;
    background: #03a9f4;
    color: #003147;
}

.btn button:hover{
    color: #03a9f4;
    background: #003147;
    transition: 0.5s;
}

.btn button{
    width: 170px;
    height: 35px;
    border-radius: 5px;
    font-size: large;
    background: #03a9f4;
    color: #003147;
}

.btn2 button:hover{
    color: #03a9f4;
    background: #003147;
    *{
        margin: 0;
        padding: 0;
        font-family: 'poppins', sans-serif;
        box-sizing: border-box;    
    }
    
    body{
        background: #2c0223;
        color: #fff;
    }
    
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background-color: #300526;
    }
    
    .logo{
        color: #fff;
        font-size: 2rem;
        margin-left: 120px;
    }
    
    .logo span{
        color: rgb(0, 168, 0);
        text-shadow: 0 0 20px #00ff5e;
    }
    
    .nav-links {
        list-style: none;
        display: flex;
    }
    
    .nav-links li {
        position: relative;
        transition: 0.5s;
    }
    
    .nav-links a {
        color: #d312b6;
        margin-right: 50px;
        text-decoration: none;
        padding: 5px;
        font-size: large;
        transition: 0.5s;
    }
    
    .nav-links a:hover {
        color: #ffffff;
        text-decoration: underline;
        text-shadow: 0 0 20px #00ff5e;
        
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #333;
        min-width: 190px;
        z-index: 1;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 1rem;
        text-decoration: none;
        display: block;
        color: #fff;
    }
    
    .dropdown-content a:hover {
        background-color: #575757;
    }
    
    .menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
    }
    
    .bar {
        height: 4px;
        width: 25px;
        background-color: #fff;
        margin: 3px 0;
    }
    
    @media screen and (max-width: 768px) {
        .nav-links {
            display: none;
            flex-direction: column;
            width: 100%;
            position: absolute;
            top: 60px;
            left: 0;
            background-color: #333;
        }
    
        .nav-links.active {
            display: flex;
        }
    
        .menu-toggle {
            display: flex;
        }
    }
    
    
    .firstsection {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap; 
        margin: 7vh 0;
    }
    
    .firstsection > div {
        flex: 1; 
        max-width: 50%; 
        min-width: 250px; 
        margin: 10px; 
    }
    
    .leftsection {
        font-size: 50px;
        padding-left: 50px;
    }
    
    .leftsection .btn {
        padding: 12px;
        background-color: #4b0f3d;
        border: 2px solid white;
        border-radius: 5px;
        cursor: pointer;
        font-size: large;
        color: white;
        margin-right: 10px; 
        transition: background 0.5s, color 0.5s; 
    }
    
    .leftsection .btn:hover {
        background: white;
        color: #4b0f3d;
    }
    
    .rightsection {
        display: flex;
        justify-content: center; 
        align-items: center;
        margin: 50px 0;
    }
    
    #element {
        color: #26ff00; 
        font-weight: bold; 
    }
    
    @media (max-width: 768px) {
        .firstsection {
            flex-direction: column; 
            align-items: center
        }
    
        .firstsection > div {
            max-width: 100%; 
            text-align: center; 
        }
    
        .leftsection {
            font-size: 1.5rem; 
        }
    
        .rightsection img {
            width: 100%; 
            max-width: 400px; 
        }
    }
    
    .about {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 20px;
    }
    
    .about img{
        border-radius: 5px;
    }
        
    .container {
        display: flex;
        flex-direction: column;
        word-wrap: break-word;
        background: #2c0223;
        color: white;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
        padding: 20px;
        max-width: 400px; 
        height: auto; 
        margin: 20px;
        margin-left: 50px;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease;
    }
        
    .container:hover {
        transform: scale(1.05); 
    }
        
    .text {
        margin-top: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
        
    .container:hover .text {
        opacity: 1;
        transform: translateY(0);
    }
        
    h1 {
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        text-align: left;
    }
        
    h1 span {
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
        color: rgb(255, 255, 0);
    }
        
    p {
        font-size: 1.5rem; 
        text-align: center;
        padding: 0 20px;
    }
        
    i {
        color: #ff6666;
        text-align: center;
        font-size: 2.5rem; 
    }
        
    @media (max-width: 768px) {
        .about {
            flex-direction: column;
            align-items: center;
        }
        
            .container {
            max-width: 90%; 
            }
        
            h1 {
                font-size: 1.5rem;
            } 
        
            p {
                font-size: 0.9rem; 
            }
    }
            
    
    
    .secondsection {
        max-width: 90vw;
        margin: auto;
        height: auto; 
        padding: 20px; 
    }
    
    .text-gray {
        color: gray;
        margin-left: 30px;
        text-align: center;
    }
    
    .secondsection h1 {
        font-size: 2.5rem; 
        color: #939393;
        text-align: center;
        margin-bottom: -40px;
    }
    
    .secondsection h1:hover {
        color: #ffffff;
    }
    
    .secondsection .box {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between; 
        margin: 66px 0;
    }
    
    .secondsection .vertical {
        flex: 1 1 calc(33% - 40px); 
        margin: 20px; 
        background-color: #4b0f3d;
        padding: 10px; 
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
        border-radius: 5px; 
        display: flex;
        flex-direction: column; 
        align-items: center; 
    }
    
    .secondsection .vertical:hover{
        background: #330028;
        box-shadow: 0 2px 5px rgba(255, 255, 255, 0.9);
        transition: 0.5s
    
    }
    
    .img-top {
        width: 45px;
        margin-bottom: 10px; 
    }
    
    .vertical-title {
        margin-top: 10px;
        text-align: center;
        color: #00ff22; 
    }
    
    .vertical-desc {
        font-size: 0.8rem; 
        color: rgb(206, 206, 206);
        text-align: center; 
        font-size: large;
    }
    
    @media (max-width: 768px) {
        .secondsection h1 {
            font-size: 2rem; 
        }
    
        .secondsection .vertical {
            flex: 1 1 100%; 
            margin: 10px 0; 
        }
    }
    
    #services h1 {
        font-size: 45px;
        margin-left: 120px;
        margin-bottom: -40px;
        color: gray;
        text-align: center;
        
    }
    
    #services h1:hover {
        color: #ffffff;
    }
    
    
    #services table {
        width: 100%;
        table-layout: fixed;
        border-spacing: 80px;
    }
    
    #services table tr td {
        background-color: #4b0f3d;
        border: 1px solid #a90082;
        height: 300px;
        padding: 0px;
        
        border-radius: 10px;
        margin-bottom: -500px;
        text-align: center;
    }
    
    #services table tr td:hover {
        box-shadow: 0 0 20px rgb(233, 230, 230);
        background-color: #2c0223;
        transform: scale(1.05);
        transition: transform 0.6s ease, box-shadow 0.6s ease, background-color 0.6s ease;
    }
    
    
    #services table tr td i {
        margin-top: 20px;
        font-size: 50px;
        text-align: left;
        color: #ff9f9f;
    }
    
    #services table tr td h3 {
        font-size: 1.5rem;
        text-transform: uppercase;
        color: rgb(178, 178, 178);
    }
    
    #services table tr td p {
        font-size: 1.2rem;
        color: rgb(213, 213, 213);
        word-wrap: break-word;
    }
    
    #services table tr td h6 {
        font-size: medium;
        color: #26ff00;
        margin-bottom: 10px;
        cursor: pointer;
    }
    
    #services button {
        width: 150px;
        height: 45px;
        border: none;
        background-color: #4b0f3d;
        color: white;
        font-size: large;
        border-radius: 5px;
        cursor: pointer;
    }
    
    #services button:hover {
        background-color: white;
        color: #2c0223;
        transition: 0.5s;
    }
    
    @media screen and (max-width: 768px) {
        #services h1 {
            font-size: 30px;
            text-align: center;
            margin-left: 0;
        }
    
        #services table {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    
        #services table tr td {
            width: 90%;
            margin-bottom: 20px;
        }
    
        #services button {
            width: 100%;
            padding: 10px;
            font-size: 1rem;
        }
    }
    
    #contact {
        background-color: #4b0f3d;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        max-width: 800px;
        margin: auto;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    #contact:hover{
        box-shadow: 0 0 20px rgb(233, 230, 230);
        background-color: #2c0223;
        transform: scale(1.05);
        transition: transform 0.6s ease, box-shadow 0.6s ease, background-color 0.6s ease;
    }
    
    #contact h1 {
        color: gray;
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 20px;
    }
    
    #contact a {
        color: #930b73;
        font-size: 1.25rem;
        text-decoration: none;
        display: block;
        text-align: justify;
        line-height: 2;
        margin-left: 260px;
    }
    
    #contact a i {
        color: rgb(114, 253, 158);
        font-size: 2rem;
        margin-right: 10px;
    }
    
    #contact a:hover {
        color: #00ff22;
        transition: 0.5s;
    }
    
    #boxA {
        background-color: #4b0f3d;
        padding: 20px;
        border-radius: 10px;
        margin-top: 20px;
    }
    
    #boxA input {
        width: 100%;
        height: 40px;
        border-radius: 5px;
        padding-left: 10px;
        margin-bottom: 15px;
        border: none;
        font-size: large;
    }
    
    #boxA input[type="text"],
    #boxA input[type="email"] {
        background-color: #701a5c;
        color: #fff;
    }
    
    #boxA input#msg {
        height: 60px;
        background-color: #4b0f3d;
        color: #00e5ff;
    }
    
    #boxA button {
        width: 100%;
        height: 40px;
        background-color: #2b0026;
        font-size: large;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.5s;
    }
    
    #boxA button:hover {
        background-color: white;
        color: #2b0026;
    }
    
    #projects {
        max-width: 800px;
        margin: 40px auto 0;
        text-align: center;
    }
    
    #projects h1 {
        color: gray;
        font-size: 2.5rem;
        text-align: center;
    }
    
    #projects p {
        font-size: 1.25rem;
        color: rgb(194, 120, 120);
        margin: 10px 0 20px;
    }
    
    #projects img {
        width: 100%;
        max-width: 230px;
        margin: 10px;
    }
    
    @media (max-width: 600px) {
        #contact {
            padding: 10px;
        }
    
        #contact h1 {
            font-size: 2rem;
        }
    
        #projects h1 {
            font-size: 2rem;
        }
    
        #projects p {
            font-size: 1rem;
        }
    
        #projects img {
            max-width: 100%;
        }
    }
    
    
    .faq-container {
        width: 80%;
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .faq-container{
        background-color: #2b0026;
        border: 2px solid;
    }
    
    .faq-container h1 {
        margin-bottom: 20px;
        text-align: center;
        color: #ffffff;
    }
    
    .faq-item {
        margin-bottom: 10px;
    }
    
    .faq-question {
        width: 100%;
        padding: 15px;
        border: none;
        background-color: #4b0f3d;
        color: #00ff22;
        font-size: x-large;
        text-align: left;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        outline: none;
    }
    
    .faq-answer {
        display: none;
        padding: 15px;
        background-color: #f1f1f1;
        border-radius: 5px;
        color: #2b0026;
        margin-top: 5px;
    }
    
    .faq-answer p {
        margin: 0;
    }
    
    .footer {
        background-color: #2b0026;
        color: #fff;
        padding: 50px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-container {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .footer-section {
        flex: 1;
        min-width: 250px;
        margin: 20px;
    }
    
    .footer-section h2 {
        border-bottom: 2px solid #fff;
        margin-bottom: 10px;
        padding-bottom: 10px;
        position: relative;
        overflow: hidden;
    }
    
    .footer-section h2:before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: #ff6347;
        transform: translateX(-50%) scaleX(0);
        transition: transform 0.5s ease;
    }
    
    .footer-section h2:hover:before {
        transform: translateX(-50%) scaleX(1);
    }
    
    .footer-section p {
        line-height: 1.6;
    }
    
    .footer-section ul {
        list-style-type: none;
        padding: 0;
    }
    
    .footer-section ul li {
        margin: 10px 0;
    }
    
    .footer-section ul li a {
        color: #ff6347;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        color: #fff;
    }
    
    .social-links {
        display: flex;
    }
    
    .social-icon {
        margin: 0 10px;
        color: #ff6347;
        font-size: 24px;
        transition: transform 0.3s ease;
    }
    
    .social-icon:hover {
        transform: scale(1.2);
    }
    
    .footer-bottom {
        text-align: center;
        margin-top: 20px;
    }
    
    .footer-bottom p {
        margin: 0;
    }
    
    @media (max-width: 768px) {
        .footer-container {
            flex-direction: column;
            align-items: center;
        }
    }
}

@media (max-width: 1000px)
{
    .container
    {
        margin: 10px;
        grid-template-columns: repeat(1,1fr);
    }

    .interest ul
    {
        grid-template-columns: repeat(2,1fr);
    }

}

@media (max-width: 600px) 
{
    .about .box
    {
        flex-direction: column;
    }

    .about .box .your_company
    {
        min-width: 150px;
        margin-bottom: 5px;
    }

    .interest ul
    {
        grid-template-columns: repeat(1,1fr);
    }

    .skills  .box
    {
        grid-template-columns: repeat(1,1fr);
    }
    
}





