/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 70%);
}

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

.hero-logo {
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
    transform: scale(0.8);
}

.hero-logo-img {
    height: 180px;
    width: auto;
    padding: 20px;
    background-color: #0a0a0a;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    /* Keep the existing soft ambient glow */
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5))
            drop-shadow(0 0 45px rgba(59, 130, 246, 0.3));
    /* Smoother, more consistent animation */
    animation: logoGlow 2s linear infinite;
    /* Enable hardware acceleration for smoother performance */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: filter;
    /* Add the clean white glowing outline */
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3),
                0 0 8px rgba(255, 255, 255, 0.4),
                0 0 16px rgba(255, 255, 255, 0.2);
}

/* Electric blue shimmer animation container */
.hero-logo::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(59, 130, 246, 0.6) 60deg,
        rgba(147, 197, 253, 0.8) 120deg,
        rgba(59, 130, 246, 0.6) 180deg,
        transparent 240deg,
        transparent 360deg
    );
    border-radius: 23px;
    animation: shimmerRotate 4s linear infinite;
    z-index: 1;
}

/* Shimmer rotation animation */
@keyframes shimmerRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Optimized smooth glow pulse animation */
@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4))
                drop-shadow(0 0 40px rgba(59, 130, 246, 0.25));
    }
    25% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 50px rgba(59, 130, 246, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.7))
                drop-shadow(0 0 60px rgba(59, 130, 246, 0.5));
    }
    75% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6))
                drop-shadow(0 0 50px rgba(59, 130, 246, 0.4));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4))
                drop-shadow(0 0 40px rgba(59, 130, 246, 0.25));
    }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: #cccccc;
    margin-bottom: 48px;
    font-weight: 400;
}

.cta-button {
    background-color: #ffffff;
    color: #0a0a0a;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: #0f0f0f;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    line-height: 1.8;
    color: #e0e0e0;
}

/* Services Section */
.services {
    padding: 120px 0;
    background-color: #0a0a0a;
}

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

.service-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #3a3a3a;
    transform: translateY(-4px);
}

.service-icon {
    margin-bottom: 24px;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.service-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.service-card:hover .service-icon-img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.service-list {
    list-style: none;
    text-align: left;
}

.service-list li {
    color: #cccccc;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

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

/* Contact Section */
.contact {
    padding: 120px 0;
    background-color: #0f0f0f;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-inbox {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
}

.inbox-header {
    background-color: #2a2a2a;
    padding: 20px 24px;
    border-bottom: 1px solid #3a3a3a;
}

.inbox-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
}

.contact-form {
    padding: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #e0e0e0;
    font-size: 14px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: #0a0a0a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
}

.form-actions {
    margin-top: 32px;
}

.submit-button {
    background-color: #ffffff;
    color: #0a0a0a;
    border: none;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.submit-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #1a1a1a;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-text {
    color: #666666;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-logo-img {
        height: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .about,
    .services,
    .contact {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .contact-container {
        padding: 0 16px;
    }
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}
