/* General Reset */

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

body {
  max-width: 1600px;
  margin: auto;
  background-color: #FAFAFF;
  font-family: "Rubik", sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.social-media a {
  font-size: 1.8rem;
  margin-right: 20px;
  color: var(--dark-color);
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #f4730a;
}

.btn {
  display: inline-block;
  background-color: #f4730a;
  color: #fff;
  padding: 10px 20px;
  margin-top: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

h1,
h2,
h3 {
  font-family: "Sorts Mill Goudy", serif;
}

h2 {
  font-size: 2.5em;
}
@keyframes pulse {
  from {
    transform: scale(0.8);
    opacity: 0.7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.Boldpoint {
  font-weight: 500;
  color: #f4730a;
}
.Description {
  padding: 0px 60px;
  text-align: left;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background-color: #f8f3cfa2;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-radius: 25px;
  border-bottom: solid #fc8c0c;
  margin: 20px;
  backdrop-filter: blur(10px);
}

header .logo img {
  height: 40px;
  padding-left: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  padding-right: 50px;
}

nav ul li {
  position: relative;
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 0;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #fc8c0c; /* Example hover color */
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fcc922be;
  list-style: none;
  padding: 20px 0;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  border-radius: 25px;
  border-bottom: solid #fc8c0c;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  padding: 8px 20px;
  display: block;
  white-space: nowrap;
}

/* Hamburger Menu (Mobile) */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
}

.hamburger-menu span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Mobile Nav Styles (to be toggled by JS) */
body.mobile-nav-active nav {
  display: block;
  border-radius: 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  overflow: hidden;

  /* Background animation */
    
    background-image: url("./Assets/works/BG2.png");background-size: cover; 
    
    
    
}



.hero-content {
  position: relative;
  z-index: 1;
  max-width: 750px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.hero-profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.profile-photo {
  width: 700px;
  /* border-radius: 50%;  */
}

.hero-text-content {
}

.hero-text-content h1 {
  font-size: 3rem; /* Mobile font size */
  margin-bottom: 1px; /* Reduced margin */

  line-height: 1.2;
}

.hero-text-content .type-effect {
  font-size: 1.5em; /* Mobile font size */
  min-height: 1.5em;
  font-weight: 400;
  color: #f4730a;
  
}

@media (min-width: 394px) {
  .hero-section {
    height: 60vh; /* Adjust height for tablets */
     
  }
   .hero-text-content h1 {
    font-size: 3em;
  }
    
  .hero-content {
    padding: 10px 20px;
    max-width: 250px; /* Constrain width for better readability on tablets */
    width: auto; /* Reset width to auto for flex content */
    
  }
  
}

@media (min-width: 700px) {
  .hero-section {
    height: 65vh; /* Adjust height for tablets */
  }

  .hero-content {
    padding: 10px 20px;
    max-width: 750px; /* Constrain width for better readability on tablets */
    width: auto; /* Reset width to auto for flex content */
  }

  .hero-profile-container {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .hero-text-content {
  }

  

  .hero-text-content h1 {
    font-size: 4em;
  }
  .hero-text-content .type-effect {
    font-size: 2em;
  }
}

/* Large devices (e.g., desktops) - Breakpoint at 1000px */
@media (min-width: 1000px) {
  .hero-section {
    height: 85vh;
  }

  .hero-content {
    /* padding: 50px; */
    max-width: 900px;
  }
  .hero-profile-container {
    flex-direction: row;
    gap: 150px;
  }

  .profile-photo {
    width: 550px;
    height: auto;
  }

  .hero-text-content h1 {
    font-size: 5em;
  }
  .hero-text-content .type-effect {
    font-size: 2em;
  }
}

/* My Work Section */

.my-work-section {
  background-color: #EEF0F2;
  padding: 50px 20px;
  text-align: center;
}

.work-categories-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 80px;
  margin-top: 50px;
}


.category-card {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  align-items: center;
  background: linear-gradient(to bottom, rgba(27, 22, 7, 0.363), rgba(255, 165, 0, 0));
  padding: 30px;
  border-radius: 12px;

  transition: transform 0.8s ease, box-shadow 0.4s ease;
  cursor: pointer;
  /* Initial state for scroll reveal */
  opacity: 0;
  transform: translateY(30px);
}

.category-card p {
  color: rgb(43, 42, 42);
  
}

.category-card h3 {
  color:  rgb(43, 42, 42);
  font-size: 1.5em;
  padding-top: 20px;
}


.category-card img {
  width: 100%;
  border-radius: 10px;
}

.category-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .my-work-section {
    padding: 80px 120px;
  }

  .category-card {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    background: linear-gradient(to right, rgba(27, 22, 7, 0.363), rgba(255, 165, 0, 0));
  }
  .category-card p {
  padding: 0 40px;
  
}
  .category-card h3 {
    font-size: 2em;
  }

  .btn:hover {
    background-color: black;
    color: #f2f2f2;
    box-shadow: 0 8px 25px rgba(255, 181, 21, 0.274);
  }

  .category-card:hover {
    
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 181, 21, 0.274);
    border-bottom: solid rgb(248, 113, 22);
  }
}

/* Skills Section */
.skills-section {
  /* background-color: rgb(230, 229, 228); */
  padding: 80px 50px;
  text-align: center;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.skill-card {
  background-color: #f8f3cf93;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0; /* For scroll reveal */
  transform: translateY(20px);
  color:  rgb(43, 42, 42);
  text-align:left;
}

.skill-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Software Section */
.software-section {
  padding: 80px 50px;
  text-align: center;
  background-color:#EEF0F2;
}

.software-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.software-icons img {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.software-icons img:hover {
  transform: scale(1.15);
}

/* Proudly Work With Section */
.proudly-work-section {
  /* background-color: #f8f8f89d; */
  padding: 60px 0;
  overflow: hidden; /* Important for the slider */
  text-align: center;
}

.company-logos-slider {
  white-space: nowrap; /* Keep logos on one line */
  margin-top: 40px;
}

.logos-track {
  display: inline-block; /* Essential for animation */
  animation: scrollLogos 30s linear infinite; /* Adjust duration as needed */
}

.logos-track img {
  height: 60px; /* Adjust logo height */
  margin: 0 40px;
  vertical-align: middle;
  filter: brightness(40%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logos-track img:hover {
  filter: brightness(100%);
  opacity: 1;
}

@keyframes scrollLogos {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Footer */
footer {
  background-color: #222;
  color: #eee;
  padding: 50px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo img {
  height: 50px;
}

footer h4 {
  color: #fff;
  margin-bottom: 15px;
}

footer ul {
  list-style: none;
}

footer ul li a {
  text-decoration: none;
  color: #eee;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #f4730a;
}

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

.contact-info a:hover {
  color: #f4730a;
}

.social-media a {
  display: inline-block;
  margin-right: 15px;
}

.social-media img {
  width: 24px;
  height: 24px;
  filter: invert(100%); /* Make social icons white */
  transition: transform 0.3s ease;
}

.social-media img:hover {
  transform: scale(1.1);
}

.quick-links {
  display: none;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  nav {
    display: none; /* Hide desktop nav */
    flex-direction: column;
    position: absolute;
    top: 70px; /* Below header */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    width: 100%;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hamburger-menu {
    display: flex; /* Show hamburger */
  }

  /* Style for open mobile nav */
  body.nav-open nav {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.2em;
  }
  .hero-content .type-effect {
    font-size: 1.2em;
  }

  .work-categories-grid,
  .skills-grid {
    grid-template-columns: 1fr; /* Single column on small screens */
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
  .quick-links {
    display: block;
  }
  footer > div {
    margin-bottom: 20px;
  }

  .social-media {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
}
