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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 50%, #2c5aa0 100%);
    min-height: 100vh;
    transition: all 0.3s ease;
}

/* Dark mode styles */
body.dark-mode {
    color: #e0e0e0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

body.dark-mode .navbar {
    background: rgba(30, 30, 30, 0.95);
}

body.dark-mode .nav-menu a {
    color: #e0e0e0;
}

body.dark-mode .logo-7 {
    color: #64b5f6;
}

body.dark-mode .logo-jelly,
body.dark-mode .logo-fish {
    color: #b0b0b0;
}

body.dark-mode .logo-9 {
    color: #ef5350;
}

body.dark-mode .section-title {
    background: rgba(30, 30, 30, 0.95);
    color: #e0e0e0;
}

body.dark-mode .hero {
    background: rgba(30, 30, 30, 0.95);
}

body.dark-mode .hero h1 {
    color: #e0e0e0;
}

body.dark-mode .hero .subtitle {
    color: #b0b0b0;
}

body.dark-mode .stats-section,
body.dark-mode .service-card,
body.dark-mode .about-content,
body.dark-mode .tech-stack,
body.dark-mode .contact-section {
    background: rgba(30, 30, 30, 0.95);
}

body.dark-mode .service-card h3,
body.dark-mode .about-content h3 {
    color: #e0e0e0;
}

body.dark-mode .service-card p,
body.dark-mode .about-content p,
body.dark-mode .contact-section p {
    color: #b0b0b0;
}

body.dark-mode .service-card .features li {
    color: #c0c0c0;
}

body.dark-mode .stat-label {
    color: #b0b0b0;
}

body.dark-mode .vision-item,
body.dark-mode .culture-item,
body.dark-mode .talent-item {
    background: rgba(40, 40, 40, 0.9);
}

body.dark-mode .vision-item h4,
body.dark-mode .culture-item h4,
body.dark-mode .talent-item h4 {
    color: #64b5f6;
}

body.dark-mode .vision-item p,
body.dark-mode .culture-item p,
body.dark-mode .talent-item p {
    color: #b0b0b0;
}

body.dark-mode .tech-category h4 {
    color: #e0e0e0;
}

body.dark-mode .value-item {
    background: rgba(74, 144, 226, 0.2);
}

body.dark-mode .vision-section,
body.dark-mode .culture-section {
    background: rgba(74, 144, 226, 0.1);
}

/* Theme toggle button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.1);
    border: 2px solid #4a90e2;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.theme-toggle:hover {
    transform: scale(1.1);
    background: rgba(74, 144, 226, 0.2);
}

body.dark-mode .theme-toggle {
    background: rgba(100, 181, 246, 0.1);
    border-color: #64b5f6;
    color: #ffd54f;
}

body.dark-mode .theme-toggle:hover {
    background: rgba(100, 181, 246, 0.2);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

body.dark-mode .theme-toggle .sun-icon {
    display: block;
}

body.dark-mode .theme-toggle .moon-icon {
    display: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 20px;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    min-height: 40px;
}

.logo-text {
    font-size: 1.8em;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.05);
}

/* Static logo styles - removed all animations and gradients */
.logo-7 {
    color: #4a90e2;
    filter: drop-shadow(0 2px 4px rgba(74, 144, 226, 0.4));
}

.logo-jelly {
    color: #2c3e50;
}

.logo-9 {
    color: #e74c3c;
    filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.4));
}

.logo-fish {
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-menu a:hover, .nav-menu a.active {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Philosophy Section */
.philosophy {
    text-align: center;
    padding: 15px 0 20px 0;
    position: relative;
}

.philosophy-text {
    background: linear-gradient(135deg, #8e44ad, #4a90e2, #e74c3c);
    background-size: 300% 300%;
    animation: gradientShift 6s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6em;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: none;
    display: inline-block;
}

.philosophy-sub-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1em;
    font-weight: 400;
    margin: 10px 0 0 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

.lightbulb-icon {
    font-size: 1.8em;
    margin-left: 10px;
    animation: gentleSparkle 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gentleSparkle {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.2) drop-shadow(0 0 4px rgba(255, 255, 255, 0.4));
    }
}

/* Section Styling */
.section {
    margin-bottom: 60px;
    scroll-margin-top: 100px;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.3em;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.hero .highlight {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
}

/* Stats Section */
.stats-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #4a90e2;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: #5a6c7d;
    font-size: 1.1em;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #2c3e50;
    font-size: 1.4em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.service-card .icon {
    font-size: 1.8em;
    margin-right: 10px;
    color: #4a90e2;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Dynamic icon animations - only for selected services */
.service-card:hover .icon {
    transform: scale(1.2);
}

/* ISMS Lock animation */
.icon-lock {
    animation: lockPulse 2s ease-in-out infinite;
}

/* Web/Backend Architecture animation */
.icon-architecture {
    animation: architectureRotate 4s linear infinite;
}

/* Software Maintenance - Counter-clockwise rotation */
.icon-maintenance {
    animation: maintenanceCounterSpin 3s linear infinite;
}

@keyframes lockPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1);
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(74, 144, 226, 0.6));
    }
}

@keyframes architectureRotate {
    0% { 
        transform: rotate(0deg);
    }
    25% { 
        transform: rotate(5deg) scale(1.05);
    }
    50% { 
        transform: rotate(0deg);
    }
    75% { 
        transform: rotate(-5deg) scale(1.05);
    }
    100% { 
        transform: rotate(0deg);
    }
}

@keyframes maintenanceCounterSpin {
    0% { 
        transform: rotate(0deg);
    }
    25% { 
        transform: rotate(-90deg) scale(1.1);
    }
    50% { 
        transform: rotate(-180deg);
    }
    75% { 
        transform: rotate(-270deg) scale(1.1);
    }
    100% { 
        transform: rotate(-360deg);
    }
}

/* Pause animations on hover for better UX */
.service-card:hover .icon {
    animation-play-state: paused;
}

.service-card p {
    color: #5a6c7d;
    margin-bottom: 15px;
}

.service-card .features {
    list-style: none;
    padding: 0;
}

.service-card .features li {
    padding: 5px 0;
    color: #34495e;
    position: relative;
    padding-left: 20px;
}

.service-card .features li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* About Section */
.about-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-content h3 {
    color: #2c3e50;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.about-content p {
    color: #5a6c7d;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.value-item {
    background: rgba(74, 144, 226, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.value-item h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 1.2em;
}

/* Vision Section */
.vision-section {
    background: rgba(74, 144, 226, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.vision-section h3 {
    color: #4a90e2;
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.vision-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vision-item h4 {
    color: #4a90e2;
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Culture Section in About */
.culture-section {
    background: rgba(74, 144, 226, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
}

.culture-section h3 {
    color: #4a90e2;
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
}

.culture-intro {
    text-align: center;
    color: #5a6c7d;
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 30px;
}

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

.culture-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.culture-icon {
    font-size: 2em;
    margin-bottom: 15px;
    display: inline-block;
}

/* Special sparkle animation for growth sprout */
.culture-sprout {
    font-size: 2em;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
    animation: sproutSparkle 2.5s ease-in-out infinite;
}

@keyframes sproutSparkle {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 5px rgba(39, 174, 96, 0.3));
    }
    25% {
        transform: scale(1.1);
        filter: brightness(1.4) drop-shadow(0 0 15px rgba(39, 174, 96, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.6) drop-shadow(0 0 20px rgba(46, 204, 113, 0.8)) drop-shadow(0 0 30px rgba(39, 174, 96, 0.4));
    }
    75% {
        transform: scale(1.08);
        filter: brightness(1.3) drop-shadow(0 0 12px rgba(39, 174, 96, 0.6));
    }
}

/* Sparkle particles around sprout */
.culture-sprout::before {
    content: '✨';
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 0.6em;
    animation: sparkleParticle1 3s ease-in-out infinite;
    opacity: 0;
}

.culture-sprout::after {
    content: '💫';
    position: absolute;
    bottom: 5px;
    left: -10px;
    font-size: 0.5em;
    animation: sparkleParticle2 3s ease-in-out infinite 1.5s;
    opacity: 0;
}

@keyframes sparkleParticle1 {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

@keyframes sparkleParticle2 {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(-180deg);
    }
}

/* Hover effect for culture items */
.culture-item:hover .culture-sprout {
    animation-duration: 1.2s;
    filter: brightness(1.8) drop-shadow(0 0 25px rgba(39, 174, 96, 0.9));
}

.culture-item h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.culture-item p {
    color: #5a6c7d;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Talent Section */
.talent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.talent-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.talent-number {
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 auto 15px auto;
    background: #4a90e2;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.talent-item:hover .talent-number {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
}

.talent-grid {
    position: relative;
}

.talent-item h4 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.talent-item p {
    color: #5a6c7d;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Tech Stack */
.tech-stack {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tech-category {
    text-align: center;
    padding: 20px;
}

.tech-category h4 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.tech-tag {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2em;
}

.contact-section p {
    color: #5a6c7d;
    font-size: 1.1em;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    padding: 50px 0 30px 0;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #4a90e2;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4a90e2;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-info strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.service-list li {
    color: rgba(255, 255, 255, 0.85);
    padding: 4px 0;
    position: relative;
    padding-left: 15px;
    font-size: 0.9em;
}

.service-list li:before {
    content: "•";
    color: #4a90e2;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.footer-cta {
    margin-top: 20px;
}

.footer-contact-btn {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9em;
}

.footer-motto p {
    color: #4a90e2;
    font-weight: 500;
    font-style: italic;
    margin: 0;
}

/* Mobile Responsive for Footer */
@media (max-width: 768px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-content {
        padding: 40px 0 20px 0;
    }
    
    .footer-section h4 {
        font-size: 1.2em;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 20px;
        position: relative;
    }
    
    .logo-container {
        width: 100%;
        justify-content: center;
    }
    
    .nav-right {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .theme-toggle {
        margin-left: 0;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}