header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    color: var(--header-text);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--header-footer-bg);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--header-text);
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 1rem;
    color: var(--header-footer-text);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: var(--header-footer-bg);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: -1;
    overflow-y: auto;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--section-text);
}

.mode-toggle__icon {
    display: inline-block;
    line-height: 1;
}

#mode-toggle {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--header-footer-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--header-text);
    cursor: pointer;
}

/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-icons a {
    color: var(--header-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--highlight-color);
}

.main-nav ul li {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.main-nav ul li:not(:last-child)::after {
    content: '';
    height: 1em;
    width: 2px;
    min-width: 2px;
    background-color: var(--header-text);
    opacity: 0.7;
    margin: 0 1.2rem;
    align-self: center;
    transform: translateZ(0) scaleX(0.5);
    backface-visibility: hidden;
    transform-origin: center;
    transition: opacity 0.2s ease;
}

.main-nav ul li:hover::after {
    opacity: 0.9;
}

.main-nav ul li a {
    color: var(--header-text);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0.5rem 1rem;
}

.main-nav ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--highlight-color) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    transform: translate(-50%, -50%);
}

.main-nav ul li a:hover::before {
    opacity: 1;
}

.page-section.visible {
    opacity: 1;
    visibility: visible;
    z-index: 2000;
}

.section-content {
    max-width: 800px;
    width: 90%;
    padding: 2rem;
    background-color: var(--section-bg);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    color: var(--section-text);
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    max-height: 86vh;
    overflow: hidden;
}

#music-toggle {
    position: fixed;
    bottom: 0.5rem;
    right: 1rem;
    background-color: transparent;
    color: var(--header-footer-text);
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

#music-toggle:hover {
    transform: scale(1.1);
}

.website-services-container {
    gap: 1rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
    justify-content: center;
    width: 100%;
}

.service-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
    margin: 0.5rem auto;
}

.service-option:hover {
    transform: translateY(-5px);
}

.service-button {
    text-align: center;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.05s;
    width: 100%;
    box-sizing: border-box;
}

.service-button:hover {
    transform: translateY(-2px);
    transition-duration: 0.3s;
}

.service-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    width: 100%;
    padding: 0 1rem;
}

.service-details.active {
    max-height: 1000px;
    opacity: 1;
    padding: 1rem;
}

.service-details ul {
    margin: 0.5rem 0 0 1.5rem;
}

.service-details li {
    margin-bottom: 0.5rem;
}

/* Initially hide all services lists */
.services-list {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show the active services list */
.services-list.active {
    display: block;
    opacity: 1;
}

.website-service-button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.website-service-button:hover {
    background-color: var(--highlight-color);
}

.select-service-button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.select-service-button:not(.selected):hover {
    background-color: var(--button-hover-bg) !important;
}

.select-service-button.selected {
    background-color: #4CAF50 !important;
    pointer-events: auto; /* Allow clicking to unselect */
}

.website-services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.package-customization {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.template-grid {
    grid-column: 1;
    order: 1;
}

.addons-grid {
    grid-column: 2;
    order: 2;
}

.service-contact-form {
    grid-column: 1 / -1;
    order: 3;
}

.template-previews {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.template-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

.package-customization {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}

.package-customization.visible {
    opacity: 1;
    transform: translateY(0);
}

.website-service-button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.website-services-section h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: black;
}

.dark-mode .website-services-section h3 {
    color: white;
}

.contact-list {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-list.active {
    display: block;
    opacity: 1;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    background-color: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input, textarea {
    padding: 0.5rem;
    border: 1px solid var(--text-color);
    border-radius: 4px;
    background-color: var(--bg-color);
    color: var(--text-color);
}

textarea {
    min-height: 100px;
}

button[type="submit"] {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    position: fixed;
    bottom: 1.2rem;
    right: 4rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#volume-bar {
    width: 100px;
    appearance: none;
    background: var(--header-footer-bg);
    border-radius: 5px;
    height: 5px;
    cursor: pointer;
    outline: none;
    transition: background 0.3s ease;
}

#volume-bar::-webkit-slider-thumb {
    appearance: none;
    width: 15px;
    height: 14px;
    background: var(--header-footer-text);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

#volume-bar::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: var(--highlight-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.discord-card {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.discord-header i {
    font-size: 2.5rem;
    color: #5865F2;
}

.discord-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text-color);
}

.discord-content {
    text-align: center;
}

.discord-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.discord-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.discord-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.discord-features i {
    color: #43b581;
}

.discord-join-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #ffffff;
    background-color: #5865F2;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.discord-join-button:hover {
    background-color: #4752c4;
    transform: translateY(-2px);
}

.discord-join-button i {
    font-size: 1.4rem;
}

.email-card {
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.email-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.email-header i {
    font-size: 2.5rem;
    color: var(--highlight-color);
}

.email-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--text-color);
}

.email-content {
    text-align: center;
}

.email-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.email-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--button-bg);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.email-address span {
    font-size: 1.2rem;
    color: var(--button-text);
}

.copy-email-btn {
    background: none;
    border: none;
    color: var(--button-text);
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.copy-email-btn:hover {
    transform: scale(1.1);
}

.email-note {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Add to existing section styles */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
    margin: 1.5rem 0;
}

.game-card {
    background: var(--section-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    max-width: 280px;
    margin: 0 auto;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.game-thumbnail {
    position: relative;
    overflow: hidden;
    max-height: 200px;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.game-info h3 {
    margin: 0 0 1rem;
    color: black; /* Default color for light mode */
}

.dark-mode .game-info h3 {
    color: white; /* Color for dark mode */
}

.play-button {
    background-color: var(--button-bg);
    color: var(--button-text);
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    width: auto;
    margin-top: 1rem;
}

.play-button:hover {
    background-color: var(--highlight-color);
}

/* Add console projects styling */
.console-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    background: var(--section-bg);
    border-radius: 8px;
    transform-origin: top;
}

.console-details.active {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    gap: 2rem;
}

.console-details .console-image {
    margin: 0 auto;
}

.console-details .console-content {
    text-align: left;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 90%;
    margin: 0 auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .console-details.active {
        display: block;
    }
    
    .console-details .console-content {
        padding: 1.5rem 0.5rem;
    }
    .website-services-container {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .service-option {
        margin: 0.25rem 0;
    }
}

/* Add new category button styles */
.console-category-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.console-category-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease 0.1s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.console-category-button:hover {
    transform: translateY(-2px);
}

.console-category-button.active {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.15);
}

/* Update category content animations */
.category-content {
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    background: var(--section-bg);
    border-radius: 8px;
}

.category-content.active {
    margin: 1rem 0;
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Add controller images grid */
.console-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.console-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.console-image:hover {
    transform: scale(1.03);
}

/* Update all project images to match controller styling */
.projects-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease;
    object-fit: cover;
}

/* Remove specific game thumbnail styling since we're standardizing */
.game-thumbnail img {
    /* Remove individual styles */
    border-bottom: none;
    height: auto; /* Override previous fixed height */
}

/* Keep hover effect consistent */
.projects-section img:hover {
    transform: scale(1.03);
}

/* Adjust games grid to use same layout as controllers */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.5rem;
    margin: 1.5rem 0;
}

/* Add category image styling to match controllers */
.category-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 1rem;
    display: block;
}

/* Update category content grid */
.category-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

/* Specific adjustment for text content */
.category-text {
    padding: 1rem;
}

/* Specific styling for controllers section */
.category-content[data-category="controllers"] {
    display: block; /* Override grid layout */
}

.category-content[data-category="controllers"] .console-images {
    grid-template-columns: repeat(2, 1fr); /* Keep 2-column layout */
    margin-bottom: 2rem;
}

/* Keep grid layout for other categories */
.category-content:not([data-category="controllers"]) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: center;
}

/* Main project buttons (GitHub Projects, Console Projects) */
.project-button[data-type].active {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.15);
}

/* Console-specific buttons (N64, Xbox, etc) */
.project-button[data-console].active {
    background-color: var(--button-bg);
    border: 2px solid var(--highlight-color);
}

/* Update project button active states */
.project-button[data-type].active {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.15);
}

/* Add distinct styling for console-specific buttons */
.project-button[data-console].active {
    background-color: var(--button-bg);
    border: 2px solid var(--highlight-color);
    transform: translateY(0);
}

/* Ensure main category button stays highlighted when sub-buttons are active */
.console-projects.active ~ .project-buttons .project-button[data-type="console-projects"] {
    background-color: var(--highlight-color);
    transform: translateY(-2px);
}

/* Website Services Additions */
.addons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.addon-checkboxes {
    display: grid;
    gap: 1rem;
}

.addon-option {
    padding: 1rem;
    background: var(--button-bg);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon-option:hover {
    background: var(--highlight-color);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.template-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.template-preview:hover img {
    transform: scale(1.05);
}

.service-contact-form {
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.payment-section {
    grid-column: 1 / -1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.security-disclaimer {
    margin-top: 1rem;
    color: var(--highlight-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .website-services-container {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .service-option {
        margin: 0.25rem 0;
    }
}

/* Update button selected state */
.select-service-button.selected {
    background-color: #4CAF50 !important;
    pointer-events: none;
}

/* Ensure customization sections are visible */
.package-customization.visible {
    opacity: 1;
    transform: translateY(0);
    display: block !important;
}

/* Remove conflicting transitions */
.addons-grid,
.template-grid,
.service-contact-form {
    display: none;
    animation: fadeIn 0.3s ease forwards;
}

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

/* Add unselect animation */
.package-customization:not(.visible) {
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

/* Update grid layout */
.package-customization {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.template-grid {
    grid-column: 1;
    order: 1;
}

.addons-grid {
    grid-column: 2;
    order: 2;
}

.service-contact-form {
    grid-column: 1 / -1;
    order: 3;
}

.template-previews {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
}

.template-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .package-customization {
        grid-template-columns: 1fr;
    }
    
    .template-grid,
    .addons-grid {
        grid-column: 1;
    }
    
    .template-grid {
        order: 2;
    }
    
    .addons-grid {
        order: 1;
    }
}

/* IT Services Specific Styles */
.it-services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%; /* Ensure it takes full width */
    margin: 0 auto; /* Centering */
    transition: all 0.3s ease; /* Smooth transition for any changes */
}

.it-services-container {
    gap: 1rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.it-service-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    max-width: 400px;
    width: 100%;
    margin: 0.5rem 0;
}

.it-service-option:hover {
    transform: translateY(-5px);
}

.it-service-button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.it-service-button:hover {
    background-color: var(--highlight-color);
}

.it-service-details {
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    overflow: hidden; /* Hide overflow during transition */
    max-height: 0; /* Start with max-height 0 */
    opacity: 0;
    padding: 0 1rem; /* Adjust padding */
}

.it-service-details.active {
    max-height: 1000px; /* Sufficient max-height to accommodate content */
    opacity: 1;
    padding: 1rem; /* Standard padding when active */
}

.it-select-service-button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.it-select-service-button.selected {
    background-color: #4CAF50 !important;
    pointer-events: none;
}

/* Adjust overall services list handling */
.it-services .services-list {
    overflow: hidden; /* Hide overflow by default */
    width: 100%; /* Full width */
    transition: all 0.3s ease; /* Smooth transition */
}

.it-services .services-list.active {
    overflow: visible; /* Only show overflow when active */
}

/* Add Required Details styling */
.required-details {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.required-details.visible {
    opacity: 1;
    transform: translateY(0);
}

.required-details-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.detail-option {
    background: var(--section-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--highlight-color);
    transition: transform 0.3s ease;
}

.detail-option:hover {
    transform: translateY(-3px);
}

.detail-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.detail-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--highlight-color);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.detail-input:focus {
    outline: none;
    border-color: var(--button-hover-bg);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

/* Add modal styling for required details */
.it-required-details {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 600px;
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.it-required-details.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.required-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--highlight-color);
}

.close-details-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

.close-details-button:hover {
    color: var(--highlight-color);
}

.console-select-service-button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    color: var(--button-text);
    background-color: var(--button-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.console-select-service-button.selected {
    background-color: #4CAF50 !important;
    pointer-events: none;
}

.required-details-content {
    display: grid;
    gap: 1.5rem;
}

.console-services-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

/* Website Services Modal */
.website-required-details {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 800px;
    background: var(--section-bg);
    border-radius: 12px;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.website-required-details.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Addon Checkboxes */
.addon-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: all 0.2s ease;
}

.addon-checkbox:hover {
    background: rgba(255, 255, 255, 0.1);
}

.payment-details {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 1rem 0;
}

.security-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    margin: 1rem 0;
}

/* Add this above existing modal styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2999;
    display: none;
}

.website-required-details.visible ~ .modal-overlay,
.it-required-details.visible ~ .modal-overlay {
    display: block;
}