/* style.css for Palarinc IT Consultancy */

:root {
    --primary: #0a192f;
    --secondary: #64ffda;
    --text-main: #8892b0;
    --text-light: #ccd6f6;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.1);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background: var(--white);
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
}



.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

.nav-links li a:hover {
    color: #005bea;
}

.nav-cta {
    border: 2px solid #005bea;
    padding: 8px 24px;
    border-radius: 4px;
    color: #005bea !important;
}

.nav-cta:hover {
    background: #005bea;
    color: var(--white) !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.85);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--white);
}

.hero .highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.cta-btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.cta-btn.primary {
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
}

.cta-btn.primary:hover {
    background: transparent;
    color: var(--secondary);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Common Section Styles */
main {
    padding: 0;
}

section {
    padding: 100px 8%;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.section-header .line {
    height: 1px;
    background: var(--text-main);
    width: 300px;
    opacity: 0.3;
}

/* About Section */
#about {
    background: var(--white);
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Services Section */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 6px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: default;
}

.service-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--secondary);
    /* For dark theme icon visibility on white card, adjust color */
    color: #005bea;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 1rem;
}

/* Careers Section */
#careers {
    background: #f0f2f5;
    text-align: left;
}

.text-link {
    color: #005bea;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.text-link:hover {
    text-decoration: underline;
}

/* Contact Section */
#contact {
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    color: #005bea;
    width: 40px;
    text-align: center;
}

.info-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #005bea;
    background: var(--white);
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #aaa;
    pointer-events: none;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input:focus~label,
.form-group input:valid~label,
.form-group textarea:focus~label,
.form-group textarea:valid~label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    background: var(--white);
    padding: 0 5px;
    color: #005bea;
}

.submit-btn {
    padding: 15px 30px;
    background: #005bea;
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #0048b0;
    transform: translateY(-2px);
}

#formMessage {
    margin-top: 15px;
    font-weight: 600;
}

/* Footer */
footer {
    background: #020c1b;
    color: var(--text-light);
    padding: 50px 8%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-left: 20px;
}

.social-links a:hover {
    color: var(--secondary);
}

.copyright {
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        /* Hide for now, can implement toggle with JS if needed later, but keeping simple */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

    .contact-container {
        grid-template-columns: 1fr;
    }

    .section-header .line {
        width: 100px;
    }
}