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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #e2e8f0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    text-align: center;
    padding: 0 2rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.sidebar-header h2 {
    color: #60a5fa;
    font-weight: 600;
    font-size: 1.5rem;
}

.nav-menu {
    list-style: none;
    padding: 0 1rem;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    transform: translateX(4px);
}

.nav-link.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    overflow-x: hidden;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.8;
}

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

.service-card {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(96, 165, 250, 0.3);
}

.service-card i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.service-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Technologies Section */
.technologies {
    margin-bottom: 4rem;
}

.technologies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f1f5f9;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
}

.tech-category h3 {
    color: #60a5fa;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tech-item:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-2px);
}

.tech-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #60a5fa;
}

/* Portfolio Section */
.portfolio {
    margin-bottom: 4rem;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f1f5f9;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.portfolio-item i {
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.portfolio-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.portfolio-item p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Mail Section */
.mail-header {
    text-align: center;
    padding: 2rem 0 3rem;
}

.mail-header h1 {
    font-size: 3rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.mail-subtitle {
    font-size: 1.3rem;
    color: #94a3b8;
}

.mail-services {
    max-width: 1000px;
    margin: 0 auto;
}

.mail-card {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.mail-card i {
    font-size: 4rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
}

.mail-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #f1f5f9;
}

.mail-card p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.features-list {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.features-list li {
    padding: 0.5rem 0;
    color: #cbd5e1;
}

.features-list i {
    color: #10b981;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.mail-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.action-card {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.action-card h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.action-card p {
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}



/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.input-group input {
    flex: 1;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: #e2e8f0;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
}

.input-suffix {
    padding: 0.75rem;
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    font-weight: 500;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

/* Contact Section */
.contact-header {
    text-align: center;
    padding: 2rem 0 3rem;
}

.contact-header h1 {
    font-size: 3rem;
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: #94a3b8;
}

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

.contact-card {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.contact-card i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.contact-card p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #3b82f6;
}

.contact-info {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #f1f5f9;
}

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

.help-item {
    background: rgba(15, 15, 35, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.help-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.help-item i {
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.help-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.help-item p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid,
    .tech-grid,
    .portfolio-grid,
    .mail-actions,
    .contact-grid,
    .help-categories {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mail-header h1,
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .technologies h2,
    .portfolio h2,
    .contact-info h2 {
        font-size: 2rem;
    }
}