/* Modern CSS for Oberry Inc. */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap');

:root {
    --primary-color: #98c593;
    --text-color: #39454b;
    --bg-color: #ffffff;
    --light-bg: #f5f6f7;
    --dark-bg: #39454b;
    /* Used for some sections if needed, or text color */
    --white: #ffffff;
    --border-color: #e5e6e7;
    --max-width: 1200px;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #88b583;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

#header .logo img {
    height: 50px;
    width: auto;
}

#nav ul {
    display: flex;
    gap: 30px;
}

#nav a {
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
}

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

/* Hero Section */
#intro {
    height: 100vh;
    background: url('../../images/intro.jpg'), linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    /* Placeholder gradient if no image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

#intro .content {
    background: rgba(255, 255, 255, 0.9);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    backdrop-filter: blur(10px);
}

#intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.button.style2 {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.button.style2:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Sections General */
h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: var(--text-color);
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 30px;
}

/* About Section (One) */
#one {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

/* Services Section (Two & Three) */
#two,
#three {
    background-color: var(--light-bg);
}

.mall-grid,
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.mall img,
.project img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mall img:hover,
.project img:hover {
    transform: scale(1.05);
}

/* Company Info (Work) */
#work {
    background-color: var(--white);
}

.company-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.company-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.company-info-table tr:last-child {
    border-bottom: none;
}

.company-info-table td {
    padding: 20px;
    vertical-align: top;
}

.company-info-table .abt {
    width: 30%;
    font-weight: 700;
    background-color: #fafafa;
    color: var(--text-color);
}

/* Contact Section */
#contact {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

#contact h2 {
    color: var(--white);
}

#contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

#contact .button {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    font-size: 1.2rem;
    padding: 15px 40px;
}

#contact .button:hover {
    background-color: transparent;
    color: var(--white);
}

/* Footer */
#footer {
    background-color: #2c3539;
    color: rgba(255, 255, 255, 0.5);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    #header {
        height: auto;
        padding: 15px 5%;
        flex-direction: column;
    }

    #nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    h2 {
        font-size: 2rem;
    }

    .company-info-table .abt {
        width: 100%;
        display: block;
        border-bottom: none;
    }

    .company-info-table .abr {
        display: block;
        padding-top: 5px;
    }

    .company-info-table tr {
        display: block;
        padding: 10px 0;
    }
}