/* File: styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
}

/* Sidebar Navigation */
.mobile-nav {
    position: relative;
    z-index: 10;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 11;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 10;
}

.sidebar {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.sidebar ul li {
    padding: 1em 0;
}

.sidebar ul li a {
    color: #333;
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
}

#menu-toggle:checked + .menu-icon + .overlay {
    display: block;
}



.header {
    position: absolute;
    width: 100%;
    /* background-color: rgb(191 191 191 / 80%); Semi-transparent background */

    background-color: rgb(0 0 0 / 80%);
    color: white;
    padding: 20px 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}
.header h1{
    color: #ffffff;
}

.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);  /* Slightly more transparent */
    padding: 10px 0;  /* Smaller padding when scrolling */
}


.container h1 {
    text-align: center;
    font-size: 2.5em;
    margin: 0;
}

/* Add some content to make the page scrollable */
.content {
    height: 2000px; /* Makes the page scrollable */
}



/* Hero Section */
/* .hero {
    
    

    background-image: url("./assests/headerbg.jpg");
    background-color: #cccccc;
    

    color: white;
    text-align: center;
    padding: 15em 2em;
    position: relative;
}
 
.hero-content {
    
    padding: 6em;
    border-radius: 10px;
    display: inline-block;
    background: rgb(36 36 36 / 50%);
} */

/* Hero Section Styles */
.hero {
    /* Fixed background image */
    background-image: url('./assests/headerbg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-color: #cccccc;

    /* Hero content alignment */
    color: white;
    text-align: center;
    padding: 15em 2em;
    position: relative;
}

.hero-content {
    /* Semi-transparent overlay for better readability */
    padding: 6em;
    border-radius: 10px;
    display: inline-block;
    background: rgba(36, 36, 36, 0.5);
}

/* Smooth scrolling for the below sections */
html {
    scroll-behavior: smooth;
}

/* Example styles for below sections */
.section {
    padding: 10em 2em;
    text-align: center;
    font-size: 1.5em;
}

.section:nth-child(even) {
    background-color: #f4f4f4;
    color: #333;
}

.section:nth-child(odd) {
    background-color: #333;
    color: #f4f4f4;
}


.workpane {
    font-family: 'Crimson Text', serif; /* Ensure the font-family is valid */
    font-size: 17px;
}

/* Media query for larger devices */
@media (min-width: 768px) {
    .workpane {
        font-size: 26px; /* Larger font size for big devices */
    }
}

/* Additional CSS for small devices */
@media (max-width: 767px) {
    .workpane {
        padding: 10px; /* Add padding for better spacing on small screens */
        /* background-color: #f9f9f9; Light background color for readability */
    }
}



/* Features Section */
.features {
    font-family: 'Crimson Pro', serif;
    text-align: center;
    padding: 2em 1em;
    background-color: #f9f9f9;
}

.features h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: #333;
}

/* Responsive Card Grid */

body {
    margin: 0;
    font-family: 'Crimson Pro', serif;
    background-color: #f9f9f9;
}

.features {
    text-align: center;
    padding: 2em 1em;
}

.features h2 {
    font-size: 2em;
    margin-bottom: 1em;
    color: #333;
}

/* Card Container - Responsive Grid */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-bottom: 1em;
}

/* Individual Card Styling */
.card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
    text-align: center;
    transition: box-shadow 0.3s ease;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: infinite-zoom 2s infinite;
}

.card img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ddd;
}

.card-content {
    padding: 1em;
}

.card-content h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.card-content p {
    font-size: 1em;
    color: #555;
    margin-bottom: 1em;
}

/* Button Styling */
.card-content .btn {
    background-color: #47f60a;
    color: white;
    border: none;
    padding: 0.7em 1.5em;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px #47f60a, 0 0 20px #47f60a;
    animation: glow-border 2s infinite;
}

.card-content .btn:hover {
    background-color: #0056b3;
    color: white;
}

/* Button Glow Animation */
@keyframes glow-border {
    0% {
        box-shadow: 0 0 10px #47f60a, 0 0 20px #47f60a;
    }
    50% {
        box-shadow: 0 0 20px #4cff0a, 0 0 30px #4cff0a;
    }
    100% {
        box-shadow: 0 0 10px #47f60a, 0 0 20px #47f60a;
    }
}

/* Infinite Zoom Animation */
@keyframes infinite-zoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Hover Effect to Stop Animation */
.card:hover {
    animation: none;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Enhance shadow when hovered */
}

/* Responsive Design - Mobile Specific */
@media (max-width: 768px) {
    .card-content h3 {
        font-size: 1.3em;
    }

    .card-content p {
        font-size: 0.9em;
    }

    .card-content .btn {
        font-size: 0.9em;
    }
}




/* Card Animation */
.card:hover {
    transform: scale(1.05); /* Zoom effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007BFF, #FF6347);
    animation: slide-bar 2s infinite;
}

@keyframes slide-bar {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .features {
        padding: 1em;
    }

    .card-content h3 {
        font-size: 1.3em;
    }

    .card-content p {
        font-size: 0.9em;
    }

    .card-content .btn {
        font-size: 0.9em;
    }
} */


/* Footer */
/* .footer {
    background-color: #f4f4f4;
  
    text-align: center;
    justify-content: center; 

    


} */

.container{
    padding: 5px 10px;
     justify-content: center;
}







/* About Section   and feature image sectio  n    css */ 

body {
    margin: 0;
    padding: 0;
    font-family: 'Crimson Pro', serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.about {
    font-family: 'Crimson Pro', serif;
    font-size: 1.2em;
    line-height: 1.8;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 2em;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.about.scrolled {
    opacity: 1.5;
    filter: blur(0px);
}

.about::before, .about::after, .about .circle-small {
    content: '';
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(0, 0, 255, 0.1));
    animation: glow 5s infinite alternate;
    border-radius: 50%;
    z-index: 0;
}

.about::before {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
}

.about::after {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 15%;
}

.about .circle-small {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 45%;
}

@keyframes glow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0.4;
    }
}

.container {
    position: relative;
    z-index: 1;
    color: #333;
}

.about h2 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #333;
}

..about p {
    color: #0a0709;
    max-width: 800px;
    margin: 0 auto;
    font-size: 40px;
}

.feature-image-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
    background: #fff;
    padding: 20px 0;
}

.feature-image-container {
    width: 100%;
    max-width: 1400px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.feature-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.feature-image-container:hover .feature-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .feature-image-container {
        padding: 0 10px;
    }

    .feature-image {
        object-fit: contain;
    }

    .about::before {
        width: 150px;
        height: 150px;
        top: 10%;
        left: 5%;
    }

    .about::after {
        width: 150px;
        height: 150px;
        bottom: 10%;
        right: 5%;
    }

    .about .circle-small {
        width: 100px;
        height: 100px;
        top: 50%;
        left: 40%;
    }

    .about {
        padding: 1.5em;
    }

    .about h2 {
        font-size: 2em;
    }

    .about p {
        font-size: 28px;
    }
}

section.extra {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ececec;
    font-size: 1.5em;
    color: #333;
    text-align: center;
}















/* slidebar images css/ */

Image Slider Section */
.image-slider {
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    position: relative;
} 

.slider {
    display: flex;
    width: 300%; /* 3 images = 300% */
    height: 100%;
    animation: slide 9s infinite;
 } 

.slide {
    flex: 1;
    background-size: cover;
    background-position: center;
    height: 100%;
} 

/* Responsive Design */
@media (max-width: 768px) {
    .image-slider {
        height: 50vh; /* Adjust height for smaller screens */
    }
}

/* Animation */
@keyframes slide {
    0%, 33% {
        transform: translateX(0); /* First image */
    }
    34%, 66% {
        transform: translateX(-100%); /* Second image */
    }
    67%, 100% {
        transform: translateX(-200%); /* Third image */
    }
}



/* image sectionn */

.



/* animated section ganmbling  space / */

/* Animated Section */

/* Animated Section */
/* Base styles for the section */
#animated-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Full viewport height */
    color: #fff; /* White text for contrast */
    position: relative;
    overflow: hidden; /* Hide overflowing elements */
    background: linear-gradient(135deg, #141e30, #243b55); /* Gradient background */
}

/* Section title */


/* social media link */
/* Social Media Section Styling */

.social-media-section {
    background-color: #f8f9fa; /* Light background color */
    padding: 20px 15px;
    text-align: center;
    border-top: 2px solid #ddd; /* Subtle separator from footer */
  }
  
  .social-media-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .social-media-container h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between icons */
    flex-wrap: wrap; /* Wrap icons on smaller screens */
  }
  
  .social-icons a img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .social-icons a img:hover {
    transform: scale(1.1); /* Slight zoom effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
  }
  
  @media (max-width: 768px) {
    .social-media-container h3 {
      font-size: 1.5rem;
    }
  
    .social-icons a img {
      width: 35px;
      height: 35px; /* Slightly smaller icons for mobile */
    }
  }


  .agcraft{
    color:red;
    font-family: crimson Pro;
  }





  /* animation effect  */


  #animated-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh; /* Full viewport height */
    color: #fff; /* White text for contrast */
    position: relative;
    overflow: hidden; /* Hide overflowing elements */
    background: linear-gradient(135deg, #000000, #243b55); /* Gradient background */

   
  }
/* Section title */
#animated-section h1 {
    font-size: 4rem; /* Default size */
    z-index: 3; /* Above all animations */
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);

    margin-top: -224px;
    font-size: xxx-large;
    font-family: fangsong;

   
}

/* 3D Cube styles */
.cube {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform-style: preserve-3d;
    animation: rotateCube 10s infinite ease-in-out;
}

.cube:nth-child(2) {
    width: 70px;
    height: 70px;
    animation-delay: 2s;
}

.cube:nth-child(3) {
    width: 40px;
    height: 40px;
    animation-delay: 4s;
}

/* Cube faces */
.cube::before,
.cube::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cube::before {
    transform: rotateY(90deg) translateZ(25px);
}

.cube::after {
    transform: rotateX(90deg) translateZ(25px);
}

/* Rotating cube animation */
@keyframes rotateCube {
    0% {
        transform: rotateX(0) rotateY(0);
    }
    50% {
        transform: rotateX(180deg) rotateY(180deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Growing circles animation */
.circle {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: circleGrow 5s infinite ease-in-out;
}

.circle:nth-child(2) {
    width: 50px;
    height: 50px;
    animation-delay: 1s;
}

.circle:nth-child(3) {
    width: 40px;
    height: 40px;
    animation-delay: 2s;
}

/* Circle animation */
@keyframes circleGrow {
    0%, 100% {
        transform: scale(0.5);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #animated-section {
        height: 70vh; /* Slightly smaller height for mobile */
    }

    #animated-section h1 {
        font-size: 2rem; /* Adjust font size for smaller screens */
        padding: 0 20px; /* Add padding for smaller screens */
    }
}

.workpane2{
   align-items: center;

}
.workpane3{
     width: 100dvh;
     height: 10dvh;

     margin: 10px;
     padding: 5rem 10rem;

}



/* Footer Styling */
.footer-section {
    background: linear-gradient(135deg, #222, #444); /* Gradient background */
    color: #fff;
    padding: 30px;
    position: relative;
    overflow: hidden; /* Hide overflowing animations */
  }

  /* Background Animation */
  .footer-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    animation: background-move 15s linear infinite;
    z-index: 0; /* Keep it behind content */
  }

  @keyframes background-move {
    0% {
      transform: translate(0, 0) rotate(0deg);
    }
    100% {
      transform: translate(50%, 50%) rotate(360deg);
    }
  }

  .footer-container {
    position: relative;
    z-index: 1; /* Bring content above background */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
  }

  .footer-links,
  .footer-privacy {
    flex: 1 1 300px;
    margin: 10px;
    padding: 10px;
    text-align: left;
  }

  .footer-links h4,
  .footer-privacy h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #00aaff;
    border-bottom: 2px solid #00aaff;
    display: inline-block;
  }

  .footer-links ul,
  .footer-privacy ul {
    list-style: none;
    padding: 0;
  }

  /* Links Hover and Loading Animation */
  .footer-links ul li,
  .footer-privacy ul li {
    margin-bottom: 10px;
    position: relative;
    opacity: 0; /* Hide initially */
    animation: fadeIn 1.5s ease forwards; /* Animate opacity */
  }

  /* Staggered fade-in effect */
  .footer-links ul li:nth-child(1) {
    animation-delay: 0.2s;
  }

  .footer-links ul li:nth-child(2) {
    animation-delay: 0.4s;
  }

  .footer-links ul li:nth-child(3) {
    animation-delay: 0.6s;
  }

  .footer-links ul li:nth-child(4) {
    animation-delay: 0.8s;
  }

  .footer-links ul li:nth-child(5) {
    animation-delay: 1s;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Hover Effect */
  .footer-links ul li a,
  .footer-privacy ul li a {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
  }

  .footer-links ul li a:hover,
  .footer-privacy ul li a:hover {
    color: #00ffcc;
  }

  .footer-links ul li a::after,
  .footer-privacy ul li a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #00ffcc;
    transition: width 0.3s ease;
  }

  .footer-links ul li a:hover::after,
  .footer-privacy ul li a:hover::after {
    width: 100%;
  }

  /* Copyright Styling */
  .footer-copyright {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #555;
    padding-top: 10px;
  }

  .footer-copyright a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-copyright a:hover {
    color: #00ffcc;
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-links,
    .footer-privacy {
      text-align: center;
    }
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-links,
    .footer-privacy {
      text-align: center; /* Center text on smaller devices */
    }
  }




  /* under 18 section  */

   /* Styling the section to center the image */
   .image-section {
    display: flex;            /* Enables Flexbox for centering */
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
    padding: 20px;            /* Adds some spacing */
    background-color: #f8f9fa; /* Optional: Add background color */
  }

  /* Styling the image */
  .image-container img {
    max-width: 100%;          /* Makes the image responsive */
    height: auto;             /* Maintains aspect ratio */
    display: block;           /* Ensures no extra spaces around the image */
  }

  /* Adding responsiveness */
  @media (max-width: 768px) {
    .image-section {
      padding: 10px;          /* Reduce padding on smaller screens */
    }
  }




