/* BODY */
body{
margin:0;
font-family:Poppins;
background:linear-gradient(135deg,#0f2027,#203a43,#2c5364);
color:white;
padding-top: 80px;
}

/* NAV */
nav{
display:flex;
justify-content:space-between;
padding:15px 40px;
background:rgba(255,255,255,0.05);
position:fixed;
width:95%;
top:0;
backdrop-filter:blur(10px);
}

.nav-links a{
color:white;
margin-left:20px;
text-decoration:none;
}

.nav-links a:hover{
color:#00f7ff;
}

/* HERO */
.hero{
text-align:center;
padding:120px 20px;
}

.profile{
width:140px;
height:140px;
border-radius:50%;
border:3px solid #00f7ff;
}

/* SECTIONS */
.section{
margin:40px;
padding:30px;
background:rgba(255,255,255,0.05);
border-radius:15px;
backdrop-filter:blur(10px);
}

.section h2{
    font-size: xx-large;
}

/* WHY HIRE ME */
.hire-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:10px;

}

.hire-card{
padding:15px;
background:rgba(0,255,255,0.1);
border-radius:10px;
 border-left: 4px solid wheat;
 
}

/* PROJECTS */

.section{
        text-align: center;

}
.project-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(380px,1fr));
gap:50px;
}

.project-card{
background:rgba(255,255,255,0.08);
padding:10px;
border-radius:10px;
cursor:pointer;
transition:0.3s;
 position:relative;
  overflow:hidden;

}

.project-card:hover{
transform:scale(1.03);
}

.project-card img{
width: 100%;
object-fit:cover;
border-radius:10px;
  transition: 0.3s ease;

}

.project-card::after{
  content:"View Project";
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.6);
  color:white;
  text-align:center;
  padding:10px;
  opacity:0;
  transition:0.3s;
}

.project-card:hover::after{
  opacity:1;
}

/* CERTIFICATION */
.cert-card img{
width:460px;
border-radius:10px;
}

/* SKILLS */
.skills-section {
    padding: 50px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    background: rgba(0,255,255,0.1);;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: 0.3s ease;
    border-left: 4px solid wheat;

}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card h3 {
    margin-bottom: 10px;
    color: white;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card ul li {
    padding: 5px 0;
    color: white;
}
.skills-section h2{
    font-size: xx-large;
}

.skill-card h3 i {
    margin-right: 8px;
    color: #00c6ff;
}

.skill-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skill-card ul li i {
    color: #00c6ff;
    font-size: 14px;
} 

.contact-section {
    text-align: center;
    padding: 50px;

}

.contact-section h2{
    font-size: xx-large;
}


.contact-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.contact-icons a {
    font-size: 35px;
    color: white;
    transition: 0.3s ease;
}

.contact-icons a:hover {
    color: #00c6ff;
    transform: scale(1.2);
}

.about-section {
    padding: 50px;
    text-align: center;
    
    
}

.about-section h2{
    font-size: xx-large;
}

.about-section p {
    margin-bottom: 20px;
    color:white;
    line-height: 1.6;
}

.about-list {
    list-style: none;
    padding: 0;
}

.about-list li {
    margin: 12px 0;
    font-size: 16px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-list i {
    color: #00c6ff;
    font-size: 18px;
}

.about-card {
   padding:15px;
background:rgba(255,255,255,0.08);
border-radius:10px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.typing-text {
    color: #2c5364;
    font-weight: 600;
    margin-bottom: 15px;
}

#typing {
    color: #00c6ff;
    border-right: 2px solid #00c6ff;
    padding-right: 5px;
    animation: blink 0.7s infinite;

}

@keyframes blink {
    50% { border-color: transparent; }
}

.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;

background:rgba(0,0,0,0.8);
backdrop-filter:blur(8px);

justify-content:center;
align-items:center;
z-index:2000;
}

.modal-content{
background:rgba(255,255,255,0.08);
backdrop-filter:blur(15px);

padding:30px;
border-radius:20px;
border:1px solid rgba(255,255,255,0.2);

width:90%;
max-width:500px;

text-align:left;
color:white;

animation:fadeIn 0.4s ease;
}

.modal-content h2{
color:#00c6ff;
margin-bottom:10px;
}

.modal-content h3{
margin-top:15px;
color:#ffffff;
}

.modal-content p{
color:#e0e0e0;
line-height:1.5;
}

.modal-content a{
display:inline-block;
margin-top:10px;
color:#00c6ff;
text-decoration:none;
font-weight:bold;
}

.modal-content a:hover{
text-decoration:underline;
}

.modal-content button{
margin-top:20px;
padding:8px 15px;
border:none;
border-radius:8px;
background:#00c6ff;
color:black;
cursor:pointer;
transition:0.3s;
}

.modal-content button:hover{
background:#00aacc;
}

@keyframes fadeIn{
from{
opacity:0;
transform:scale(0.9);
}
to{
opacity:1;
transform:scale(1);
}
}

.education-section {
    padding: 50px;
    text-align: center;
}

.education-section h2 {
    font-size: xx-large;
    margin-bottom: 20px;
}

.edu-detail {
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
  line-height: 1.6;
}

.education-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);

    max-width: 1200px;
    margin: auto;

    transition: 0.3s;
}

.education-card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(0,198,255,0.5);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.edu-left h3 {
    margin: 0;
    color: #00c6ff;
}

.edu-left p {
    margin: 5px 0 0;
    color: #e0e0e0;
}

.edu-right span {
    font-weight: bold;
    color: #ffffff;
}

.edu-highlight {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;

    background: rgba(0, 198, 255, 0.15);
    border: 1px solid rgba(0, 198, 255, 0.5);

    border-radius: 20px;
    color: #00c6ff;
    font-size: 13px;
    font-weight: 600;

    backdrop-filter: blur(5px);
    
}

img{
    max-width: 100%;
    height: auto;
}

.edu-highlight i {
    margin-right: 5px;
}

.experience-section {
    padding: 50px;
    text-align: center;
}

.experience-section h2 {
    font-size: xx-large;
    margin-bottom: 20px;
}

.experience-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 25px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);

    max-width: 1200px;
    margin: auto;

    transition: 0.3s;
}

.experience-card:hover {
    transform: translateY(-6px);
    border: 1px solid rgba(0,198,255,0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.exp-left {
    text-align: left;
}

.exp-left h3 {
    margin: 0;
    color: #00c6ff;
}
.exp-tools {
  font-size: 0.85rem;
  color: #888;
  margin: 6px 0 12px 0;
  letter-spacing: 0.02em;
}

.exp-type {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 6px;
  text-align: right;
}
.company {
    margin: 5px 0 10px;
    color: #e0e0e0;
    font-size: 14px;
}

.exp-points {
    list-style: none;
    padding: 0;
}

.exp-points li {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.exp-points i {
    color: #00c6ff;
}

.exp-right span {
    font-weight: bold;
    color: #ffffff;
}

.cert-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
    margin-top: 20px;
}

.cert-card{
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    transition: 0.3s;
}

.cert-card:hover{
    transform: translateY(-5px);
    border: 1px solid rgba(0,198,255,0.5);
}

.cert-card img{
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    margin-bottom: 10px;
}

@media (max-width: 768px){

nav{
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
}

.nav-links{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-links a{
    margin: 10px 0;
}

.section{
    margin: 20px 10px;
    padding: 20px;
}

.project-grid{
    grid-template-columns: 1fr;
}

.skills-grid{
    grid-template-columns: 1fr;
}

.experience-card,
.education-card{
    flex-direction: column;
    gap: 10px;
}

}
