body{   
    background-image: url("image/Background.jpg");
    display: flex;
    flex-direction: column;
    background-repeat: no-repeat;
    background-size: cover;     /* make it cover full screen */
    background-attachment: fixed; /* keeps background fixed */
    background-position: center;
}
header{
    background-color: #0A192F;
    position:fixed;
    display: flex;
    border-radius: 2px;
    width: 100%;
    margin:-8px;
    color:#FFFFFF;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    z-index: 1000;
}

header img{
    position: relative;
    display:flex;
    height: 80px;
    border-radius: 4px;
    padding: 3px;
    left:10px;
    transition: transform 0.2s ease-in-out;
}
header img:hover{
    transform: scale(1.05);

}

#headOption {
    display: flex;
    position: absolute;
    gap: 20px; 
    align-items: center;
    text-align: right;
    right:0%;
    top: 20%;
}
#headOption a{
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    font-weight: 550px;
    font-size: 18px;
}
#headOption a:hover, #headOption a:focus{
    color: rgb(115, 242, 36);
    text-decoration: underline;
    transform: scale(1.05);
    transform: translateY(-3px);
}
#headOption a.active {
    color: rgb(115, 242, 36);   /* Highlight color */
    text-decoration: underline;
}
footer{
    background-color:#262627;
    color:#fdffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    padding: 15px 0;
    text-align: right;
    border-radius: 2px;
    margin: -8px;
    z-index: 1000;
    height: 50px;
}
#no7{
    margin-bottom: 30px;
}
#no1 {
    margin-top: 100px;
    display: flex;
    position: relative;
    min-height: 1200px;  
}
.content{
    /*border: 1px solid white;*/
    color:white;
    border-bottom: 10px;
}
;
;

;
;
;
#sidimg {
    
    transform: translateX(-50%);
    text-align: center;
}

#sidimg img {
    position: absolute;
    top: 50px;              
    right:6%;
    width: 400px;          
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 5px 6px 20px rgba(155, 247, 75, 0.4);
    transition: transform 0.3s ease-in-out;
}

#sidimg img:hover {
    transform: scale(1.08);
}
.name {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    position: absolute;
    top: 200px;
    left: 30px;
    transform: translateY(-50%);
    color: #acd2f5; 
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    
}
.social-links {
    position: absolute;   
    top: 350px;            
    left: 200px;
    display: flex;
    gap: 50px;
}

.social-links a img {
    width: 40px;           
    height: 40px;
    transition: transform 0.3s, filter 0.3s;
}

.social-links a img:hover {
    transform: scale(1.2);
    filter: brightness(1.5);   
}



#details {
    height: 44%;
    width: 96%;
    position: absolute;
    top: 600px;
    left: 30px;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 22px;
    color:white;
    line-height: 1.7;
    text-align: justify;
}
,
,
,
,
,
#no2{
   position: relative;
    height: 1000px;
    display: flex;
    justify-content: center;   
    align-items: center;       
    padding: 50px 0;
    text-align: center;
    border: 20px;
}

#about-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    justify-items: center;  
    position: relative;
    top:20px; 
    gap: 20px;
    

}

.btn {
    height: 200px;
    display: inline-block;
    padding: 15px 25px;
    font-size: 35px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;  
    background: linear-gradient(135deg, #4e425a, #434445);  
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 250px;
    position: relative;
    overflow: hidden;
    margin: 10px;
     display: flex;               /* use flex for perfect centering */
    align-items: center;         /* vertical center */
    justify-content: center;     /* horizontal center */
    text-align: center; 
  }

  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.15);
    transform: skewX(-45deg);
    transition: all 0.5s ease;
  }

  .btn:hover::before {
    left: 100%;
  }

  .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
  }

  .btn:active {
    transform: translateY(2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
  }
  ,
  ,
  ,
  ,
  ,
  #no3 {
    position: relative;
    background-color: #0A192F; /* dark background for contrast */
    color: white;
    padding: 50px 40px;
    font-family: system-ui, sans-serif;
}

#no3 h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #acd2f5;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.education-grid section {
    background-color: rgba(0,0,0,0.4);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.education-grid section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.7);
}

.education-grid h2 {
    color: #75f224; /* subtle highlight */
    margin-bottom: 12px;
}

.education-grid p, .education-grid li {
    color: #f5f5f5;
    font-size: 18px;
    line-height: 1.6;
}

.education-grid ul {
    padding-left: 20px;
}
;
;
;
;
;
#no4 {
    padding: 50px 40px;
    background-color: #0A192F;
    color: white;
    font-family: system-ui, sans-serif;
}

#no4 h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #acd2f5;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.skill-accordion {
    display: grid;
    grid-template-columns: repeat(4, 1fr);     
    gap: 20px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.accordion-item {
    display: flex;
    flex-direction: column;
}

.accordion-btn {
    background-color: #0A192F;
    color: #acd2f5;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #2575fc;
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-btn:hover {
    background-color: #2575fc;
    color: white;
}

.accordion-btn::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.accordion-btn.active::after {
    transform: rotate(180deg);
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: rgba(37, 21, 21, 0.8);
    border-radius: 0 0 10px 10px;
    padding: 0 15px;
    margin-top: 5px;
}

.panel ul {
    list-style-type: disc;
    margin: 10px 0;
    padding-left: 20px;
}

.panel ul li {
    padding: 5px 0;
    font-size: 16px;
    color: #ffffff;
}
;
;
;
;
#no5 h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #acd2f5;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);     
    gap: 20px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

 
.project-card {
  background: linear-gradient(145deg, #1a1a1f, #101032);
  border: 2px solid #29d9d5;
  font-family: system-ui, sans-serif;
  font-size: 18px;
  border-radius: 12px;
  padding: 40px 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.project-card:hover {
  transform: scale(1.08);
  background: linear-gradient(145deg, #0d0d12, #1a1a1f);
  box-shadow: 0 6px 15px rgba(41, 217, 213, 0.7);
}

 
.project-details {
  margin-top: 30px;
  padding: 20px;
  background: rgba(20, 20, 25, 0.9);
  border: 1px solid #29d9d5;
  border-radius: 10px;
  color: #eee;
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
;
;
;;
;
;
#no6 h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #acd2f5;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

#no6{
    background: rgba(10, 38, 52, 0.5);
    margin-top: 20px;

}
}
#no3{
    margin-top: 40px;
}
#no4{
    margin-top: 40px;
}
#no5{
    margin-top: 40px;
}
#no6{
    margin-top: 40px;
}
#no7{
    margin-top: 40px;
}
.experience-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px 40px;
    margin-top: 20px;
    margin-left: 20px;
    
}

.experience-left h2 {
    color: #29d9d5;
    font-size: 20px;
    margin-bottom: 5px;
}

.experience-left p {
    color: #ffffff;
    font-size: 14px;
    font-style: italic;
}

.experience-right ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 0;
}

.experience-right ul li {
    padding: 5px 0;
    font-size: 16px;
    color: #ffffff;
}
;
;
;;
;
;
;
;

#no6 h1 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 40px;
    color: #acd2f5;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.card {
  background-color: #3a3f4b;
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  gap: 15px;
  transition: all 0.3s ease;
}


.card:hover {
  background-color: #434a58;
}

.card .icon {
  font-size: 2em;
  background-color: #00c8c8;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .details h4 {
  margin: 0 0 5px 0;
  font-weight: 600;
}

.card .details p {
  margin: 0;
  font-size: 0.9em;
}


.card .details p a {
  color: #00c8c8;
  margin-right: 10px;
  text-decoration: none;
  font-weight: bold;
}
.card .details p a:hover { text-decoration: underline; }


.email-form {
  background-color: #3a3f4b;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  display: flex;
  position:relative;
  left:3%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.email-form .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.email-form input,
.email-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: #2f343f;
  color: #fff;
  font-size: 16px;
  width: 100%;
}

.email-form input:focus,
.email-form textarea:focus {
  outline: none;
  border-color: #00c8c8;
  box-shadow: 0 0 8px rgba(0,200,200,0.5);
}

.send-btn {
  background-color: #00c8c8;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.3s ease;
  display: flex;
  align-self: center;
}

.send-btn:hover {
  background-color: #00a0a0;
  transform: translateY(-2px);
}
;
;
;
;
