* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #1f2937; line-height: 1.6; background: #fff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header Styles */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    background: rgba(255,255,255,0.95); 
    z-index: 1000; 
    padding: 20px 0; 
}
.nav-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
}
.logo-link { text-decoration: none; }
.logo img { height: 60px; cursor: pointer; }
.logo img:hover { opacity: 0.9; }
nav { display: flex; align-items: center; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { 
    position: relative;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}
nav ul li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: all 0.3s ease;
}
nav ul li a:hover {
    color: #0ea5e9;
}
nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* Toggle Switch Styles */
.toggle-container { margin-top: 20px; text-align: center; }
.switch { position: relative; display: inline-block; width: 40px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc; transition: background-color 0.4s; border-radius: 20px;
}
.slider::before {
    position: absolute; content: "☼"; height: 16px; width: 16px; left: 2px; bottom: 2px;
    color: #ccc; font-size: 15px; background-color: white; display: flex;
    justify-content: center; align-items: center; transition: color 0.4s, content 0.4s, transform 0.4s;
    border-radius: 20px;
}
input:checked + .slider { background-color: #555; }
input:checked + .slider::before { content: "☾"; color: #555; transform: translateX(20px); }
.toggle-container.desktop-toggle { position: fixed; top: 20px; right: 20px; z-index: 1001; }

/* Hero Section Styles */
.hero { height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-content { text-align: center; padding: 0 20px; }
.hero h1 { font-size: 4rem; font-weight: 700; margin-bottom: 20px; color: #1f2937; }
.hero p { font-size: 1.3rem; color: #4b5563; }
.hero-arrow { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); cursor: pointer; z-index: 1; }

/* Services Section Styles */
.services { padding: 120px 0; }
.services h2 { text-align: center; font-size: 2.8rem; font-weight: 700; margin-bottom: 60px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-item { 
    background: #f9fafb; padding: 30px; border-radius: 15px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; transition: transform 0.3s; 
}
.service-item:hover { transform: scale(1.05); }
.service-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; margin-bottom: 20px; }
.service-content h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.service-content p { color: #4b5563; }
.learn-more { display: inline-block; margin-top: 10px; color: #0ea5e9; text-decoration: none; font-weight: 600; }
.learn-more:hover { text-decoration: underline; }

/* Service Detail Page Styles */
.service-detail { padding: 120px 0; }
.service-detail h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 20px; text-align: center; }

/* About Section Styles */
.about { padding: 120px 0; background: #f9fafb; text-align: center; }
.about h2 { font-size: 2.8rem; font-weight: 700; margin-bottom: 30px; }
.about p { max-width: 700px; margin: 0 auto; font-size: 1.2rem; color: #4b5563; }

/* Contact Section Styles */
.contact { padding: 120px 0; }
.contact h2 { text-align: center; font-size: 2.8rem; font-weight: 700; margin-bottom: 50px; }
.contact-form { max-width: 500px; margin: 0 auto; padding: 40px; background: #f9fafb; border-radius: 15px; }
.contact-form input, .contact-form textarea { 
    width: 100%; padding: 15px; margin-bottom: 20px; border: none; border-radius: 5px; background: #fff; 
}
.contact-form button { 
    width: 100%; padding: 15px; background: #0ea5e9; border: none; color: #fff; 
    font-weight: 600; border-radius: 5px; cursor: pointer; 
}

/* Footer Styles */
footer { background: #1f2937; color: #fff; text-align: center; padding: 20px 0; }

/* Hamburger Menu Styles */
.hamburger { display: none; cursor: pointer; }
.hamburger .line { width: 25px; height: 3px; background: #1f2937; margin: 5px 0; }

/* Mobile Menu Styles */
.mobile-menu { 
    display: none; position: fixed; top: 80px; right: 0; width: 250px; height: calc(100% - 80px); 
    background: #fff; z-index: 999; transition: transform 0.3s ease; transform: translateX(-100%); 
}
.mobile-menu.active { display: block; transform: translateX(0); }
.mobile-menu ul { list-style: none; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.mobile-menu ul li { margin: 10px 0; }
.mobile-menu a { color: #1f2937; text-decoration: none; font-weight: 600; }
.mobile-menu a:hover { color: #0ea5e9; }

/* Contact Info Styles */
.contact-info { margin-top: 30px; text-align: center; }
.contact-info h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; color: #1f2937; }
.contact-info p { font-size: 1rem; margin: 5px 0; color: #4b5563; }
.contact-info a { color: #0ea5e9; text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }

/* Footer Contact Info */
.footer-contact { margin-top: 10px; }
.footer-contact p { font-size: 0.9rem; margin: 5px 0; color: #d1d5db; }
.footer-contact a { color: #0ea5e9; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.copyright { margin-top: 15px; padding-top: 15px; }
.copyright p { font-size: 0.8rem; margin: 5px 0; color: #d1d5db; }

/* Dark Mode Styles */
body.dark-mode { background: #121212; color: #e0e0e0; }
body.dark-mode header { background: rgba(30, 30, 30, 0.95); }
body.dark-mode nav ul li a { color: #e0e0e0; }
body.dark-mode nav ul li a:hover { color: #0ea5e9; }
body.dark-mode .hero h1 { color: #e0e0e0; }
body.dark-mode .hero p { color: #d1d5db; }
body.dark-mode .services h2, body.dark-mode .about h2, body.dark-mode .contact h2, body.dark-mode .service-detail h1 { color: #e0e0e0; }
body.dark-mode .service-item { background: #1e1e1e; }
body.dark-mode .service-content p { color: #d1d5db; }
body.dark-mode .learn-more { color: #0ea5e9; }
body.dark-mode .about { background: #1e1e1e; }
body.dark-mode .contact-form { background: #1e1e1e; }
body.dark-mode .contact-form input, body.dark-mode .contact-form textarea { background: #2e2e2e; color: #e0e0e0; }
body.dark-mode footer { background: #121212; }
body.dark-mode .hero-arrow svg { stroke: #e0e0e0; }
body.dark-mode .logo img { filter: invert(1) hue-rotate(180deg); }
body.dark-mode .hamburger .line { background: #e0e0e0; }
body.dark-mode .mobile-menu { background: #1e1e1e; }
body.dark-mode .mobile-menu a { color: #e0e0e0; }
body.dark-mode .mobile-menu a:hover { color: #0ea5e9; }
body.dark-mode .contact-info h3 { color: #e0e0e0; }
body.dark-mode .contact-info p { color: #d1d5db; }
body.dark-mode .contact-info a { color: #0ea5e9; }

/* Responsive Styles */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .services-grid { grid-template-columns: 1fr; }
    .desktop-menu { display: none; }
    .hamburger { display: block; }
    .toggle-container.desktop-toggle { display: none; }
}
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
    .hamburger { display: none; }
}