:root {
    --bg-main: #ffffff;
    --bg-alt: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --accent: #111827;
    --border-color: #e5e7eb;
    
    --container-width: 1200px;
    --section-pad: 100px 20px;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-muted);
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, h4 {
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.2;
}
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.mb-50 { margin-bottom: 50px; }

/* === Navbar (Glassmorphism) === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--text-muted);
}
.btn-nav {
    border: 1px solid var(--text-main);
    padding: 10px 20px;
    border-radius: 6px;
}
.btn-nav:hover {
    background: var(--text-main);
    color: var(--bg-main) !important;
}

/* === Hamburger Menu Base === */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* === Buttons === */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* === Hero Section === */
.hero {
    padding-top: 135px;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--bg-main);
}
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}
.hero-author {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.image-frame {
    position: relative;
    border-radius: 200px 200px 16px 16px; 
    background: var(--bg-alt);
    padding-top: 60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}
.image-frame img {
    width: 88%; 
    display: block;
    object-fit: cover;
    margin-bottom: -1px;
}

/* === Tech Partners === */
.partners {
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-main);
}
.section-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}
.partner-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}
.partner-grid img {
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s;
}
.partner-grid img:hover {
    filter: grayscale(0%) opacity(100%);
}
.logo-accurate { height: 60px; }
.logo-odoo { height: 50px; }
.logo-erpnext { height: 35px; }

/* === About Section === */
.about {
    padding: var(--section-pad);
    background: var(--bg-alt);
    text-align: center;
}
.about-wrapper {
    max-width: 800px;
}
.about .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
}
.about p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.highlight-text {
    font-size: 1.3rem !important;
    font-weight: 600;
    color: var(--text-main);
    margin-top: 30px;
}

/* === Services Section === */
.services {
    padding: var(--section-pad);
    background: var(--bg-main);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.card {
    padding: 40px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}
.card:hover {
    border-color: var(--text-main);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}
.card-icon {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--text-main);
}
.card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.card p:last-child {
    margin-bottom: 0;
}

/* === Team Section === */
.team {
    padding: var(--section-pad);
    background: var(--bg-alt);
}
.team-wrapper {
    display: flex;
    justify-content: center;
}
.team-profile {
    text-align: center;
    max-width: 300px;
}
.profile-img {
    width: 240px;
    height: 300px;
    margin: 0 auto 20px;
    border-radius: 16px;
    overflow: hidden;
    background: #e5e7eb;
}
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(100%);
    transition: 0.4s;
}
.team-profile:hover .profile-img img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.profile-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.profile-info p {
    font-size: 0.95rem;
}

/* === Contact Section === */
.contact {
    padding: var(--section-pad);
    background: var(--bg-main);
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}
.contact-info .section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.contact-info p {
    font-size: 1.1rem;
}
.contact-form-container {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: 16px;
}
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}
.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-main);
    transition: border 0.2s;
}
.input-group input:focus {
    outline: none;
    border-color: var(--text-main);
}
.btn-submit {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    margin-top: 10px;
    transition: background 0.2s;
}
.btn-submit:hover {
    background: #000;
}

/* === Footer === */
.footer {
    background: var(--text-main);
    color: #fff;
    padding: 60px 20px 30px;
}
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
}
.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}
.footer-contact p {
    color: #9ca3af;
}
.footer-bottom {
    text-align: center;
    color: #6b7280;
    font-size: 0.85rem;
}

/* ==========================================================
   RESPONSIVE (TABLET & MOBILE)
   ========================================================== */
@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 15px; 
    }
    
    .hero-visual {
        order: -1; 
        margin-bottom: 0px; 
        width: 100%;
        max-width: 400px; 
        margin-left: auto;
        margin-right: auto;
    }
    .hero-content {
        order: 2; 
    }
    .hero-title {
        font-size: 2rem; 
    }
    .hero {
        padding-top: 120px; 
        padding-bottom: 60px;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 80px;
        left: -100%; 
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        padding: 30px 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        margin: 15px 0;
        font-size: 1.1rem;
    }
    
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    :root {
        --section-pad: 80px 20px;
    }
    .partner-grid {
        flex-direction: column;
        gap: 50px;
    }
    
    .logo-accurate { height: 75px; } 
    .logo-odoo { height: 40px; }
    .logo-erpnext { height: 30px; }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}