*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "MySkill", sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
}


@font-face {
  font-family: 'MyCustomFontt';
  src: url('fonts/Inter_18pt-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'MyCustomFont2';
  src: url('fonts/Helvetica\ Neue\ LT\ Std\ 93\ Black\ Extended\ Oblique.otf') format('truetype');
}

@font-face {
  font-family: 'MyCustomFont1';
  src: url('fonts/Amiri-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'MySkill';
  src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
}

html{
    font-size: 60%;
    overflow-x: hidden;

}

body {
    background-color: rgb(0, 0, 0);
    padding-top: 12rem;
    
}

.header{
    position:fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 4rem 15%;
    background: transparent;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

#menu-icon{
    font-size: 3.5rem;
    display: none;
}
.logo {
    font-family: "MySkill", sans-serif;
    font-size: 3rem;
    color: #ffffff; /* Solid white for Dev */
    font-weight: 900;
    cursor: pointer;
    transition: 1s ease-in-out;
}

.logo:hover{
    transform: scale(1.1);
    opacity: 0.7;

}

section.home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
    padding-top: 5rem; /* Reduced from 10rem to move everything up */
}

.logo span {
    font-family: 'MySkill', sans-serif;
    background: rgba(255, 255, 255, 0);
    color: white;
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-weight: 900;
    /* animation: glow 4s infinite linear; */
}
span{
    background: rgba(255, 255, 255, 0);
    /* -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; */
    font-weight: 900;
    /* animation: glow 40s infinite linear; */
}

@keyframes glow {
    0% {
        text-shadow: 0 0 4px #649fdd, 0 0 0px #00AEEF;
    }
    33% {
        text-shadow: 0 0 4px #d25e98, 0 0 0px #9648c3;
    }
    66% {
        text-shadow: 0 0 4px #f4fa41, 0 0 0px #00FF94;
    }
    100% {
        text-shadow: 0 0 4px #00AEEF, 0 0 0px #00AEEF;
    }
}

.navbar a {
  font-family: "MySkill", sans-serif;
  font-size: 1.9em;
  color: #ffffff;
  margin-left: 4rem;
  font-weight: 700;
  transition: 0.3s ease-in-out;
  border-bottom: 3px solid transparent;
  padding-bottom: 3px;
  text-decoration: none;
}

.navbar a:hover {
  background: transparent;
  color: white;
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  animation: white 4s infinite linear;
  border-bottom: 3px solid #ffffff;
}

/* Keep underline on the active link */
.navbar a.active {
    font-family: "MySkill", sans-serif;
  border-bottom: 3px solid #ffffff;
}


.gradient-btn{
    font-size: 1.7rem;
    font-weight: 600;
    padding: 1.3rem 1.7rem;
    border-radius: 3rem;
    letter-spacing: 2px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 4s infinite linear; 
    transition: 0.3s ease-in-out;
    text-wrap: nowrap;
}
.gradient-btn:hover{
    transform: scale(1,1);
    opacity: 0.9;
}

section{
    min-height: 100vh;
    padding: 10rem 15%;
}

.home{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}

.home-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: left;
}

@font-face {
  font-family: 'MyCustomFont';
  src: url('fonts/Inter_18pt-Bold.ttf') format('truetype');
}

.home-content h1 span {
  font-family: 'MySkill', sans-serif;
}

.home-content h1 {
    font-family: 'MySkill', sans-serif;
    font-size: 9rem;
    font-weight: 700;
    margin-top: -11rem; /* Changed from 1.5rem to pull it up */
    line-height: 1;
    color: white;
}

.home-content h3{
    margin: 1rem 0;
    font-size: 4rem;
    color: white;
}

.home-content p{
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.8;
    color: white;
}

.home-img img {
    width: 32vw;
    height: 32vw;
    background: #333333;
    border-radius: 50%;
    box-shadow: 0 0 22px gray;
    transition: 0.4s ease-in-out;
    cursor: pointer;
  text-align: center;
  margin-top: 20px;
    /* Add the animation */
    animation: beatShine 2.7s infinite ease-in-out;
}

/* Define the glowing animation */
@keyframes beatShine {
    0% {
        box-shadow: 0 0 22px gray;
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 40px white, 0 0 80px gray, 0 0 120px gray;
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 22px gray;
        transform: scale(1);
    }
}

.social-icons {
    display: flex;
    justify-content: center; 
    align-items: center;    
    flex-wrap: wrap;         
    width: 100%;
}
.social-icons a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: rgb(255, 255, 255);
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

.social-icons a:hover{
    box-shadow: 0 0 50px gray;
    background: linear-gradient(90deg, #00AEEF, #FF007F, #00FF94);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 4s infinite linear; 
    transition: 0.3s ease-in-out;
}

.btnn-group{
    display: flex;
    gap: 1.5rem;
}

.btnn{
    font-family: "MySkill", sans-serif;
    display: inline-block;
    padding: 1rem 3rem;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: gray;
    border-radius: 3rem;
    font-size: 1.8rem;
    color: rgb(255, 255, 255);
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

.btn-group{
    display: flex;
    gap: 1.5rem;
}

.btn{
    font-family: "MySkill", sans-serif;
    display: inline-block;
    padding: 1rem 3rem;
    background-color: white;
    box-shadow: gray;
    border-radius: 3rem;
    font-size: 1.8rem;
    color: rgb(23, 23, 23);
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}
.btn:hover
{
    transform: scale(1.05);
    box-shadow: 0 0 25px white,
    0 0 50px gray;
}

.btn-group a:nth-of-type(2){
    background-color: rgb(23, 23, 23);
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 0 25px transparent;
}
.btn-group a:nth-of-type(2):hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px white,
    0 0 50px gray;
}

.about{

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10rem;
    background: transparent;
}
.about-img img{
    width: 10vw;
    height: 10vw;
    border-radius: 50%;
    box-shadow: 0 0 22px ;
    transition: 0.4s ease-in-out;
}
.about-img img:hover{
    box-shadow: 0 0 25px gray,
                0 0 50px gray,
                0 0 100px gray;
}
.about-content h2 {
    font-family: "MySkill", sans-serif;
  font-size: 7rem;
  text-align: center;
  color: white;
  /* opacity: 0; */

  /* connect animation to scroll */
  /* animation: fadeIn 4s ease-in-out forwards; */
  /* animation-timeline: view(); */
  /* animation-range: entry 0% cover 100%; */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about hr{
    width: 100px;
    margin: 10px auto 40px;
    border: none;
    border-top: 3px solid #ffffff;
    border-radius: 2px;
}

.about-content p{
    font-family: "MySkill", sans-serif;
    font-size: 1.7rem;
    font-weight: 400;
    color: white;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem; /* space between paragraphs */
    line-height: 1.8;  
}

.about-content span{
    font-family: "MySkill", sans-serif;
}

.about-content .btn{
    display: block;
    margin: 3rem auto 0;
    text-align: center;
    background-color: transparent;
    color: white;
    border: 2px solid #333333;
    box-shadow: 0 0 25px transparent;  
}

.about-content .btn:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px white,
    0 0 50px gray;
}



::-webkit-scrollbar{
    width: 20px;
}

::-webkit-scrollbar-thumb{
    background-color: rgb(67, 67, 67);
}

::-webkit-scrollbar-track{
    background-color: rgb(255, 255, 255);
}

.typing-text {
  font-family: 'MyCustomFont', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: white;
  display: flex;       
  justify-content: center; /* This centers the icons horizontally */
  align-items: center;     /* Centers them vertically if the container has a specific height */
  flex-wrap: wrap;         /* Ensures they wrap nicely on smaller screens */
  width: 100%;
  align-items: center;        
  gap: 1.8rem;               
  margin: 0;    
  padding-left: 50px; 
  margin-top: -600px;
  /* padding-bottom: 700px;       */
}

.typing-text .words {
  font-family: 'MySkill', sans-serif;
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.2em;              
  vertical-align: middle;   
  
}


.typing-text .words span{
  font-family: 'MySkill', sans-serif;
  display: block;
  line-height: 1.2em;         
  margin: 0;
  color: #ffffff;
  font-weight: 600;          
  animation: slide 13s infinite;
}



@keyframes slide {
  0%, 20%   { transform: translateY(0%); }       
  25%, 45%  { transform: translateY(-100%); }    
  50%, 70%  { transform: translateY(-200%); }    
  75%, 95%  { transform: translateY(-300%); }    
  100%      { transform: translateY(0%); }       
}

.contact-left-title h2{
    font-family: "MySkill", sans-serif;
    font-size: 7rem;
    text-align: left;
    color: white;
}

.contact-container{
    height: 100vh;
    display: flex;
    align-items: center;
}
.contact-left{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-left-title hr{
    border: none;
    width: 120px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 20px;

}

.contact-inputs{
    width: 700px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 400;
    font-size: 14px;
    color: gray;
    border-radius: 40px;
}

.contact-left textarea{
    height: 140px;
    width: 700px;
    padding-top: 15px;
    border-radius: 20px;

}

.contact-inputs:focus{
    border: 2px solid #333333;
}

.contact-inputs::placeholder{
    color: gray;
}

.contact-left button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 17px;
    color: white;
    gap: 10px;
    border: 2px solid #333333;
    box-shadow: 0 0 25px transparent;
    border-radius: 50px;
    background-color: rgb(23, 23, 23);
    cursor: pointer;  
}

.contact-left button:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px white,
    0 0 50px gray;
}

.contact-left button img{
    height: 15px;
}

.contact-right img{
    width: 400px;
    margin-left: 160px;
}

.inner{
    padding-top: 20px;
}

.skill-head{
    font-family: 'MySkill', sans-serif;
    text-align: center;
    color: white;
    padding: 1rem;
    font-size: 2.7rem;
}

.skill-head:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 100px;
    background-color: white;
}

.skill-head hr {
    width: 100px;
    margin: 10px auto 40px;
    border: none;
    border-top: 3px solid #ffffff;
    border-radius: 2px;

}


/* Separate animation for hr */
@keyframes hr-glow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.container{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
    padding: 1rem 80px;
    font-size: 1.2rem;
}

/* 1. Center the container for the images */
.skill-title {
    display: flex;
    justify-content: center; /* Centers the icon horizontally */
    align-items: center;     /* Centers the icon vertically */
    padding: 1rem;
    margin-bottom: 1rem;
    height: 160px;           /* Gives every icon area the exact same height */
}

/* 2. Define the size of the icons */
/* Update the icon container to be a strict square */
.skill-icon {
    /* width: 150px;            /* The exact width for every icon box */
    /* height: 200px;           The exact height for every icon box */ 
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;          /* Centers the box in the skill-box */
    overflow: hidden;        /* Prevents anything from leaking out */
}

.large-icon {
    width: 180px;            /* Larger size for these specific two */
    height: 200px;
    /* Optional: If they still look small, you can use transform: scale */
    transform: scale(1.30); 
}
/* Force the image inside to behave */
.skill-icon img {
    width: 100%;             /* Force it to fill the 150px width */
    height: 100%;            /* Force it to fill the 150px height */
    object-fit: contain;     /* Prevents stretching/distortion */
    padding: 10px;           /* Add padding here to shrink the "big" ones slightly */
}
/* 4. Align the text and box content */
.skill-box {
    padding: 2rem;
    text-align: center;      /* Centers the H3 and HR */
    color: white;            /* Fixed from rgba(255, 255, 255, 0) so text is visible */
    cursor: pointer;
    flex: 1 1 250px;         /* Helps in the container layout */
}

.skill-box h3 {
    font-family: "MySkill", sans-serif;
    color: white;
    font-size: 2.5rem;
    margin-top: 10px;
}

/* 5. Center your HR lines */
.skill-box hr {
    width: 80px;
    margin: 10px auto;       /* 'auto' centers the horizontal line */
    border: none;
    border-top: 3px solid #ffffff;
    border-radius: 2px;
}

.skill-box{
    padding: 2rem;
    color: rgba(255, 255, 255, 0);
    cursor: pointer;
}

.skill-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* aligns content to the left */
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}



.skill-icon img:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 90px;
    background: #333333;

}

.skill-title h3{
    color: rgb(0, 0, 0);
    margin: 0.5rem;
}

.skill-btn {
    display: block; /* change inline-block to block */
    margin: 0 auto; /* auto margins center it */
    padding: 1rem 3rem;
    background-color: rgb(23, 23, 23);
    box-shadow: 0 0 25px transparent; /* corrected box-shadow syntax */
    border-radius: 3rem;
    font-size: 1.8rem;
    color: white;
    border: 2px solid #333333;
    font-weight: 600;
    transition: 0.3s ease-in-out;
    cursor: pointer;
    margin-top: 18px;
}


.skill-btn:hover{
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.timeline-items hr{
    border: none;
    width: 120px;
    height: 5px;
    border-radius: 10px;
    margin: 0 auto 20px auto;

} 

.heading{
    font-family: "MySkill", sans-serif;
    font-size: 6rem;
    text-align: center;
    margin: 5rem 0;
    color: white;
}

.eductaion{
    padding: 100px 15px;
    background: rgb(0, 0, 0);
}

.eductaion h2{
    margin-bottom: 5rem;

}

.timeline-items{
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items::before{
    content: "";
    position: absolute;
    width: 3px;
    height: 100%;
    background-color: #ffffff;
    left: calc(50% - 1px);
}

.timeline-item{
    margin-bottom: 40px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child{
    margin-bottom: 0;
}

/* odd items on the left */
.timeline-item:nth-child(odd){
    padding-right: calc(50% + 30px);
    text-align: right;
}

/* even items on the right */
.timeline-item:nth-child(even){
    padding-left: calc(50% + 30px);
    text-align: left; /* make sure text aligns correctly */
}

.timeline-dot{
    height: 21px;
    width: 21px;
    background-color:#ffffff;
    box-shadow: 0 0 25px #ffffff,
                0 0 50px #ffffff;
    position: absolute;  
    left: calc(50% - 8px);  
    border-radius: 50%;     
    top: 10px;   
}

.timeline-date{
    font-family: "MySkill", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: white;
    margin: 6px 0 15px;
}

.timeline-content{
    background-color: transparent;
    border: 3px solid #ffffff;
    padding: 30px 50px;
    border-radius: 4rem;
    box-shadow: 0 0 10 #ffffff;
    cursor: pointer;
    transition: 0.3s ease-in-out;
} 

.timeline-content:hover{
    transform: scale(1.05);
    box-shadow: 0 0 25px #ffffff;
}

.timeline-content h3{
    font-family: "MySkill", sans-serif;
    font-size: 20px;
    color: white;
    margin: 0 0 10px;
    font-weight: 500;
}
.timeline-content p{
    font-family: "MySkill", sans-serif;
    color: white;
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
}

footer{
    position: relative;
    width: 100%;
    background: #000000;
    min-height: 50px;
    padding: 10px 5px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

footer .social-iconss{
    position: relative;
    display: flex;
    justify-content: center;
}

footer .social-iconss a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: rgb(255, 255, 255);
    margin: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

footer .menu li{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

footer .social-iconss a:hover,
footer .menu li a:hover{
   transform: translateY(-10px);
   opacity: 0.9;
}

.menu{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    flex-wrap: wrap;
}

footer .menu li a{
    font-size: 1.6em;
    font-weight: 600;
    color: white;
    margin: 0 10px;
    display: inline-block;
    transition: 0.5s;
}

footer p{
    font-family: "MySkill", sans-serif;
    color: white;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 15px;
  
}

.video {
  width: 100%;
  height: 100vh; /* full screen height, optional — you can remove it if not needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: black; /* fallback background */
}

.video video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* makes it fill the whole section nicely */
  border: none;
  outline: none;
}


select.contact-inputs {
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
}

#click-hint {
  color: #aaa;
  font-size: 1.7rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


.services {
    text-align: center;
    padding: 80px 20px;
    background-color: #000000;
}

.section-title {
    font-size: 5rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-family: "MySkill", sans-serif;
}

.services hr {
    width: 100px;
    margin: 10px auto 40px;
    border: none;
    border-top: 3px solid #ffffff;
    border-radius: 2px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px #ffffff;
}

.service-icon {
    /* width: 150px;
    height: 150px; */
    margin-bottom: 15px;
}

.service-box h3 {
    color: #000000;
    font-size: 2rem;
    margin-bottom: 10px;
    font-family: "MySkill", sans-serif;
}

.service-box p {
    color: #555;
    font-size: 1.5rem;
    line-height: 1.5;
}

.gradientt-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 35px;
    font-size: 1.8rem;
    border: 2px solid #333333;
    box-shadow: 0 0 25px transparent;
    border-radius: 30px;
    color: white;
    font-family: "MySkill", sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 3rem auto 0;
    text-align: center;
    background-color: transparent;
    color: white;

}

.gradientt-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.add-review-form {
    margin-top: -300px !important;
    background: rgba(255, 25, 25, 0.05);
    padding: 300rem;
    border-radius: 200rem;
    text-align: center;
    border: 1px solid #333;
}


.add-review-form h3 {
    font-family: "MySkill", sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
}

.add-review-form input, 
.add-review-form select, 
.add-review-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: #111;
    border: 1px solid #444;
    color: white;
    border-radius: 1rem;
    font-size: 1.6rem;
}

.add-review-form button {
    display: block;
    margin: 0 auto;
}

/* 1. Updated Review Container for Slider */
.reviews {
    font-family: "MySkill", sans-serif;
    text-align: center;
    padding: 60px 20px;
    overflow: hidden; /* Important for sliders */
}

/* Ensure the box can contain the absolute-positioned icon */
.review-box {
    position: relative !important; /* Must be relative for the icon to stay inside */
    z-index: 1;
}

.delete-icon {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 9999 !important; /* Forces it to the very top layer */
    display: block !important; /* Ensures it's not hidden */
    color: red !important; /* Make it bright so you can't miss it */
}

/* This replaces your old .reviews-container grid */
.reviews-slider {
    width: 100%;
    padding: 40px 0 80px; /* Extra bottom padding for pagination dots */
    margin: 0 auto;
    max-width: 1400px;
}

.swiper-wrapper {
    display: flex;
    align-items: stretch; /* Makes all review boxes the same height */
}

.swiper-slide {
    height: auto; 
    display: flex;
    justify-content: center;
    padding: 10px;
}

/* 2. Enhanced Review Box styling */
.review-box {
    background: #ffffff;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    min-height: 320px; /* Set a minimum height for consistency */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.review-box p {
    font-family: "MySkill", sans-serif;
    font-size: 1.5rem;
    color: #333;
    line-height: 1.6;
    margin-top: 10px;
    /* For Arabic text support */
    direction: auto; 
}

/* 3. Slider Navigation Controls */
.swiper-button-next, 
.swiper-button-prev {
    color: #000000 !important; /* Matches your theme color */
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 50%;
    transform: scale(0.6);
}

.swiper-pagination-bullet {
    background: #555 !important;
    width: 12px;
    height: 12px;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #00AEEF !important;
    width: 30px; /* Makes the active dot an oval */
    border-radius: 10px;
}

/* 4. Fix for Review Form alignment */
.add-review-form {
    font-family: "MySkill", sans-serif;
    max-width: 800px;
    margin: 5rem auto; /* Centers the form on the page */
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 3rem;
    border: 1px solid #333;
}

.reviews {
  font-family: "MySkill", sans-serif;
  text-align: center;
  padding: 60px 20px;
}


.reviews-container {
  font-family: 'MySkill', sans-serif;
  display: grid;
  grid-template-columns: repeat(1, 2fr);  /* 3 per row */
  gap: 40px;
  margin-top: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.review-box {
  background: #ffffff;
  padding: 25px;
  height: 300px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.review-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.review-icon {
  font-size: 60px;
  color:#000000;
  margin-bottom: 10px;
}

.stars {
  color: #ffb400;
  margin-bottom: 10px;
}
.reviews hr{
    width: 100px;
    margin: 10px auto 40px;
    border: none;
    border-top: 3px solid #ffffff;
    border-radius: 2px;
}

.review-box h3 {
    font-family: "MySkill", sans-serif;
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.review-box p {
    font-family: "MySkill", sans-serif;
  font-size: 1.3rem;
  color: #000000;
}

@media (max-width: 900px) {
  .reviews-container {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 600px) {

/* Make Hire Me boxes bigger on phones */
/* Make Hire Me boxes taller and less rounded on phones */
/* 1. Force the form container to stretch left and right */
/* Stretch horizontally ONLY, keep original heights */

/* Shrink footer links and copyright text on phones */
footer .menu li a {
    font-size: 1.2em !important; /* Reduces the size of Home, About, Projects, etc. */
    margin: 0 6px !important; /* Brings the links slightly closer together */
}

footer p {
    font-size: 1.1rem !important; /* Makes the email and copyright text perfectly small */
}

/* 1. Shrink the Review Slider Cards */
.review-box {
    padding: 20px !important; /* Reduces inside spacing */
    min-height: 250px !important; /* Makes the card much shorter */
    border-radius: 15px !important;
}

.review-icon {
    font-size: 45px !important; /* Makes the user profile icon smaller */
    margin-bottom: 5px;
}

.review-box p {
    font-size: 1.3rem !important; /* Makes the review text smaller */
}

/* 2. Shrink the "Add a Review" Form */
.add-review-form {
        padding: 2.5rem 1.5rem !important;
        border-radius: 15px !important;
        /* Changed from 3rem 15px to -2rem 15px to pull it UP */
        margin: -17rem 15px 3rem !important; 
    }

.add-review-form h3 {
    font-size: 2.2rem !important; /* Smaller form title */
    margin-bottom: 1.5rem !important;
}

.add-review-form input, 
.add-review-form select, 
.add-review-form textarea {
    padding: 1rem !important; /* Thinner input boxes */
    font-size: 1.4rem !important; /* Smaller text inside the form */
    border-radius: 10px !important; /* Sharper corners */
}
.contact-left {
    width: 100%; 
    padding: 0 15px; /* Tiny space on the left/right so it doesn't touch the exact edge of the glass */
}

.contact-inputs,
.contact-left textarea {
    width: 100% !important; /* Stretches left and right */
    max-width: 100% !important; 
    font-size: 1.3rem; /* Keeps text readable on mobile */
}

.contact-left button {
    width: 100%; /* Stretches the button left and right */
    justify-content: center; /* Centers the "Submit" text and arrow */
}
/* Shrink the Service Cards */
.service-box {
    padding: 20px 1px; /* Reduced from 30px 20px to make the card thinner */
    border-radius: 15px; 
}

.service-box h3 {
    font-size: 1.8rem; /* Smaller title */
    margin-bottom: 8px;
}

.service-box p {
    font-size: 1.2rem; /* Smaller description text */
}

/* Force the inline HTML images to shrink */
.service-icon {
    width: 80px !important; /* Overrides the 120px hardcoded in your HTML */
    height: auto !important; /* Keeps the images from stretching */
    margin-bottom: 10px;
}
/* Unify ALL section titles on mobile */
.about-content h2,
.skill-head h1,
.skill-head,
.heading,
.section-title,
.contact-left-title h2 {
    font-size: 4.5rem; /* A perfect size to prevent long words from breaking */
    text-align: center; /* Ensures everything is perfectly centered */
}    
    
    
.typing-text {
      font-family: 'MyCustomFont', sans-serif;
      font-size: 2rem; 
      font-weight: 500;
      color: black;
      display: flex;       
      justify-content: center; 
      align-items: center;     
      flex-wrap: wrap;         
      width: 100%;
      gap: 1.8rem;               
      margin: 0;    
      padding-left: 0px; 
      transform: translateX(10px); 
      margin-top: -1000px;
    }

    .typing-text .words {
      font-family: 'MySkill', sans-serif;
      display: inline-block;
      position: relative;
      overflow: hidden;
      height: 1.2em;             
      vertical-align: middle;   
    }

    .typing-text .words span{
      font-family: 'MySkill', sans-serif;
      display: block;
      line-height: 1.2em;         
      margin: 0;
      color: #ffffff;
      font-weight: 600;          
      animation: slide 13s infinite;
    }

    .home-content h1 {
        font-family: 'MySkill', sans-serif;
        font-size: 5.8rem; 
        font-weight: 500;
        margin-top: -20rem; /* <-- This pulls the H1 and everything below it UP */
        line-height: 1;
        color: white;
    }
    
    .contact-right img{
      display: none;
    }    
    .reviews-container {
      grid-template-columns: 1fr; 
    }
}


/* --------------- RESPONSIVE --------------- */

@media (max-width: 1768px) {

    html {
        font-size: 50%; /* make all text slightly smaller on phones */
    }

    .header {
        padding: 2rem 5%;
    }

    .contact-left {
        width: 100%; 
        padding: 0 15px; /* Tiny space on the left/right so it doesn't touch the exact edge of the glass */
    }
    
    .contact-inputs,
    .contact-left textarea {
        width: 100% !important; /* Stretches left and right */
        max-width: 100% !important; 
        font-size: 1.3rem; /* Keeps text readable on mobile */
    }
    
    .contact-left button {
        width: 100%; /* Stretches the button left and right */
        justify-content: center; /* Centers the "Submit" text and arrow */
    }       
    

    /* Show the menu icon */
    #menu-icon {
        display: block;
        font-size: 4rem;
        cursor: pointer;
        color: white;
    }

    .home-img img {
     display: none;
    }

    /* Hide navbar links by default */
    .navbar {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 100%;
        background: rgba(0,0,0,0.8);
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
        text-align: center;
        transition: 0.3s;
    }

    .navbar a {
        margin: 2rem 0;
        font-size: 2.2rem;
    }

    /* When menu icon is clicked */
    .navbar.active {
        right: 0;
    }

    .video {
        display: none;
    }

    /* Make hero section responsive */
    .home {
        flex-direction: column;
        text-align: center;
        padding: 5rem 2rem;
    }

    .home-img img {
        width: 70%;
        margin-top: 3rem;
    }

    /* Skills grid responsiveness */
    .container {
        grid-template-columns: 1fr; /* one column on small screens */
    }

    /* Services responsive */
    .services-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto; /* adjust height for smaller screens */
        padding: 5rem 2rem;
    }

    .contact-left {
        align-items: center; /* center content */
        text-align: center;
        gap: 15px;
    }

    .contact-left-title h2 {
        font-size: 5.5rem; /* smaller font size */
        text-align: center;
    }

    .contact-left-title hr {
        margin: 0 auto 20px; /* center the line */
    }

    .contact-inputs,
    .contact-left textarea {
        width: 100%; /* fit the screen */
        max-width: 400px;
    }

    .contact-left button {
        margin: 0 auto;
    }

    .contact-right img {
        width: 90%; /* scale image down */
        margin: 150px 0 0 0; /* center image */
    }

    .skill-icon {
      display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;          /* Centers the box in the skill-box */
        overflow: hidden;   
    }

    .timeline-items::before {
        left: 20px; /* move the vertical line to the left */
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 30px;
    }

    .timeline-dot {
        left: 10px; /* position dot near the line */
        top: 10px;
        width: 16px;
        height: 16px;
    }

    .timeline-content {
        padding: 20px 25px;
        border-radius: 3rem;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 14px;
        line-height: 20px;
    }    

    .about-content p{
        font-size: 1.7rem;
        font-weight: 400;
        color: white;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem; /* space between paragraphs */
        line-height: 1.4;  
    }    
}

/* For very small screens (phones) */
@media (max-width: 480px) {
    .contact-left {
        width: 100%; 
        padding: 0 15px; /* Tiny space on the left/right so it doesn't touch the exact edge of the glass */
    }
    
    .contact-inputs,
    .contact-left textarea {
        width: 100% !important; /* Stretches left and right */
        max-width: 100% !important; 
        font-size: 1.3rem; /* Keeps text readable on mobile */
    }
    
    .contact-left button {
        width: 100%; /* Stretches the button left and right */
        justify-content: center; /* Centers the "Submit" text and arrow */
    }
    /* Reviews responsiveness */
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
}

