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

html {
  color: #666666;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  scroll-behavior: smooth;
}

ul,nav{
    list-style: none;
}

a{
    text-decoration: none;
    opacity: .75;
    color:#fff;
}

a:hover{
    opacity: 1;
}

a.btn{
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    background-color: #fe1e4f;
    color: #fff;
    opacity: 1;
    border-radius: 50px;
}

a.btn:hover{
    opacity: 1;
    background-color: #fff;
    color: #1a1a1a;
    cursor: pointer;
}

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 80px;
}

.content-area{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

section h3.header-text {
    text-transform: capitalize;
    margin-bottom: 5px;
    text-align: center;
    font-size: 45px;
    color: #fff;
}

section h3.header-text span {
    color: #fe1e4f;
}

section p{
    max-width: 775px;
    line-height: 2;
    margin-bottom: 30px;
    text-align: center;
    color: #f8f8f8;
}

@media (max-width : 800px) {
    section{
        padding: 50px 20px;
    }
    section h3.header-text {
        font-size: 30px;
    }
}

header{
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 35px 0;
    animation: 1s animate 0.5s forwards;
    opacity: 0;
    color: #fff;
    z-index: 10;
}

header h2 a span{
    color: #fe1e4f;
}

@keyframes animate{
    100%{
        opacity: 1;
    }
}

header nav{
    display:flex;
    margin-right: -15px;
}

header nav ul{
    display: flex;
}

header nav li{
    margin: 0 15px;
}

@media (max-width : 800px){
    header{
        padding: 20px 50px;
        flex-direction: column;
    }
    header h2{
        margin-bottom: 15px;
    }
    header nav ul{
        display: flex;
    }
    header nav li{
        margin: 0 7px;
    }
}

.banner-area{
    position: relative;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    color: #fff;
}

.banner-area .image-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000000;
    background-position: center center;
    transition: background-image 0.5s ease-in-out;
  }

  

.banner-area h1{
    margin-bottom: 15px;
    font-size: 65px;
}

.banner-area h1 span{
    color: #fe1e4f;
}

.banner-area h3{
    margin-bottom: 40px;
    font-size: 25px;
}

.banner-area a.btn{
    padding: 15px 30px;
}

.banner-text{
    opacity: 0;
    margin-top: 100px;
    animation: 1s text-ani 1s forwards;
}

@keyframes text-ani{
    100%{
        opacity: 1;
        margin: 0;
    }
}

@media (max-width:800px) {

    .banner-area{
        min-height: 600px;
    }

    .banner-area h1{
        font-size: 28px;
    }

    .banner-area h3{
        font-size: 24px;
    }

    .banner-area a.btn{
        padding: 15px 40px;
    }
    
}

.dynamic-text {
    font-size: 24px;
    font-weight: bold;
    color: #fe1e4f;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    border-right: 2px solid white;
    padding-right: 5px;
    animation: blink 0.8s infinite;
}

#theme-toggle{
    position: fixed;
    right: 25px;
    bottom: 50px;
    width: 50px;
    height: 50px;
    background: #fe1e4f;
    border-radius: 50px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.info-area{
    background-color: #1a1a1a;
}

p.socials a{
    width:50px;
    height: 50px;
    display: inline-block;
    background: #fe1e4f;
    border-radius: 50px;
    margin: 0 10px;
}

.socials a i{
    line-height: 2.5;
    font-size: 20px;
}

.skills-area .content-area .single-skill{
    height: 300px;
    padding: 20px;
    flex-basis: 30%;
    text-align: center;
}

.skills-area{
    background-color: #101010;
}

.single-skill{
    transition: all 0.6s ease-in-out;
    background: #1a1a1a;
    margin: 10px auto;
}

.single-skill h2{
    margin-bottom: 15px;
    color: #fff;
}

.single-skill:hover{
    background:#fe1e4f;
}

.icon-area{
    width: 80px;
    height: 80px;
    display: inline-flex;
    background: #fe1e4f;
    border-radius: 50%;
    margin-bottom: 25px;
}

.icon-area i{
    color: #fff;
    padding:  25px 25px;
    font-size: 30px;
}

.single-skill:hover .icon-area{
    background: #fff;
}

.single-skill:hover .icon-area i{
    color: #101010;
}

.single-skill:hover p{
    color:#fff
}

@media (max-width:1000px){
    .skills-area .content-area .single-skill{
        flex-basis: 100%;
    }
}

@media (max-width:800px){
    .skills-area .content-area .single-skill{
        flex-basis: 100%;
    }
    .single-skill{
        height: 350px !important;
        margin-bottom: 30px;
    }
}

.projects-area,
.contact-area{
    background: #1a1a1a;
}

.projects-area .content-area li{
    padding: 5px;
    flex-basis: 32%;
    text-align: center;
}

.projects-area img{
    width: 100%;
}

@media (max-width:800px){
    .projects-area .content-area li{
        flex-basis: 100%;
        padding: 20px;
    }
}

.contact-area .content-area .contact-info{
    height: 300px;
    padding: 20px;
    flex-basis: 50%;
    text-align: center;
}

.contact-info input{
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: none;
    margin-bottom: 25px;
    padding: 15px;
}

.contact-info textarea{
    width: 100%;
    padding: 15px;
    border-radius: 25px;
    border: none;
    margin-bottom: 25px;
}

.contact-info input[type="submit"]{
    background: #fe1e4f;
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}


@media (max-width:800px){
    .contact-area .content-area .contact-info{
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}

.newsletter{
    background: #101010;
}

.newsletter form{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 60%;
    flex-direction: column;
}

.newsletter form input{
    padding: 15px;
    font-size: 18px;
    width: 100%;
    margin: 25px 0;
    border-radius: 50px;
}

.newsletter form .btn{
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    background-color: #fe1e4f;
    color: #fff;
    opacity: 1;
    border-radius: 50px;
    padding: 20px 40px;
}

.newsletter form .btn:hover{
    opacity: 1;
    background-color: #fff;
    color: #1a1a1a;
}

@media (max-width:1000px) {
    .newsletter form input{
        flex-basis: 100%;
        margin: 0 0 20px 0;
    }
}


footer{
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px 0;
}

footer p{
    font-size: 14px;
    opacity: 1;
    align-self: center;
    justify-self: center;
}

footer p span{
    font-size: 18px;
    opacity: 0.6;
}

footer p a{
    color: #fe1e4f;
}

.socials-2 a i{
    color: #fe1e4f;
    font-size: 20px;
    margin: 0 10px;
} 

@media (max-width:1000px) {
    footer{
        flex-direction: column;
    }

    footer p{
        text-align: center;
        margin-bottom: 20px;
    }
}


/* ==================== */
/* Dark Theme Styles (White BG/Black Text) */
/* ==================== */

body.light-mode {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
  }
  
  /* Header */
  body.light-mode header {
    background-color: #ffffff;
    color: #000000;
  }
  
  /* Text Colors */
  body.light-mode section h3.header-text,
  body.light-mode section p,
  body.light-mode .banner-area,
  body.light-mode .banner-area h1,
  body.light-mode .banner-area h3,
  body.light-mode .banner-area h5 {
    color: #000000; /* Black text */
  }
  
  /* Keep accent colors red */
  body.light-mode section h3.header-text span,
  body.light-mode header h2 a span,
  body.light-mode .banner-area h1 span,
  body.light-mode footer p a,
  body.light-mode .socials-2 a i {
    color: #fe1e4f;
  }
  
  /* Sections Background */
  body.light-mode .info-area,
  body.light-mode .skills-area,
  body.light-mode .projects-area,
  body.light-mode .contact-area,
  body.light-mode .newsletter,
  body.light-mode footer {
    background-color: #ffffff;
  }
  
  /* Cards */
  body.light-mode .single-skill {
    background-color: #f8f8f8;
    color: #000000;
  }
  
  body.light-mode .single-skill h2 {
    color: #000000;
  }
  
  body.light-mode .single-skill:hover {
    background: #fe1e4f;
    color: #ffffff;
  }
  
  body.light-mode .single-skill:hover h2 {
    color: #ffffff;
  }

  .btn{
    background-color: #fe1e4f;
    color: #fff;
    border-radius: 50px;
    border: none;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}
  
  /* Forms */
  body.light-mode .contact-info input,
  body.light-mode .contact-info textarea,
  body.light-mode .newsletter form input {
    background-color: #101010;
    color: #fff;
    border: none;
  }

  body.light-mode .contact-info input::placeholder,
  body.light-mode .contact-info textarea::placeholder,
  body.light-mode .newsletter form input::placeholder{
    color: #f8f8f8;

  }

  
  /* Social Icons */
  body.light-mode p.socials a {
    background: #fe1e4f;
    color: #ffffff;
  }
  
  /* Buttons */
  body.light-mode a.btn {
    background-color: #000000;
    color: #ffffff;
  }
  
  body.light-mode a.btn:hover {
    background-color: #fe1e4f;
    color: #ffffff;
  }
  
  /* Theme Toggle */
  body.light-mode #theme-toggle {
    background-color: #000000;
    color: #ffffff;
  }
  
  /* Lightbox */
  body.light-mode .lightbox {
    background-color: rgba(255, 255, 255, 0.95);
  }
  
  body.light-mode .close {
    color: #000000;
  }
  
  /* Smooth transitions */
  body.light-mode,
  body.light-mode header,
  body.light-mode .single-skill {
    transition: all 0.3s ease;
  }

  /* Dark Mode Header Styles */
body.light-mode header {
    background-color: #ffffff; /* White background */
  }
  
  body.light-mode header h2 a {
    color: #000000; /* Black text */
  }
  
  body.light-mode header h2 a span {
    color: #fe1e4f; /* Keep red accent */
  }
  
  body.light-mode nav ul li a {
    color: #000000; /* Black text */
    opacity: 0.8;
  }
  
  body.light-mode nav ul li a:hover {
    color: #fe1e4f; /* Red on hover */
    opacity: 1;
  }
  
  body.light-mode #theme-toggle {
    background-color: #000000; /* Black button */
    color: #ffffff; /* White icon */
  }
  
  body.light-mode #theme-toggle:hover {
    background-color: #fe1e4f; /* Red on hover */
    color: #ffffff;
  }
  
  /* Animation remains the same */
  body.light-mode header {
    animation: 1s animate 0.5s forwards;
  }

  /* Dark Mode Footer Styles */
body.light-mode footer {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    border-top: 1px solid #e0e0e0; /* Light gray border */
  }
  
  body.light-mode .copyright {
    color: #000000; /* Black text */
  }
  
  body.light-mode .socials-2 span {
    color: #000000; /* Black text */
  }
  
  body.light-mode .socials-2 a i {
    color: #fe1e4f; /* Red icons */
    transition: all 0.3s ease;
  }
  
  body.light-mode .socials-2 a:hover i {
    color: #000000; /* Black on hover */
    transform: scale(1.2);
  }
  
  /* Responsive adjustments */
  @media (max-width: 1000px) {
    body.light-mode footer {
      flex-direction: column;
    }
    body.light-mode footer p {
      text-align: center;
      margin-bottom: 20px;
    }
  }

  body.light-mode .banner-area .image-area {
    background: #ffffff; /* White background */   
  }

body.light-mode .newsletter form .btn{
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    background-color: #fe1e4f;
    color: #fff;
    opacity: 1;
    border-radius: 50px;
    padding: 20px 40px;
}

body.light-mode .newsletter form .btn:hover{
    opacity: 1;
    background-color: #1a1a1a;
    color: #fff;
}

body.light-mode .contact-info input[type="submit"]{
    background: #fe1e4f;
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}
