
:root {
    --primary: #198754;      /* Green accent */
    --primary-dark: #146c43; /* Darker green */
    --dark: #1e1e1e;         /* Main text */
    --gray: #6c757d;         /* Secondary text */
    --light: #ffffff;        /* Background */
    --bg-section: #f6f8f7;   /* Section background */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* ---------- Header ---------- */
header {
    background: var(--light);
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--dark);
}

nav a:hover {
    color: var(--primary);
}

nav a,
.dropdown-toggle {
    font-weight: 500;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark);
}


/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--light);
    padding: 6rem 8%;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    max-width: 650px;
    margin: auto;
    font-size: 1.15rem;
    opacity: 0.95;
}

.hero button {
    margin-top: 2rem;
    padding: 0.9rem 2.4rem;
    background: var(--light);
    color: var(--primary);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.hero button:hover {
    background: #e9f5ee;
}

/* ---------- Sections ---------- */
section {
    padding: 4.5rem 8%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--gray);
}

/* ---------- Services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    background: var(--bg-section);
    padding: 2.5rem;
    border-radius: 12px;
}

.card {
    background: var(--light);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

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

.card h4 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ---------- Company ---------- */
.company {
    max-width: 800px;
    margin: auto;
    text-align: center;
    color: var(--gray);
    font-size: 1rem;
}

/* --------- Founder ---------*/
.founder {
    display: flex;
    align-items: flex-start;
    padding: 80px 0;
    gap: 3rem;
    margin: 2rem auto;
}

.founder img {
    width: 300px;
    height: auto;
    border-radius: 15%;
}

.founder-text h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.founder-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.founder-text .tab-titles {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.tab-links {
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    color: var(--dark);
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #198754;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-links:hover {
    color: var(--primary);
}

.founder .tab-contents {
    display: none;
}

.founder .tab-contents.active-tab {
    display: block;
}

.founder .tab-contents ul li {
    list-style: none;
    margin: 15px 0;
}

.founder .tab-contents ul li span {
    color: var(--primary);
    font-size: 14px;
}

/* ---------- Contact ---------- */
.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    background: var(--primary);
    color: var(--light);
    border: none;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
}

.contact-form button:hover {
    background: var(--primary-dark);
}

/* ---------- Dropdown Menu ---------- */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer;
    color: var(--dark);
}

.dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 6px;
    margin-top: 0;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--bg-section);
    color: var(--primary);
}

/* Active state */
.dropdown.open .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.logo {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    margin: 0;
    cursor: pointer;
}


/* ---------- Footer ---------- */
footer {
    background: #f1f3f2;
    color: var(--gray);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2.2rem;
    }
    .founder {
        flex-direction: column;
        text-align: center;
    }
}
