/* Modern CSS with enhanced animations */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #00b4d8;
    --accent-color: #ff4d6d;
    --text-color: #e0e0e0;
    --light-bg: #2d2d2d;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #0d0d0e 0%, #141414 100%);
    overflow-x: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-loader p {
    color: white;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Progress bar for requirements */
.requirement-item {
    background: rgba(45, 45, 45, 0.5);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: rgba(45, 45, 45, 0.8);
}

.requirement-item h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirement-item h3 i {
    color: #4CAF50;
}

.requirement-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

header {
    padding: 2rem;
    background: rgba(26, 26, 26, 0.95);
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav {
    margin-bottom: 2rem;
}

.nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.nav a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav a:hover:before {
    width: 100%;
}

.nav a:hover {
    color: var(--secondary-color);
}

.logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.logos img {
    height: 80px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.logos img:hover {
    /* Removed transform: scale(1.2) rotate(5deg); */
}

.title {
    text-align: center;
    margin: 3rem 0;
    position: relative;
}

.title:before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.title h1 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title h4 {
    color: var(--secondary-color);
    font-weight: 400;
    letter-spacing: 1px;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Apply to all main content sections */
.UML, .code, .UI, .presentation, .slides-section {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 0;
    margin: 2rem 0;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--primary-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow-x: auto;
}

/* Make images inside sections responsive */
.UML img,
.code img,
.UI img,
.presentation img,
.slides-section img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.UML:before, .code:before, .UI:before, .presentation:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary-color);
}

.UML:hover, .code:hover, .UI:hover, .presentation:hover {
    box-shadow: var(--hover-shadow);
}

h6 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

h6 i {
    background: var(--secondary-color);
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 0.9rem;
}

h2 {
    color: var(--text-color);
    margin: 2rem 0;
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--secondary-color);
}

h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
}

h3 i {
    color: var(--secondary-color);
}

p {
    margin: 1rem 0;
    line-height: 1.8;
}

/* Download links styling */
.download-links {
    margin: 2.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-links a {
    text-decoration: none;
    color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.download-links a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary-color);
    z-index: -1;
}

.download-links a:hover:before {
    width: 100%;
}

.download-links a:hover {
    color: var(--text-color);
    box-shadow: 0 7px 15px rgba(52, 152, 219, 0.3);
}

.download-links a i {
    /* removed transition */
}

.download-links a:hover i {
    /* removed transform */
}

/* Ripple effect for buttons - removing */

/* Enhanced animations - removing all keyframes and related properties */

/* Reveal animation for sections - removing */
.reveal {
    opacity: 1; /* Make sure it's visible by default */
    /* Removed transform and transition */
}

.reveal.active {
    /* No longer needed */
}

/* Footer styling */
footer {
    text-align: center;
    padding: 3rem;
    background: var(--primary-color);
    color: var(--text-color);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

footer p {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

/* Social links */
.social-links {
    position: fixed;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.social-links a {
    background: var(--light-bg);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.social-links a i {
    font-size: 1.2rem;
}

/* Code blocks styling */
.code-block {
    background: #1e1e1e;
    padding: 1.8rem;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    margin: 1.5rem 0;
    overflow-x: auto;
    position: relative;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    color: #e0e0e0;
}

.code-block:before {
    content: 'Java';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: white;
    padding: 2px 10px;
    font-size: 0.7rem;
    border-bottom-left-radius: 8px;
    font-family: 'Segoe UI', sans-serif;
}

/* Responsive design */
@media (max-width: 768px) {
    header, main {
        padding: 1.5rem; /* Reduced padding for tablets */
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem; /* Reduced gap for stacked items */
    }
    
    .logos {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem; /* Reduced gap */
    }
    
    .title h1 {
        font-size: 2rem;
    }

    .title h4 {
        font-size: 0.9rem;
    }

    .UML, .code, .UI, .presentation {
        padding: 1.5rem; /* Reduced padding for sections */
        margin: 2rem 0; /* Adjusted margin */
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h6 {
        font-size: 1.1rem;
    }

    h6 i {
        padding: 6px; /* Slightly smaller icon padding */
        font-size: 0.8rem;
    }
    
    .download-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem; /* Adjust gap for stacked buttons */
    }

    .social-links {
        /* Keep at top-right for tablets, but adjust spacing */
        gap: 0.8rem; 
    }

    .social-links a {
        padding: 0.7rem 1.2rem; /* Slightly smaller buttons */
        font-size: 0.9rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    .footer-logo { /* Class for ASU Logo */
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 480px) {
    header, main {
        padding: 1rem; /* Further reduced padding for small phones */
    }

    .title h1 {
        font-size: 1.6rem;
    }

    .title h4 {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .UML, .code, .UI, .presentation {
        padding: 1rem;
        margin: 1.5rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    h6 {
        font-size: 1rem;
    }
     h6 i {
        padding: 5px;
        font-size: 0.7rem;
    }

    .social-links {
        /* For very small screens, move to bottom, full width for easier tapping */
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row; /* Horizontal again */
        justify-content: space-around;
        padding: 0.5rem;
        background: var(--primary-color); /* Solid background for visibility */
        border-radius: 0; /* Remove rounding if it was on the container */
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* Shadow for separation */
    }

    .social-links a {
        background: transparent; /* Remove individual button background */
        color: white; /* Ensure text is visible on primary-color background */
        border: none; /* Remove individual button border */
        box-shadow: none; /* Remove individual button shadow */
        padding: 0.5rem; /* Adjust padding */
        font-size: 0.8rem; 
        flex-grow: 1; /* Allow buttons to share space */
        text-align: center;
    }
    .social-links a:hover {
        background: var(--secondary-color); /* Hover effect */
        color: white;
    }

    .code-block {
        padding: 1rem;
        font-size: 0.85rem; /* Slightly smaller code font */
    }

    footer p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    .footer-logo { /* Class for ASU Logo */
        width: 35px !important;
        height: 35px !important;
    }
}

/* Add this class to the ASU logo in index.html: class="footer-logo" */

/* Add this script to enable reveal animations */

/* Slides Section */
.slides-section {
    background: white;
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.slides-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-color);
}

.slides-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slides-section h2 i {
    color: var(--accent-color);
}

.slides-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.slides-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.slides-controls button {
    background: var(--light-bg);
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides-controls button:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.slides-controls button i {
    font-size: 0.9rem;
}

#toggle-fullscreen {
    background: var(--accent-color);
    color: white;
}

#toggle-fullscreen:hover {
    background: #c0392b;
}

/* Fullscreen styles */
.slides-section:fullscreen {
    background: black;
    padding: 0;
    border-radius: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.slides-section:fullscreen:before {
    display: none;
}

.slides-section:fullscreen .slides-container {
    width: 100%;
    height: 80vh;
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
}

.slides-section:fullscreen h2 {
    color: white;
    margin: 1.5rem 0;
}

.slides-section:fullscreen .slides-controls button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.slides-section:fullscreen .slides-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments for slides section */
@media (max-width: 768px) {
    .slides-container {
        height: 300px;
    }
    
    .slides-controls {
        flex-wrap: wrap;
    }
    
    .slides-controls button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slides-container {
        height: 200px;
    }
    
    .slides-controls {
        gap: 0.5rem;
    }
    
    .slides-controls button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .slides-section:fullscreen .slides-container {
        height: 60vh;
    }
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
}


