body {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
body.fade-in {
    opacity: 1;
}

/* Style for the location info section */
#location-info {
    background-color: #fff;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 0.9em;
    color: #777;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.header-content{
    display: inline-block;
    text-align: left;
}

/* Style for the main heading (Sreeju KS) */
header h1 {
    font-family: "Rubik", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: 35px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #000;
}

/* Style for the title (DevOps Engineer) */
header .title {
    font-family: "Rubik", serif;
    font-size: 20px;
    font-optical-sizing: auto;
    color: #005584;
    margin-top: 5px;
    margin-bottom: 10px;
    font-weight: normal;
}
/* Style for download PDF button */
.header-actions{
  display:inline-block;
}
.download-btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
     font-size: 0.9em;
     border: none;
     display: inline-block;
}

.download-btn:hover {
    background-color: #0056b3;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    font-size: 15px;
    font-family: 'High Tower Text', serif;
     cursor: pointer;
}

.contact-info p {
    margin: 0;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 5px;
    color: #777;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Common styling for all section headings */
section h2 {
  font-family: 'Rubik Medium', serif;
  font-size: 1.1em;
  color: #005584;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

section h3 {
    font-size: 1em;
    margin-bottom: 5px;
    font-weight: bold;
}

#work-experience .job {
    margin-bottom: 15px;
    position: relative;
}

#work-experience .job::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    border-bottom: 1px dotted #bbb;
    opacity: 1;
}


#work-experience h3 {
    font-weight: bold;
    margin-bottom: 3px;
    font-size: 0.95em;
}

#work-experience .company {
    font-style: italic;
    color: #777;
    margin-bottom: 3px;
    font-size: 0.85em;
}

#work-experience .company a,
#education .school a {
    color: #008000;
    text-decoration: none;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: inline-block;
}


#work-experience .company a:hover,
#education .school a:hover{
    color: #007bff;
    text-decoration: underline;
    transform: scale(1.03);
}

#work-experience .date {
    font-style: italic;
    color: #999;
    float: right;
    font-size: 0.8em;
    font-weight: bold;
}


#education .date {
    /*font-style: italic;*/
    color: #999;
    /*float: right;*/
    margin-left: 10px;
    font-size: 0.8em;
    font-weight: bold;
}
.date-range{
   font-size: 1em;
   color: #555;
}

#work-experience .description {
    margin-bottom: 8px;
    font-size: 0.9em;
}

section ul {
    list-style: disc;
    margin-left: 25px;
    padding-left: 0;
}

section li {
    margin-bottom: 5px;
    font-size: 0.9em;
}

#skills h3 {
    margin-top: 10px;
    font-size: 0.95em;
    font-weight: bold;
}

#skills p {
    margin-bottom: 10px;
    font-size: 0.9em;
}

#certifications li,
#training li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9em;
}


#certifications .fa-check-circle {
    color: green;
    margin-right: 8px;
}
#certifications > a{
    color: #007bff;
    text-decoration: none;
}
#certifications > a:hover{
    text-decoration: underline;
}


#training a,
#certifications li a {
    color: #007bff;
    text-decoration: none;
}

#training a:hover,
#certifications li a:hover{
    text-decoration: underline;
}

#education .education-item {
    margin-bottom: 15px;
}

#education h3 {
    font-size: 0.95em;
    font-weight: bold;
    margin-bottom: 3px;
}

#education .school {
    font-style: italic;
    color: #777;
    font-size: 0.85em;
}
#education .school a{
     color: #008000;
    text-decoration: none;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: inline-block;
}

footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 0.75em;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
    body {
        margin: 10px;
    }

    header {
        text-align: left;
         flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
      .header-content{
        text-align: left;
      }
    .header-actions{
     text-align: left;
   }


    .contact-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    header h1 {
        font-size: 1.4em;
    }

    header .title {
        font-size: 0.8em;
        margin-bottom: 8px;
    }

    section {
        padding: 15px;
    }

    section h2 {
        font-size: 1.1em;
    }
    #certifications li,
    #training li {
      display:block; /* on smaller screens stack items vertically */
    }
}

.copy-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.copy-message.fade-out {
    opacity: 0;
}
/* Style for skill tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
     margin-bottom: 10px;
}
.skill-tag {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85em;
     color: #fff;
     transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.skill-tag.cloud {
    background-color: #3498db;
}
.skill-tag.cloud:hover{
     background-color: #2980b9;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.skill-tag.linux {
    background-color: #e74c3c;
}
.skill-tag.linux:hover{
      background-color: #c0392b;
       box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.database {
    background-color: #8e44ad;
}
.skill-tag.database:hover{
        background-color: #783496;
         box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.python {
    background-color: #f39c12;
}
.skill-tag.python:hover{
         background-color: #e67e22;
          box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.iac {
  background-color:#16a085;
}
.skill-tag.iac:hover{
    background-color:#118b70;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.container {
   background-color: #c0392b;
}
.skill-tag.container:hover{
    background-color: #a6251c;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.orchestration {
    background-color: #BAD8B6;
}
.skill-tag.orchestration:hover{
    background-color: #B1D690;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.versioncontrol{
   background-color:#2c3e50;
}
.skill-tag.versioncontrol:hover{
   background-color:#1c2e40;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.cicd{
   background-color:#7f8c8d;
}
.skill-tag.cicd:hover{
      background-color:#667374;
       box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.skill-tag.monitoring{
   background-color:#2980b9;
}
.skill-tag.monitoring:hover{
     background-color: #186da6;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
/* Style for the contact form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}
.contact-form button{
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 0.9em;
    border: none;
     cursor: pointer;
}
.contact-form button:hover {
    background-color: #0056b3;
}
#projects .projects-container {
    display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;

}

#projects .project {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
     transition: transform 0.2s ease;
         cursor: grab;
}
 #projects .project:active {
      cursor: grabbing;
    }

#projects .project.dragging {
    opacity: 0.5;
    transform: scale(1.05);
}

#projects a {
    color: #007bff;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
}
#projects a:hover{
    text-decoration: underline;
}

/* Basic Responsiveness */
@media (max-width: 768px) {
  #projects .project {
        min-width: 100%;

    }
   .projects-container{
      flex-direction: column;
    }
    header {
        text-align: left;
         flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
      .header-content{
        text-align: left;
      }
    .header-actions{
     text-align: left;
   }
   #certifications li,
   #training li {
         display:block; /* on smaller screens stack items vertically */
    }
}