/* CSS Variables */
:root {
    --primary-color: #13004D;
    --secondary-color: #2386C8;
    --background-color: #f4f4f4;
    --text-color: white;
    --accent-color: #ffcc00;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --box-shadow: 0px 4px 10px var(--shadow-color);
    --padding-default: 15px 50px;
}



.scrolled {
    /*background: rgba(255, 255, 255, 0.95);*/
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    /*color:dodgerblue;*/
  }

/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
    color:dodgerblue;
}

/* Navigation Bar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--padding-default);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    box-shadow: var(--box-shadow);
}
.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--accent-color);
}
/* Logo styling */
.logo {
    position: relative;
}

.logo img {
    width: 95px;
    height: 95px;
    margin-left: 3.5rem;
    background-color: white;
    border-radius: 50%; /* Circular shape */
    padding: 5px;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);

    position: absolute;
    top: -25px; /* Moves the logo up, making it hang */
    left: 0;
    z-index: 1050;
} 




/* Landing Section */
.landing {
    text-align: center;
    padding: 100px 20px;
    background: url('background.jpg') no-repeat center center/cover;
    color: var(--text-color);
}
.cta-button {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    background: var(--accent-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s;
}
.cta-button:hover {
    transform: scale(1.1);
}

/* Sections */
section {
    padding: 60px 20px;
    text-align: center;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: var(--primary-color);
    color: var(--text-color);
}



/* skill section  */

/* Skill Section Variables */
:root {
    --skills-primary-color: #13004D;
    --skills-secondary-color: #2386C8;
    --skills-text-color: white;
    --skills-secondary-color:blue;
    --skills-background-color: #f4f4f4;
    --skills-accent-color: green;
    --skills-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    --skills-padding: 60px 20px;
    --skills-bar-bg: #ddd;
    --skills-html: purple;
    --skills-css: gold;
    --skills-php: red;
    --skills-js: blue;
    --skills-angular: black;
    --skills-wordpress: skyblue;
    
}

/* Skills Section */
.skills-section {
    background-color: var(--skills-background-color);
    color: var(--skills-text-color);
    padding: var(--skills-padding);
    text-align: center;
}

/* Two-Side Layout */
.skills-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: auto;
    gap: 40px;
}

.skills-left, .skills-right {
    width: 48%;
}

/* Skills Styling */
.skill {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill span {
    font-weight: bold;
}

.progress {
    width: 100%;
    height: 10px;
    background: var(--skills-bar-bg);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    transition: width 1s ease-in-out;
}

.progress-bar.html { background-color: var(--skills-html); }
.progress-bar.css { background-color: var(--skills-css); }
.progress-bar.php { background-color: var(--skills-php); }
.progress-bar.js { background-color: var(--skills-js); }
.progress-bar.angular { background-color: var(--skills-angular); }
.progress-bar.wordpress { background-color: var(--skills-wordpress); }



.skills-section h2,.skills-section P {
    color: var(--skills-secondary-color);
}
.skills-left .skill span, .skills-left h3  {
    color: var(--skills-secondary-color);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-button {
    background: var(--skills-secondary-color);
    color: var(--skills-text-color);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.tab-button.active, .tab-button:hover {
    background: var(--skills-accent-color);
    color: var(--skills-primary-color);
}

.tab-content {
    display: none;
    text-align: left;
}

.tab-content.active {
    display: block;
}

/* Experience & Education Items */
.exp-item, .edu-item {
    background: var(--skills-primary-color);
    color: var(--skills-text-color);
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    box-shadow: var(--skills-box-shadow);
}
.exp-item p, .exp-item span,.edu-item p, .edu-item span {
    color: var(--skills-text-color);
}




/* skill section  ends*/

.services {
    background-color: white;
    margin: 20px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
/* services section  starts*/
/* services section ends */

/* resume section  starts*/
.resume {
    background-color: white;
    margin: 20px auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
/* resume section ends */





/* PROJECTS SECTION CSS  */
/* General Section Styling */
#portfolio-projects {
  padding: 4rem 0;
  background-color: #000;
  color: #fff;
}

.portfolio-heading h1.portfolio-big-title {
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 0;
}

.portfolio-heading h2 {
  font-size: 2.5rem;
  font-weight: bold;
  z-index: 1;
  position: relative;
}

.portfolio-card {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: scale(1.02);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.portfolio-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.portfolio-text h3 a {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-text h3 a:hover {
  color: #00bcd4;
}

.portfolio-text span {
  font-size: 0.9rem;
  color: #ccc;
}

/* Responsive Height */
@media (max-width: 768px) {
  .portfolio-card {
    height: 200px;
  }
}


  
/* PROJECTS SECTION CSS  ENDS  */
