/* Correct font paths */
@font-face {
  font-family: "Rossanova";
  src: url('./Font/Rossanova-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Playfair Display";
  src: url('./Font/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

/* Global font styles */
body {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-style: italic;
}

/* ========================================
   GLOBAL RESET AND BASE STYLES
   ======================================== */

/* Universal Reset - Removes default margins, padding, and sets consistent box-sizing */
*{
    margin: 0;
    padding: 0;
    font-family: "Playfair Display ExtraBold";
    box-sizing: border-box;
}


/* HTML and Body Base Styles - Sets full viewport dimensions and scroll behavior */
html,body{
    overflow-x: visible;
    width: 100%;
    height: 100%;
}

/* Smooth Scrolling - Enables smooth scroll transitions for anchor links */
html {
    scroll-behavior: smooth;
}

/* ========================================
   MAIN LAYOUT CONTAINERS
   ======================================== */

/* Main Container - Primary wrapper for entire page content */
#main{
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
}

/* Content Container - Main content wrapper with vertical layout */
.container{
    position: relative;
    min-height: 100vh;
    display: flex;
    color: lightgray;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38;
}

/* ========================================
   BACKGROUND ELEMENTS
   ======================================== */

/* Background Videos - Fixed background video elements with blend mode */
.back-videos{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
}

/* ========================================
   HEADER AND NAVIGATION
   ======================================== */

/* Main Header - Fixed navigation bar with glassmorphism effect */
header{
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.123,);
    backdrop-filter: blur(10px);
    padding: 0 30px;
    box-shadow: 0 0 15px #7ea9e0bb;
    z-index: 999;
}



/* Header Left Section - Logo and branding area */
.left{
    display: flex;
    align-items: center;
}

/* Header Logo Image - Profile/brand image styling */
.left img{
    width: 60px;
    margin: 0 20px;
    border-radius: 80px;
}

/* Navigation Menu Container - Main navigation list with glassmorphism */
header ul{
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    border-radius: 50px;
    background-color: rgba(0, 0, 69, 0.692);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px #e3e4e93f;
    position: relative;
    overflow: hidden;
}

/* Navigation Shimmer Effect - Animated light sweep on hover */
header ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

/* Navigation Shimmer Trigger - Activates shimmer animation on hover */
header ul:hover::before {
    left: 100%;
}

/* Navigation List Items - Individual menu items */
header ul li{
    list-style: none;
    position: relative;
}

/* Navigation Links - Styled navigation menu links with animations */
header ul a{
    text-decoration: none;
    color: white;
    font-weight: 700;
    margin: 0 10px;
    padding: 12px 20px;
    border-radius: 25px;
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
}

/* Navigation Link Background Effect - Radial gradient background on hover */
header ul a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(114, 127, 222, 0.8) 0%, rgba(139, 92, 246, 0.6) 100%);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Navigation Link Underline Effect - Animated bottom border */
header ul a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #727fde, #8b5cf6, #a855f7);
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

header ul a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 8px 25px rgba(114, 127, 222, 0.3),
        0 3px 10px rgba(114, 127, 222, 0.2);
}

header ul a:hover::before {
    width: 120%;
    height: 120%;
}

header ul a:hover::after {
    width: 100%;
}

header ul a:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

/* Glowing effect for active/current page */
header ul a.active {
    background: linear-gradient(135deg, rgba(114, 127, 222, 0.3), rgba(139, 92, 246, 0.3));
    color: #ffffff;
    box-shadow:
        0 0 20px rgba(114, 127, 222, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Ripple effect on click */
@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

header ul a:active::before {
    animation: ripple 0.6s ease-out;
}

/* Floating animation for navbar */
@keyframes navFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

header ul:hover {
    animation: navFloat 2s ease-in-out infinite;
    box-shadow:
        0 5px 25px rgba(114, 127, 222, 0.2),
        0 0 15px #e3e4e93f;
}

/* ========================================
   SOCIAL MEDIA ICONS (HEADER)
   ======================================== */

/* Social Icons Container - Header social media icons wrapper */
.box-icon{
    display: flex;
    gap: 35px;
}

/* Social Icon Links - Individual social media icon styling with glassmorphism */
.box-icon a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    width: 45px;
    height: 45px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgray;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    background: rgba(114, 127, 222, 0.05);
    backdrop-filter: blur(10px);
}

.box-icon a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(114, 127, 222, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.box-icon a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(-45deg) translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
}

.box-icon a:hover{
    background: linear-gradient(135deg, #727fde, #8b5cf6);
    color: white;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    box-shadow:
        0 15px 35px rgba(114, 127, 222, 0.4),
        0 5px 15px rgba(114, 127, 222, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.box-icon a:hover::before {
    width: 120%;
    height: 120%;
}

.box-icon a:hover::after {
    transform: rotate(-45deg) translateX(100%);
}

.box-icon a:active {
    transform: translateY(-4px) scale(1.05);
    transition: all 0.1s ease;
}

/* Platform-specific hover colors */
.box-icon a[href*="github"]:hover {
    background: linear-gradient(135deg, #333, #24292e);
    box-shadow:
        0 15px 35px rgba(51, 51, 51, 0.4),
        0 5px 15px rgba(51, 51, 51, 0.2);
}

.box-icon a[href*="git-scm"]:hover {
    background: linear-gradient(135deg, #f05032, #e94e2d);
    box-shadow:
        0 15px 35px rgba(240, 80, 50, 0.4),
        0 5px 15px rgba(240, 80, 50, 0.2);
}

.box-icon a[href*="visualstudio"]:hover {
    background: linear-gradient(135deg, #007acc, #005a9e);
    box-shadow:
        0 15px 35px rgba(0, 122, 204, 0.4),
        0 5px 15px rgba(0, 122, 204, 0.2);
}

/* Pulse animation on hover */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.box-icon a:hover {
    animation: pulse 2s infinite;
}

/* Floating effect */
@keyframes float {
    0%, 100% { transform: translateY(-8px) scale(1.15) rotate(5deg); }
    50% { transform: translateY(-12px) scale(1.15) rotate(5deg); }
}

.box-icon a:hover {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   HERO SECTION
   ======================================== */

/* Blackhole Background Effect - Animated background video container */
.blackhole-box{
    z-index: -1;
    position: absolute;
    top: 0;
    width: 100%;
    justify-content: center;
    mix-blend-mode: lighten;
}

/* Blackhole Video - Background animation video */
.blackhole-box video{
    width: 100%;
    margin-top: -23.5%;
}

/* Hero Section Container - Main landing section layout */
.hero{
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}


/* Hero Information Container - Left side content area */
.hero-info{
    position: absolute;
    left: 5%;
    top: 63%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Hero Title Badge - Styled title/tagline container */
.hero-info-title{
    color: #727fde;
    padding: 8px 5px;
    border: 1px solid #727fde77;
    width: 240px;
    background-color: #2200493d;
    box-shadow:  0 0 5px #727fde88;
    border-radius: 50px;
    margin-top: 40px; /* Adjust this value as needed for more/less space */
}

/* Hero Main Heading - Primary hero title */
.hero-info h1{
    font-size: 60px;
    max-width: 600px;
    font-weight: 700;
    line-height: 70px;
    margin-top: 40px;
    margin-bottom: 30px;
}

/* Hero Description - Hero section paragraph text */
.hero-info p{
    max-width: 550px;
    line-height: 25px;
    margin-bottom: 40px;
    font-size: 20px;
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero Call-to-Action Button - Primary action button */
.hero-info button,
.hero-cta-btn{
    color: white;
    padding: 16px 32px;
    border-radius: 15px;
    border: 1px solid #727fdeb4;
    background: linear-gradient(135deg, #727fde, #8b5cf6);
    box-shadow: 0 4px 15px rgba(114, 127, 222, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

/* WhatsApp Button */
.hero-whatsapp-btn {
    color: white;
    padding: 16px 32px;
    border-radius: 15px;
    border: 1px solid rgba(37, 211, 102, 0.7);
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hero-info button:hover,
.hero-cta-btn:hover{
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 8px 25px rgba(114, 127, 222, 0.4);
    transform: translateY(-2px);
    border-color: #8b5cf6;
}

.hero-whatsapp-btn:hover {
    background: linear-gradient(135deg, #1da851, #075e54);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
    border-color: #1da851;
}

.hero-info button:active,
.hero-cta-btn:active,
.hero-whatsapp-btn:active{
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(114, 127, 222, 0.3);
}


.hero-info button:hover{
    box-shadow: 0 0 30px #727fde6f;
}


.gradient{
    background: linear-gradient(to right, #008baa, #7e42a7, #6600c5, #6070fd, #2a46ff, #0099ff);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;
}



@keyframes animate-gradient {
    to{
        background-position: 200%;
    }
}


.hero-video-box{
    position: absolute;
    right: 0%;
}


.hero-video-box video{
    height: 800px;
    mix-blend-mode: lighten;
}


.scroll-down{
    width: 36px;
    height: 36px;
    margin: 0 auto;
    margin-top: 30px;
    border-radius: 50%;
    background: rgba(114,127,222,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: bounce 1.5s infinite;
    cursor: pointer;
}

.scroll-down::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-bottom: 3px solid #727fde;
  border-right: 3px solid #727fde;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(12px);}
}

/* Mobile Responsive */
@media (max-width: 600px) {
  body,
  h1, h2, h3, h4, h5, h6,
  p,
  .section-title,
  .category-title,
  .download-info,
  .pojects-info,
  .info-section,
  .info-card,
  .card,
  .skills-section,
  .skills-box,
  .designer,
  .coder,
  .about-section,
  .about-content,
  .contact-section,
  .contact-box {
    text-align: center !important;
  }

  /* Optional: Center buttons and icons */
  .hero-buttons,
  .pojects-info button,
  .download-button,
  .social-box,
  .social-icons {
    justify-content: center !important;
    display: flex;
  }

  /* Optional: Center images and videos */
  img,
  video {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .about-section .section-title {
    margin-top: 7.8rem; /* Increased from 2.5rem for more space */
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
  }

  .my-pojects .section-title {
    margin-top: 5.8rem;    /* Move up by reducing top margin */
    margin-bottom: 2.3rem; /* Add some space below */
    position: relative;
    z-index: 2;
  }

  .my-pojects .section-title {
    margin-top: 2.5rem; /* Adjust this value as needed */
    display: block;
    text-align: center;
  }
}

.center-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   INFO SECTION
   ======================================== */

.info-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-top: 100px;
  }

  .section-title{
    font-size: 40px;
    font-weight: 700;
  }

  .info-card{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
  }



  .card{
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: auto;
    height: 43vh;
    overflow: hidden;
    border: 1px solid gray;
    background-color: #080020b7;
    border-radius: 20px;
    transition: 0.3s;
  }


  .card img{
    width: 80%;
    height: 50%;
    object-fit: cover;
  }

  .card h1{
    position: absolute;
    margin: 0;
    bottom: 40%;
    left: 5%;
    font-size: 22px;
    z-index: 1;
    color: lightgray;
  }


    .card p{
        position: absolute;
        bottom: 1%;
        left: 5%;
        z-index: 1;
        max-width: 300px;
        color: gray;
        font-size: 13px;
        line-height: 18px;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .card video{
        margin-top: 10%;
        height: 70%;
        object-fit: cover;
        mix-blend-mode: lighten;
    }


    .card button{
    color: white;
    padding: 10px 15px;
    border-radius: 15px;
    border: 1px solid #727fdeb4;
    background-color: #2200493d;
    box-shadow:  0 0 5px #727fde86;
    cursor: pointer;
    transition: 0.3s;
    position: absolute;
    bottom: 2%;
    left: 5%;
    }


    .card button:hover{
        box-shadow: 0 0 20px #727fde6f;
        opacity: 0.7;
    }


    .card:hover{
        box-shadow: 0 0 15px #9aa0d38f;
    }


    .card:nth-child(3){
       grid-row: span 2;
       height: 83vh;
    }

    .card:nth-child(3) P{
        bottom: 12%;
    }


    .card:nth-child(3) h1{
        bottom: 21%;
    }


    .card:nth-child(4){
        grid-column: span 2;
     }


     .card:nth-child(4) P{
        max-width: 650px;
    }


    .card:nth-child(4) h1{
        bottom: 35%;
    }


    .my-pojects{
        display: flex;
        flex-direction: column;
        gap: 10%;
        align-items: center;
        position: relative;
        width: 80%;
        height: 100vh;
        margin-top: 200px;
        margin-bottom: 700px;
    }

    .poject-card{
        display: flex;
        width: 80%;
        height: 40%;
        align-items: center;
        gap: 10%;
        justify-content: center;
    }


    .pojects-vidbox{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50%;
        position: relative;
        cursor: pointer;
        min-width: 400px;
        transition: 0.5s;
        mix-blend-mode: exclusion;
    }

    .pojects-vidbox video{
        object-fit: cover;
        width: 100%;
        box-shadow: 0 0 10px lightgray;
        border-radius: 20px;
        transition: 0.5s;
    }

    .pojects-vidbox video:hover{
        box-shadow: 0 0 20px lightgray;
    }


    .pojects-info{
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: 50%;
        padding-left: 10%;
    }



    .pojects-info h1 {
        font-size: 25px;
        font-weight: bold;
        max-width: 450px;
        margin-bottom: 10px;
        margin-top: 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }


    .pojects-info p {
        font-size: 16px;
        max-width: 400px;
        line-height: 1.5;
        margin-bottom: 50px;
        margin-top: 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .pojects-info button{
        color: white;
        padding: 10px 15px;
        border-radius: 15px;
        border: 1px solid #727fdeb4;
        background-color: #2200493d;
        box-shadow:  0 0 5px #727fde86;
        cursor: pointer;
        transition: 0.3s;
    }


    .pojects-info button:hover{
        box-shadow: 0 0 20px #727fde6f;
        opacity: 0.7;
    }



    .hover-sign{
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30%;
        height: 100px;
    }

    .hover-sign::before,
    .hover-sign::after{
        content: "";
        position: absolute;
        font-size: 50px;
        top: 20%;
        left: 40%;
        border-radius: 50%;
        animation: hoverAnimation 3s ease-in-out infinite;
    }



    @keyframes hoverAnimation {
        0%{
            box-shadow: 0 0 5px lightgray;
            transform: translate(100%, 50%) rotate(30deg);
        }
        100%{
            box-shadow: 0 0 20px lightgray;
            transform: translate(80%, 50%) rotate(0deg);
        }

    }


    /* Downloads Page Specific Styles */

/* Active navigation link */
header ul a.active {
  color: #727fde;
  text-shadow: 0 0 10px #727fde;
}




/* Download Divider Styles */
.download-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px 0;
}

.download-divider span {
  background: linear-gradient(90deg, #3a8dde, #6f6fff);
  color: #fff;
  padding: 8px 24px;
  border-radius: 24px;
  font-size: 1.2rem;
  box-shadow: 0 2px 12px #727fde44;
  letter-spacing: 1px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-title.gradient {
  margin-bottom: 1.3rem; /* Adds space below Music heading */
}

.download-info h2 {
  margin-top: 10px; /* Adds space above Basic software installation PC heading */
  margin-bottom: 8px; /* Adds space below heading */
}



/* Downloads Section */
.downloads-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Optional: set a max-width for better appearance */
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  /* Add padding for spacing */
  padding: 40px 30px;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 20px auto 40px;
  color: #eaeaea;
  font-size: 18px;
  line-height: 1.6;
}

.download-category {
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-title {
  font-size: 32px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-title i {
  margin-left: 12px;
  font-size: 28px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1100px;
  justify-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Download Card Styles */
.download-card {
  display: flex;
  background: rgba(34, 0, 73, 0.15);
  border-radius: 18px;
  box-shadow: 0 4px 24px #727fde33;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(114, 127, 222, 0.2);
  padding: 25px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  margin: 0 auto;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px #727fde55;
}

.download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2200493d, #727fde33);
  border-radius: 16px;
  margin-right: 20px;
  flex-shrink: 0;
}

.download-icon i {
  font-size: 40px;
  color: #727fde;
}

/* Example: Add a custom icon for resume template */
.download-icon.resume-icon i {
  color: #00bcd4;
  font-size: 40px;
}

.music-icon {
  background: linear-gradient(135deg, #2200493d, #00bcd433);
}

.music-icon i {
  color: #00bcd4;
}

.windows-icon {
  background: linear-gradient(135deg, #2200493d, #0078d733);
}

.windows-icon i {
  color: #0078d7;
}

.linux-icon {
  background: linear-gradient(135deg, #2200493d, #e95420aa);
}

.linux-icon i {
  color: #e95420;
}

.download-info {
  flex: 1;
}

.download-info h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.download-info p {
  font-size: 15px;
  color: #eaeaea;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Example: Add more spacing for these cards if needed */
.download-info h2 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #b0b0b0;
}

.download-meta span {
  display: flex;
  align-items: center;
}

.download-meta i {
  margin-right: 5px;
  font-size: 16px;
  color: #727fde;
}

.download-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #2200493d;
  color: #fff;
  border: 1px solid #727fdeb4;
  border-radius: 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  box-shadow: 0 0 5px #727fde86;
}

.download-button i {
  margin-right: 8px;
  font-size: 18px;
}

.download-button:hover {
  background: rgba(114, 127, 222, 0.3);
  box-shadow: 0 0 15px #727fde6f;
}

/* Audio Player Styles */
.audio-player {
  width: 100%;
  margin: 15px 0;
}

.audio-player audio {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  background: rgba(34, 0, 73, 0.3);
}

/* Custom audio controls */
audio::-webkit-media-controls-panel {
  background: rgba(34, 0, 73, 0.5);
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-volume-slider,
audio::-webkit-media-controls-mute-button {
  filter: invert(100%);
}

/* Add vertical gap between .list items inside .downloads-section */
.downloads-section .list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive Styles */
@media screen and (max-width: 1000px) {
  .downloads-section {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    position: relative; /* Ensure position is relative or absolute */
  }

  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .downloads-section {
    width: 95%;
    padding: 20px 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-description {
    font-size: 16px;
    padding: 0 15px;
  }

  .download-category {
    padding: 0 10px;
  }

  .download-grid {
    padding: 0 5px;
  }

  .download-card {
    flex-direction: column;
    padding: 20px;
    max-width: 90%;
  }

  .download-icon {
    margin: 0 auto 20px;
  }

  .download-info h2 {
    text-align: center;
  }

  .download-meta {
    justify-content: center;
  }

  .download-button {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .section-title {
    font-size: 28px;
    text-align: center;
    padding: 0 10px;
  }

  .section-description {
    font-size: 14px;
    padding: 0 15px;
  }

  .category-title {
    font-size: 26px;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .category-title i {
    font-size: 22px;
    margin-top: 5px;
  }

  .download-card {
    max-width: 100%;
    padding: 15px;
  }

  .download-icon {
    width: 70px;
    height: 70px;
  }

  .download-icon i {
    font-size: 32px;
  }

  .download-info h2 {
    font-size: 20px;
    text-align: center;
  }

  .download-info p {
    font-size: 14px;
    text-align: center;
  }

  .download-meta {
    font-size: 12px;
    gap: 10px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .download-button {
    font-size: 14px;
    padding: 8px 16px;
    width: 100%;
    justify-content: center;
  }

  .contact-box button[type="submit"] {
    margin-top: -6px !important;
    margin-bottom: 20px !important;
  }
}

@media screen and (max-width: 360px) {
  .downloads-section {
    width: 100%;
    padding: 20px 5px;
    left: 50%;
    transform: translateX(-50%);
  }

  .download-card {
    padding: 12px;
  }

  .download-icon {
    width: 60px;
    height: 60px;
  }

  .download-icon i {
    font-size: 28px;
  }

  .download-info h2 {
    font-size: 18px;
  }

  .download-info p {
    font-size: 13px;
  }

  .download-meta span {
    font-size: 11px;
  }

  .download-button {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Samsung Galaxy S23 Ultra Specific Optimizations */
@media screen and (max-width: 430px) and (min-width: 400px) and (min-height: 850px) {
  .downloads-section {
    width: 96%;
    padding: 30px 20px;
    margin: 120px auto 60px;
    left: 50%;
    transform: translateX(-50%);
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .section-description {
    font-size: 16px;
    max-width: 90%;
    margin: 15px auto 35px;
    padding: 0 10px;
  }

  .category-title {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }

  .category-title i {
    font-size: 24px;
    margin-left: 10px;
  }

  .download-grid {
    gap: 25px;
    padding: 0 10px;
  }

  .download-card {
    padding: 20px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
  }

  .download-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 15px;
  }

  .download-icon i {
    font-size: 36px;
  }

  .download-info h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 12px;
  }

  .download-info p {
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .download-meta {
    font-size: 13px;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }

  .download-meta span {
    background: rgba(114, 127, 222, 0.1);
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
  }

  .download-button {
    font-size: 15px;
    padding: 12px 20px;
    width: 100%;
    justify-content: center;
    border-radius: 14px;
  }

  .audio-player {
    margin: 18px 0;
  }

  .audio-player audio {
    height: 45px;
    border-radius: 10px;
  }
}

/* Galaxy S23 Ultra Landscape Mode */
@media screen and (min-width: 850px) and (max-width: 950px) and (max-height: 430px) {
  .downloads-section {
    width: 85%;
    padding: 20px 25px;
    margin: 80px auto 40px;
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .download-card {
    flex-direction: row;
    padding: 15px;
    max-width: none;
  }

  .download-icon {
    margin: 0 15px 0 0;
    width: 60px;
    height: 60px;
  }

  .download-info h2 {
    text-align: left;
    font-size: 18px;
  }

  .download-info p {
    text-align: left;
    font-size: 14px;
  }

  .download-meta {
    justify-content: flex-start;
  }

  .download-button {
    width: auto;
    padding: 8px 16px;
  }
}



    .hover-sign.acttive{
       display: none;
    }


    .skills-section{
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .skills-box{
        width: 100%;
        height: 90vh;
        position: relative;
        display: flex;
        align-items: start;
        justify-content: center;
    }

    .skills-image{
        width: 70%;
        mix-blend-mode: lighten;
        opacity: 0.7;

    }



    .designer{
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 25%;
        left: 5%;
        max-width: 300px;
    }

    .coder{
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 25%;
        right: 5%;
        max-width: 300px;
    }

    .skills-box h1{
        font-size: 50px;
        display: flex;
        align-items: center;
    }

    .skills-box p{
        line-height: 23px;
    }

    .slider {
        position: absolute;
        top: 112%;
        bottom: 5%;
        right: 20%;
        width: 60%;
        height: var(--height);
        overflow: hidden;
        mask-image: linear-gradient(
            to right,
            transparent,
            #000000f8 10% 90%,
            transparent
        );
        mix-blend-mode: difference;
        opacity: 0.8;
        transition: width 0.4s ease, right 0.4s ease, top 0.4s ease;
        /* Enhanced performance and accessibility */
        will-change: transform, width, opacity;
        backface-visibility: hidden;
        transform: translateZ(0); /* Hardware acceleration */
    }

    .slider.list{
        display: flex;
        width: 100%;
        min-width: calc(var(--width)* var(--quantity));
        position: relative;
    }



    .slider .item {
        width: var(--width);
        height: var(--height);
        position: absolute;
        left: 100%;
        animation: autoRun 10s linear infinite;
        animation-delay: calc((10s / var(--quantity)) * (var(--position) - 1) - 10s);
      }




    .slider.list.item{
        width: var(--width);
        height: var(--height);
        position: absolute;
        left: 100%;
        animation: autoRun 10s linear infinite;
        transition: filter 05s;
        animation-delay: calc( (10s / var(--quantity)) * (var(--position)  -1) - 10s)!important;
    }

    .slider .list .item img{
        width: 70%;
        gap: 3px;
    }


    @keyframes autoRun {
        from{
            left: 100%;
        }to{
            left: calc(var(--width) * -1);
        }
    }


    .slider:hover .item{
        animation-play-state: paused!important;
        filter: grayscale(1);
    }


    .slider .item:hover{
        filter: grayscale(0);
    }


/* ========================================
   CONTACT SECTION
   ======================================== */

/* Contact Section Container - Main contact page layout */
    .contact-section{
        height: 100vh;
        display: flex;
        justify-content: center;
        gap: 10%;
        align-items: center;
        position: relative;
        flex-direction: row;
        margin-top: 0;
        margin-bottom: 0;
    }

/* Contact Section Title - Main heading for contact area */
    .contact-section h1{
        position: absolute;
        top: 12%;
        left: 40%;
    }

/* Social Contact Box - Container for social media contact info */
    .social-box{
        display: flex;
        flex-direction: column;
        gap: 25px;
    }



    .social-box i{
        color: #727fde;
        font-size: 30px;
        margin-right: 10px;
    }


    .social-icons {
        display: flex;
        gap: 18px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 10;
        pointer-events: auto;
    }

    .social-icons a {
        color: #727fde;
        font-size: 2rem;
        transition: all 0.3s ease;
        padding: 12px;
        display: inline-block;
        border-radius: 50%;
        background: rgba(114, 127, 222, 0.1);
        border: 2px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .social-icons a::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(114, 127, 222, 0.2);
        border-radius: 50%;
        transition: all 0.4s ease;
        transform: translate(-50%, -50%);
        z-index: -1;
    }

    .social-icons a:hover {
        color: #fff;
        background: #727fde;
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 25px rgba(114, 127, 222, 0.4);
        border-color: #727fde;
    }

    .social-icons a:hover::before {
        width: 100%;
        height: 100%;
    }

    .social-icons a:active {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 5px 15px rgba(114, 127, 222, 0.3);
    }

    /* Individual platform colors on hover */
    .social-icons a[href*="facebook"]:hover {
        background: #1877f2;
        box-shadow: 0 10px 25px rgba(24, 119, 242, 0.4);
    }

    .social-icons a[href*="instagram"]:hover {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
    }

    .social-icons a[href*="linkedin"]:hover {
        background: #0077b5;
        box-shadow: 0 10px 25px rgba(0, 119, 181, 0.4);
    }

    .social-icons a[href*="x.com"]:hover,
    .social-icons a[href*="twitter"]:hover {
        background: #000000;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }

/* Contact Form Paragraph Text - Contact form description text */
    .contact-box p{
        max-width: 600px;
        margin-top: 10px;
        margin-bottom: 13px;
        height: 30px;
        border: none;
        font-size: 13px;
        outline: none;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

/* Contact Form Submit Button - Send message button styling */
    .contact-box button{
        margin-top: 30px;
        color: white;
        padding: 10px 15px;
        border-radius: 15px;
        border: 1px solid #727fdeb4;
        background-color: #2200493d;
        box-shadow:  0 0 5px #727fde86;
        cursor: pointer;
        transition: 0.3s;
    }

    @media (max-width: 600px) {
      .contact-box p {
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
        display: block;
        text-align: center;
        font-size: 1rem;
        line-height: 1.6;
        word-break: break-word;
      }
      .contact-box form {
        margin-top: 0.5rem;
      }
    }    .contact-box button[type="submit"] {
  width: 100%;
  padding: 14px 0;
  font-size: 1.1rem;
  background: linear-gradient(90deg, #3a8dde, #6f6fff);
  color: #fff;
  border: none;
  border-radius: 10px;
  margin-top: 10px; /* <-- THIS IS OVERRIDING YOUR -6px */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-box button[type="submit"]:hover {
  background: linear-gradient(90deg, #6f6fff, #3a8dde);
}

/* Contact Form Container - Main contact form wrapper with glassmorphism */
    .contact-box {
        background: rgba(34, 0, 73, 0.15);
        border-radius: 18px;
        box-shadow: 0 4px 24px #727fde33;
        padding: 25px;
        transition: box-shadow 0.3s;
        max-width: 420px;
        width: 420px;
        height: 420px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

/* Contact Form Labels - Input field labels styling */
    .contact-box label{
        display: block;
        color: #727fde;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 5px;
        margin-top: 12px;
    }

/* First Contact Form Label - Removes top margin from first label */
    .contact-box label:first-of-type{
        margin-top: 0;
    }

/* Contact Form Input Fields - Text inputs and textarea styling */
    .contact-box input,
    .contact-box textarea{
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 12px;
        border: 1px solid #727fde77;
        border-radius: 10px;
        background-color: #2200493d;
        color: white;
        font-size: 14px;
        outline: none;
        transition: 0.3s;
        box-sizing: border-box;
    }

/* Contact Form Input Focus - Focus state styling for form fields */
    .contact-box input:focus,
    .contact-box textarea:focus{
        border-color: #727fde;
        box-shadow: 0 0 10px #727fde44;
    }

    /* Form Status Styling */
    .form-status {
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-weight: 600;
        text-align: center;
        display: none;
        transition: all 0.3s ease;
    }

    .form-status.success {
        background: rgba(34, 197, 94, 0.15);
        color: #22c55e;
        border: 1px solid rgba(34, 197, 94, 0.3);
    }

    .form-status.error {
        background: rgba(239, 68, 68, 0.15);
        color: #ef4444;
        border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .hidden {
        display: none !important;
    }



    .contact-box button:hover{
        box-shadow: 0 0 15px #727fde6f;
        opacity: 0.7;
    }



    footer{
        display: flex;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        align-items: center;
        justify-content: center;
        height: 70px;
        backdrop-filter: blur(8px);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.356);
        z-index: 999;
    }


    footer h1{
        font-size: 25px;
    }


    .menu-icon{
        font-size: 35px;
        cursor: pointer;
        display: none;
    }



    
      .sidebar{
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 999;
        opacity: 0;
        overflow: hidden;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg,
            rgba(26, 26, 46, 0.95) 0%,
            rgba(22, 33, 62, 0.95) 50%,
            rgba(16, 20, 40, 0.178) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        border-left: 1px solid rgba(114, 127, 222, 0.3);
        border-top: 1px solid rgba(114, 127, 222, 0.2);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);

        /* Modern glassmorphism effect */
        border-radius: 20px 0 0 20px;

        /* Subtle gradient overlay */
        &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                45deg,
                rgba(114, 127, 222, 0.1) 0%,
                transparent 50%,
                rgba(139, 92, 246, 0.1) 100%
            );
            pointer-events: none;
            z-index: -1;
        }
    
    }


    .sidebar.open-sidebar {
        animation: openSidebarAnimation 0.5s forwards;
    }


    .sidebar.close-sidebar {
        animation: closeSidebarAnimation 0.5s forwards;
    }

    @keyframes closeSidebarAnimation {
        from {
            opacity: 1;
            transform: translateX(0);
        }
        to {
            opacity: 0;
            transform: translateX(100%);
        }
    }



    .sidebar ul{
        padding-left: 20px;
    }


    .sidebar ul li{
        list-style: none;
        margin-bottom: 30px;
    }


    .sidebar ul li a{
        text-decoration: none;
        color: lightgray;
        font-size: 30px;
        font-weight: 700;
        text-shadow: 0 0 15px rgb(128, 128, 128, 0.256);
    }

    .sidebar .social-icon{
        padding-left: 20px;
        margin-top: 60px;
        text-wrap: nowrap;
    }

    .sidebar .social-icon a{
        color: white;
        font-size: 35px;
        padding: 5px 5px;
        cursor: pointer;
    }


    .sidebar.open-sidebar {
        width: 80% !important;
        opacity: 1 !important;
        bottom: 0 !important;
        border-radius: 0 !important;
        background-color: rgba(29, 27, 27, 0.233) !important;
        transition: 1.5s;
      }
      

      .sidebar.open-sidebar {
        animation: openSidebarAnimation 1s forwards;
      }
      
      @keyframes openSidebarAnimation {
        from {
          right: -300px;
          opacity: 0;
        }
        to {
          right: 0;
          opacity: 1;
        }
      }



.sidebar.close-sidebar{
    animation:closeSidebarAnimation 1.5s forwards;
}

    @keyframes closeSidebarAnimation{
        from{
            right: 0;
            opacity: 1;
        }
        to{
            right: -500px;
            opacity: 0;
        }
    }






    .autoBlur {
        animation: autoBlurAnimation 1.2s ease both;
      }

      @supports (animation-timeline: view()) {
        .autoBlur {
          animation: autoBlurAnimation linear both;
          animation-timeline: view();
          animation-duration: auto;
        }
      }



      .autoDisplay {
        animation: autoDisplayAnimation both;
        animation-timeline: view();
      }


      @keyframes autoDisplayAnimation {
        from{
            filter: blur(10px);
            transform: translateY(-200px) scale(0);
            opacity: 0.2;
        }
        50%{
            opacity: 1;
            filter: blur(0);
            transform: translateX(0) scale(1);
        }
          }

      .fadeInRight{
        animation: fadeInAnimation both;
        animation-timeline: view();
      }

      @keyframes fadeInAnimation {
        0%{
            opacity: 0;
            transform: translateX(-500px) scale(0.2);
            filter: blur(20px);
        }
        35%, 65%{
            opacity: 1;
            transform: translateX(0px) scale(1);
            filter: blur(0);
        }
        100%{
            filter: blur(20px);
        }
      }




/* About Section Styles */
.about-section {
  padding: 60px 20px;
  text-align: center;
  background: transparent;
}

.about-section .section-title {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #727fde;
  letter-spacing: 1px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(34, 0, 73, 0.10);
  border-radius: 18px;
  box-shadow: 0 4px 24px #727fde22;
  padding: 32px 20px;
}

.about-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 3px solid #727fde;
  box-shadow: 0 2px 12px #727fde33;
}

.about-content p {
  font-size: 1.1rem;
  color: #eaeaea;
  margin-bottom: 10px;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 700px) {
  .about-content {
    padding: 20px 21px;
    gap: 16px;
  }
  .about-section .section-title {
    font-size: 2rem;
  }
  .about-content p {
    font-size: 1rem;
    text-align: center;
  }

  .hero-info-title {
    margin-top: 40px; /* Adjust as needed */
  }
}

/* Responsive About Me section */
@media (max-width: 600px) {
  .about-section {
    padding: 1.5rem 0.5rem;
    text-align: center;
  }
  .about-section .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    word-break: break-word;
  }
  .about-content {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
  }
  .about-photo {
    display: block;
    margin: 0 auto 16px auto;
    width: 90px !important;
    height: 90px !important;
    object-fit: cover;
  }
  .about-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    word-break: break-word;
  }
}


@media (max-aspect-ratio: 16/9) {
    .back-videos{
        width: auto;
        height: 100%;
    }

}


@media (min-aspect-ratio: 16/9) {
    .back-videos{
        width: 100%;
        height: auto;

    }   }



/* Large Desktop and 4K Displays */
@media screen and (min-width: 1920px) {
    .container {
        max-width: 1800px;
        margin: 0 auto;
    }

    .hero-info h1 {
        font-size: 80px;
        line-height: 90px;
    }

    .hero-info p {
        font-size: 24px;
        line-height: 32px;
    }

    .card h1 {
        font-size: 32px;
    }

    .card p {
        font-size: 18px;
        line-height: 24px;
    }

    .downloads-section {
        width: 80%;
        max-width: 1400px;
    }
}

/* Desktop and Large Tablets */
@media screen and (min-width: 1200px) and (max-width: 1919px) {
    .hero-info h1 {
        font-size: 70px;
        line-height: 80px;
    }

    .downloads-section {
        width: 55%;
        max-width: 1200px;
    }
}

/* Standard Desktop */
@media screen and (min-width: 1001px) and (max-width: 1199px) {
    .hero-info h1 {
        font-size: 60px;
        line-height: 70px;
    }

    .downloads-section {
        width: 65%;
    }

    .sidebar {
        width: 280px;
    }
}


@media screen and (max-width: 1000px){
    .blackhole-box video{
        margin-top: -20%;
    }

    .hero-info-title h1{
        font-size: 13px;
        max-width: 300px;
        line-height: 15px;
    }


    .hero-info p{
        max-width: 300px;
    }

   .hero-info-box{
    right: 0;
   }

   .hero-video-box video{
    height: 260px;
   }


   .section-title{
    font-family: 30px;
   }

   .info-card{
    grid-template-columns: auto;
   }

   .card:nth-child(3){
    grid-column: span 2;
    height: 70vh;
   }

   .info-card .card h1{
    font-size: 20px;
    max-width: 90%;
    overflow-wrap: break-word;
    word-wrap: break-word;
   }

   .card:nth-child(3) h1{
    bottom: 25%;
   }

   .info-card .card p {
    max-width: 90%;
    overflow-wrap: break-word;
    word-wrap: break-word;
   }

   .card video{
    height: 56%;
    margin-top: 5%;
   }

   .my-pojects{
    margin-bottom: 600px;
   }

   .pojects-vidbox video{
    width: 250px;
    margin-left: -100px;
   }

   .pojects-info{
    padding-left: 0;
    margin-left: -50px;
   }

   .poject_info h1{
    font-size: 20px;
    max-width: 200px;
    text-wrap: wrap;
   }

   .poject_info p{
    font-size: 10px;
    text-wrap: wrap;
    max-width: 200px;
    min-width: 0;
   }

   .pojects-info h1 {
        font-size: 20px;
        max-width: 300px;
    }

    .pojects-info p {
        font-size: 14px;
        max-width: 250px;
    }

   footer h1{
    font-size: 20px;
   }
}

/* iPad Pro and Large Tablets */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .hero-info h1 {
        font-size: 50px;
        line-height: 60px;
    }

    .hero-info p {
        font-size: 18px;
        line-height: 24px;
    }

    .card h1 {
        font-size: 24px;
    }

    .card p {
        font-size: 14px;
        line-height: 18px;
    }

    .downloads-section {
        width: 75%;
    }

    .sidebar {
        width: 320px;
    }

    .pojects-info h1 {
        font-size: 22px;
    }

    .pojects-info p {
        font-size: 16px;
        line-height: 22px;
    }
}

/* iPad and Standard Tablets */
@media screen and (min-width: 701px) and (max-width: 767px) {
    .hero-info h1 {
        font-size: 45px;
        line-height: 55px;
    }

    .downloads-section {
        width: 80%;
    }

    .sidebar {
        width: 300px;
    }
}

@media screen and (max-width: 900px) {
    .slider {
        width: 90%;
        right: 5%;
    }
}

@media screen and (max-width: 700px) {
    header{
        position: fixed;
        height: 65px;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
    }

    /* Improved card text responsiveness */
    .card h1 {
        font-size: 22px;
        max-width: 90%;
        line-height: 1.3;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .card p {
        font-size: 12px;
        line-height: 16px;
        max-width: 90%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    header ul{
        display: none;
    }

    header .box-icon{
        display: none;
    }

    header h1{
        font-size: 25px;
    }

    .blackhole-box video{
        margin-top: -15%;
    }

    .autoBlur{
        animation: none;
    }

    .hero-info{
        bottom: 5%;
    }
    .scroll-down{
        bottom: 5%;
    }

    .hero-info h1{
        line-height: 50px;
    }

    /* Mobile Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-cta-btn,
    .hero-whatsapp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .hero-video-box{
        height: 700px;
        top: 10%;
        right: 35%;
    }

    .card video{
        width: 200%;
    }

    .my-pojects{
        margin-bottom: 600px;
    }

    .poject-card{
        flex-direction: column;
        margin-left: 20%;
        gap: 30px;
    }

    .poject_info{
        width: 85%;
    }

    .poject_info h1{
        text-wrap: nowrap;
    }

    .poject_info p{
        max-width: 300px;
    }

    .designer{
        top: 15%;
        left: 18%;
    }

    .coder{
     top: 62%;
     left: 18%;
    }

    .skills-box h1{
        margin-bottom: 0;
        margin-top: 80px;
    }

    .slider{
        bottom: 0;
    }

    .slider img{
        width: 60%;
    }

    .contact-section{
        flex-direction: column;
        margin-top: 100px;
        margin-bottom: 60px;
        height: auto;
        gap: 40px;
    }

    .contact-section  .section-title{
        top: -40px;
        left: 25%;
    }

    .contact-section h1 {
        position: static;
        margin-bottom: 30px;
        left: auto;
        top: auto;
        text-align: center;
    }

    footer h1{
        font-size: 20px;
    }

    .pojects-vidbox{
        min-width: 200px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .pojects-vidbox video{
        margin: 0 auto;
        display: block;
        width: 90%;
        max-width: 350px;
    }

    .menu-icon{
        display: inline;
        color: #e0e6ff;
        z-index: 1001;
        position: relative;
        padding: 12px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        cursor: pointer;
    }

    .menu-icon:hover {
        background: linear-gradient(135deg,
            rgba(114, 127, 222, 0.2) 0%,
            rgba(139, 92, 246, 0.2) 100%);
        border-color: rgba(114, 127, 222, 0.4);
        color: #ffffff;
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(114, 127, 222, 0.2);
    }

    .menu-icon i {
        transition: all 0.3s ease;
    }

    .menu-icon:hover i {
        transform: rotate(180deg);
    }

    /* Mobile Sidebar Optimizations */
    .sidebar {
        top: 65px !important; /* Position below mobile navbar */
        height: calc(100vh - 65px) !important; /* Adjust height for mobile navbar */
        width: 85% !important;
        background: rgba(63, 62, 62, 0.9) !important;
        backdrop-filter: blur(15px) !important;
        border-left: 2px solid rgba(114, 127, 222, 0.3);
        border-top: 2px solid rgba(114, 127, 222, 0.3);
        padding-top: 20px !important;
    }

    .sidebar.open-sidebar {
        width: 85% !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        animation: none !important;
    }

    .sidebar ul {
        padding: 20px;
        margin-top: 40px;
    }

    .sidebar ul li {
        margin-bottom: 25px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar ul li a {
        font-size: 24px;
        display: block;
        padding: 10px 0;
        transition: all 0.3s ease;
        border-radius: 8px;
    }

    .sidebar ul li a:hover {
        color: #727fde;
        background: rgba(114, 127, 222, 0.1);
        padding-left: 15px;
        transform: translateX(10px);
    }

    .sidebar .social-icon {
        padding: 20px;
        margin-top: 40px;
        display: flex;
        justify-content: center;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar .social-icon a {
        font-size: 28px;
        padding: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
    }

    .sidebar .social-icon a:hover {
        background: rgba(114, 127, 222, 0.3);
        transform: scale(1.1);
        color: #727fde;
    }

    .pojects-info h1 {
        font-size: 18px;
        max-width: 200px;
    }

   

    .pojects-info p {
        font-size: 13px;
        max-width: 90%;
        line-height: 1.5;
        overflow-wrap: break-word;
        word-wrap: break-word;
        margin-bottom: 30px;
    }

    .contact-box {
        width: 90%;
        padding: 20px 10px;
        margin: 0 auto;
    }
}

/* Enhanced Slider Responsiveness */
@media screen and (max-width: 900px) {
    .slider {
        width: 90%;
        right: 5%;
        top: 115%;
        opacity: 0.9;
    }
}

@media screen and (max-width: 700px) {
    .slider {
        width: 95%;
        right: 2.5%;
        top: 118%;
        bottom: 2%;
        opacity: 1;
        /* Simplify mask for better mobile performance */
        mask-image: linear-gradient(
            to right,
            transparent,
            #000000 15% 85%,
            transparent
        );
    }

    .slider img {
        width: 60%;
        height: auto;
        object-fit: contain;
    }
}

@media screen and (max-width: 600px) {
    .slider {
        width: 100%;
        right: 0;
        top: 120%;
        bottom: 0;
        /* Further optimize for small screens */
        mix-blend-mode: normal;
        opacity: 0.85;
    }

    .slider img {
        width: 55%;
        max-height: 80px;
    }
}

@media screen and (max-width: 500px) {
    .pojects-info h1 {
        font-size: 16px;
        max-width: 90%;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .pojects-info p {
        font-size: 12px;
        max-width: 90%;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .poject-card {
        margin-left: 10%;
        width: 90%;
    }

    /* Mobile Sidebar for small screens */
    .sidebar {
        top: 65px !important;
        height: calc(100vh - 65px) !important;
        width: 90% !important;
        padding-top: 15px !important;
    }

    .sidebar ul li a {
        font-size: 22px;
    }

    .sidebar .social-icon a {
        font-size: 24px;
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 430px) {
    .hero-info-title {
        margin-top: 80px;
        text-align: center;
    }

    .contact-box {
        padding: 10px 2px;
    }
    .contact-box p {
        font-size: 13px;
        max-width: 95vw;
    }

    /* Very small screen sidebar optimizations */
    .sidebar {
        top: 65px !important;
        height: calc(100vh - 65px) !important;
        width: 95% !important;
        padding-top: 15px !important;
    }

    .sidebar ul {
        padding: 15px;
        margin-top: 20px;
    }

    .sidebar ul li {
        margin-bottom: 20px;
        padding: 12px 0;
    }

    .sidebar ul li a {
        font-size: 20px;
        padding: 8px 0;
    }

    .sidebar .social-icon {
        padding: 15px;
        margin-top: 30px;
        gap: 15px;
    }

    .sidebar .social-icon a {
        font-size: 22px;
        width: 40px;
        height: 40px;
    }

    .close-icon {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }

    .close-icon i {
        font-size: 22px;
    }

    .menu-icon {
        font-size: 30px;
        padding: 8px;
    }
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1002;
    backdrop-filter: blur(10px);
}

.close-icon:hover {
    background: linear-gradient(135deg,
        rgba(255, 68, 68, 0.2) 0%,
        rgba(255, 107, 107, 0.2) 100%);
    border-color: rgba(255, 68, 68, 0.4);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.2);
}

.close-icon i {
    font-size: 20px;
    color: #e0e6ff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-icon:hover i {
    color: #ffffff;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid #6070fd;
    outline-offset: 2px;
}

/* AI Chat Board Styles */
#ai-chat-board {
  position: fixed;
  bottom: 80px;
  right: 30px;
  width: 320px;
  max-width: 95vw;
  background: #181c24;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

#ai-chat-header {
  background: #23272f;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header Controls - Voice and close buttons container */
.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Voice Status Indicator */
.voice-status {
  font-size: 12px;
  margin-left: 8px;
  opacity: 0.7;
}

/* Voice Control Buttons */
.voice-btn, .speaker-btn {
  background: transparent;
  border: none;
  color: #00bcd4;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.voice-btn:hover, .speaker-btn:hover {
  background: rgba(0, 188, 212, 0.1);
  transform: scale(1.1);
}

.voice-btn.active {
  color: #ff4444;
  animation: voicePulse 1s ease-in-out infinite;
}

.speaker-btn.muted {
  color: #666;
  opacity: 0.5;
}

/* AI Header Content - Contains robot icon and title */
.ai-header-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* AI Robot Icon - Styling for the robot icon in header */
.ai-header-content i {
  color: #00bcd4;
  font-size: 18px;
  animation: robotPulse 2s ease-in-out infinite;
}

/* Robot Pulse Animation - Subtle pulsing effect for the robot icon */
@keyframes robotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  
   }
}

#ai-chat-close {
  cursor: pointer;
  font-size: 20px;
}

#ai-chat-messages {
  padding: 16px;
  height: 220px;
  overflow-y: auto;
  background: #20232a;
  font-size: 15px;
}

#ai-chat-form {
  border-top: 1px solid #23272f;
  background: #181c24;
  padding: 0;
}

/* Input Container - Holds input field and voice/send buttons */
.input-container {
  display: flex;
  align-items: center;
  gap: 0;
}

#ai-chat-input {
  flex: 1;
  border: none;
  padding: 12px;
  background: #23272f;
  color: #fff;
  font-size: 15px;
  border-radius: 0 0 0 12px;
  outline: none;
}

/* Voice Input Button */
.voice-input-btn {
  background: #23272f;
  color: #00bcd4;
  border: none;
  padding: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 1px solid #181c24;
}

.voice-input-btn:hover {
  background: #2a2f37;
  color: #fff;
}



.voice-input-btn.listening {
  background: #ff4444;
  color: #fff;
   animation: voicePulse 1s ease-in-out infinite;
}

/* Send Button */
#send-btn {
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 12px 18px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 0 0 12px 0;
  transition: background 0.2s;
}

#send-btn:hover {
  background: #0097a7;
}

#ai-chat-form button:hover {
  background: #0097a7;
}

#ai-chat-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #00bcd4;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  z-index: 1001;
  transition: all 0.3s ease;
}

/* AI Toggle Robot Icon - Styling for the robot icon in toggle button */
#ai-chat-toggle i {
  animation: robotBounce 3s ease-in-out infinite;
}

/* Robot Bounce Animation - Bouncing effect for the toggle robot icon */
@keyframes robotBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* AI Toggle Hover Effect - Enhanced hover state */
#ai-chat-toggle:hover {
  background: #0097a7;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ========================================
   GEMINI VOICE CALL INTERFACE
   ======================================== */

/* Gemini Voice Call Button */
.gemini-voice-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: linear-gradient(135deg, #ff4444, #ff6b6b);
  color: #fff;
  padding: 12px 20px;
  border-radius: 24px;
  border: none;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,68,68,0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}

/* Gemini Voice Button Icon */
.gemini-voice-btn i {
  font-size: 16px;
  animation: microphonePulse 2s ease-in-out infinite;
}

/* Gemini Voice Button Hover Effect */
.gemini-voice-btn:hover {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,68,68,0.4);
}

/* Voice Call Interface */
.voice-call-interface {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: 90vw;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 2000;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.voice-call-interface.hidden {
  display: none;
}

/* Voice Call Header */
.voice-call-header {
  background: linear-gradient(135deg, #ff4444, #ff6b6b);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.call-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.call-info i {
  font-size: 18px;
  animation: microphonePulse 2s ease-in-out infinite;
}

.call-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.call-close-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Voice Call Content */
.voice-call-content {
  padding: 30px 20px;
  text-align: center;
  color: white;
}

/* Voice Avatar */
.voice-avatar {
  position: relative;
  margin-bottom: 20px;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00bcd4, #0097a7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 32px;
  color: white;
  animation: avatarPulse 3s ease-in-out infinite;
}

.voice-waves {
  display: flex;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.voice-waves.active {
  opacity: 1;
}

.voice-waves span {
  width: 3px;
  height: 15px;
  background: #00bcd4;
  border-radius: 2px;
  animation: voiceWave 1.5s ease-in-out infinite;
}

.voice-waves span:nth-child(1) { animation-delay: 0s; }
.voice-waves span:nth-child(2) { animation-delay: 0.1s; }
.voice-waves span:nth-child(3) { animation-delay: 0.2s; }
.voice-waves span:nth-child(4) { animation-delay: 0.3s; }
.voice-waves span:nth-child(5) { animation-delay: 0.4s; }

/* Voice Indicator - Shows when listening for voice input */
.voice-indicator {
  background: #23272f;
  padding: 15px;
  text-align: center;
  border-top: 1px solid #181c24;
  color: #00bcd4;
}

.voice-indicator.hidden {
  display: none;
}

/* Voice Wave Animation */
.voice-wave {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.voice-wave span {
  width: 4px;
  height: 20px;
  background: #00bcd4;
  border-radius: 2px;
  animation: voiceWave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) { animation-delay: 0s; }
.voice-wave span:nth-child(2) { animation-delay: 0.1s; }
.voice-wave span:nth-child(3) { animation-delay: 0.2s; }
.voice-wave span:nth-child(4) { animation-delay: 0.3s; }
.voice-wave span:nth-child(5) { animation-delay: 0.4s; }

/* Voice Wave Animation Keyframes */
@keyframes voiceWave {
  0%, 40%, 100% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }
  20% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Voice Pulse Animation for active microphone */
@keyframes voicePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

/* Call Status */
.call-status {
  margin-bottom: 20px;
}

.call-status h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: #00bcd4;
}

.call-status p {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

/* Voice Transcript */
.voice-transcript {
  max-height: 150px;
  overflow-y: auto;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: left;
}

#voice-messages {
  font-size: 14px;
  line-height: 1.5;
}

.voice-message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
}

.voice-message.user {
  background: rgba(0,188,212,0.2);
  text-align: right;
}

.voice-message.ai {
  background: rgba(255,68,68,0.2);
  text-align: left;
}

/* Voice Call Controls */
.voice-call-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: rgba(0,0,0,0.2);
}

.voice-call-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 15px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  font-weight: bold;
  min-width: 70px;
}

.voice-call-btn i {
  font-size: 20px;
}

.voice-call-btn.start {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
}

.voice-call-btn.start:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: scale(1.1);
}

.voice-call-btn.start.active {
  background: linear-gradient(135deg, #ff4444, #ff6b6b);
  animation: callActive 1.5s ease-in-out infinite;
}

.voice-call-btn.mute {
  background: linear-gradient(135deg, #FFC107, #FFB300);
  color: white;
}

.voice-call-btn.mute:hover {
  background: linear-gradient(135deg, #FFB300, #FFA000);
  transform: scale(1.1);
}

.voice-call-btn.mute.active {
  background: linear-gradient(135deg, #666, #555);
}

.voice-call-btn.end {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
}

.voice-call-btn.end:hover {
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  transform: scale(1.1);
}

/* Voice Call Animations */
@keyframes microphonePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

@keyframes avatarPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0,188,212,0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 20px rgba(0,188,212,0);
  }
}

@keyframes callActive {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Gemini Robot Pulse Animation */
@keyframes geminiPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}

/* Mobile Chat Styles */
@media (max-width: 768px) {
  #ai-chat-board {
    width: 90%;
    bottom: 100px;
    right: 5%;
    max-height: 60vh;
    border-radius: 16px;
  }




  #ai-chat-toggle {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    z-index: 1002;
    /* Always visible on mobile */
    display: flex !important;
  }

  /* Add a visual indicator when chat is open */
  #ai-chat-toggle.active {
    background-color: #0097a7;
    transform: rotate(45deg);
  }
}

/* Responsive fixes for project cards */
@media (max-width: 600px) {
  .poject-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pojects-info {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
    padding: 0 10px;
  }
  .pojects-info h1,
  .pojects-info p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Download Center Wrapper - Centers download buttons and information */
.download-center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 32px auto;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
  .download-center-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
}

/* Hide on mobile */
@media (max-width: 600px) {
  .download-center-wrapper {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }
}


