/* Main CSS for Cytotec Website */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Tahoma', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2980b9;
}

strong {
    font-weight: 700;
}

/* Header */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: bold;
}

.logo span {
    color: #3498db;
}

.logo img {
    height: 45px;
    float: right;
    margin-left: 20px;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 20px;
}

nav ul li:first-child {
    margin-right: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background-color: #3498db;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: #2c3e50;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1a252f;
}

.cta-btn {
    background-color: #3498db;
}

.cta-btn:hover {
    background-color: #2980b9;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background-color: #3498db;
}

/* Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 25px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.card p {
    margin-bottom: 20px;
}

.card-link {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

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

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-content p {
    margin-bottom: 15px;
}

.image-content img, .about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.faq-answer {
    color: #555;
}

/* CTA Section */
.cta-section {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    padding: 30px;
}

.article-content h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: #2c3e50;
}

.article-content h3 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #2c3e50;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-right: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content img {
    max-width: 100%;
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content th, .article-content td {
    padding: 12px 15px;
    text-align: right;
    border-bottom: 1px solid #ddd;
}

.article-content th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.article-content tr:hover {
    background-color: #f5f5f5;
}

.article-content blockquote {
    background-color: #f8f9fa;
    border-right: 4px solid #3498db;
    padding: 15px;
    margin: 20px 0;
    font-style: italic;
}

.article-content .note {
    background-color: #fff8e1;
    border-right: 4px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
}

.article-content .warning {
    background-color: #ffebee;
    border-right: 4px solid #f44336;
    padding: 15px;
    margin: 20px 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-section {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .card {
        padding: 15px;
    }
}
