:root{

    --arshad-color : #00ff00;
    --project-cards-boder-color : rgb(23, 240, 186);
}

*{
    padding: 0px;
    margin: 0px;
   
}
body {
    background-image: url(img/bgok.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;   
    height: auto;
}
/* .aboutBody{
    background-image: url(img/bgok.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    position: relative;   
}  */

#cv{
  padding: 0.6vw;
    
 
}
header{
    top: 0px;
    height: 100px;
}
header nav ul li a{
    text-decoration: none;
    color: #ffff;
  
  
}
header nav ul li {
    list-style: none;      
}

.active{
    color: var(--arshad-color);
}
    
header nav ul li a:hover{
    color:  var(--arshad-color);
    cursor: pointer;
    transition: 0.9;
    text-decoration: underline;
    line-height: 9px;
}

header nav ul{
    display: flex;
    justify-content: space-evenly;
}

header nav {
    padding: 20px;
    /* background-image: url(img/bgok.png);
    background-size: cover;
    background-repeat: no-repeat; */
}
header nav img {
    height: 100px;
    width: 100px;
    border-radius: 50%;
    float: left;
}

header .navLeft{
    float: left;
    width: 20%;
}
header nav .navRight{
    float: right;
    width: 50%;
    padding: 30px;
    
}

.coloringArshad{
    color : var(--arshad-color);
}
.bodyLeftH1{
    color: #ffff;
    
}

.bodyLeft {
     
    
    /* border: 1px solid #00ff00; */
    
    margin-top: 10%;
    margin-left: 2%;
    float: left;
}
.bodyLeft  h1{

    font-size: 55px;

}

.fix-box-size {
    width: 40vw;
    height: auto;
}


.bodyRight {

    margin-top: 10% ;
    margin-right: 4%;

}

.bodyRight img{

    height: 400px;
    width: 400px;
    border-radius: 10%;
    float: right;
   

}


footer {
  
    /* border: 1px solid greenyellow; */
    bottom: 0px;
    margin-top:45%;   
 
    
}
.footer h1,h2{

    color: #ffff;
    font-size: 30px;
    text-align: center;
    line-height: 40px;
}

.conter{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-top: 20px;
}
.socialMedia img {

    height: 5vw;
    margin-top: 2.5%;

}
.socialMedia a{
    text-decoration: none;
}
.menuBtn, .closeBtn{
    font-size: 30px;
    display: none;
}


.aboutright{
    /* border: 1px solid greenyellow; */
    width: 40%;
    height: 700px;
    
 

}

.aboutright img{
    height: 500px;
    width: 350px;
    border-radius: 10%;
    margin-left: 25%;
}

.aboutleft{
    width: 50%;
    /* border: 1px solid greenyellow; */
    height: 700px;
    
}
.aboutleft h2{
    font-size: 25px;
    text-align: center;
    justify-items: center;
    text-align: justify;
}
.aboutCon{
    justify-content: center;
    /* border: 1px solid greenyellow; */
    height: 100px;
    display: flex;
    width: 100%;
    margin-top: 7%;
}

   /*  ====================================  MEDIA FOR INDEX  */

@media(max-width : 700px){


    body{
       
        /* height: 100vh; */
        height: auto;
        
    }

    header nav img {
        height: 50px;
        width: 50px;
    } 

    header nav ul{
        display: none;
    }

    .bodyLeft  h1{

        font-size: 29px;
    
    }
    .socialMedia img {

        height: 7vw;
        margin-top: 2.5%;
    
    }


    .bodyRight {

        margin-top: 0% ;
        margin-right: 30%;
        
    
    }


    .bodyLeft {
     
    
        /* border: 1px solid #00ff00; */
        margin-top: 10%;
        margin: 2%;
        
    }

    .socialMedia{
        margin-left: 10vw;
    }
    .bodyRight{
        margin-top: 0% ;
        margin-right: 16vw;
    }
    .bodyRight img{

        margin : 2vw;
        height: 250px;
        width: 250px;
        border-radius: 9%;

        
    
    }
    .fix-box-size{
        width: 90vw;
        height: auto;
    }

    .footer h1,h2{

        color: #ffff;
        font-size: 10px;
        text-align: center;
        line-height: 40px;
    }

    footer {
  
        /* border: 1px solid greenyellow; */
        bottom: 0px;
        margin-top:130%;
     
        
    }
      .closeBtn{
        display: none;
       float: right;
        color: white;
        top:0px;
   }
    .menuBtn {
        display: block;
        float: right;
        color: white;
        top:0px;
    }
   #menu{

    position: absolute;
    line-height: 30px;
    margin-left: 140px;
   
    
    
    

   }

   /* ============================================= media for about */
  .aboutleft h2{
    font-size: 14px;
  }
  .aboutleft{
    height: 100px;
    width: 90%;
    margin-left: 3%;
  }
  .aboutCon{
    display: inline;
    height: 400px;
  
  }
  .aboutright{
    height: 350px;
  }

  .aboutright img{
    height: 300px;
    width: 240px;
    justify-content: center;

    
  }
  body{
    display: block;
  }
  .aboutBody{
    
        background-image: url(img/bgok.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;  
        height: 100%; 
    
  }


  /*  Media for skills -------------------------- */

  .skillsCon{
    /* border: 1px solid greenyellow; */
    height: 900px;
    width: 0%px;
    display: none;
    
    margin-top: 10%;
}
  
.sLift {
    border: 1px solid red;
    height: 818px;
    width: 0px;
    display: none;
}

.sRight{
    /* border: 1px solid red; */
    height: 600px;
    width: 0%;
    /* margin: 0px 10px; */
    display: none;

}
.skillsTop{
    /* border: 1px solid red; */
    height: 70px;
    width: 0px;
    float: left;
    align-content: center;
    display: none;
  
}
  /*    above css is display is none *********************************** */

  /*   the css of skills */

  .phone{
    display: block;
  }
  .sT h5{
    color: whitesmoke;
    margin-left: 5%;
    margin-left: 6%;
    margin-bottom: 5%;
  }
  .sT h2{
    font-size: 20px;
  }

  .sC{
    /* border: 1px solid red; */
    align-content: center;
    height: 700px;
    width: 90%;
    margin-left: 5%;

   
  }
 
  .sL img{
    height: 300px;
    width: 350px;
    
  }

  .p{
    /* border: 1px solid yellow; */
    height: 100px;
    width: 90%;
    border-radius: 6%;
    margin-top: 20%;  
    box-shadow: 5px 5px 14px var(--arshad-color), -5px -5px 14px var(--arshad-color);
    margin-left: 5%;
    position: relative;
}
.p h2{
    margin-bottom: 2%;
    margin-top: 2%;
}

.p img{
    height: 30px;
    width: 30px;
    justify-content: space-between;
    margin-left: 20%;
    box-shadow: 5px 5px 14px white, -5px -5px 14px white;
    /* box-shadow: 2px 2px 14px#d1d7e934, -5px -5px 14px #dee3f32d;  */
    border-radius: 24px;
    
    

}

.t img{
    height: 30px;
    border-radius: 6%;
    width: 25px;
    justify-content: space-between;
    margin-left: 15%;
    box-shadow: 5px 5px 14px white, -5px -5px 14px white;
    /* box-shadow: 2px 2px 14px#d1d7e934, -5px -5px 14px #dee3f32d;  */
    border-radius: 24px;
    
    

}

.p:hover{
    background-color: #75f36a;
    cursor: pointer;
    transition: 1.10s;
}
.sL :hover{
    cursor: pointer;
    transition: 1.1s;
    box-shadow: 5px 5px 14px var(--arshad-color), -5px -5px 14px var(--arshad-color);
}
 

/***********************************    project media ***********************************/ 


/* 
.project1{
 
    height: 200px;
    width: 260px;
    margin: 40px;
    border-radius: 12px;
    box-shadow: 2px 2px 14px white, -5px -5px 14px white;
}
.project1 img{
    height: 150px;
    width: 350px;
    border-radius: 6%;
    transition: 500ms;
  
    padding: 4px ;
  
    
} */
/* .project1 h1{
    color: var(--arshad-color);
    margin-left: 5%;
    margin-top: 2%;
}
.project1 h3{
    color: white;
    margin-left: 5%;
}

.projectCon{
   
   
    justify-content: space-evenly;
}

.project1 img:hover {
    transform: scale(1.1);
  } */
.projectCon{
    display: grid;
    
    
}



/* /* ***********************************************contact me ********************* */

.container {
    width: 90%;
    max-width: 300px;
    margin: 30px auto;
    background-image: url(img/bgok.png);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 20px);
    padding: 10px;
    font-size: 14px;
}

button[type="submit"] {
    padding: 12px 30px;
    font-size: 16px;
}
}  /* -------------------------Media END ------********************************** */ 

/*                       CSS FOR SKILLS                        */

.skillsCon{
    /* border: 1px solid greenyellow; */
    height: 250px;
    
    display: flex;
    margin-top: 10%;
}
.sLift{
    /* border: 1px solid red; */
    height: 900px;
    width: 50%;
    
}
.sRight{
    /* border: 1px solid red; */
    height: 600px;
    width: 50%;
    /* margin: 0px 10px; */

}
.programming{
    /* border: 1px solid yellow; */
    height: 120px;
    width: 90%;
    border-radius: 6%;
    margin-top: 5%;  
    box-shadow: 5px 5px 14px var(--arshad-color), -5px -5px 14px var(--arshad-color);
    margin-left: 5%;
    position: relative;
}
.programming h2{
    margin-bottom: 2%;
    margin-top: 2%;
}

.programming img{
    height: 40px;
    width: 40px;
  
    justify-content: space-between;
    margin-left: 20%;
    box-shadow: 5px 5px 14px white, -5px -5px 14px white;
    /* box-shadow: 2px 2px 14px#d1d7e934, -5px -5px 14px #dee3f32d;  */
    border-radius: 24px;
    
    

}


.tt img{
    height: 40px;
    width: 40px;
    justify-content: space-between;
    margin-left: 15%;
    border-radius: 6%;
    box-shadow: 5px 5px 14px white, -5px -5px 14px white;
    /* box-shadow: 2px 2px 14px#d1d7e934, -5px -5px 14px #dee3f32d;  */
    border-radius: 24px;
    
    

}

.sRight img{
    height: 600px;
    width: auto;
    margin: 20px 20px;
    border: 2px solid var(--arshad-color);
}

.skillsTop{
    /* border: 1px solid red; */
    height: 70px;
    width: auto;
    float: left;
    align-content: center;
  
}
.skillsTop h5{
    color: white;
    font-size: 24px;
}
.skillsTop h2{
    font-weight: 900px;
    
}

.programming:hover{
    background-color: #75f36a;
    cursor: pointer;
    transition: 1.10s;
}
.sRight  :hover{
    cursor: pointer;
    transition: 1.1s;
    box-shadow: 5px 5px 14px var(--arshad-color), -5px -5px 14px var(--arshad-color);
}

@media screen and (min-width:968px)
{
.phone{
    display: none;
}
.projectCon{
    display: flex;
}

}


.zoom-in-out-box :hover{
    margin: 24px;
    width: 50px;
    height: 50px;
    /* background: #f50057; */
    cursor: pointer;
    animation: zoom-in-zoom-out 1s ease infinite;
  }
  
  @keyframes zoom-in-zoom-out {
    0% {
      transform: scale(1, 1);
    }
    50% {
      transform: scale(1.5, 1.5);
    }
    100% {
      transform: scale(1, 1);
    }
  }



  /***************************** css for project  ***************************************************/ 

.project1{
    /* border: 1px solid red; */
    height: auto;
    width: 400px;
    margin: 40px;
    border-radius: 2vw;
    border: 4px solid var(--project-cards-boder-color);
    box-shadow: 5px 5px 14px var(--project-cards-boder-color), -5px -5px 14px var(--project-cards-boder-color);
    
    /* box-shadow: 20px 2px 14px white, -3px 15px 10px white; */
}
.project1 img{
    height: 250px;
    width: 350px;
    border-radius: 6%;
    transition: 500ms;
    display: block;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    /* margin-left: 5%;
    margin-top: 5%; */
    padding: 4px ;
    /* margin: 22px;
    border-radius: 12px;
    box-shadow: 2px 2px 14px#2549aa34, -5px -5px 14px #4a63ad2d; */
    
}
.project1 h1{
    color: var(--arshad-color);
    margin-left: 5%;
    margin-top: 2%;
    margin-bottom: 1%;
}
.project1 h3{
    color: white;
    margin-left: 5%;
    margin-bottom: 2%;
    
}
.project1 h3,h1{
    text-align: center;
}
.projectCon{
   
   
    justify-content: space-evenly;
}

.project1 img:hover {
    transform: scale(1.1);
  }




  
.container {
    max-width: 600px;
    margin: 50px auto;
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Add this to fix input overflow */
}

/* Rest of the styles remain same */
.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--arshad-color);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--arshad-color);
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.field {
    margin-bottom: 25px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--arshad-color);
    font-size: 1.1em;
    letter-spacing: 1px;
}

input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 34px); /* Adjust width accounting for padding and border */
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--arshad-color);
    border-radius: 10px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Add this to include padding in width calculation */
}

/* Rest of the styles remain same */

button[type="submit"] {
    background-color: transparent;
    color: var(--arshad-color);
    padding: 15px 40px;
    border: 2px solid var(--arshad-color);
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--arshad-color);
    color: black;
    box-shadow: 0 0 20px var(--arshad-color);
    transform: scale(1.05);
}






    /* ********************************** VEDIO ADDED NOW BETIFULLLL *********************************** */


    body {
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* Hide horizontal scrollbar */
    }
  
    .video-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        overflow: hidden;
    }
  
    .video-background video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
  
    .content {
        position: relative;
        z-index: 1;
        text-align: center;
        color: white;
        font-size: 24px;
        padding: 50px;
    }

/* ============================================= Advanced Contact Page Styles */
.contactPageContainer {
    padding: 50px 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

.contactHeader {
    text-align: center;
    margin-bottom: 60px;
}

.contactHeader h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: linear-gradient(45deg, var(--arshad-color), #00cc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contactHeader p {
    color: #ccc;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.contactMainContent {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 80px;
}

/* Contact Info Section */
.contactInfoSection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contactCard {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contactCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.contactCard:hover::before {
    left: 100%;
}

.contactCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.2);
    border-color: var(--arshad-color);
}

.contactCardIcon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 3rem;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.contact-logo {
    width: 50px;
    height: 50px;
    filter: grayscale(1) brightness(0.8);
    transition: all 0.3s ease;
}

.contactCard:hover .contact-icon,
.contactCard:hover .contact-logo {
    filter: grayscale(0) brightness(1);
}

.contactCard h3 {
    color: var(--arshad-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contactCard p {
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contactLink {
    display: inline-block;
    background: var(--arshad-color);
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.contactLink:hover {
    background: #00cc00;
    transform: scale(1.05);
}

.statusBadge {
    display: inline-block;
    background: linear-gradient(45deg, var(--arshad-color), #00cc00);
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    animation: pulse 2s infinite;
}

/* Form Section */
.contactFormSection {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 0, 0.2);
}

.formHeader {
    text-align: center;
    margin-bottom: 40px;
}

.formHeader h2 {
    color: var(--arshad-color);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.formHeader p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

.advancedContactForm {
    max-width: 100%;
}

.formRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.formGroup {
    position: relative;
    margin-bottom: 25px;
}

.formGroup label {
    display: block;
    color: var(--arshad-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.formGroup input,
.formGroup select,
.formGroup textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    text-shadow: none;
}

.formGroup input:focus,
.formGroup select:focus,
.formGroup textarea:focus {
    outline: none;
    border-color: var(--arshad-color);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    font-weight: 500;
}

.formGroup input::placeholder,
.formGroup textarea::placeholder {
    color: #555;
    opacity: 0.8;
}

.formGroup textarea {
    line-height: 1.5;
    font-family: inherit;
}

.formGroup select option {
    background: #fff;
    color: #000;
}

.formFocus {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--arshad-color), #00cc00);
    transition: width 0.3s ease;
}

.formGroup input:focus + .formFocus,
.formGroup select:focus + .formFocus,
.formGroup textarea:focus + .formFocus {
    width: 100%;
}

.messageGroup textarea {
    resize: vertical;
    min-height: 120px;
}

.formCheckbox {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}

.formCheckbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--arshad-color);
}

.formCheckbox label {
    color: #ccc;
    font-size: 0.9rem;
    cursor: pointer;
}

.formSubmit {
    text-align: center;
}

.submitButton {
    background: linear-gradient(45deg, var(--arshad-color), #00cc00);
    color: #000;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
}

.submitButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submitButton:hover::before {
    left: 100%;
}

.submitButton:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.5);
    background: linear-gradient(45deg, #00ff00, #00dd00);
}

.buttonIcon {
    transition: transform 0.3s ease;
}

.submitButton:hover .buttonIcon {
    transform: translateX(5px);
}

.submitNote {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 15px;
    font-style: italic;
}

/* CTA Section */
.ctaSection {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.1), rgba(0, 200, 0, 0.1));
    border-radius: 25px;
    padding: 60px 40px;
    text-align: center;
    border: 2px solid rgba(0, 255, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.ctaSection::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 0, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ctaContent {
    position: relative;
    z-index: 1;
}

.ctaContent h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.ctaContent p {
    color: #ccc;
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.ctaButtons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.ctaButton {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.ctaButton.primary {
    background: var(--arshad-color);
    color: #000;
}

.ctaButton.primary:hover {
    background: #00cc00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 0, 0.4);
}

.ctaButton.secondary {
    background: transparent;
    color: var(--arshad-color);
    border: 2px solid var(--arshad-color);
}

.ctaButton.secondary:hover {
    background: var(--arshad-color);
    color: #000;
    transform: translateY(-3px);
}
.certificatesBody {
    background-image: url(img/bgok.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

/* ============================================= Internships Page Styles */
.internshipsBody {
    background-image: url(img/bgok.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    min-height: 100vh;
}

.internshipsCon {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.internshipsHeader {
    text-align: center;
    margin-bottom: 50px;
}

.internshipsHeader h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.internshipsHeader p {
    color: #ccc;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

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

.internshipCard {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid var(--project-cards-boder-color);
}

.internshipCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.3);
}

.internshipImageContainer {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.internshipCanvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.internshipCanvas.landscape {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.internshipCanvas.portrait {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.internshipCard:hover .internshipCanvas {
    transform: scale(1.05);
}

.internshipOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.internshipCard:hover .internshipOverlay {
    opacity: 1;
}

.internshipOverlayContent {
    text-align: center;
    color: #fff;
    padding: 15px;
    max-height: 100%;
    overflow-y: auto;
}

.internshipOverlayContent h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--arshad-color);
    line-height: 1.2;
}

.internshipOverlayContent p {
    margin-bottom: 6px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.internshipDesc {
    font-style: italic;
    color: #ccc !important;
    margin-bottom: 12px !important;
    font-size: 0.8rem !important;
}

.ongoingBadge {
    color: var(--arshad-color) !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
    animation: pulse 2s infinite;
}

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

.viewInternship {
    background: var(--arshad-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.viewInternship:hover {
    background: #00cc00;
}

.internshipLoader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
}

.internshipPlaceholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.internshipPlaceholder:hover {
    background: rgba(0, 0, 0, 0.5);
}

.internshipError {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
}

.downloadInternship {
    background: var(--arshad-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.downloadInternship:hover {
    background: #00cc00;
}

.certificatesCon {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.certificatesHeader {
    text-align: center;
    margin-bottom: 50px;
}

.certificatesHeader h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.certificatesHeader p {
    color: #ccc;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

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

/* Certificate Sections */
.certificateSection {
    margin-bottom: 60px;
}

.sectionHeader {
    text-align: center;
    margin-bottom: 40px;
}

.sectionHeader h2 {
    color: var(--arshad-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.sectionHeader p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.sectionDivider {
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, var(--arshad-color), #00cc00);
    margin: 0 auto;
    border-radius: 2px;
}

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

/* Simple Certificate Cards (no overlay text) */
.simpleCard .certificateImageContainer {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.simpleCard .certificateImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.simpleCard:hover .certificateImage {
    transform: scale(1.05);
}

.certificateSimpleOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.simpleCard:hover .certificateSimpleOverlay {
    opacity: 1;
}

.viewCertificateSimple {
    background: var(--arshad-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.viewCertificateSimple:hover {
    background: #00cc00;
    transform: scale(1.05);
}

/* Special Certificate Cards (with custom text) */
.specialCard .certificateOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specialCard:hover .certificateOverlay {
    opacity: 1;
}

.specialCard .certificateOverlayContent {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.specialCard .certificateOverlayContent h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--arshad-color);
}

.specialCard .certificateOverlayContent p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4;
}

.certificateCard {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid var(--project-cards-boder-color);
}

.certificateCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 255, 0, 0.3);
}

.certificateImageContainer {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
}

.certificateImage, .certificateCanvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.certificateCanvas.landscape {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.certificateCanvas.portrait {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
}

.certificateLoader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--arshad-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.certificatePlaceholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.certificatePlaceholder:hover {
    background: rgba(0, 0, 0, 0.5);
}

.placeholderContent {
    text-align: center;
}

.pdf-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
}

.certificateError {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
}

.error-card {
    border-color: #ff6b6b !important;
}

.loadingMessage {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #fff;
    text-align: center;
}

.certificateCard:hover .certificateImage {
    transform: scale(1.05);
}

.certificateOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificateCard:hover .certificateOverlay {
    opacity: 1;
}

.certificateOverlayContent {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.certificateOverlayContent h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--arshad-color);
}

.certificateOverlayContent p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.viewCertificate {
    background: var(--arshad-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.viewCertificate:hover {
    background: #00cc00;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modalContent {
    position: relative;
    margin: auto;
    padding: 60px 20px 20px 20px;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    max-height: 90vh;
    overflow-y: auto;
}

.closeModal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    user-select: none;
    transition: all 0.3s ease;
}

.closeModal:hover {
    color: var(--arshad-color);
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

#modalCertificateImage, .modalCertificateImage {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modalLoader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #fff;
}

.modalFallback, .modalError {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    color: #fff;
    text-align: center;
}

.viewPdfButton, .downloadCertificate {
    background: var(--arshad-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.viewPdfButton:hover, .downloadCertificate:hover {
    background: #00cc00;
}

.modalCertificateInfo {
    margin-top: 20px;
    color: #fff;
}

.modalCertificateInfo h3 {
    color: var(--arshad-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.modalCertificateInfo p {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Responsive Design for Certificates */
@media (max-width: 768px) {
    .certificatesGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sectionGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificatesHeader h1 {
        font-size: 2rem;
    }
    
    .certificatesHeader p {
        font-size: 1rem;
    }
    
    .sectionHeader h2 {
        font-size: 2rem;
    }
    
    .sectionHeader p {
        font-size: 1rem;
    }
    
    .certificateImageContainer,
    .simpleCard .certificateImageContainer {
        height: 250px;
    }
    
    .certificateOverlayContent h3,
    .specialCard .certificateOverlayContent h3 {
        font-size: 1.2rem;
    }
    
    .modalContent {
        width: 95%;
        padding: 50px 10px 10px 10px;
        max-height: 95vh;
    }
    
    .closeModal {
        top: 5px;
        right: 15px;
        font-size: 28px;
        width: 40px;
        height: 40px;
    }
    
    .modalCertificateInfo h3 {
        font-size: 1.4rem;
    }

    /* Internships Responsive */
    .internshipsGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .internshipsHeader h1 {
        font-size: 2rem;
    }
    
    .internshipsHeader p {
        font-size: 1rem;
    }
    
    .internshipImageContainer {
        height: 250px;
    }
    
    .internshipOverlayContent h3 {
        font-size: 1.2rem;
    }
    
    .internshipOverlayContent p {
        font-size: 0.8rem;
    }

    /* Contact Page Responsive */
    .contactHeader h1 {
        font-size: 2.5rem;
    }
    
    .contactHeader p {
        font-size: 1.1rem;
    }
    
    .contactMainContent {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contactInfoSection {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contactCard {
        padding: 20px;
    }
    
    .contactFormSection {
        padding: 25px;
    }
    
    .formRow {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .formHeader h2 {
        font-size: 1.8rem;
    }
    
    .formHeader p {
        font-size: 1rem;
    }
    
    .ctaSection {
        padding: 40px 20px;
    }
    
    .ctaContent h2 {
        font-size: 2rem;
    }
    
    .ctaContent p {
        font-size: 1rem;
    }
    
    .ctaButtons {
        flex-direction: column;
        align-items: center;
    }
    
    .ctaButton {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }
}
/* ============================================= PDF Canvas Styles */
.certificateCanvas {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modalCertificateCanvas {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.pdfContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pdfControls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 10px 20px;
}

.pdfControls button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pdfControls button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.pdfControls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageInfo {
    color: #333;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
}

/* Responsive PDF Styles */
@media (max-width: 768px) {
    .modalCertificateCanvas {
        max-width: 95%;
    }
    
    .pdfControls {
        flex-direction: column;
        gap: 10px;
    }
    
    .pdfControls button {
        width: 100px;
    }
}
