*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #FAFAFA;
    color: #333333;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(Images/Background\ Image.png);
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 0;
}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 15px 10%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo{
    width: 140px;
}

nav ul{
    display: flex;
    align-items: center;
    margin-left: auto;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 0 15px;
}

nav ul li a{
    color: #333333;
    text-decoration: none;
    font-size: 15px;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #FF9F00;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 20%;
    font-size: 30px;
    color: #FFFFFF;
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    color: #FFFFFF;
}

.header-text h1 span{
    color: #FF9F00;
}

/* CV Button in Header */
.header-cv{
    position: absolute;
    bottom: 40px;
    right: 10%;
    z-index: 10;
}

.btn-cv{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #FF9F00;
    color: #FFFFFF;
    border: 2px solid #FF9F00;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 159, 0, 0.3);
}

.btn-cv:hover{
    background: #E35205;
    border-color: #E35205;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 82, 5, 0.4);
}

/*----------- About --------------------*/
#about{
    padding: 100px 0 80px 0;
    color: #4A4E69;
    background: #FFFFFF;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis: 35%;
}

.about-col-1 img{
    width: 100%;
    border-radius: 15px;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.15);
}

.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 60px;
    font-weight: 700;
    color: #003366;
}

.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #4A4E69;
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #FF9F00;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50px;
}

.tab-links.active-link{
    color: #003366;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    color: #4A4E69;
}

.tab-contents ul li span{
    color: #E35205;
    font-size: 14px;
    font-weight: 600;
}

.tab-contents{
    display: none;
}

.tab-contents.active-tab{
    display: block;
}

/* Skills Two Column Layout */
.skills-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.skills-column h3{
    font-size: 20px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 15px;
}

.skills-column h3 span{
    color: #E35205;
    font-size: 18px;
}

.skills-column ul{
    list-style: none;
    padding: 0;
}

.skills-column ul li{
    color: #4A4E69;
    margin: 12px 0;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.skills-column ul li::before{
    content: "▸";
    color: #FF9F00;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ---------------------Services----------------- */
#services{
    padding: 100px 0 80px 0;
    background: #F2F2F2;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div{
    background: #FFFFFF;
    padding: 40px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.1);
    border: 2px solid transparent;
}

.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
    color: #003366;
}

.services-list div h2{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #003366;
}

.services-list div p{
    color: #4A4E69;
    line-height: 1.8;
    margin-bottom: 20px;
}

.services-list div a{
    text-decoration: none;
    color: #FF9F00;
    font-size: 14px;
    margin-top: 20px;
    display: inline-block;
    font-weight: 600;
}

.services-list div:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 159, 0, 0.2);
    border-color: #FF9F00;
}

/*---- Portfolio - Modern Card Design ---*/
#portfolio{
    padding: 100px 0 80px 0;
    background: #FFFFFF;
}

.project-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.project-card{
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #F2F2F2;
}

.project-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.2);
}

.project-header{
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #003366, #005A9C);
    border-radius: 20px 20px 0 0;
}

.project-header img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.5s, opacity 0.5s;
    display: block;
}

.project-card:hover .project-header img{
    transform: scale(1.1);
    opacity: 0.9;
}

.project-body{
    padding: 30px;
}

.project-body h3{
    font-size: 22px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 15px;
    line-height: 1.4;
}

.project-body p{
    font-size: 14px;
    color: #4A4E69;
    line-height: 1.8;
    margin-bottom: 20px;
}

.tech-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tag{
    display: inline-block;
    padding: 6px 14px;
    background: #E8F4FF;
    color: #003366;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #B3D9FF;
}

.project-links{
    display: flex;
    gap: 15px;
}

.project-btn{
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.github-btn{
    background: #003366;
    color: #FFFFFF;
    border: 2px solid #003366;
}

.github-btn:hover{
    background: #005A9C;
    border-color: #005A9C;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

/*---- Certifications Section ---*/
#certifications{
    padding: 100px 0 80px 0;
    background: #F2F2F2;
}

.cert-description{
    text-align: center;
    color: #4A4E69;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter Buttons */
.cert-filters{
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn{
    padding: 12px 30px;
    border: 2px solid #7C3AED;
    background: transparent;
    color: #7C3AED;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover{
    background: #7C3AED;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.filter-btn.active{
    background: #7C3AED;
    color: #FFFFFF;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.cert-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.cert-card{
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0, 51, 102, 0.1);
    border: 2px solid #F2F2F2;
}

.cert-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15);
    border-color: #E0E0E0;
}

.cert-image{
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #E8F4FF;
    border-radius: 20px 20px 0 0;
}

.cert-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.cert-card:hover .cert-image img{
    transform: scale(1.1);
}

.cert-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,51,102,0.3), rgba(255,159,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.cert-card:hover .cert-overlay{
    opacity: 1;
}

.cert-overlay a{
    color: #FFFFFF;
    font-size: 40px;
    text-decoration: none;
    transition: transform 0.3s;
}

.cert-overlay a:hover{
    transform: scale(1.2);
}

.cert-info{
    padding: 30px;
}

.cert-info h3{
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cert-info p{
    font-size: 14px;
    color: #4A4E69;
    line-height: 1.8;
    margin-bottom: 18px;
}

.cert-date{
    display: inline-block;
    color: #FF9F00;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    background: #FFF5E6;
    border-radius: 20px;
    border: 1px solid #FFE0B3;
}

/*---- Contact ---*/
#contact{
    padding: 100px 0 80px 0;
    background: #FFFFFF;
}

.contact-header{
    text-align: center;
    margin-bottom: 60px;
}

.contact-header .sub-title{
    font-size: 60px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 20px;
}

.contact-header .contact-subtitle{
    color: #4A4E69;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.contact-left{
    flex-basis: 40%;
}

.contact-right{
    flex-basis: 55%;
}

.contact-info{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item{
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon{
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i{
    color: #FFFFFF;
    font-size: 20px;
}

.contact-text h3{
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 5px;
}

.contact-text p{
    font-size: 14px;
    color: #4A4E69;
    margin: 0;
}

.contact-text a{
    color: #4A4E69;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover{
    color: #7C3AED;
}

.contact-right form{
    width: 100%;
}

.form-group{
    margin-bottom: 20px;
}

.form-group label{
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

form input, form textarea{
    width: 100%;
    border: 2px solid #E0E0E0;
    outline: none;
    background: #FAFAFA;
    padding: 15px;
    color: #333333;
    font-size: 16px;
    border-radius: 10px;
    transition: border-color 0.3s;
    font-family: 'Poppins', sans-serif;
}

form input:focus, form textarea:focus{
    border-color: #7C3AED;
    background: #FFFFFF;
}

form textarea{
    resize: vertical;
    min-height: 150px;
}

form .btn2{
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form .btn2:hover{
    background: linear-gradient(135deg, #6D28D9, #7C3AED);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.btn{
    display: inline-block;
    margin: 30px 0;
    padding: 14px 40px;
    background: transparent;
    color: #003366;
    border: 2px solid #003366;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover{
    background: #003366;
    color: #FFFFFF;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #1a1a1a;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 14px;
}

.copyright i{
    color: #FF9F00;
}

#msg{
    color: #6BCB77;
    margin-top: 20px;
    display: block;
    font-weight: 600;
}

/*-----------Responsive Design--------*/
nav .fas{
    display: none;
}

@media only screen and (max-width: 600px){
    body{
        overflow-x: hidden;
    }
    
    #header{
        min-height: 100vh;
    }
    
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    
    .header-text h1{
        font-size: 30px;
    }
    
    .header-cv{
        right: 5%;
        bottom: 30px;
    }
    
    .btn-cv{
        padding: 12px 20px;
        font-size: 14px;
    }
    
    nav{
        padding: 10px 5%;
    }
    
    nav .fas{
        display: block;
        font-size: 25px;
        color: #333333;
    }
    
    nav ul{
        background: #FFFFFF;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        padding-top: 70px;
        z-index: 2000;
        transition: right 0.5s;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    nav ul li{
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    nav ul li a{
        color: #333333;
        font-size: 16px;
        display: block;
        padding: 18px 30px;
        border-bottom: 1px solid #f0f0f0;
        transition: background 0.3s;
    }
    
    nav ul li a:hover{
        background: #f8f8f8;
    }
    
    nav ul li a::after{
        display: none;
    }
    
    nav ul .fas{
        position: absolute;
        top: 20px;
        right: 20px;
        left: auto;
        cursor: pointer;
        color: #333333;
        font-size: 24px;
    }
    
    .sub-title{
        font-size: 40px;
    }
    
    .contact-header .sub-title{
        font-size: 36px;
    }
    
    .contact-header .contact-subtitle{
        font-size: 16px;
        padding: 0 20px;
    }
    
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    
    .about-col-1{
        margin-bottom: 30px;
    }
    
    .about-col-2{
        font-size: 14px;
    }
    
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    
    .skills-row{
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-left, .contact-right{
        flex-basis: 100%;
        margin-bottom: 40px;
    }
    
    .contact-info{
        gap: 20px;
    }
    
    .contact-item{
        gap: 15px;
    }
    
    .contact-icon{
        width: 45px;
        height: 45px;
    }
    
    .contact-icon i{
        font-size: 18px;
    }
    
    .project-cards{
        grid-template-columns: 1fr;
    }
    
    .cert-list{
        grid-template-columns: 1fr;
    }
    
    .cert-description{
        font-size: 16px;
        padding: 0 20px;
    }
    
    .cert-filters{
        padding: 0 20px;
        gap: 10px;
    }
    
    .filter-btn{
        padding: 10px 20px;
        font-size: 14px;
    }
}