/* Variables for easy theme management */
:root {
    --primary-color: #007bff; /* A vibrant blue for accents */
    --secondary-color: #6c757d; /* A muted grey for secondary elements */
    --accent-color: #28a745; /* A success green for buttons/highlights */
    --dark-bg: #1a202c; /* A deep dark background for contrast sections */
    --light-bg: #f8f9fa; /* A very light grey for main content background */
    --text-color: #333; /* Dark grey for general text */
    --light-text: #e2e8f0; /* Light text for dark backgrounds */
    --border-color: #dee2e6; /* Light border for separation */
    --card-bg: #ffffff; /* White background for cards */
    --hover-effect: translateY(-3px);
    --transition-speed: 0.3s ease;
    --box-shadow-light: 0 4px 12px rgba(0, 0, 0, 0.08);
    --box-shadow-dark: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Base Styles & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll from moving elements */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-bg);
    margin-bottom: 0.8em;
}

h1 { font-size: 2.8em; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.9em; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px; /* Pill-shaped buttons */
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9em;
    transition: all var(--transition-speed);
    text-align: center;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 15px rgba(255, 0, 212, 0.3);
}

.primary-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: var(--hover-effect);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.learn-more-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.learn-more-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: var(--hover-effect);
}

/* Header & Navigation */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4%;
    background-color: var(--card-bg);
    box-shadow: var(--box-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    margin: 0;
    font-size: 1.1em;
    color: var(--dark-bg);
    display: flex; /* To align image and text */
    align-items: center;
    gap: 10px; /* Space between logo image and text */
}

.logo img {
    width: 60px;
    height: auto; /* Maintain aspect ratio */

}
.hero-section-wrapper {
    position: relative;
    width: 100%;
    min-width: 500px;
    overflow: hidden;
    padding: 20px;
}
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-weight: 400;
    font-size: 1em;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px; /* Space for underline effect */
    /* Removed button styling from nav links - they should be styled like regular links */
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width var(--transition-speed);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

/* Hamburger Icon Styling (New Section) */
.hamburger {
    display: none; /* Hidden by default on large screens */
    background: none;
    border: none;
    background-color: var(--primary-color);
    cursor: pointer;

    border-radius: 5px;
    z-index: 1001; /* Ensure it's above other content if menu slides over */
}

.hamburger .bar {
    display: block;
    width: 14px;
    height: 1.2px; 
    background-color: var(--dark-bg); /* Match text color */
    margin: 5px 0;
    transition: all 0.3s ease; /* Smooth transition for icon animation */
}

/* Hamburger Animation (Optional: X-shape when open) */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0; /* Hide middle bar */
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 0 5%;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: imageFade 15s infinite; /* Adjust time for more or fewer images */
}

/* Add an overlay for better text readability */
.slideshow-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust the darkness here */
    z-index: 1; /* Place overlay above images but below text */
}

/* Delay the animations for each slide */
.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 5s; /* 1/3 of the total animation time */
}

.slide:nth-child(3) {
    animation-delay: 10s; /* 2/3 of the total animation time */
}

@keyframes imageFade {
    0% {
        opacity: 0;
    }
    33% {
        opacity: 1;
    }
    66% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.moving-text-container {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1.5em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 3; /* Ensure it's on top of everything */
}

.moving-text {
    display: inline-block;
    font-size: small;
    padding-left: 100%;
    animation: moveText 25s linear infinite;
}

@keyframes moveText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.hero-content {
    max-width: 800px;
    z-index: 2; /* Ensure content is above the background and overlay */
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #fff;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-section-wrapped {
    z-index: 2; /* Ensure the wrapper is also on top of the background */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}



/* General Section Styling */
section {
    padding: 70px 5%;
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 20%;
    border-radius: 2px;
}
/* --- General Section Styling (remains the same) --- */
#why-enroll-section {
    padding: 80px 20px;
    background-color: #eef7fc;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow: hidden;
}

.why-enroll-header {
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.why-enroll-header h2 {
    font-size: 3em;
    color: #1a237e;
    margin-bottom: 20px;
    line-height: 1.2;
}

.why-enroll-header p {
    font-size: 1.2em;
    line-height: 1.7;
    color: #555;
}

/* --- Benefits Cards Container --- */
.benefits-cards-container {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    flex-wrap: nowrap; /* Keep cards in a single row */

    /* ⭐ KEY CHANGES FOR CENTERING ON LARGE SCREENS ⭐ */
    max-width: 1200px; /* Limit max width of the container on large screens */
    margin: 0 auto; /* Center the container itself horizontally */

    /* Hide scrollbar by default (will be enabled on smaller screens via media query) */
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: hidden; /* Hide horizontal scrollbar by default on large screens */
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari) */
.benefits-cards-container::-webkit-scrollbar {
    display: none;
}

/* --- Individual Benefit Card Styling (remains largely the same) --- */
.benefit-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    color: #333;
    /* Remove scroll-snap-align here, it will be added in media query */
    /* scroll-snap-align: center; */
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* --- Background Image for Each Card (Full Background) --- */
.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    opacity: 0.50;
    z-index: 0;
}

/* Specific background images for each card - REPLACE URLS */
.benefit-card.income-bg::before {
    background-image: url('earn.jpg');
}
.benefit-card.career-bg::before {
    background-image: url('career.jpg');
}
.benefit-card.security-bg::before {
    background-image: url('blue.jpg');
}
.benefit-card.business-bg::before {
    background-image: url('business\ growth.jpg');
}

/* --- Content within Card (on top of background) --- */
.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.card-icon img {
    max-width: 50%;
    height: auto;
    display: block;
}

.benefit-card h3 {
    font-size: 1.6em;
    color: #2c387e;
    margin-bottom: 10px;
    line-height: 1.3;
    z-index: 1;
    position: relative;
}

.benefit-card p {
    font-size: 1.05em;
    line-height: 1.6;
    font-weight: 400;
    color: black;
    z-index: 1;
    position: relative;
}

/* --- Call to Action Button (remains the same) --- */
.why-enroll-cta {
    margin-top: 70px;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 1.25em;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.5);
}

/* --- Responsive Adjustments --- */
/* For screens where cards might start to overflow or need explicit scrolling */
@media (max-width: 1250px) { /* Adjust this breakpoint as needed based on your total card width + gaps */
    .benefits-cards-container {
        /* Enable scrolling properties for smaller screens */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        justify-content: flex-start; /* Crucial for scroll-snap behavior */

        /* Add padding back for centering individual snapped cards */
        padding-left: calc(50% - 140px); /* Half of 280px card width */
        padding-right: calc(50% - 140px);

        /* Remove max-width and margin: auto so it fills the viewport for scrolling */
        max-width: 100%;
        margin: 0;
    }

    .benefit-card {
        scroll-snap-align: center; /* Enable snap alignment for individual cards */
    }

    .why-enroll-header h2 {
        font-size: 2.5em;
    }
    .why-enroll-header p {
        font-size: 1.1em;
    }
    .benefit-card::before {
        background-size: 70%;
    }
}

@media (max-width: 768px) {
    #why-enroll-section {
        padding: 60px 15px;
    }
    .why-enroll-header h2 {
        font-size: 2.2em;
    }
    .why-enroll-header p {
        font-size: 1em;
    }
    .benefits-cards-container {
        padding-left: calc(50% - 150px); /* Adjust for 300px card width */
        padding-right: calc(50% - 150px);
    }
    .benefit-card {
        width: 300px;
        min-width: 300px;
        padding: 30px 25px;
    }
    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    .benefit-card h3 {
        font-size: 1.4em;
    }
    .benefit-card p {
        font-size: 0.95em;
    }
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .benefit-card::before {
        background-size: 60%;
    }
}

@media (max-width: 480px) {
    .why-enroll-header h2 {
        font-size: 1.8em;
    }
    .why-enroll-header p {
        font-size: 0.9em;
    }
    .benefits-cards-container {
        gap: 20px;
        padding-left: calc(50% - 110px); /* Adjust for 220px card width */
        padding-right: calc(50% - 110px);
    }
    .benefit-card {
        width: 220px;
        min-width: 220px;
    }
    .benefit-card::before {
        background-size: 70%;
    }
    .card-icon {
        width: 60px;
        height: 60px;
    }
}
/* Services Overview (HTML, CSS, JS, Python) */
.services-overview-section {
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.services-overview-section .section-title {
    color: var(--light-text);
}

.services-overview-section .section-title::after {
    background-color: var(--accent-color);
}

.tech-stack-container {
    display: flex;
    overflow-x: auto; /* Allows for manual horizontal scrolling */
    scroll-snap-type: x mandatory; /* Makes the scroll snap to each card */
    gap: 30px; /* Provides space between each card */
    padding: 30px 20px; /* Provides space on the left and right edges */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS devices */
    scrollbar-width: thin; /* Styles the scrollbar for Firefox */
    scrollbar-color: var(--primary-color) #f1f1f1; /* Styles the scrollbar for Firefox */
    /* All animation properties have been removed */
}

/* Style scrollbar for Chrome, Safari, Opera */
.tech-stack-container::-webkit-scrollbar {
    height: 8px; /* Height of horizontal scrollbar */
}

.tech-stack-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.tech-stack-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.tech-stack-container::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.tech-page {
    /* CRITICAL FIX: 'width: 20px;' has been removed */
    flex: 0 0 200px; /* This sets the width of each card to 200px and prevents shrinking */
    min-width: 200px; /* Ensures the cards are never smaller than 200px */
    
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 20px;
    border-radius: 20px;
    box-shadow: var(--box-shadow-light);
    text-align: center;
    scroll-snap-align: center; /* Snaps the card to the center of the viewport */
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex; /* Ensures content is a flex container */
    flex-direction: column; /* Stacks content vertically */
    justify-content: space-between; /* Distributes space between elements */
    min-height: 250px;
}

.tech-page:hover {
    transform: var(--hover-effect);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tech-page img {
    width: 70px;
    height: 60px;
    margin: 0 auto 0px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.tech-page h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    margin-bottom: 0%;
}

.tech-page p {
    font-size: 0.90em;
    line-height: 1.9; 
    margin-bottom: 0%;
    flex-grow: 1;
}

.tech-page .learn-more-btn {
    padding: 5px;
    margin-top: auto;
}

/* --- Specific Colors for Tech Stack Pages --- */

/* HTML5 Page */
.html-page {
    background-color: #fcece7;
    border: 1px solid #e44d26;
}
.html-page h3 {
    color: #e44d26;
}
.html-page .learn-more-btn {
    border-color: #e44d26;
    color: #e44d26;
}
.html-page .learn-more-btn:hover {
    background-color: #e44d26;
    color: #fff;
}

/* CSS3 Page */
.css-page {
    background-color: #e3f2fd;
    border: 1px solid #264de4;
}
.css-page h3 {
    color: #264de4;
}
.css-page .learn-more-btn {
    border-color: #264de4;
    color: #264de4;
}
.css-page .learn-more-btn:hover {
    background-color: #264de4;
    color: #fff;
}

/* JavaScript Page */
.javascript-page {
    background-color: #fffde7;
    border: 1px solid #f7df1e;
}
.javascript-page h3 {
    color: #f7df1e;
}
.javascript-page .learn-more-btn {
    border-color: #f7df1e;
    color: #f7df1e;
}
.javascript-page .learn-more-btn:hover {
    background-color: #f7df1e;
    color: #333;
}

/* Python Page */
.python-page {
    background-color: #edf2f8;
    border: 1px solid #4b8bbe;
}
.python-page h3 {
    color: #4b8bbe;
}
.python-page .learn-more-btn {
    border-color: #4b8bbe;
    color: #4b8bbe;
}
.python-page .learn-more-btn:hover {
    background-color: #4b8bbe;
    color: #fff;
}

.scroll-indicator-container {
  display: flex;
  justify-content: center; /* Center the arrow horizontally */
  align-items: center;
  height: 10px; /* Adjust height as needed to position the arrow */
  overflow: hidden; /* Ensure arrow doesn't bleed outside container during animation */
  margin-top: 20px; /* Adjust margin to position it below your cards */
}

.scroll-arrow {
  width: 15px; /* Width of the arrow */
  height: 15px; /* Height of the arrow */
  border-top: 3px solid #007bff; /* Color of the arrow, adjust as needed */
  border-right: 3px solid #007bff; /* Color of the arrow, adjust as needed */
  transform: rotate(45deg); /* Rotate to make it an arrow shape */
  animation: bounceRight 1.5s infinite; /* Animation for bouncing motion */
}

@keyframes bounceRight {
  0%, 100% {
    transform: translateX(0) rotate(45deg);
  }
  50% {
    transform: translateX(20px) rotate(45deg); /* Moves 10px to the right */
  }
}
/* This section is for the pop up logic of message, services */
.popup{
    height: 0%;
    width: 0%;
    padding-bottom: 0%;
    padding-top: 0%;
}
.popup-container {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  width: 200px; /* Smaller width */
  background-color:rgb(173, 219, 230);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.popup-content {
  padding: 15px; /* Smaller padding */
  text-align: left; /* Align text to the left */
  position: relative;
}
.close-popup {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 1.5em;
  color: #888;
  cursor: pointer;
}
#ppp{
    color: #007bff;
}
.popup-link {
  display: block; /* Make it a block element */
  margin-top: 10px;
  padding: 8px; /* Smaller padding */
  background-color: #007bff;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--light-bg);
    padding-top: 0%;
    padding-bottom: 0%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-item {
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--box-shadow-light);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    position: relative; /* For the floating registration button */
    padding-bottom: auto; /* Space for button */
}

.portfolio-item:hover {
    transform: var(--hover-effect);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 263px; /* Adjusted height for portfolio images */
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.portfolio-item h3 {
    font-size: 1.0em;
    margin: 1px 0 1px;
    color: var(--primary-color);
    padding: 0 20px;
}

.portfolio-item p {
    font-size: 0.8em;
    color: var(--secondary-color);
    padding: 0 10px 10px;
}

.register-floating-inside {
    position: absolute;
    bottom: 9px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.60em;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
    transition: all var(--transition-speed);
}

.register-floating-inside:hover {
    background-color: #218838;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding-top: 0%;
}

.testimonials-section .section-title {
    color: var(--light-text);
}

.testimonials-section .section-title::after {
    background-color: var(--accent-color);
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto; 
}

.testimonial-card {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-light);
    flex: 1 1 calc(50% - 30px); /* Two cards per row, with gap */
    min-width: 300px;
    text-align: left;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 1em;
    text-align: right;
    margin: 0;
}
#testimonials-you {
    display: block;
    border: #e9ecef;
    border-radius: 20px;
    font-size: small;
    background-color: chartreuse;
    padding: 10px 10%;
    margin-bottom: 20px;
    background-image: linear-gradient( to right, #ff9900, #ffcc00, rgb(255, 204, 204));
}

#testimonial-response {
    display: block;
    border: #4CAF50;
    border-radius: 10px;
    text-align: justify;
    background-color: #6c757d;
    padding: 5px 5px;
    margin-bottom: 10px;
}
#emoji {
    font-size: 40px;
    border: #1ABC9C;
    border-color: greenyellow;
    background-color: white;
    border-radius: 100px;
}
/* addition,,,,--- courese list*/
#get-more {
    display: block;
    border-radius: 5px;
    background-color: #28a745;
    text-align: center;
}
.list-courses {
    display: block;
    padding: 10px ;
    text-align: left;
}
#skills {
    font-size: larger;
    text-decoration-line: underline;
    text-align: center;
}
.Graphic {
    display: block;
    border-radius: 15px;
    padding: 10%;
}
/* Specific styling for the 'course-info-card' inside testimonials */
.testimonial-card.course-info-card {
    background-color: #f7f7f7; /* Slightly different background */
    text-align: center; /* Center content */
    font-style: normal; /* Override italic for specific texts */
}
.testimonial-card.course-info-card p {
    font-style: normal;
    font-size: 1em;
    color: var(--text-color);
}
.testimonial-card.course-info-card .course-main-text {
    color: brown;
    font-size: 1.15em;
    margin-bottom: 15px;
}
.testimonial-card.course-info-card .course-guarantee-text {
    color: black;
    font-size: 1.05em;
    margin-bottom: 15px;
}
.testimonial-card.course-info-card .course-rush-text {
    color: darkorange;
    font-size: 1.05em;
    margin-bottom: 25px;
}
.testimonial-card.course-info-card .course-for-title {
    color: blueviolet;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.6em;
    margin-bottom: 20px;
}
.testimonial-card.course-info-card ol {
    list-style: decimal; /* Numbered list */
    padding-left: 25px; /* Indent list */
    text-align: left; /* Align list items to left */
    margin-bottom: 30px;
}
.testimonial-card.course-info-card li {
    margin-bottom: 15px;
    font-size: 0.95em;
    display: flex; /* Use flexbox for list items */
    align-items: flex-start; /* Align text and image at start */
    flex-wrap: wrap; /* Allow content to wrap */
}
.testimonial-card.course-info-card li img {
    width: 80px; /* Reduced size for icons */
    height: 80px;
    object-fit: contain; /* Ensure image fits */
    margin-right: 15px; /* Space between text and icon */
    margin-top: 5px; /* Align image slightly down from text */
    flex-shrink: 0; /* Prevent image from shrinking */
}
.testimonial-card.course-info-card .highlight-text {
    color: green;
    font-weight: bold;
    text-decoration: underline;
}

/* Details/Summary for the form within testimonials */
.testimonial-card.course-info-card details {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: left; /* Align form content left */
}
.testimonial-card.course-info-card .details-summary {
    color: crimson;
    background-color: yellowgreen;
    border: none; /* Removed border */
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block; /* Allow padding to apply */
    cursor: pointer;
    font-size: 1em; /* Ensure readable font size */
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.testimonial-card.course-info-card .details-summary:hover {
    background-color: #9acd32; /* Slightly darker yellowgreen */
}
.testimonial-card.course-info-card .form-question {
    color: coral;
    font-size: 1.0em;
    margin-bottom: 15px;
    font-weight: bold;
}
.testimonial-card.course-info-card form input[type="checkbox"] {
    margin-right: 8px;
    margin-bottom: 10px; /* Space between checkboxes */
}
.testimonial-card.course-info-card form label {
    font-size: 0.95em;
    color: var(--text-color);
}
.testimonial-card.course-info-card form button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 0.9em;
    text-transform: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: #fff;
}
.testimonial-card.course-info-card form button:hover {
    background-color: #0056b3;
    transform: none; /* No hover effect for this small button */
    box-shadow: none;
}


/* FAQ Section */
.faq-section {
    background-color: var(--light-bg);
    padding: 80px 5%;
    text-align: center;
    padding-top: 0%;
    padding-bottom: 0%;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: small;
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--text-color);
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--light-bg);
}

.faq-question::after {
    content: '\002B'; /* Plus sign */
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    content: '\2212'; /* Minus sign */
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 25px;
}

.faq-answer.active {
    max-height: 500px; /* Increased max-height to ensure all content fits comfortably */
    padding: 15px 25px;
}

.faq-answer p,
.faq-answer ul { /* Ensure lists are also styled */
    font-size: 0.95em;
    color: var(--secondary-color);
    margin-bottom: 0; /* Remove default paragraph margin */
}
.faq-answer ul {
    list-style: disc; /* Or 'decimal' if you prefer numbers */
    margin-left: 20px;
    padding-top: 10px; /* Space above list if it follows a paragraph */
}
.faq-answer li {
    margin-bottom: 5px;
}

/* Why Choose Us Section - General Styling */
.why-choose-us-section {
    padding: 60px 20px; /* Adjust padding as needed */
    background: linear-gradient(135deg, #FF6F61, #FFC140); /* Vibrant Orange-Red to Yellow Gradient */
    color: #fff; /* White text for contrast */
    text-align: center;
    padding-top: 2%;
    font-size: 10px;
    overflow: hidden; /* Important for carousel */
}

.why-choose-us-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.8em; /* Larger, impactful title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #fff; /* Keep title white */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for pop */
}

.section-subtitle {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    opacity: 0.9;
    line-height: 1.6;
}

/* Cards Carousel Container */
.cards-carousel-container {
    overflow: hidden; /* Hides parts of cards not in view */
    width: 100%;
    position: relative;
    padding: 20px 0; /* Add some vertical padding for cards */
}

.cards-carousel {
    display: flex; /* Arranges cards horizontally */
    white-space: nowrap; /* Prevents cards from wrapping */
    animation: scroll-left linear infinite; /* Apply the animation */
    animation-duration: 15s; /* Adjust speed: lower value = faster scroll */
}

.cards-carousel:hover {
    animation-play-state: paused; /* Pause on hover */
}

/* Individual Carousel Card */
.carousel-card {
    flex: 0 0 auto; /* Prevent stretching and allow shrinking */
    width: 320px; /* Fixed width for cards */
    margin: 0 15px; /* Spacing between cards */
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white card background */
    border-radius: 15px; /* Rounded corners */
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Modern, soft shadow */
    text-align: left; /* Text alignment within card */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
    cursor: pointer; /* Indicate interactivity */
    color: #333; /* Darker text inside cards for readability */
}

.carousel-card:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25); /* Enhanced shadow on hover */
}

.card-icon {
    font-size: 3.4em; /* Large icon size */
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 50%; /* Circular background for icons */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px; /* Fixed width/height for circular background */
    height: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Individual Icon Colors - Make them bright and distinct */
.icon-web-realities { background-color: #00BFFF; color: #fff; } /* Deep Sky Blue */
.icon-video-series { background-color: #FF4500; color: #fff; } /* Orange Red */
.icon-on-site { background-color: #1ABC9C; color: #fff; } /* Turquoise */
.icon-sessions { background-color: #DA70D6; color: #fff; } /* Orchid */
.icon-hosting { background-color: #32CD32; color: #fff; } /* Lime Green */

.card-icon svg {
    width: 100%; /* Make SVG fill its container */
    height: 100%;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333; /* Darker title in card */
}

.card-description {
    font-size: 1em;
    line-height: 1.5;
    color: #555; /* Slightly lighter description */
}

/* Keyframe Animation for Auto-Scrolling */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls half the width of duplicated content */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }

    .section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .carousel-card {
        width: auto; /* Smaller cards on smaller screens */
        margin: 0 10px;
        padding: 25px;
        height: auto;
    }

    .card-icon {
        font-size: 3em;
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .card-title {
        font-size: 1.4em;
    }
}

@media (max-width: 480px) {
    .carousel-card {
        width: 250px; /* Even smaller cards */
        margin: 0 8px;
        padding: 20px;
    }
    .card-icon {
        width: 60px;
        height: 60px;
    }
}
/* Payment Section */
.payment-section {
    background-color: var(--card-bg);
    padding: 50px 5%;
}

.payment-info {
    max-width: 900px; /* Slightly wider to accommodate grid */
    margin: 0 auto;
    background-color: var(--primary-color); /* Kept background color */
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--box-shadow-light);
    text-align: center; /* Center align text */
}

.payment-info p {
    font-size: 1.0em; /* Slightly adjusted for better readability */
    margin-bottom: 2%;
}

.payment-intro-text { /* Specific class for the first paragraph */
    color: gainsboro; /* Moved inline style here */
}
.accepted-methods-title { /* Specific class for accepted methods title */
    color: rgba(255, 243, 20, 0.94); /* Moved inline style here */
}

.payment-info h3 {
    color: var(--dark-bg);
    font-size: 1.2em;
    margin-top: 10px;
    margin-bottom: 10px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive grid */
    gap: 20px;
    margin-bottom: 50px;
}

.method-card {
    background-color: var(--light-bg); /* Lighter background for cards */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.method-card h4 {
    color: var(--primary-color);
    margin-top: 10px;
    margin-bottom: 1px;
    font-size: 1.2em;
}

.method-card p {
    font-size: 0.8em;
    padding-top: 0%;
    color: var(--secondary-color);
    flex-grow: 1; /* Pushes button to bottom */
    margin-bottom: 20px;
}

.payment-icon {
    width: 70px; /* Slightly larger icons */
    height: auto;
    margin: 0; /* Reset margin from previous style */
    filter: grayscale(0%); /* Always colored now */
    transition: none; /* No grayscale filter needed */
}

/* Specific styles for the "How to Pay" detailed instructions */
.how-to-pay-title { /* Specific class for how-to-pay title */
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1em;
    color: gold; /* Moved inline style here */
}

.payment-details-container {
    background-color: #e9ecef; /* Slightly darker background for the details box */
    padding: 20px;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    min-height: 200px; /* Ensure some height even when empty */
    transition: all 0.5s ease-out; /* Smooth transition for content change */
    text-align: left; /* Align text within details box */
}

.payment-method-details {
    display: none; /* Hidden by default */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.payment-method-details.active-details {
    display: block; /* Show active details */
    opacity: 1;
}

.payment-method-details h4 {
    color: var(--dark-bg);
    margin-bottom: 15px;
    font-size: 1.5em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.payment-method-details p,
.payment-method-details ul {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 10px;
}

.payment-method-details ul {
    list-style: decimal; /* Numbered list for steps */
    margin-left: 20px;
}

.payment-method-details ul li {
    margin-bottom: 5px;
}

.payment-method-details .note {
    font-style: italic;
    color: var(--secondary-color);
    margin-top: 20px;
}

.final-cta {
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--dark-bg);
}
/* --- GLOBAL BODY/HTML STYLES (Add this section if not already present, usually at the top of style.css) --- */
html, body {
    height: 100%; /* Ensures 100% height for positioning relative to viewport */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scroll from sliding menu */
}

/* --- Mobile Navigation Adjustments (Hamburger Menu Side-Slide) --- */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen to the right */
        width: 70%; /* Occupy 70% of the screen width */
        max-width: 300px; /* Max width for larger tablets/smaller desktops */
        height: 100vh; /* Use 100% of the viewport height */
        background-color: var(--dark-bg); /* Dark background for the menu */
        color: white;
        padding: 80px 20px 20px; /* Top padding for header, other padding for content */
        box-sizing: border-box; /* VERY IMPORTANT: Ensures padding is included in height calculation */
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3); /* Shadow on the left edge */
        transition: right 0.3s ease-in-out; /* Smooth slide transition */
        z-index: 1000; /* Ensure it's above other content */
        overflow-y: auto; /* THIS SHOULD ENABLE VERTICAL SCROLLING IF CONTENT OVERFLOWS */
        -webkit-overflow-scrolling: touch; /* Improves scrolling performance on iOS */
    }

    .main-nav.active {
        right: 0; /* Slide in when active */
    }

    .main-nav ul {
        flex-direction: column; /* Stack links vertically */
        align-items: flex-start; /* Align links to the left */
        gap: 25px; /* Spacing between links */
        list-style: none; /* Remove default bullet points */
        padding: 0; /* Remove default ul padding */
        margin: 0; /* Remove default ul margin */
    }

    .main-nav ul li {
        width: 100%; /* Make list items take full width */
    }

    .main-nav ul li a {
        color: white; /* White links */
        font-size: 1.2em;
        padding: 10px 0; /* Padding for clickable area */
        display: block; /* Make links block-level for full width clicks */
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
    }

    .main-nav ul li:last-child a {
        border-bottom: none; /* No separator for the last item */
    }

    .main-nav ul li a:hover {
        color: var(--accent-color); /* Accent color on hover */
    }

    /* Hamburger icon animation (if not already present or adjusted) */
    .hamburger {
        display: flex; /* Make it visible on mobile */
        z-index: 1001; /* Ensure icon is above the sliding menu */
        /* You might want to hide it on desktop: */
        /* @media (min-width: 769px) { .hamburger { display: none; } } */
    }


    .hamburger.active .bar:nth-child(2) {
        opacity: 0; /* Hide middle bar */
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Optional: Overlay when menu is active (good for UX) */
    /* This creates a semi-transparent background over the main content */
    body.menu-active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.784); /* Semi-transparent black overlay */
        z-index: 999; /* Below the menu, above content */
        transition: opacity 0.3s ease-in-out;
        opacity: 1;
    }
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 40px 5%;
    text-align: center;
    font-size: 0.9em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin: 0 15px;
    transition: transform var(--transition-speed);
}

.social-links img {
    width: 30px;
    height: 30px;
    filter: invert(100%); /* Make icons white on dark background */
    transition: filter var(--transition-speed);
}

.social-links a:hover {
    transform: translateY(-5px);
}

.social-links a:hover img {
    filter: invert(80%) sepia(100%) hue-rotate(180deg) saturate(200%); /* Example hover color for icons */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: var(--light-text);
    font-weight: 600;
}

.footer-nav ul li a:hover {
    color: var(--primary-color);
}

.lang-switch {
    position: relative;
    cursor: pointer;
}

.dropdown-lang {
    position: absolute;
    bottom: 100%; /* Position above "Language" text */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--card-bg);
    box-shadow: var(--box-shadow-dark);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
    min-width: 120px;
}

.lang-switch:hover .dropdown-lang {
    opacity: 1;
    visibility: visible;
}

.dropdown-lang li {
    margin: 0;
}

.dropdown-lang li a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    text-align: left;
}

.dropdown-lang li a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.footer-symbol { /* Styling for the new footer symbols */
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* --- Message Styling (New Section) --- */
#message-container {
    position: fixed; /* Stays in place when scrolling */
    top: 20px;       /* Distance from the top */
    left: 50%;       /* Center horizontally */
    transform: translateX(-50%); /* Adjust for true centering */
    z-index: 10000;  /* Ensure it's on top of everything */
    display: flex;
    flex-direction: column;
    gap: 10px;       /* Space between multiple messages */
    pointer-events: none; /* Allows clicks to pass through when no message is visible */
    width: fit-content; /* Only takes width of content */
    max-width: 90%; /* Prevent overflow on very small screens */
    text-align: center;
}

/* Base Message Box Styling */
.message-box {
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0; /* Hidden by default */
    transform: translateY(-20px); /* Start slightly above and slide down */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; /* Smooth transition */
    pointer-events: auto; /* Re-enable pointer events when visible */
    text-align: center;
    white-space: nowrap; /* Prevent message text from wrapping initially */
    overflow: hidden; /* Hide overflow if text is too long initially */
    text-overflow: ellipsis; /* Add ellipsis for long messages */
}
/* Adjust for smaller screens where nowrap might be an issue */
@media (max-width: 600px) {
    .message-box {
        white-space: normal; /* Allow text to wrap on smaller screens */
        text-overflow: clip; /* No ellipsis if wrapping */
    }
}
/* Specific Message Box Colors */
.welcome-message {
    background-color: #3498db; /* Blue */
}

.success-message {
    background-color: #27ae60; /* Green */
}

.error-message {
    background-color: #e74c3c; /* Red */
}

/* Class to make message visible */
.message-box.show {
    opacity: 2;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        flex-direction: row; /* Keep logo and hamburger on one row */
        justify-content: space-between;
        padding: 15px 5%;
    }

    .main-nav {
        /* Mobile menu styling: hidden by default, full width, top to bottom */
        display: none; /* Hide the menu itself */
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-bg); /* Use dark background */
        position: absolute; /* Position it below the header */
        top: 80px; /* Adjust based on your header's height */
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
        z-index: 999; /* Below hamburger, above other content */
        overflow: hidden; /* Hide overflowing content during transition */
        transition: max-height 0.5s ease-out; /* Smooth transition for height */
        max-height: 0; /* Hidden by default */
    }

    .main-nav.active {
        /* When active, show the menu by expanding its height */
        display: flex; /* Override display: none */
        max-height: 500px; /* Sufficient height to show all items. Adjust as needed. */
    }

    .main-nav ul {
        flex-direction: column; /* Stack links vertically */
        padding: 1rem 0;
        width: 100%; /* Make ul take full width inside nav */
    }

    .main-nav ul li {
        margin: 0; /* Reset margin */
        width: 100%;
    }

    .main-nav ul li a {
        display: block; /* Make the whole link area clickable */
        padding: 1rem;
        text-align: center;
        color: var(--light-text); /* White text for dark background */
        border-bottom: 1px solid rgba(255,255,255,0.1); /* Separator */
    }
    .main-nav ul li:last-child a {
        border-bottom: none; /* No border for last item */
    }
    .main-nav ul li a:hover {
        background-color: rgba(255,255,255,0.1);
    }
    .main-nav ul li a::after { /* Remove underline for mobile menu */
        display: none;
    }

/* digital-canvas-form.css - Digital Canvas Form Styling */

#dcContactInfoSection {
    background-color: rgba(255, 187, 0, 0.856);
}
#dcCoursesServicesSection {
    background-color: rgb(255, 174, 0);
}
#dcHowFoundUsSection {
    background-color: rgba(255, 196, 0, 0.938);
}
/* Basic Resets & Global Styles for this component */
.dc-modal-overlay *,
.dc-modal-overlay *:before,
.dc-modal-overlay *:after {
    box-sizing: border-box; /* Ensure consistent box model */
}

/* -------------------- Modal Overlay and Content -------------------- */
.dc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's above everything else */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dc-modal-overlay.dc-modal-active {
    opacity: 1;
    visibility: visible;
}

.dc-modal-content {
    background-color: white; /* Clean white background for the form */
    padding: 2.5em; /* Generous padding */
    border-radius: 12px; /* Soft rounded corners */
    max-width: 700px; /* Max width for larger screens */
    width: 90%; /* Responsive width */
    max-height: 90vh; /* Max height to ensure it fits on screen */
    overflow-y: auto; /* Scroll if content is too long */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.dc-modal-overlay.dc-modal-active .dc-modal-content {
    transform: translateY(0);
}

.dc-modal-content h2 {
    font-family: 'Montserrat', sans-serif; /* Example: A modern, bold font */
    font-size: 2.2em;
    color: #2c3e50; /* Darker text for headings */
    margin-bottom: 0.5em;
    text-align: center;
}

.dc-modal-content p {
    font-family: 'Open Sans', sans-serif; /* Example: A readable body font */
    font-size: 1.3em;
    color: #555;
    text-align: center;
    margin-bottom: 2em;
}

.dc-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2em;
    color: #777;
    cursor: pointer;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dc-modal-close-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

/* -------------------- Form Elements -------------------- */
.dc-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5em; /* Space between fieldsets */
}

.dc-form-fieldset {
    border: 1px solid #e0e0e0; /* Light border for fieldsets */
    border-radius: 8px;
    padding: 1.5em;
    padding-top: 1em; /* Adjust padding for legend */
    margin: 0; /* Remove default margin */
}

.dc-form-legend {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    font-weight: 700;
    color: white; /* Slightly darker than body text */
    padding: 0 0.5em;
    border-radius: 15px;
    background-color: rgba(0, 132, 255, 0.829); /* Match modal background */
    margin-left: -0.5em; /* Pull legend slightly left */
}

.dc-form-group {
    margin-bottom: 1.2em; /* Space between form groups */
    position: relative; /* For error message positioning */
}

.dc-form-group:last-of-type {
    margin-bottom: 0; /* No bottom margin on last group in fieldset */
}

.dc-form-group label {
    display: block; /* Label on its own line */
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #444;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.dc-form-input,
.dc-form-select,
.dc-form-textarea {
    width: 100%;
    padding: 0.8em 1em;
    border: 1px solid #dcdcdc; /* Light border */
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dc-form-input:focus,
.dc-form-select:focus,
.dc-form-textarea:focus {
    border-color: #007bff; /* Highlight border on focus */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2); /* Soft blue glow */
    outline: none; /* Remove default outline */
}

.dc-form-textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 80px;
}

/* Radio Button Group Specific Styling */
.dc-form-radio-group p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #444;
    margin-bottom: 0.8em;
    text-align: left; /* Override center alignment from modal content p */
}

.dc-radio-option {
    display: inline-flex; /* Align radio button and label */
    align-items: center;
    margin-right: 1.5em;
    margin-bottom: 0.5em; /* Space between radio options if they wrap */
}

.dc-form-radio {
    margin-right: 0.5em;
    transform: scale(1.1); /* Slightly larger radio button */
}

/* Indented group for 'Other' specifications */
.dc-form-group-indent {
    margin-left: 20px; /* Indent the 'Other' fields */
    border-left: 3px solid #f0f0f0;
    padding-left: 15px;
}
#checkbox {
    size: auto;
    border-radius: 15px;
    background-color: lightblue;
    padding-left: 30px;
    color: black;
}

/* Submit Button */
.dc-form-submit-btn,
.dc-open-form-btn {
    display: block;
    width: 100%; /* Full width button */
    padding: 1em 1.5em;
    background-color: #007bff; /* Primary brand color */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1.5em; /* Space above button */
}

.dc-form-submit-btn:hover,
.dc-open-form-btn:hover {
    background-color: #0056b3; /* Darker on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

.dc-form-submit-btn:disabled {
    background-color: #000000;
    cursor: auto;
    transform: none;
}

/* -------------------- Validation & Messages -------------------- */
.dc-form-input.dc-form-invalid-field,
.dc-form-textarea.dc-form-invalid-field,
.dc-form-select.dc-form-invalid-field {
    border-color: #dc3545; /* Red border for invalid fields */
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2); /* Red glow */
}

.dc-form-error-message {
    color: #dc3545; /* Red text for error messages */
    font-size: 0.85em;
    margin-top: 0.3em;
    padding-left: 0.2em;
    font-family: 'Open Sans', sans-serif;
}

.dc-form-message {
    padding: 1em;
    margin-bottom: 1.5em;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    z-index: 100001;
    font-size: 1em;
    text-align: center;
}

.dc-form-message.dc-form-message-success {
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
}

.dc-form-message.dc-form-message-error {
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
}

/* -------------------- Responsive Adjustments -------------------- */
@media (max-width: 768px) {
    .dc-modal-content {
        padding: 1.5em;
    }

    .dc-modal-content h2 {
        font-size: 1.8em;
    }

    .dc-form-fieldset {
        padding: 1em;
    }

    .dc-form-legend {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .dc-modal-content {
        width: 95%;
        padding: 1em;
    }

    .dc-form-submit-btn,
    .dc-open-form-btn {
        font-size: 1.1em;
        padding: 0.8em 1em;
    }
}

    /* Show the hamburger icon on small screens */
    .hamburger {
        display: block;
        color: var(--dark-bg); /* Ensure hamburger bars are visible */
    }
    .hamburger .bar {
        background-color: var(--dark-bg);
    }

    .hero-content h2 {
        font-size: 2.5em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 2em;
    }

    .tech-stack-container {
        justify-content: flex-start; /* Align to start for better scrolling experience on smaller screens */
    }

    .tech-page {
        flex: 0 0 280px; /* Slightly smaller cards */
        min-height: 400px; /* Adjust min-height for mobile if necessary */
    }

    .portfolio-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }

    .testimonial-card {
        flex: 1 1 100%; /* Single column for testimonials */
    }
    .testimonial-card.course-info-card ol {
        padding-left: 15px; /* Adjust padding for smaller screens */
    }
    .testimonial-card.course-info-card li {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center; /* Center them */
        margin-bottom: 25px; /* More space between items */
    }
    .testimonial-card.course-info-card li img {
        margin-right: 0;
        margin-bottom: 10px; /* Space below image */
    }

    .floating-registration-btn {
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }

    .footer-nav ul li {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2em;
    }
    .moving-text {
        font-size: 1em; /* Smaller moving text */
        animation: moveText 20s linear infinite; /* Faster for smaller screens */
    }

    .tech-page {
        flex: 0 0 250px;
    }

    .portfolio-item, .testimonial-card {
        padding: 20px;
    }
    .payment-info {
        padding: 25px;
    }
    .payment-icon {
        width: 45px;
    }
    .logo h1 {
        font-size: 1.5em; /* Smaller logo text on very small screens */
    }
    .logo img {
        width: 60px; /* Smaller logo image */
    }
} 
  @keyframes fly {
    10% { left: -100px; }
    100% { left: 100%; }
  }
  
  @keyframes drift {
    10% { background-position: 0 100%; }
    100% { background-position: 100% 0; }
  }
  
  