@import url("/css/icons.css");

/* Modern Professional Color Palette for Software Company */
:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --secondary-color: #1A1D29;
    --accent-color: #00D9FF;
    --text-dark: #1A1D29;
    --text-light: #6B7280;
    --background-light: #FFFFFF;
    --background-gray: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

/* Navigation */
nav {
    height: 70px;
    width: 100%;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

nav img {
    width: 120px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
    background-color: var(--background-gray);
}

.hamburger {
    display: none;
    width: 28px;
    height: 24px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger div {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Sections */
section {
    min-height: 400px;
    padding: 5rem 5%;
}

/* Hero/Carousel Section */
.hero-section {
    margin-top: 70px;
    min-height: 600px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 217, 255, 0.1) 100%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* About Section */
.about-section {
    background-color: var(--background-light);
    padding: 5rem 5%;
}

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

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Service Section */
.service-section {
    background-color: var(--background-gray);
    padding: 5rem 5%;
}

.service-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-section > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.service-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-item {
    background-color: var(--background-light);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-item i {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-item span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1rem;
}

.text-box {
    padding: 1rem 0;
}

.text-box h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.text-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.text-box span {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Utility Classes */
.center-text-title {
    text-align: center;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.centerElement {
    display: block;
    margin: 0 auto;
}

.upspace {
    margin-top: 1.5rem;
}

/* Projects Section */
.projects-section {
    background-color: var(--background-light);
    padding: 5rem 5%;
}

.projects-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.projects-section > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    bhero-section {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .service-section h2,
    .projects-section h2,
    .contact-section h2,
    .about-content h2 {
        font-size: 2rem;
    }

    .service-box {
        grid-template-columns: 1fr;
    }

    .projects-grid-primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.project-card > p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tech-stack {
    color: var(--text-light);
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background-color: var(--background-gray);
    padding: 5rem 5%;
}

.contact-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-section > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

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

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem 5%;
}

footer p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        padding: 0 4%;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .carousel-section {
        min-height: 400px;
    }

    .carousel-section h1 {
        font-size: 2.5rem;
    }

    .service-section h2 {
        font-size: 2rem;
    }

    .service-box {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 4%;
    }
}