* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hide scrollbar for all pages */
html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    z-index: 1001;
}

.theme-toggle:hover {
    background: #2980b9;
    transform: scale(1.1);
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #3498db;
}

main {
    margin-top: 80px;
    flex: 1;
}

section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#home {
    text-align: center;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6600 100%);
    color: white;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#home h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

#home p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

#cta-button {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease 0.6s both;
}

#cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

#about, #services, #contact {
    background: #2d2d2d;
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #e0e0e0;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #00ffff;
    font-size: 2.5rem;
}

h3 {
    color: #00cccc;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: #3a3a3a;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #e0e0e0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#contact-form input,
#contact-form textarea {
    padding: 1rem;
    border: 2px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: #2d2d2d;
    color: #e0e0e0;
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: #00ffff;
}

#contact-form button {
    background: #27ae60;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

#contact-form button:hover {
    background: #229954;
}

footer {
    background: #1a1a1a;
    color: #e0e0e0;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #333;
}

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

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    #home h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Light Mode Styles */
body.light-mode {
    background-color: #ffffff;
    color: #333333;
}

body.light-mode header {
    background: #ffffff;
    color: #333333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.light-mode nav a {
    color: #333333;
}

body.light-mode nav a:hover {
    color: #3498db;
}

body.light-mode #about, 
body.light-mode #services, 
body.light-mode #contact {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

body.light-mode .service-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
}

body.light-mode footer {
    background: #f8f9fa;
    color: #333333;
    border-top: 1px solid #e9ecef;
}

body.light-mode h2 {
    color: #2c3e50;
}

body.light-mode h3 {
    color: #495057;
}

body.light-mode .theme-toggle {
    background: #f39c12;
}

body.light-mode .theme-toggle:hover {
    background: #e67e22;
}