:root {
  /* Netflix Theme Colors */
  --bg-primary: #000000;
  --bg-secondary: #141414;
  --bg-nav: rgba(0, 0, 0, 0.9);
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-muted: #b3b3b3;
  --accent-color: #E50914;
  --accent-hover: #B20710;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.8);
  --card-bg: rgba(20, 20, 20, 0.8);
  
  /* Netflix Red Colors */
  --netflix-red: #E50914;
  --netflix-red-dark: #B20710;
  --netflix-red-light: #F40612;
  
  /* Transitions */
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  transition: background-color var(--transition-speed) ease, 
              color var(--transition-speed) ease,
              border-color var(--transition-speed) ease;
}

/* Netflix Header */
.netflix-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  transition: background 0.3s ease;
}

.netflix-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.netflix-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px;
  max-width: 1920px;
  margin: 0 auto;
}

.netflix-logo h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--netflix-red);
  margin: 0;
  letter-spacing: 1px;
}

.netflix-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.netflix-menu li {
  position: relative;
}

.netflix-menu a {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
}

.netflix-menu a:hover {
  color: var(--text-muted);
}

.netflix-menu li.active a {
  color: var(--netflix-red);
  font-weight: 600;
}

.netflix-menu li.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--netflix-red);
}

/* Netflix Hero Section */
.netflix-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%),
              url('images/4d8ef70640bc4ae79d45c5d59bd49a39.webp') center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 60px;
  margin-top: 80px;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--netflix-red);
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-description {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn-primary, .btn-secondary {
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  background: var(--netflix-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--netflix-red-dark);
  transform: scale(1.05);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.hero-info {
  display: flex;
  gap: 30px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-info span {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Netflix Projects Section */
.netflix-projects {
  padding: 80px 60px;
  background: var(--bg-primary);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  padding-left: 60px;
}

.netflix-carousel-section {
  margin-bottom: 60px;
}

.carousel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-left: 60px;
}

.netflix-carousel {
  position: relative;
  padding: 0 60px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.netflix-card {
  flex: 0 0 300px;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
  cursor: pointer;
}

.netflix-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 10;
}

.card-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--netflix-red);
}

.card-content {
  padding: 20px;
  background: var(--bg-secondary);
}

.card-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-content p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  line-height: 1.5;
}

.card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.card-skills span {
  font-size: 12px;
  padding: 4px 10px;
  background: rgba(229, 9, 20, 0.2);
  color: var(--netflix-red);
  border-radius: 4px;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--netflix-red);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: var(--netflix-red-light);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(229, 9, 20, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-left {
  left: 10px;
}

.carousel-btn-right {
  right: 10px;
}

/* Email Notification Styles */
.email-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 20px 30px;
  border-radius: 8px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  z-index: 10000;
  opacity: 0;
  transform: translateX(400px);
  transition: all 0.3s ease;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.email-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.email-notification-success {
  background: var(--netflix-red);
}

.email-notification-error {
  background: #d32f2f;
}

/* Old styles - to be removed/updated */
.home {
  margin: 160px 200px;
}

.home-container {
  display: flex;
  gap: 6rem;
}

.home-p {
  color: var(--text-primary);
  background-color: var(--bg-secondary);
  display: inline-block;
  border-radius: 25px;
  padding: 5px 10px;
  margin-bottom: 30px;
}


.home-s {
  font-weight: bold;
  color: var(--netflix-red);
}

.info-home h1 {
  font-size: 70px;
  font-family: "Raleway", sans-serif;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.info-home h3 {
  font-size: 40px;
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  color: var(--netflix-red);
}

.info-p {
  color: var(--text-secondary);
  font-family: "Roboto", sans-serif;
  padding-bottom: 20px;
}

.info-p p {
  padding-bottom: 5px;
}

.info-p2 {
  display: flex;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 14px;
  padding-bottom: 20px;
}

.btnn {
  display: flex;
  gap: 1rem;
  padding-bottom: 30px;
}

.btn-home1 {
  background: var(--netflix-red);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.btn-home1:hover {
  background: var(--netflix-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.btn-home2 {
  background-color: transparent;
  border: 2px solid var(--netflix-red);
  color: var(--netflix-red);
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-family: 'Montserrat', sans-serif;
}

.btn-home2:hover{
    background: var(--netflix-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

hr {
  width: 90%;
  font-weight: bold;
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--netflix-red), transparent);
}

.hhr {
  padding-bottom: 30px;
}

.follow {
  display: flex;
  gap: 1rem;
}

.follow ul {
  display: flex;
  gap: 2rem;
  font-size: 20px;
}

.follow ul li {
  list-style: none;
}

.follow ul a {
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-speed) ease;
}

.follow ul a:hover {
  color: var(--netflix-red);
  transform: translateY(-3px) scale(1.1);
}

/* fine home  */

/* Netflix About Section */
.netflix-about {
  padding: 80px 60px;
  background: var(--bg-primary);
}

.netflix-about .about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  padding: 0 60px;
}

.about-info {
  margin-bottom: 40px;
}

.about-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 900px;
}

.about-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.netflix-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.netflix-info-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.netflix-info-card:hover {
  transform: translateY(-5px);
  border-color: var(--netflix-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.netflix-info-card i {
  font-size: 40px;
  color: var(--netflix-red);
  margin-bottom: 20px;
}

.netflix-info-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.netflix-info-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
}


.about h2{
    padding-bottom: 30px;
}

.card{
    display: flex;
    gap: 2rem;
}



.project{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.project p{
    padding-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted); 
}

.android-project {
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
  .android-project {
    margin: 120px 50px;
  }
}

@media (max-width: 768px) {
  .android-project {
    margin: 100px 20px;
  }
}

.android-project p{
    padding-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted); 
}

.android-project h1{
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
    color: var(--text-primary);
}

.android-project hr{
    width: 10%;
    margin: 0 auto;
}


.project hr{
    width: 10%;
}

.info-pro{
    padding-top: 20px;
}

.info-pro p{
    padding-bottom: 10px;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}



.skills {
  margin-bottom: 15px;
}

.skills a {
  display: inline-block;
  background: rgba(229, 9, 20, 0.1);
  color: var(--netflix-red);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 4px;
  margin: 3px;
  transition: all 0.3s ease;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.skills a:hover {
  background: rgba(229, 9, 20, 0.2);
  border-color: var(--netflix-red);
  transform: translateY(-2px);
}

.btns {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: var(--netflix-red);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all var(--transition-speed) ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.btn:hover {
  background: var(--netflix-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 9, 20, 0.4);
}

.services{
    margin: 160px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.services p{
    padding-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted); 
}

.services h1{
    font-family: "Open Sans", sans-serif;
    padding-bottom: 10px;
}

.services hr{
    width: 10%;
}

.services-container {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.service-card {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: all var(--transition-speed) ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.dark-mode .service-card {
  border-color: var(--border-color);
}

.service-card h3 {
  color: var(--accent-color);
}

.service-card p {
  color: var(--text-secondary);
}

.service-card img {
  width: 100px;
  margin-bottom: 15px;
  z-index: 1;
  position: relative;
}

.service-card h3 {
  color: #1e40af;
  margin-bottom: 10px;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #555;
  font-size: 0.9rem;
  transition: color 0.5s;
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  z-index: 0;
  transition: all var(--transition-speed) ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover h3,
.service-card:hover p {
  color: #fff;
}

/* Netflix Contact Section */
.netflix-contact {
  padding: 80px 60px;
  background: var(--bg-primary);
    display: flex;
    flex-direction: column;
  align-items: center;
}

.netflix-contact .section-title {
  margin-bottom: 50px;
}

.contact-content {
  padding-top: 50px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Slide-in animations */
.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  box-sizing: border-box;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 25px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-item i {
  font-size: 20px;
  color: var(--netflix-red);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-size: 20px;
  transition: all var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

.social-link:hover {
  transform: translateY(-5px);
  color: var(--netflix-red);
  background: rgba(229, 9, 20, 0.1);
  border-color: var(--netflix-red);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}

/* Form */
.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 100%;
  width: 100%;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 5px 15px var(--shadow-color);
  box-sizing: border-box;
  overflow: hidden;
}

.contact-form form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form .form-group {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
  transition: all var(--transition-speed) ease;
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--netflix-red);
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

.btn-send {
  background: var(--netflix-red);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.btn-send:hover {
  background: var(--netflix-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(229, 9, 20, 0.4);
}

.btn-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    gap: 30px;
    padding-top: 30px;
  }
  
  .contact-info,
  .contact-form {
    min-width: 100%;
    max-width: 100%;
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .contact-content {
    gap: 20px;
    padding-top: 20px;
  }
  
  .contact-info,
  .contact-form {
    padding: 15px;
  }
  
  .contact-info p {
    font-size: 14px;
  }
  
  .contact-item {
    font-size: 14px;
  }
  
  .contact-item i {
    font-size: 18px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .btn-send {
    width: 100%;
    padding: 12px 20px;
  }
}


.footer {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 60px 20px 40px;
  text-align: center;
  overflow-x: hidden;
  border-top: 1px solid var(--border-color);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--netflix-red);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-links li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  font-size: 14px;
}

.footer-links li a:hover {
  color: var(--netflix-red);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-social a {
  color: var(--text-secondary);
  font-size: 20px;
  transition: all var(--transition-speed) ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.footer-social a:hover {
  color: var(--netflix-red);
  border-color: var(--netflix-red);
  transform: translateY(-3px) scale(1.1);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.active-reveal {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', 'Open Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  color: var(--netflix-red);
  text-align: center;
}

#loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hidden {
  opacity: 0;
  transform: translateY(-200px);
}

.fall {
  animation: fall 0.9s forwards;
}

@keyframes fall {
  0% {
    opacity:0;
    transform: translateY(-200px);
  }
  60% {
    opacity:1;
    transform: translateY(20px);
  }
  100% {
    transform: translateY(0);
  }
}

.loading-content h1,
.loading-content h2,
.loading-content i {
  margin: 20px 0;
}

.sub-icons {
  display:flex;
  justify-content:center;
  gap: 25px;
  margin-bottom: 20px;
}

#main-page {
  opacity:0;
  transition: opacity 1s ease;
}

#main-page.visible {
  opacity:1;
}

/* Netflix Responsive Styles */
@media (max-width: 1024px) {
  .netflix-nav {
    padding: 15px 30px;
  }

  .netflix-logo h2 {
    font-size: 24px;
  }

  .netflix-menu ul {
    gap: 1.5rem;
  }

  .netflix-menu a {
    font-size: 13px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-description {
    font-size: 16px;
  }

  .netflix-hero {
    min-height: 500px;
  }

  .hero-content {
    padding: 0 30px;
  }

  .netflix-projects,
  .netflix-about,
  .netflix-contact {
    padding: 60px 30px;
  }

  .section-title {
    padding-left: 30px;
    font-size: 28px;
  }

  .carousel-title {
    padding-left: 30px;
  }

  .netflix-carousel {
    padding: 0 30px;
  }

  .netflix-card {
    flex: 0 0 280px;
  }

  .about-content {
    padding: 0 30px;
  }

  .netflix-cards {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .netflix-nav {
    padding: 12px 20px;
    flex-wrap: wrap;
  }

  .netflix-logo h2 {
    font-size: 20px;
  }

  .netflix-menu ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .netflix-menu a {
    font-size: 12px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-info {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .netflix-hero {
    min-height: 400px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .netflix-projects,
  .netflix-about,
  .netflix-contact {
    padding: 40px 20px;
  }

  .section-title {
    padding-left: 20px;
    font-size: 24px;
    margin-bottom: 30px;
  }

  .carousel-title {
    padding-left: 20px;
    font-size: 18px;
  }

  .netflix-carousel {
    padding: 0 20px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-btn-left {
    left: 5px;
  }

  .carousel-btn-right {
    right: 5px;
  }

  .netflix-card {
    flex: 0 0 250px;
  }

  .about-content {
    padding: 0 20px;
  }

  .netflix-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-content {
    flex-direction: column;
    gap: 30px;
    padding-top: 30px;
  }

  .contact-info,
  .contact-form {
    min-width: 100%;
    padding: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}
