/* === Reset and Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body, html {
  font-family: 'Open Sans', sans-serif;
  background-size: cover;
  color: #ffffff;
  scroll-behavior: smooth;
  padding-top: 35px;
}

a {
  color: inherit;
  text-decoration: none;
  


}

ul {
  list-style: none;
}

/* === Header & Navigation === */
.header {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center vertically */
  align-items: center;
  text-align: center;
  background-image: url('../img/home-bg.jpg'); /* path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: add a dark overlay */
/* === Header & Navigation === */
.header {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Aligns content at the bottom */
  align-items: center;
  text-align: center;
  background-image: url('../img/home-bg.jpg'); /* path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional: dark overlay for readability */
.header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Content styling at bottom */
.header .content-inner {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 800px;
  padding-bottom: 200px;
}

/* Text styles */
.header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.header .typed-text {
  font-size: 1.2rem;
  font-style: italic;
  color: #f0f0f0;
}



/* === Top Navigation === */
.navbar {
background: rgba(0, 0, 0, 0.7);
padding: 10px 20px;
position: fixed;
width: 100%;
z-index: 1000;
}

.navbar .nav-item {
margin-left: 15px;
}

.navbar .nav-link {
color: #fff !important;
transition: color 0.3s ease;
}

.navbar .nav-link:hover {
color: #ffc107 !important;
}

.navbar-brand {
font-weight: 700;
font-size: 1.5rem;
}

/* Resume button fixed on homepage, content below should be small */
.large-btn-wrapper {
  position: absolute;
  top: 60%; /* Adjust based on header height */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  padding-top: 500px;
}

.large-btn-wrapper .btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px; /* Smaller size */
  font-size: 16px; /* Smaller text */
  border: none;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.large-btn-wrapper .btn:hover {
  background-color: #0056b3;
}

/* Smaller content below resume button */
.home-content-below {
  font-size: 14px;
  text-align: center;
  margin-top: 20px;
  color: #333;
}

.about img,
.education img {
max-width: 100%;
border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}


@media (max-width: 768px) {
  .large-btn-wrapper.bottom-right {
    flex-direction: column;
    right: 15px;
    bottom: 15px;
  }
}
/* === About Section Background === */
#about {
background-image: url('../img/about-bg.jpg'); /* adjust path as needed */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}

#about .content-inner {
background: rgba(0, 0, 0, 0.6); /* dark overlay for readability */
padding: 80px 15px;
border-radius: 10px;
}
html {
  scroll-behavior: smooth;
}
/* === Education Section Background === */
#education {
background-image: url('../img/education-bg.jpg'); /* change to your image name/path */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}

.education .content-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.education .content-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  position: relative;
}

.education .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.education .edu-col {
  background-color: #f8f8f8;
  border-left: 5px solid #007bff;
  padding: 25px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.education .edu-col:hover {
  transform: translateY(-5px);
}

.education .edu-col span {
  font-size: 16px;
  font-weight: 500;
  color: #007bff;
  display: block;
  margin-bottom: 10px;
}

.education .edu-col h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 8px;
}

.education .edu-col p {
  font-size: 16px;
  color: #555;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
/* Responsive Design */
@media (max-width: 768px) {
  .education .edu-col {
    width: 100%;
  }

  .education .content-header h2 {
    font-size: 28px;
  }
}
/* === Services Section Background === */
#service {
background-image: url('../img/services-bg.jpg'); /* change to your image name/path */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}

#service .content-inner {
background: rgba(0, 0, 0, 0.6); /* dark overlay for readability */
padding: 80px 15px;
border-radius: 10px;
}
html {
  scroll-behavior: smooth;
}
/* Contact Section */
.contact {
background-image: url('../img/contact-bg.jpg'); /* change to your image name/path */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
}

.contact .content-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact .content-header {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
  padding: 0 15px;
}

.contact .content-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}



.contact-info p {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 15px;
}

.contact-info p i {
  color: #023061;
  margin-right: 10px;
}

.contact-info a {
  color: #023163;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline; /* corrected from color: white */
  background: #9ec1e7; /* updated hover color */
}
html {
  scroll-behavior: smooth;
}
/* Social Section */
.social {
  margin-top: 25px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #007bff;
  color: #fff;
  font-size: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.social .btn:hover {
  background: #0056b3;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact .row {
    flex-direction: column;
  }

  .contact-info, 
  .contact-form {
    width: 100%;
  }

  .contact .content-header h2 {
    font-size: 28px;
  }
}

#review {
  background-image: url('../img/review-bg.jpg'); /* change to your image name/path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  }
  
  #review .content-inner {
  background: rgba(0, 0, 0, 0.6); /* dark overlay for readability */
  padding: 80px 15px;
  border-radius: 10px;
  }



/* === Skills === */
.skills .progress {
  height: 20px;
  background-color: #333;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 15px;
}

.skills .progress-bar {
  background: linear-gradient(to right, #ffc107, #ff9800);
  height: 100%;
}

/* === Contact === */
.contact-info p, .contact-info a {
  font-size: 0.95rem;
}

.social a {
  margin-right: 10px;
  color: #ffc107;
  font-size: 1.2rem;
}

.form input,
.form textarea {
  border-radius: 10px;
  border: none;
  padding: 10px;
  margin-bottom: 15px;
}

/* === Light Button Style === */
.btn-light {
  background-color: #f8f9fa; /* light gray/white */
  color: #000;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background-color: #e2e6ea;
  color: #000;
}
/* === Sections === */
.content-inner {
  padding: 80px 15px;
  background:none;
  margin: 20px auto;
  border-radius: 10px;
  max-width: 100%;
  }
  
 

/* === Footer (Social) === */
.sidebar-footer {
  display: none;
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar {
    text-align: center;
  }
  .header h1 {
    font-size: 2rem;
  }
  .content-inner {
    padding: 40px 10px;
  }
}

/* Style for the "Send Message" button */
.btn {
background-color: #007bff; /* Primary blue color */
color: #fff; /* White text color */
border: none; /* Remove border */
padding: 10px 20px; /* Add padding */
font-size: 16px; /* Font size */
font-weight: bold; /* Bold text */
border-radius: 5px; /* Rounded corners */
cursor: pointer; /* Pointer cursor on hover */
transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effect */
}

.btn:hover {
background-color: #0056b3; /* Darker blue on hover */
transform: scale(1.05); /* Slightly enlarge on hover */
}

.btn:active {
transform: scale(0.95); /* Slightly shrink on click */
}
/* === Media Queries === */

/* Tablets */
@media (max-width: 768px) {
.header h1 {
  font-size: 28px;
}

.header p, .typed-text {
  font-size: 16px;
}

.srv-col, .edu-col {
  margin-bottom: 20px;
}

.navbar .navbar-collapse {
  background-color: #222;
}
}

/* Mobile Phones */
@media (max-width: 576px) {
.header h1 {
  font-size: 24px;
}

.navbar-brand {
  font-size: 18px;
}

.btn {
  font-size: 14px;
  padding: 8px 20px;
}

.review-slider-item {
  padding: 15px;
}

.contact-info p,
.skills .skill-name p {
  font-size: 14px;
}

.content-inner {
  padding: 20px 10px;
}
}
