/* General Reset */
body {
    font-family: 'IRANSans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3 {
    margin-bottom: 1rem;
}

/* Hero Section */.hero-about-section {
    background: linear-gradient(135deg, #83c5be, #00bfff);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
}

.hero-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.hero-content {
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 2em;
    margin: 10px 0;
    font-weight: lighter;
    color: #f0f0f0;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.hero-button {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #1e90ff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background: #00bfff;
    color: #fff;
}

.hero-image img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}


/* Values Section */
.values-section {
    padding: 4rem 2rem;
    text-align: center;
    background-color: #ffffff;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.value-card {
    background: #f1f1f1;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 calc(33.333% - 2rem);
    max-width: calc(33.333% - 2rem);
}

.value-card h3 {
    color: #ff9800;
}

/* Call-to-Action Section */
.call-to-action {
    background-color: #ff9800;
    color: #fff;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-button {
    background: #fff;
    color: #ff9800;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #f4f4f4;
}


/* Feature Box */
.feature-box {
    padding: 2rem 1rem;
    text-align: center;
}

.feature-container {
    display: grid; /* Change from flex to grid */
    grid-template-columns: repeat(2, 1fr); /* Create 2 columns */
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.feature-card {
    background: #006d77; /* Light background to make it stand out */
    padding: 0.2rem 0.5rem; /* Reduced padding to make it button-like */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
    font-size: 1.1rem; /* Adjusting font size */
    min-width: 120px;
    max-width: 180px;
}

.feature-card p {
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 500;
}

/* Hover Effect for Feature Cards */
.feature-card:hover {
    transform: translateY(-5px); /* Slightly lifted effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: #ff9800; /* Highlight color */
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Flexible and responsive layout */
    gap: 1rem;
    justify-items: center;
}

.ai-card {
    background: #38a3a5; /* Light background to make it stand out */
    padding: 1rem 1.5rem; /* Adequate padding for a clean look */
    border-radius: 12px; /* Softer border radius for a modern feel */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    text-align: center; /* Center the text */
    transition: transform 0.3s ease, box-shadow 0.3s ease-in-out;
    font-size: 1 rem; /* Slightly larger font size */
    font-family: 'IRANSans', sans-serif; /* Clean and modern font */
    min-width: 100px; /* Ensure a good minimum width */
    max-width: 600px; /* Prevent it from stretching too wide */
    margin: 1rem auto; /* Center the card with margin */
}

.ai-card:hover {
    transform: translateY(-5px); /* Lift the card slightly on hover */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15); /* Emphasized shadow on hover */
}

.ai-card p {
    color: #fff; /* Neutral text color */
    margin: 0; /* Remove default margin */
    line-height: 1.6; /* Improved readability */
    font-weight: 500; /* Slightly bold for emphasis */
}

@media (max-width: 600px) {
    .feature-container {
        grid-template-columns: 1fr; /* Single column layout for narrow screens */
    }
}
