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

body{
font-family: Arial;
background:#f4f4f4;
color:#111;
overflow-x:hidden;
}

/* NAVBAR */

header{
display:flex;
justify-content:flex-end;
padding:1rem;
max-height: fit-content;
}
 
.burger-1 {
  position: relative;
  width: 40px;
  height: 35px;
  color: #555;
  background: transparent;
  cursor: pointer;
  display: block;
  z-index: 200;
}

.burger-1 input {
  display: none;
}

.burger-1 span {
  display: block;
  position: absolute;
  height: 6px;
  width: 100%;
  background: #555;
  border-radius: 12px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger-1 span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger-1 span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger-1 span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger-1 input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.burger-1 input:checked ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}
.burger-1 input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 28px;
  left: 5px;
}

/* ── DROPDOWN MENU ── */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 1.5px); /* flush below nav border */
  right: 0;
  width: 280px;
  background: #f4f4f4;;
  /* color: var(--menu-text); */
  border-left: 1.5px solid #333;
  border-bottom: 1.5px solid #333;
  padding: 12px 0;
  z-index: 150;

  /* hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 2px 4px 0 #999, 0 2px 4px 0 #999;
}

/* open state — toggled via JS */
.dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-menu ul {
  list-style: none;
}

.dropdown-menu li {
  border-bottom: 1px solid #2a2a2a;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  color:#111;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  
}

.dropdown-menu a:hover {
  background: #242424;
  padding-left: 30px;
  color: white;
}

.dropdown-menu a .arrow {
  font-size: 0.75rem;
  opacity: 0.4;
  transition: opacity 0.15s, transform 0.15s;
}

.dropdown-menu a:hover .arrow {
  opacity: 1;
  transform: translateX(3px);
  color: white;
}

/* HERO */
.main-section{
  width: inherit;
  max-height: fit-content;
  height: 100%;
  padding: 3rem 2rem;
  display: flex;
}
.main-char{
/*padding:100px 80px;*/
width: 60%;
float: left;
}

.title{
font-size:100px;
line-height:1;
}

.title span{
color:#999;
}

.subtitle{
margin-top:20px;
font-size:18px;
font-weight: bold;
color:#555;
max-width:450px;
}
.about-title{
color:#999;
font-size:2rem;
line-height:1;
}

.about-content{
margin-top:20px;
font-size:15px;
color:#555;
max-width:450px;
white-space: normal;
word-spacing:5px;
line-height: 1.5;
}
.magnetic-btn
{
margin-top:40px;
padding:16px 40px;
border:none;
background:#111;
color:white;
cursor:pointer;
font-size:16px;
}
.hidden{
  display: none;
}
.contact-form{
  background-color: white;
  margin-bottom: 40px;
  margin-top: 10px;
  padding: 16px 40px;
  /* text-align: center; */
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  max-width: 450px;
  box-shadow: 0 2px 4px 0 #999, 0 2px 4px 0 #999;
}
.contact-form input, textarea{
  background-color: white;
  border: 1px solid #99ccff;
  border-radius: 0.25rem;
  padding: 5px;
  font-size: 15px;
  width: 100%;

}
.contact-form input::placeholder, textarea::placeholder{
  color: #999;
}

#message{
  resize: vertical;
  font-family: Arial, Helvetica, sans-serif;
}
.contact-form-content{
  margin: 0.75rem;
  justify-content: start;
  
}
.form-btn{
margin-top:5px;
padding:16px 40px;
border:none;
background:#111;
color:white;
cursor:pointer;
font-size:16px;
}
.success{
  color: green;
}
.error{
  color: red;
}
/* PROJECTS */

.projects{
  width: 40%;
  float: left;
/*padding:100px 80px;*/
}

.project{
padding:1rem;
border-bottom:1px solid #ddd;
font-size:18px;
cursor:pointer;
transition:0.3s;
}

.project a{
  color:#111;
  text-decoration: none;
}
.project:hover{
transform:translateX(15px);
}

/* FAQ CONTAINER */

.faq-container {
  /* margin: auto auto; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 3rem;
  max-width: 45rem;
  padding: 2rem 0;
  border-radius: 1em;
  /*background-color: var(--background);*/
}

details {
  font-size: 15px;
  margin: 0 auto;
  width: 100%;
  border-radius: 0.5rem;
  position: relative;
  max-width: inherit;
  transition: all 0.3s ease-in-out;
  border-bottom:1px solid #ddd;
}

details:hover {
  background-color: #ddd;
}

details:hover svg {
  stroke: black;
}

details[open] {
  background-color: white;
}

details[open] .faq-title {
  color: black;
}

summary {
  user-select: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  list-style: none;
  padding: 1rem;
  align-items: center;
}

summary svg {
  stroke: black;
}

details[open] summary svg {
  stroke: black;
  transform: rotate(90deg);
}

summary:hover .faq-title {
  color: black;
}

summary::-webkit-details-marker {
  display: none;
}

summary:focus {
  outline: none;
}

.faq-title {
  /*color: white;*/
  width: 90%;
  transition: all 250ms ease-in-out;
}

.faq-content {
  /*color: white;*/
  padding: 0.2rem 1rem 1rem 1rem;
  font-weight: 300;
  line-height: 1.5;
}
.faq-content ul{
  list-style: none;
}
.faq-content span{
  font-weight: bold;
}
.expand-icon {
  pointer-events: none;
  position: absolute;
  right: 1rem;
  transition: all 150ms ease-out;
}
/* MARQUEE */
.marquee-container{
  width: 100%;
  position:fixed;
  background:#d6ff64;
  bottom:0;
  /* padding: 15px; */
}
.marquee-static{
  float: left;
  width: 15%;
  padding:15px;
  justify-content: center;
}
.marquee-track{
float: left;
width:85%;
overflow:hidden;
}
.track{
white-space:nowrap;
padding:15px;
animation:scroll 18s linear infinite;
}

@keyframes scroll{

from{
transform:translateX(0)
}

to{
transform:translateX(-50%)
}

}
@media(max-width: 750px){
  .main-section{
    flex-direction: column;
    gap: 40px;
  }
  .main-char{
    width: 100%;
  }
  .projects{
  width: 100%;}
  .faq-container{
    width: 100%;
  }
  .marquee-static{
    width: 30%;
    padding: 10px;
    justify-content: center;
  }
  .marquee-track{
    width: 70%;
  }
  .track{
    padding: 20px;
  }
  .form-btn{
  margin-top:5px;
  padding:10px 25px;
  font-size:16px;
  }
}
/* CUSTOM CURSOR */

.cursor{
width:20px;
height:20px;
border:2px solid black;
border-radius:50%;
position:fixed;
pointer-events:none;
transform:translate(-50%,-50%);
}
