/* General Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background: radial-gradient(circle at top, #000000, #04124b); /* Dark blue gradient */
  /*overflow: hidden;*/
  line-height: 1.6;
}

/* Header */
header {
background: #070b26; /* Deep black for navbar */
padding: 0.75rem 2rem;
display: flex;
justify-content: space-between;
border-bottom: 1px solid #2e3949;
align-items: center;
position: sticky;
top: 0;
z-index: 1000;
}

.logo {
font-family: 'Pacifico', cursive;
font-size: 1.62rem;
color: #00bcd4;
display: inline-block;
}

.logo span{
  color: #ffffff;
}

header nav a {
color: #ffffff;
text-decoration: none;
margin: 0 10px;
transition: color 0.3s;
}

header nav a:hover {
color: #00bcd4;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75em;
  cursor: pointer;
}

/* Sections */
section {
  padding: 50px 20px;
  text-align: center;
}

section h1, section h2 {
  margin-bottom: 20px;
  color: #00bcd4;
}

section p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

/* Home Section */
#home {
  padding: 140px 20px;
  background: radial-gradient(circle at left, #000000, #0a153f);
  color: #ffffff;
  text-align: center; 
}

.home-container {
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro Section */
.who-am-i {
  flex: 1;
  text-align: left;
  max-width: 555px;
}

.who-am-i h1 {
  line-height: 1.3;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 2.5rem;
}

.who-am-i .name {
  color: #00bcd4;
}

.who-am-i p {
  color: #ffffff;
  font-weight: bold;
}

.dynamic-role {
  font-size: 1.8rem;
  color: #ffffff;
}

.role-text {
  color: #00bcd4;
  font-weight: bold;
}

.who-am-i .short-description{
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: normal;
}

.button-container {
  display: flex;
  align-items: center;
  gap: 25px;
}

.Social-icons {
  display: inline-block;
  transition: transform 0.3s ease;
}

.Social-icons a {
  text-decoration: none;
}

.Social-icons i {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: rgb(3, 3, 78);
  background:#ffffff;
  border-radius: 15px;
  text-align: center;
  font-size: 26px;
}

.Social-icons i:hover {
  transform: scale(1.1);
}

.button {
  display: inline-block;
  background-color: #00bcd4;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 16px; 
  border-radius: 25px; 
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button:hover {
  background-color: #00bcd4;
  transform: scale(1.1); 
}
.button:active {
  transform: scale(1);
  background-color: #04a9bf;
}

/* Photo Section */
.photo-container {
  flex: 1; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-photo {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: cover;
  /*border: 3px solid #00bcd4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);*/
}


/* Education Section */
#education {
  padding: 50px 20px;
  text-align: center;
  background: radial-gradient(circle at right, #000000, /*#04124b*/#0a153f);
}

#education h2 {
  font-size: 2.9em;
  margin-bottom: 30px;
  color: #ffffff;
}

.education-container {
  display: flex; 
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.education-item {
  background-color: #001123;
  border: 2px solid #00bcd4; 
  padding: 20px;
  border-radius: 30px;
  width: 30%; /* Each box takes up 30% of the container's width */
  text-align: center;
}

.education-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px; 
}

.education-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #000000;
}

.education-details h3 {
  font-size: 1.3rem;
  color: #ffffff;
}

.education-details .degree-info {
  font-size: 1rem;
  color: darkgray;
}

.education-details .duration{
  color: gray;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.education-details p {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 2px;
}

/* Skills Section Styling */
#skills {
  padding: 50px 20px;
  text-align: center;
  background: radial-gradient(circle at left, #000000, /*#04124b*/#0a153f);
}

#skills h2 {
  font-size: 2.9rem;
  color: #ffffff;
  margin-bottom: 30px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;

}

.skills-category {
  background: #001123;
  border: 2px solid #00bcd4;
  border-radius: 30px;
  padding: 20px;
  width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.skills-category:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.skills-category h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 15px;
}


.skills-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-content: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .skills-box {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row for tablets */
  }
}

@media (max-width: 480px) {
  .skills-box {
    grid-template-columns: repeat(1, 1fr); /* 1 item per row for mobile */
  }
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color:/*rgb(67, 71, 90)*/#152230;
  color:#ffffff;
  padding: 10px;
  border-radius: 15px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.skill-item img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  border-radius: 10%;
  background-color:  transparent; 
}

/* Projects Section */
#projects {
  padding: 50px 20px;
  text-align: center;
  background: radial-gradient(circle at right, #000000, /*#04124b*/#0a153f);
}

#projects h2{
  font-size: 2.9em;
  margin-bottom: 5px;
  color: #ffffff;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-box {
  background-color: #001123;
  color: #ffffff;
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 1px 10px #04a9bf;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}

.project-box h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: #089095;
}

.project-box p {
  font-size: 1rem;
  margin-bottom: 2px;
}

/* Navigation Links for Smooth Scroll */
a {
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

/* Contact Section */
#contact {
  padding: 50px 20px;
  text-align: center;
  background: radial-gradient(circle at left, #000000, /*#04124b*/#0a153f);
}

#contact h2 {
  font-size: 2.9rem;
  margin-bottom: 5px;
  color:#ffffff;
}

#contact p {
  font-size: 1.1rem;
  margin-bottom: 45px;
  color: #ffffff;
}

/* Contact Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
  background-color: #001123;
  padding: 25px;
  border-radius: 30px;
  box-shadow: 0px 1px 3px #04a9bf;
}

.contact-form .form-group {
  margin-bottom: 20px;
  width: 100%;
  text-align: left;
}

.contact-form label {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 5px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 0.95rem;
  border: 2px solid #00bcd4;
  border-radius: 10px;
  background-color: transparent;
  color: #ffffff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffffff;
}

.contact-form textarea{
  resize: vertical;
}

.contact-form button {
  background-color: #00bcd4;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  font-weight: bold;
}

.contact-form button:hover {
  background-color: #00bcd4;
  transform: scale(1.1);
}

.contact-form button:active {
  transform: scale(1);
  background-color: #00bcd4;
}

/* Placeholder Styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888888;
  font-style: italic;
}

/* Validation Feedback 
.contact-form input.error,
.contact-form textarea.error {
  border-color: red;
}

.contact-form .error-message {
  color: red;
  font-size: 0.9rem;
  margin-top: 5px;
}

.contact-form .success-message {
  color: #4CAF50;
  font-size: 1rem;
  margin-top: 10px;
  font-weight: bold;
}*/


#footer {
  background-color: #090c1d;
  text-align: center;
  padding: 20px;
  color: darkgray;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-divider {
  border: none;
  border-top: 1.5px solid #505050;
  width: 100%;
  margin: 10px auto;
}

.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  color: #ffffff;
  font-size: 1.15rem;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-button:hover {
  background-color: #04a9bf;
  transform: scale(1.1);
}

.linkedin {
  background-color: #0077b5;
}

.linkedin:hover {
  background-color: #005983;
}

.gmail {
  background-color: #d44638;
}

.gmail:hover {
  background-color: #a6342b;
}

#footer span{
  color: #0077b5;
}





























































/* Media Queries */
@media (max-width: 768px) {

    .home-container {
        flex-direction: column; /* Stack elements vertically */
        /*padding: 20px;*/
    }

    .profile-photo {
        width: 290px;
        height: 290px;
        order: 1;  
    }

    .who-am-i {
        text-align: center; /* Center align on smaller screens */
        order: 2;
    }

    .who-am-i p {
        font-size: 1.2rem; /* Reduce font size for smaller screens */
    }

    .about-container {
        flex-direction: column;
    }

    .about-me {
        max-width: 100%;
    }

    .about-photo {
        max-width: 50%;
    }

    
    nav {
        display: none;
        flex-direction: column;
        background-color: #070b26;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-top: 1px solid #333333;
    }

    nav a {
        padding: 10px;
        text-align: center;
        border-bottom: 1px solid #333333;
    }

    nav a:last-child {
        border-bottom: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    nav.active {
        display: flex;
    }

    .button-container{
      justify-content: center;
    }

    .projects-container {
        grid-template-columns: 1fr; /* One box per row on smaller screens */
    }

    .skills-container {
        flex-direction: column;
        align-items: center;
    }

    .skills-category {
        width: 100%;
        text-align: center;
    }
    #education {
        padding: 20px; /* Adjust padding on small screens */
    }

    .education-container {
        flex-direction: column; /* Stack vertically on small screens */
        gap: 20px; /* Space between the boxes */
    }

    .education-item {
        width: 100%; /* Each item takes full width on small screens */
    }

    #contact h2 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}








