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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #191f21;
    background-color: #081b26;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #081b26;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #081b26;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    min-height: 60px;
    flex-wrap: nowrap;
    gap: 15px;
}

.nav-logo {
    flex-shrink: 0;
    min-width: 0;
}

.nav-logo a {
    font-family: 'Orbitron', cursive;
    font-size: 1.1rem;
    font-weight: 400;
    color: #f2766b;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding: 8px 12px;
    display: block;
}

.nav-link.active {
    color: #f2766b !important;
}

.nav-link:hover {
    color: #f2766b;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #f2766b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Language switcher styles */
.language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid #706f6e;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
}

.lang-btn.active {
    background: #706f6e;
    color: #fff;
}

.lang-btn:hover {
    background: #706f6e;
    color: #fff;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 15px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, rgba(8, 27, 38, 0.85) 40%, rgba(242, 118, 107, 0.7) 130%), url('../public/home-bg-img.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: #586166;
    color: #f2766b;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

/* Featured Posts */
.featured-posts {
    background-color: #586166;
}

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

.post-card {
    background: #081b26;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.post-excerpt {
    color: #e5e7eb;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #f2766b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #f2766b;
}

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

.service-card {
    background: #586166;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

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

.service-icon {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 3rem;
    color: #f2766b;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.service-description {
    color: #e5e7eb;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #586166;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #e5e7eb;
    line-height: 1.7;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2rem;
}

.skill-tag {
    background: #f2766b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 360px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

}


/* Contact Section */
.contact-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-info p {
    color: #e5e7eb;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e5e7eb;
}

.contact-icon {
    font-size: 1.25rem;
}

.contact-form {
    background: #586166;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    
    
    font-size: 1rem;
    
    color: black;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f2766b;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #9a9999;
}

.submit-button {
    background: #f2766b;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    background: #f2766b;
}

/* Footer */
.footer {
    background: #081b26;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo a {
    font-family: 'Orbitron', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-links i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.footer-legal-links {
    margin-top: 1rem;
}

.footer-legal-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-legal-links a:hover {
    color: #f2766b;
}

.footer-legal-links .separator {
    color: #6b7280;
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 968px) {
    .nav-container {
        height: 50px;
        min-height: 50px;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo a {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .language-switcher {
        gap: 6px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
        min-width: 35px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: #586166;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    @media (max-width: 480px) {
        .nav-menu {
            top: 45px;
        }
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-links a {
        width: 35px;
        height: 35px;
    }
    
    .footer-links i {
        font-size: 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

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

    .nav-container {
        padding: 0 15px;
        gap: 10px;
        height: 45px;
        min-height: 45px;
    }

    .nav-logo a {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .language-switcher {
        gap: 4px;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 11px;
        min-width: 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth scrolling and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Projects Page Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #706f6e;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #f2766b;
}

.project-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.project-image i {
    font-size: 3rem;
    color: #f2766b;
    transition: all 0.3s ease;
}

.project-card:hover .project-image i {
    color: #ffffff;
    transform: scale(1.1);
}

.project-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-description {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f2766b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #f2766b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Companies Section */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.company-card {
    background: #706f6e;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #f2766b;
}

.company-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.company-logo i {
    font-size: 3rem;
    color: #f2766b;
    transition: all 0.3s ease;
}

.company-card:hover .company-logo i {
    color: #ffffff;
    transform: scale(1.1);
}

.company-name {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company-role {
    color: #f2766b;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.company-description {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-details {
    display: flex;
    gap: 1.5rem;
}

.detail-item {
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.detail-item i {
    color: #f2766b;
}

/* Consulting Section */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.consulting-card {
    background: #706f6e;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.consulting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #f2766b;
}

.consulting-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.consulting-icon i {
    font-size: 3rem;
    color: #f2766b;
    transition: all 0.3s ease;
}

.consulting-card:hover .consulting-icon i {
    color: #ffffff;
    transform: scale(1.1);
}

.consulting-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.consulting-client {
    color: #f2766b;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.consulting-description {
    color: #e5e7eb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consulting-results {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-item {
    color: #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.result-item i {
    color: #f2766b;
    width: 16px;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: #706f6e;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #f2766b;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #f2766b;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.legal-content p {
    color: #e5e7eb;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content strong {
    color: white;
    font-weight: 600;
}

.legal-content a {
    color: #f2766b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    color: white;
    text-decoration: underline;
}

.legal-content ul {
    color: #e5e7eb;
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-note {
    margin-top: 3rem !important;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    color: #9ca3af !important;
}

/* Responsive Design for Projects Page */
@media (max-width: 768px) {
    .projects-grid,
    .companies-grid,
    .consulting-grid {
        grid-template-columns: 1fr;
    }
    
    .company-details {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .legal-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
}
